package R5;

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

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

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

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

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

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

    @Override // O6.p
    public final Object k(Object obj, Object obj2) {
        return ((v) 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 v(this.f6193v, this.f6194w, dVar);
    }

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f6192u;
        if (i == 0) {
            C1.N(obj);
            g7.e eVar = Z6.J.f7474a;
            g7.d dVar = g7.d.f12985s;
            u uVar = new u(this.f6193v, this.f6194w, null);
            this.f6192u = 1;
            if (AbstractC0385z.C(dVar, uVar, 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;
    }
}
