package h3;

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

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

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

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

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

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

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2119g4(boolean z6, MutableIntState mutableIntState, n0.x xVar, MutableState mutableState, MutableState mutableState2, MutableState mutableState3, State state, A4.d dVar) {
        super(2, dVar);
        this.f17960b = z6;
        this.f17961c = mutableIntState;
        this.f17962d = xVar;
        this.f17963e = mutableState;
        this.f17964f = mutableState2;
        this.f17965j = mutableState3;
        this.f17966k = state;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C2119g4(this.f17960b, this.f17961c, this.f17962d, this.f17963e, this.f17964f, this.f17965j, this.f17966k, dVar);
    }

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

    /* JADX WARN: Code restructure failed: missing block: B:24:0x006e, code lost:
    
        if (V4.E.l(80, r6) == r0) goto L28;
     */
    /* JADX WARN: Code restructure failed: missing block: B:27:0x0079, code lost:
    
        if (V4.E.l(48, r6) == r0) goto L28;
     */
    /* JADX WARN: Code restructure failed: missing block: B:28:0x007b, code lost:
    
        return r0;
     */
    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:26:0x0071  */
    @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.f17959a;
        C3137A c3137a = C3137A.f25453a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            MutableState mutableState = this.f17963e;
            float f6 = AbstractC2190s4.f18484a;
            if (!((Boolean) mutableState.getValue()).booleanValue() && !((Boolean) this.f17964f.getValue()).booleanValue() && !((Boolean) this.f17965j.getValue()).booleanValue() && !this.f17960b) {
                int i7 = ((z5) this.f17966k.getValue()).f18782f;
                if (i7 > 0) {
                    MutableIntState mutableIntState = this.f17961c;
                    if (i7 != mutableIntState.getIntValue()) {
                        mutableIntState.setIntValue(i7);
                        this.f17959a = 1;
                    } else {
                        this.f17959a = 2;
                    }
                }
            }
            return c3137a;
        }
        if (i6 != 1 && i6 != 2) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        AbstractC2467b.l(obj);
        n0.x.a(this.f17962d);
        return c3137a;
    }
}
