package F5;

import Z6.InterfaceC0382w;
import c7.C0592C;
import c7.H;
import com.google.android.gms.internal.measurement.C1;

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

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

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final /* synthetic */ g f2535v;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public d(g gVar, E6.d dVar) {
        super(2, dVar);
        this.f2535v = gVar;
    }

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

    @Override // G6.a
    public final E6.d m(E6.d dVar, Object obj) {
        return new d(this.f2535v, dVar);
    }

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f2534u;
        if (i == 0) {
            C1.N(obj);
            g gVar = this.f2535v;
            C0592C c0592c = new C0592C(((C) gVar.K0.getValue()).f2522f, 1);
            C0116c c0116c = new C0116c(gVar, null);
            this.f2534u = 1;
            if (H.g(c0592c, c0116c, 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;
    }
}
