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.f1, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1885f1 extends C4.j implements J4.e {

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1885f1(A4.d dVar, MutableState mutableState, MutableState mutableState2, State state) {
        super(2, dVar);
        this.f15628b = mutableState;
        this.f15629c = state;
        this.f15630d = mutableState2;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        State state = this.f15629c;
        return new C1885f1(dVar, this.f15628b, this.f15630d, state);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((C1885f1) 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.f15627a;
        State state = this.f15629c;
        C3137A c3137a = C3137A.f25453a;
        MutableState mutableState = this.f15628b;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            DateTimeFormatter dateTimeFormatter = v2.f16084a;
            if (((Boolean) mutableState.getValue()).booleanValue() && !((Boolean) state.getValue()).booleanValue()) {
                this.f15627a = 1;
                if (V4.E.l(2500L, this) == aVar) {
                    return aVar;
                }
            }
            return c3137a;
        }
        if (i6 != 1) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        AbstractC2467b.l(obj);
        DateTimeFormatter dateTimeFormatter2 = v2.f16084a;
        if (((Boolean) mutableState.getValue()).booleanValue() && !((Boolean) state.getValue()).booleanValue()) {
            v2.A(this.f15630d, false);
            return c3137a;
        }
        return c3137a;
    }
}
