package h3;

import V2.AbstractC0696m3;
import androidx.compose.runtime.MutableIntState;
import androidx.compose.runtime.MutableState;
import java.util.HashMap;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

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

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

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

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

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

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

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final /* synthetic */ MutableState f17135k;
    public final /* synthetic */ MutableState l;

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

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

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

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public O4(int i6, boolean z6, HashMap map, D.H h5, D.H h6, MutableIntState mutableIntState, MutableState mutableState, MutableState mutableState2, MutableState mutableState3, MutableState mutableState4, MutableState mutableState5, MutableIntState mutableIntState2, MutableIntState mutableIntState3, MutableIntState mutableIntState4, MutableIntState mutableIntState5, A4.d dVar) {
        super(2, dVar);
        this.f17129b = i6;
        this.f17130c = z6;
        this.f17131d = map;
        this.f17132e = h5;
        this.f17133f = h6;
        this.f17134j = mutableIntState;
        this.f17135k = mutableState;
        this.l = mutableState2;
        this.f17136m = mutableState3;
        this.f17137n = mutableState4;
        this.f17138o = mutableState5;
        this.f17139p = mutableIntState2;
        this.f17140q = mutableIntState3;
        this.f17141r = mutableIntState4;
        this.f17142s = mutableIntState5;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new O4(this.f17129b, this.f17130c, this.f17131d, this.f17132e, this.f17133f, this.f17134j, this.f17135k, this.l, this.f17136m, this.f17137n, this.f17138o, this.f17139p, this.f17140q, this.f17141r, this.f17142s, dVar);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f17128a;
        C3137A c3137a = C3137A.f25453a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            int i7 = this.f17129b;
            if (i7 > 0) {
                float f6 = n5.f18281a;
                MutableIntState mutableIntState = this.f17134j;
                if (i7 != mutableIntState.getIntValue()) {
                    mutableIntState.setIntValue(i7);
                    n5.s(this.f17135k, this.l);
                    n5.r(this.f17136m, this.f17137n);
                    n5.t(this.f17138o, false);
                    this.f17139p.setIntValue(this.f17130c ? -1 : 0);
                    this.f17140q.setIntValue(0);
                    this.f17141r.setIntValue(0);
                    this.f17142s.setIntValue(0);
                    this.f17131d.clear();
                    AbstractC0696m3.e0 = null;
                    this.f17128a = 1;
                    if (D.H.k(this.f17132e, 0, this) != aVar) {
                    }
                }
            }
        }
        if (i6 != 1) {
            if (i6 != 2) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
            return c3137a;
        }
        AbstractC2467b.l(obj);
        this.f17128a = 2;
        return D.H.k(this.f17133f, 0, this) == aVar ? aVar : c3137a;
    }
}
