package h3;

import B.AbstractC0057e;
import B.AbstractC0069k;
import I0.C0291f;
import I0.C0293g;
import I0.InterfaceC0295h;
import M2.C0537p;
import a3.AbstractC0962a;
import android.content.Context;
import androidx.compose.runtime.ComposablesKt;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.CompositionLocalMap;
import androidx.compose.runtime.MutableIntState;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.State;
import androidx.compose.runtime.Updater;
import androidx.media3.exoplayer.RendererCapabilities;
import i0.AbstractC2237a;
import i0.C2239c;
import i0.C2252p;
import i0.InterfaceC2255s;
import v.AbstractC3058z;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class P3 implements J4.f {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public P3(String str, String str2, boolean z6, String str3, String str4, J4.a aVar, J4.a aVar2, Context context, State state, n0.x xVar, long j4, MutableState mutableState, State state2, State state3, State state4, State state5, State state6, MutableState mutableState2, MutableState mutableState3, MutableState mutableState4, MutableState mutableState5, MutableState mutableState6, MutableState mutableState7, MutableState mutableState8, MutableIntState mutableIntState, MutableState mutableState9, MutableIntState mutableIntState2, MutableState mutableState10) {
        this.f17167a = str;
        this.f17168b = str2;
        this.f17169c = z6;
        this.f17170d = str3;
        this.f17171e = str4;
        this.f17172f = aVar;
        this.f17173j = aVar2;
        this.f17174k = context;
        this.l = state;
        this.f17175m = xVar;
        this.f17176n = j4;
        this.f17177o = mutableState;
        this.f17178p = state2;
        this.f17179q = state3;
        this.f17180r = state4;
        this.f17181s = state5;
        this.f17182t = state6;
        this.f17183u = mutableState2;
        this.f17184v = mutableState3;
        this.f17185w = mutableState4;
        this.f17186x = mutableState5;
        this.f17187y = mutableState6;
        this.f17188z = mutableState7;
        this.f17162A = mutableState8;
        this.f17163B = mutableIntState;
        this.f17164C = mutableState9;
        this.f17165D = mutableIntState2;
        this.f17166E = mutableState10;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // J4.f
    public final Object invoke(Object obj, Object obj2, Object obj3) {
        B.E Card = (B.E) obj;
        Composer composer = (Composer) obj2;
        int iIntValue = ((Number) obj3).intValue();
        kotlin.jvm.internal.o.h(Card, "$this$Card");
        if ((iIntValue & 17) == 16 && composer.getSkipping()) {
            composer.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-902516561, iIntValue, -1, "com.debridstream.tv.screens.SettingsTV2.<anonymous>.<anonymous>.<anonymous>.<anonymous> (SettingsTV2.kt:601)");
            }
            C2252p c2252p = C2252p.f18820a;
            InterfaceC2255s interfaceC2255sX = AbstractC3058z.x(AbstractC0057e.B(B.U0.f193c, 16), AbstractC3058z.w(composer), true);
            B.D dA = B.C.a(AbstractC0069k.f325c, C2239c.f18805p, composer, 0);
            int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
            CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
            InterfaceC2255s interfaceC2255sC = AbstractC2237a.c(composer, interfaceC2255sX);
            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, dA, C0293g.f2379f);
            Updater.m89setimpl(composerM81constructorimpl, currentCompositionLocalMap, C0293g.f2378e);
            Updater.m86initimpl(composerM81constructorimpl, Integer.valueOf(iHashCode), C0293g.f2380g);
            Updater.m87reconcileimpl(composerM81constructorimpl, C0293g.f2381h);
            Updater.m89setimpl(composerM81constructorimpl, interfaceC2255sC, C0293g.f2377d);
            composer.startReplaceGroup(358989662);
            Object objRememberedValue = composer.rememberedValue();
            Composer.Companion companion = Composer.Companion;
            if (objRememberedValue == companion.getEmpty()) {
                T0.O o6 = new T0.O(0L, W.a.l0(18), X0.I.f8449o, T3.f17419p, 0L, null, 0, 0L, null, 16777177);
                composer.updateRememberedValue(o6);
                objRememberedValue = o6;
            }
            T0.O o7 = (T0.O) objRememberedValue;
            composer.endReplaceGroup();
            J.f fVar = T3.f17405a;
            MutableState mutableState = this.f17177o;
            a0.m2.d(T3.e((EnumC2157n0) mutableState.getValue()).f17761a, null, AbstractC0962a.f10614b, 0L, null, null, 0L, null, 0L, 0, false, 0, 0, null, o7, composer, RendererCapabilities.DECODER_SUPPORT_MASK, 12582912, 131066);
            AbstractC0057e.g(B.U0.h(c2252p, 12), composer, 6);
            EnumC2157n0 enumC2157n0 = (EnumC2157n0) mutableState.getValue();
            V2.n3 n3Var = (V2.n3) this.f17178p.getValue();
            String str = (String) this.f17179q.getValue();
            String str2 = (String) this.f17180r.getValue();
            String str3 = (String) this.f17181s.getValue();
            String str4 = (String) this.f17182t.getValue();
            MutableState mutableState2 = this.f17183u;
            v5 v5Var = (v5) mutableState2.getValue();
            boolean zBooleanValue = ((Boolean) this.l.getValue()).booleanValue();
            composer.startReplaceGroup(359026717);
            Object objRememberedValue2 = composer.rememberedValue();
            if (objRememberedValue2 == companion.getEmpty()) {
                objRememberedValue2 = new C0537p(this.f17184v, this.f17185w, 4);
                composer.updateRememberedValue(objRememberedValue2);
            }
            J4.c cVar = (J4.c) objRememberedValue2;
            Object objJ = A0.a.j(composer, 359030154);
            if (objJ == companion.getEmpty()) {
                objJ = new B3(this.f17186x, 8);
                composer.updateRememberedValue(objJ);
            }
            J4.a aVar = (J4.a) objJ;
            Object objJ2 = A0.a.j(composer, 359032936);
            if (objJ2 == companion.getEmpty()) {
                objJ2 = new B3(this.f17187y, 9);
                composer.updateRememberedValue(objJ2);
            }
            J4.a aVar2 = (J4.a) objJ2;
            Object objJ3 = A0.a.j(composer, 359035722);
            if (objJ3 == companion.getEmpty()) {
                objJ3 = new B3(this.f17188z, 10);
                composer.updateRememberedValue(objJ3);
            }
            J4.a aVar3 = (J4.a) objJ3;
            Object objJ4 = A0.a.j(composer, 359038563);
            if (objJ4 == companion.getEmpty()) {
                objJ4 = new B3(this.f17162A, 11);
                composer.updateRememberedValue(objJ4);
            }
            J4.a aVar4 = (J4.a) objJ4;
            composer.endReplaceGroup();
            composer.startReplaceGroup(359041388);
            Context context = this.f17174k;
            boolean zChangedInstance = composer.changedInstance(context);
            Object objRememberedValue3 = composer.rememberedValue();
            if (zChangedInstance || objRememberedValue3 == companion.getEmpty()) {
                objRememberedValue3 = new M2.x1(context, mutableState2, this.f17163B, 2);
                composer.updateRememberedValue(objRememberedValue3);
            }
            J4.a aVar5 = (J4.a) objRememberedValue3;
            composer.endReplaceGroup();
            boolean zBooleanValue2 = ((Boolean) this.f17164C.getValue()).booleanValue();
            int intValue = this.f17165D.getIntValue();
            composer.startReplaceGroup(359057802);
            Object objRememberedValue4 = composer.rememberedValue();
            if (objRememberedValue4 == companion.getEmpty()) {
                objRememberedValue4 = new C2186s0(this.f17166E, 29);
                composer.updateRememberedValue(objRememberedValue4);
            }
            composer.endReplaceGroup();
            T3.a(enumC2157n0, n3Var, this.f17167a, this.f17168b, this.f17169c, this.f17170d, this.f17171e, this.f17172f, this.f17173j, str, str2, str3, str4, v5Var, context, zBooleanValue, cVar, aVar, aVar2, aVar3, aVar4, aVar5, this.f17175m, zBooleanValue2, intValue, this.f17176n, (J4.c) objRememberedValue4, composer, 0, 920125440, 1573254);
            composer.endNode();
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        return C3137A.f25453a;
    }
}
