package W;

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

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

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

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final /* synthetic */ G6.i f6915v;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    /* JADX WARN: Multi-variable type inference failed */
    public F(O6.p pVar, C0336c c0336c, E6.d dVar) {
        super(2, dVar);
        this.f6915v = (G6.i) pVar;
        this.f6916w = c0336c;
    }

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

    /* JADX WARN: Type inference failed for: r0v0, types: [G6.i, O6.p] */
    @Override // G6.a
    public final E6.d m(E6.d dVar, Object obj) {
        return new F(this.f6915v, this.f6916w, dVar);
    }

    /* JADX WARN: Type inference failed for: r1v1, types: [G6.i, O6.p] */
    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f6914u;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
            return obj;
        }
        C1.N(obj);
        Object obj2 = this.f6916w.f6978b;
        this.f6914u = 1;
        Object objK = this.f6915v.k(obj2, this);
        return objK == aVar ? aVar : objK;
    }
}
