package androidx.lifecycle;

import V4.C0772m;
import V4.InterfaceC0765i0;
import b2.C1191c;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class N implements InterfaceC1111u {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ EnumC1107p f12113a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ kotlin.jvm.internal.C f12114b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ V4.C f12115c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ EnumC1107p f12116d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ C0772m f12117e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ e5.c f12118f;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final /* synthetic */ C1191c f12119j;

    public N(EnumC1107p enumC1107p, kotlin.jvm.internal.C c6, V4.C c7, EnumC1107p enumC1107p2, C0772m c0772m, e5.c cVar, C1191c c1191c) {
        this.f12113a = enumC1107p;
        this.f12114b = c6;
        this.f12115c = c7;
        this.f12116d = enumC1107p2;
        this.f12117e = c0772m;
        this.f12118f = cVar;
        this.f12119j = c1191c;
    }

    @Override // androidx.lifecycle.InterfaceC1111u
    public final void a(InterfaceC1113w interfaceC1113w, EnumC1107p enumC1107p) {
        kotlin.jvm.internal.C c6 = this.f12114b;
        if (enumC1107p == this.f12113a) {
            c6.f20115a = V4.E.y(this.f12115c, null, null, new M(this.f12118f, this.f12119j, null), 3);
            return;
        }
        if (enumC1107p == this.f12116d) {
            InterfaceC0765i0 interfaceC0765i0 = (InterfaceC0765i0) c6.f20115a;
            if (interfaceC0765i0 != null) {
                interfaceC0765i0.cancel(null);
            }
            c6.f20115a = null;
        }
        if (enumC1107p == EnumC1107p.ON_DESTROY) {
            this.f12117e.resumeWith(C3137A.f25453a);
        }
    }
}
