package androidx.lifecycle;

import androidx.lifecycle.AbstractC0424i;

/* loaded from: classes.dex */
class FullLifecycleObserverAdapter implements InterfaceC0432k {

    /* renamed from: a */
    public final InterfaceC0416e f1573a;

    /* renamed from: b */
    public final InterfaceC0432k f1574b;

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

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

        static {
            int[] iArr = new int[AbstractC0424i.EnumC0426b.values().length];
            f1575a = iArr;
            try {
                iArr[AbstractC0424i.EnumC0426b.ON_CREATE.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                f1575a[AbstractC0424i.EnumC0426b.ON_START.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                f1575a[AbstractC0424i.EnumC0426b.ON_RESUME.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                f1575a[AbstractC0424i.EnumC0426b.ON_PAUSE.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                f1575a[AbstractC0424i.EnumC0426b.ON_STOP.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                f1575a[AbstractC0424i.EnumC0426b.ON_DESTROY.ordinal()] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                f1575a[AbstractC0424i.EnumC0426b.ON_ANY.ordinal()] = 7;
            } catch (NoSuchFieldError unused7) {
            }
        }
    }

    public FullLifecycleObserverAdapter(InterfaceC0416e interfaceC0416e, InterfaceC0432k interfaceC0432k) {
        this.f1573a = interfaceC0416e;
        this.f1574b = interfaceC0432k;
    }

    @Override // androidx.lifecycle.InterfaceC0432k
    /* renamed from: d */
    public void mo472d(InterfaceC0434m interfaceC0434m, AbstractC0424i.EnumC0426b enumC0426b) {
        switch (C0392a.f1575a[enumC0426b.ordinal()]) {
            case 1:
                this.f1573a.mo3715c(interfaceC0434m);
                break;
            case 2:
                this.f1573a.mo3712g(interfaceC0434m);
                break;
            case 3:
                this.f1573a.mo3717a(interfaceC0434m);
                break;
            case 4:
                this.f1573a.mo3714e(interfaceC0434m);
                break;
            case 5:
                this.f1573a.mo3713f(interfaceC0434m);
                break;
            case 6:
                this.f1573a.mo3716b(interfaceC0434m);
                break;
            case 7:
                throw new IllegalArgumentException("ON_ANY must not been send by anybody");
        }
        InterfaceC0432k interfaceC0432k = this.f1574b;
        if (interfaceC0432k != null) {
            interfaceC0432k.mo472d(interfaceC0434m, enumC0426b);
        }
    }
}