package O1;

import Z6.AbstractC0385z;
import Z6.C0369i;
import Z6.InterfaceC0382w;
import com.google.android.gms.internal.measurement.C1;

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

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

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

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

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

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public final /* synthetic */ D f4927y;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public B(A a3, C0369i c0369i, D d8, E6.d dVar) {
        super(2, dVar);
        this.f4925w = a3;
        this.f4926x = c0369i;
        this.f4927y = d8;
    }

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

    @Override // G6.a
    public final E6.d m(E6.d dVar, Object obj) {
        B b8 = new B(this.f4925w, this.f4926x, this.f4927y, dVar);
        b8.f4924v = obj;
        return b8;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        E6.d dVar;
        F6.a aVar = F6.a.f2580q;
        int i = this.f4923u;
        if (i == 0) {
            C1.N(obj);
            E6.g gVarK = ((InterfaceC0382w) this.f4924v).u().K(E6.e.f2225q);
            P6.g.b(gVarK);
            E6.f fVar = (E6.f) gVarK;
            E e8 = new E(fVar);
            E6.i iVarA = s7.l.x((E6.a) fVar, e8).A(new e7.u(Integer.valueOf(System.identityHashCode(e8)), this.f4925w.f4921h));
            C0369i c0369i = this.f4926x;
            this.f4924v = c0369i;
            this.f4923u = 1;
            obj = AbstractC0385z.C(iVarA, this.f4927y, this);
            if (obj == aVar) {
                return aVar;
            }
            dVar = c0369i;
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            dVar = (E6.d) this.f4924v;
            C1.N(obj);
        }
        dVar.i(obj);
        return A6.n.f457a;
    }
}
