package Z4;

import Y4.InterfaceC0844j;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ n f9180b;

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public k(n nVar, InterfaceC0844j interfaceC0844j, Object obj, A4.d dVar) {
        super(2, dVar);
        this.f9180b = nVar;
        this.f9181c = interfaceC0844j;
        this.f9182d = obj;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new k(this.f9180b, this.f9181c, this.f9182d, dVar);
    }

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

    /* JADX WARN: Type inference failed for: r4v2, types: [C4.j, J4.f] */
    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f9179a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            ?? r42 = this.f9180b.f9192e;
            this.f9179a = 1;
            if (r42.invoke(this.f9181c, this.f9182d, this) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        return C3137A.f25453a;
    }
}
