package h3;

import androidx.compose.runtime.MutableState;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ J4.a f18542c;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2193t1(boolean z6, J4.a aVar, MutableState mutableState, A4.d dVar) {
        super(2, dVar);
        this.f18541b = z6;
        this.f18542c = aVar;
        this.f18543d = mutableState;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C2193t1(this.f18541b, this.f18542c, this.f18543d, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((C2193t1) 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.f18540a;
        C3137A c3137a = C3137A.f25453a;
        boolean z6 = this.f18541b;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            MutableState mutableState = this.f18543d;
            J.f fVar = AbstractC2211w1.f18642a;
            if (((Boolean) mutableState.getValue()).booleanValue() && !z6) {
                this.f18540a = 1;
                if (V4.E.l(500L, this) == aVar) {
                    return aVar;
                }
            }
            return c3137a;
        }
        if (i6 != 1) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        AbstractC2467b.l(obj);
        if (!z6) {
            this.f18542c.invoke();
        }
        return c3137a;
    }
}
