package T1;

import O1.A;
import O6.p;
import Z6.InterfaceC0382w;
import com.google.android.gms.internal.measurement.C1;

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

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

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

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

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

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public final /* synthetic */ O6.l f6511y;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public g(E6.d dVar, A a3, O6.l lVar, boolean z8, boolean z9) {
        super(2, dVar);
        this.f6508v = a3;
        this.f6509w = z8;
        this.f6510x = z9;
        this.f6511y = lVar;
    }

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

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f6507u;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
            return obj;
        }
        C1.N(obj);
        boolean z8 = this.f6510x;
        boolean z9 = this.f6509w;
        A a3 = this.f6508v;
        j jVar = new j(null, a3, this.f6511y, z8, z9);
        this.f6507u = 1;
        Object objI = a3.i(z9, jVar, this);
        return objI == aVar ? aVar : objI;
    }
}
