package androidx.lifecycle;

import java.util.concurrent.atomic.AtomicReference;

/* renamed from: androidx.lifecycle.i */
/* loaded from: classes.dex */
public abstract class AbstractC0424i {

    /* renamed from: a */
    public AtomicReference<Object> f1629a = new AtomicReference<>();

    /* renamed from: androidx.lifecycle.i$a */
    /* loaded from: classes.dex */
    public static /* synthetic */ class C0425a {

        /* renamed from: a */
        public static final /* synthetic */ int[] f1630a;

        /* renamed from: b */
        public static final /* synthetic */ int[] f1631b;

        static {
            int[] iArr = new int[EnumC0426b.values().length];
            f1631b = iArr;
            try {
                iArr[EnumC0426b.ON_CREATE.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                f1631b[EnumC0426b.ON_STOP.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                f1631b[EnumC0426b.ON_START.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                f1631b[EnumC0426b.ON_PAUSE.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                f1631b[EnumC0426b.ON_RESUME.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                f1631b[EnumC0426b.ON_DESTROY.ordinal()] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                f1631b[EnumC0426b.ON_ANY.ordinal()] = 7;
            } catch (NoSuchFieldError unused7) {
            }
            int[] iArr2 = new int[EnumC0427c.values().length];
            f1630a = iArr2;
            try {
                iArr2[EnumC0427c.CREATED.ordinal()] = 1;
            } catch (NoSuchFieldError unused8) {
            }
            try {
                f1630a[EnumC0427c.STARTED.ordinal()] = 2;
            } catch (NoSuchFieldError unused9) {
            }
            try {
                f1630a[EnumC0427c.RESUMED.ordinal()] = 3;
            } catch (NoSuchFieldError unused10) {
            }
            try {
                f1630a[EnumC0427c.DESTROYED.ordinal()] = 4;
            } catch (NoSuchFieldError unused11) {
            }
            try {
                f1630a[EnumC0427c.INITIALIZED.ordinal()] = 5;
            } catch (NoSuchFieldError unused12) {
            }
        }
    }

    /* renamed from: androidx.lifecycle.i$b */
    /* loaded from: classes.dex */
    public enum EnumC0426b {
        ON_CREATE,
        ON_START,
        ON_RESUME,
        ON_PAUSE,
        ON_STOP,
        ON_DESTROY,
        ON_ANY;

        /* renamed from: a */
        public static EnumC0426b m3700a(EnumC0427c enumC0427c) {
            int i = C0425a.f1630a[enumC0427c.ordinal()];
            if (i != 1) {
                if (i != 2) {
                    if (i != 3) {
                        return null;
                    }
                    return ON_PAUSE;
                }
                return ON_STOP;
            }
            return ON_DESTROY;
        }

        /* renamed from: c */
        public static EnumC0426b m3698c(EnumC0427c enumC0427c) {
            int i = C0425a.f1630a[enumC0427c.ordinal()];
            if (i != 1) {
                if (i != 2) {
                    if (i != 5) {
                        return null;
                    }
                    return ON_CREATE;
                }
                return ON_RESUME;
            }
            return ON_START;
        }

        /* renamed from: b */
        public EnumC0427c m3699b() {
            switch (C0425a.f1631b[ordinal()]) {
                case 1:
                case 2:
                    return EnumC0427c.CREATED;
                case 3:
                case 4:
                    return EnumC0427c.STARTED;
                case 5:
                    return EnumC0427c.RESUMED;
                case 6:
                    return EnumC0427c.DESTROYED;
                default:
                    throw new IllegalArgumentException(this + " has no target state");
            }
        }
    }

    /* renamed from: androidx.lifecycle.i$c */
    /* loaded from: classes.dex */
    public enum EnumC0427c {
        DESTROYED,
        INITIALIZED,
        CREATED,
        STARTED,
        RESUMED;

        /* renamed from: a */
        public boolean m3697a(EnumC0427c enumC0427c) {
            return compareTo(enumC0427c) >= 0;
        }
    }

    /* renamed from: a */
    public abstract void mo3693a(InterfaceC0433l interfaceC0433l);

    /* renamed from: b */
    public abstract EnumC0427c mo3692b();

    /* renamed from: c */
    public abstract void mo3691c(InterfaceC0433l interfaceC0433l);
}