package h3;

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

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ D.H f17539b;

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public V4(D.H h5, int i6, MutableState mutableState, MutableState mutableState2, A4.d dVar) {
        super(2, dVar);
        this.f17539b = h5;
        this.f17540c = i6;
        this.f17541d = mutableState;
        this.f17542e = mutableState2;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new V4(this.f17539b, this.f17540c, this.f17541d, this.f17542e, dVar);
    }

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

    /* JADX WARN: Code restructure failed: missing block: B:24:0x004c, code lost:
    
        if (D.H.k(r3, 0, r9) != r0) goto L26;
     */
    @Override // C4.a
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f17538a;
        MutableState mutableState = this.f17541d;
        D.H h5 = this.f17539b;
        MutableState mutableState2 = this.f17542e;
        try {
            if (i6 == 0) {
                AbstractC2467b.l(obj);
                int i7 = this.f17540c;
                this.f17538a = 1;
                if (n5.u(i7, this, h5) == aVar) {
                }
                return aVar;
            }
            if (i6 == 1) {
                AbstractC2467b.l(obj);
            } else {
                if (i6 != 2) {
                    if (i6 != 3) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    AbstractC2467b.l(obj);
                    float f6 = n5.f18281a;
                    mutableState.setValue(Boolean.FALSE);
                    mutableState2.setValue(null);
                    return C3137A.f25453a;
                }
                AbstractC2467b.l(obj);
                this.f17538a = 3;
            }
            this.f17538a = 2;
            if (V4.E.l(240L, this) != aVar) {
                this.f17538a = 3;
            }
            return aVar;
        } catch (Throwable th) {
            float f7 = n5.f18281a;
            mutableState.setValue(Boolean.FALSE);
            mutableState2.setValue(null);
            throw th;
        }
    }
}
