package d7;

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

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

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

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

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

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

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

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

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f12362u;
        if (i == 0) {
            C1.N(obj);
            c7.w wVar = this.f12363v.f12379u;
            this.f12362u = 1;
            if (wVar.j(this.f12364w, this.f12365x, 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;
    }
}
