package h3;

import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.State;
import java.util.List;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class N3 extends C4.j implements J4.e {

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ n0.x f17094c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ List f17095d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ MutableState f17096e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ MutableState f17097f;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final /* synthetic */ MutableState f17098j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final /* synthetic */ State f17099k;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public N3(boolean z6, n0.x xVar, List list, MutableState mutableState, MutableState mutableState2, MutableState mutableState3, State state, A4.d dVar) {
        super(2, dVar);
        this.f17093b = z6;
        this.f17094c = xVar;
        this.f17095d = list;
        this.f17096e = mutableState;
        this.f17097f = mutableState2;
        this.f17098j = mutableState3;
        this.f17099k = state;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new N3(this.f17093b, this.f17094c, this.f17095d, this.f17096e, this.f17097f, this.f17098j, this.f17099k, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((N3) create((V4.C) obj, (A4.d) obj2)).invokeSuspend(C3137A.f25453a);
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f17092a;
        MutableState mutableState = this.f17098j;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            J.f fVar = T3.f17405a;
            if (((C5) this.f17096e.getValue()) == C5.f16741a && !((Boolean) this.f17097f.getValue()).booleanValue() && !((Boolean) mutableState.getValue()).booleanValue() && !((List) this.f17099k.getValue()).isEmpty()) {
                this.f17092a = 1;
                if (V4.E.l(40L, this) == aVar) {
                    return aVar;
                }
            }
            return C3137A.f25453a;
        }
        if (i6 != 1) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        AbstractC2467b.l(obj);
        n0.x.a(!this.f17093b ? this.f17094c : (n0.x) this.f17095d.get(0));
        J.f fVar2 = T3.f17405a;
        mutableState.setValue(Boolean.TRUE);
        return C3137A.f25453a;
    }
}
