package d3;

import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.State;
import j$.time.format.DateTimeFormatter;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: renamed from: d3.g1, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1888g1 extends C4.j implements J4.e {

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

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

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1888g1(n0.x xVar, n0.x xVar2, MutableState mutableState, MutableState mutableState2, State state, A4.d dVar) {
        super(2, dVar);
        this.f15642b = xVar;
        this.f15643c = xVar2;
        this.f15644d = mutableState;
        this.f15645e = mutableState2;
        this.f15646f = state;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C1888g1(this.f15642b, this.f15643c, this.f15644d, this.f15645e, this.f15646f, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((C1888g1) 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.f15641a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            this.f15641a = 1;
            if (V4.E.l(32L, this) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        DateTimeFormatter dateTimeFormatter = v2.f16084a;
        if (((Boolean) this.f15644d.getValue()).booleanValue()) {
            n0.x.a(this.f15642b);
        } else {
            MutableState mutableState = this.f15645e;
            if (!v2.z(mutableState) || (((Boolean) mutableState.getValue()).booleanValue() && !((Boolean) this.f15646f.getValue()).booleanValue())) {
                n0.x.a(this.f15643c);
            }
        }
        return C3137A.f25453a;
    }
}
