package c7;

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

/* JADX INFO: renamed from: c7.g, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0599g extends G6.i implements O6.p {

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

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

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

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

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f9422u;
        A6.n nVar = A6.n.f457a;
        if (i == 0) {
            C1.N(obj);
            this.f9422u = 1;
            Object objO = this.f9423v.o(d7.v.f12387q, this);
            if (objO != aVar) {
                objO = nVar;
            }
            if (objO == aVar) {
                return aVar;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
        }
        return nVar;
    }
}
