package androidx.lifecycle;

import b2.C1191c;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class P extends C4.j implements J4.e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f12128a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public /* synthetic */ Object f12129b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ r f12130c;

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public P(r rVar, EnumC1108q enumC1108q, C1191c c1191c, A4.d dVar) {
        super(2, dVar);
        this.f12130c = rVar;
        this.f12131d = enumC1108q;
        this.f12132e = c1191c;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        P p6 = new P(this.f12130c, this.f12131d, this.f12132e, dVar);
        p6.f12129b = obj;
        return p6;
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((P) create((V4.C) obj, (A4.d) obj2)).invokeSuspend(C3137A.f25453a);
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f12128a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            V4.C c6 = (V4.C) this.f12129b;
            c5.e eVar = V4.N.f8259a;
            W4.d dVar = a5.m.f10845a.f8429e;
            O o6 = new O(this.f12130c, this.f12131d, c6, this.f12132e, null);
            this.f12128a = 1;
            if (V4.E.H(dVar, o6, this) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        return C3137A.f25453a;
    }
}
