package a0;

import A6.n;
import B6.w;
import O6.p;
import com.google.android.gms.internal.measurement.C1;

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

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

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public /* synthetic */ Object f7589v;

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

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

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

    /* JADX WARN: Type inference failed for: r1v0, types: [G6.i, O6.p] */
    @Override // G6.a
    public final E6.d m(E6.d dVar, Object obj) {
        C0395i c0395i = new C0395i(this.f7590w, dVar);
        c0395i.f7589v = obj;
        return c0395i;
    }

    /* JADX WARN: Type inference failed for: r5v5, 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.f7588u;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C0388b c0388b = (C0388b) this.f7589v;
            C1.N(obj);
            return c0388b;
        }
        C1.N(obj);
        C0388b c0388b2 = new C0388b(w.q0(((C0388b) this.f7589v).a()), false);
        this.f7589v = c0388b2;
        this.f7588u = 1;
        return this.f7590w.k(c0388b2, this) == aVar ? aVar : c0388b2;
    }
}
