package Q1;

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 f5570u;

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

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

    /* 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, s sVar, E6.d dVar) {
        super(2, dVar);
        this.f5571v = (G6.i) pVar;
        this.f5572w = sVar;
    }

    @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.f5571v, this.f5572w, dVar);
    }

    /* JADX WARN: Type inference failed for: r4v1, 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.f5570u;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
            return obj;
        }
        C1.N(obj);
        this.f5570u = 1;
        Object objK = this.f5571v.k(this.f5572w, this);
        return objK == aVar ? aVar : objK;
    }
}
