package d7;

import Z6.InterfaceC0382w;
import c7.InterfaceC0596d;
import c7.InterfaceC0597e;
import com.google.android.gms.internal.measurement.C1;

/* JADX INFO: loaded from: classes.dex */
public final class n extends G6.i implements O6.p {

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

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

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public final /* synthetic */ o f12377w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public final /* synthetic */ InterfaceC0597e f12378x;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public n(o oVar, InterfaceC0597e interfaceC0597e, E6.d dVar) {
        super(2, dVar);
        this.f12377w = oVar;
        this.f12378x = interfaceC0597e;
    }

    @Override // O6.p
    public final Object k(Object obj, Object obj2) {
        return ((n) m((E6.d) obj2, (InterfaceC0382w) obj)).p(A6.n.f457a);
    }

    @Override // G6.a
    public final E6.d m(E6.d dVar, Object obj) {
        n nVar = new n(this.f12377w, this.f12378x, dVar);
        nVar.f12376v = obj;
        return nVar;
    }

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f12375u;
        if (i == 0) {
            C1.N(obj);
            InterfaceC0382w interfaceC0382w = (InterfaceC0382w) this.f12376v;
            P6.m mVar = new P6.m();
            o oVar = this.f12377w;
            InterfaceC0596d interfaceC0596d = oVar.f12361t;
            m mVar2 = new m(mVar, interfaceC0382w, oVar, this.f12378x);
            this.f12375u = 1;
            if (interfaceC0596d.o(mVar2, this) == aVar) {
                return aVar;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
        }
        return A6.n.f457a;
    }
}
