package a0;

import B.AbstractC0057e;
import B.AbstractC0084s;
import B.C0060f0;
import B.C0093w0;
import G0.InterfaceC0245a0;
import I0.C0289e;
import I0.C0291f;
import I0.C0293g;
import I0.InterfaceC0295h;
import androidx.compose.runtime.ComposablesKt;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.CompositionLocalMap;
import androidx.compose.runtime.Updater;
import i0.AbstractC2237a;
import i0.C2239c;
import i0.C2252p;
import i0.InterfaceC2255s;
import w4.C3137A;

/* JADX INFO: renamed from: a0.d, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0890d implements J4.e {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ J4.e f9804b;

    public /* synthetic */ C0890d(J4.e eVar, int i6) {
        this.f9803a = i6;
        this.f9804b = eVar;
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        switch (this.f9803a) {
            case 0:
                Composer composer = (Composer) obj;
                int iIntValue = ((Number) obj2).intValue();
                if (composer.shouldExecute((iIntValue & 3) != 2, iIntValue & 1)) {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1128150638, iIntValue, -1, "androidx.compose.material3.AlertDialogContent.<anonymous>.<anonymous>.<anonymous>.<anonymous> (AlertDialog.kt:318)");
                    }
                    InterfaceC2255s interfaceC2255sThen = AbstractC0057e.A(C2252p.f18820a, AbstractC0905i.f9933f).then(new C0060f0(C2239c.f18806q));
                    InterfaceC0245a0 interfaceC0245a0D = AbstractC0084s.d(C2239c.f18794a, false);
                    int currentCompositeKeyHash = ComposablesKt.getCurrentCompositeKeyHash(composer, 0);
                    CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
                    InterfaceC2255s interfaceC2255sC = AbstractC2237a.c(composer, interfaceC2255sThen);
                    InterfaceC0295h.f2384g.getClass();
                    C0291f c0291f = C0293g.f2375b;
                    if (composer.getApplier() == null) {
                        ComposablesKt.invalidApplier();
                    }
                    composer.startReusableNode();
                    if (composer.getInserting()) {
                        composer.createNode(c0291f);
                    } else {
                        composer.useNode();
                    }
                    Composer composerM81constructorimpl = Updater.m81constructorimpl(composer);
                    Updater.m89setimpl(composerM81constructorimpl, interfaceC0245a0D, C0293g.f2379f);
                    Updater.m89setimpl(composerM81constructorimpl, currentCompositionLocalMap, C0293g.f2378e);
                    C0289e c0289e = C0293g.f2380g;
                    if (composerM81constructorimpl.getInserting() || !kotlin.jvm.internal.o.c(composerM81constructorimpl.rememberedValue(), Integer.valueOf(currentCompositeKeyHash))) {
                        Z0.o.u(currentCompositeKeyHash, composerM81constructorimpl, currentCompositeKeyHash, c0289e);
                    }
                    Updater.m89setimpl(composerM81constructorimpl, interfaceC2255sC, C0293g.f2377d);
                    this.f9804b.invoke(composer, 0);
                    composer.endNode();
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                } else {
                    composer.skipToGroupEnd();
                }
                break;
            default:
                Composer composer2 = (Composer) obj;
                int iIntValue2 = ((Number) obj2).intValue();
                if (composer2.shouldExecute((iIntValue2 & 3) != 2, iIntValue2 & 1)) {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(705583346, iIntValue2, -1, "androidx.compose.material3.AlertDialogContent.<anonymous>.<anonymous>.<anonymous>.<anonymous> (AlertDialog.kt:349)");
                    }
                    if (1.0f <= 0.0d) {
                        C.a.a("invalid weight; must be greater than zero");
                    }
                    InterfaceC2255s interfaceC2255sThen2 = AbstractC0057e.A(new C0093w0(1.0f > Float.MAX_VALUE ? Float.MAX_VALUE : 1.0f, false), AbstractC0905i.f9935h).then(new C0060f0(C2239c.f18805p));
                    InterfaceC0245a0 interfaceC0245a0D2 = AbstractC0084s.d(C2239c.f18794a, false);
                    int currentCompositeKeyHash2 = ComposablesKt.getCurrentCompositeKeyHash(composer2, 0);
                    CompositionLocalMap currentCompositionLocalMap2 = composer2.getCurrentCompositionLocalMap();
                    InterfaceC2255s interfaceC2255sC2 = AbstractC2237a.c(composer2, interfaceC2255sThen2);
                    InterfaceC0295h.f2384g.getClass();
                    C0291f c0291f2 = C0293g.f2375b;
                    if (composer2.getApplier() == null) {
                        ComposablesKt.invalidApplier();
                    }
                    composer2.startReusableNode();
                    if (composer2.getInserting()) {
                        composer2.createNode(c0291f2);
                    } else {
                        composer2.useNode();
                    }
                    Composer composerM81constructorimpl2 = Updater.m81constructorimpl(composer2);
                    Updater.m89setimpl(composerM81constructorimpl2, interfaceC0245a0D2, C0293g.f2379f);
                    Updater.m89setimpl(composerM81constructorimpl2, currentCompositionLocalMap2, C0293g.f2378e);
                    C0289e c0289e2 = C0293g.f2380g;
                    if (composerM81constructorimpl2.getInserting() || !kotlin.jvm.internal.o.c(composerM81constructorimpl2.rememberedValue(), Integer.valueOf(currentCompositeKeyHash2))) {
                        Z0.o.u(currentCompositeKeyHash2, composerM81constructorimpl2, currentCompositeKeyHash2, c0289e2);
                    }
                    Updater.m89setimpl(composerM81constructorimpl2, interfaceC2255sC2, C0293g.f2377d);
                    this.f9804b.invoke(composer2, 0);
                    composer2.endNode();
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                } else {
                    composer2.skipToGroupEnd();
                }
                break;
        }
        return C3137A.f25453a;
    }
}
