package h3;

import B.AbstractC0069k;
import B.C0065i;
import android.content.Context;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.MutableIntState;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.State;
import androidx.compose.runtime.internal.ComposableLambdaKt;
import java.util.List;
import java.util.Map;
import java.util.Set;
import w4.C3137A;

/* JADX INFO: renamed from: h3.o1, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2164o1 implements J4.f {

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

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

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

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

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

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

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

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final /* synthetic */ D.H f18340k;
    public final /* synthetic */ String l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ J4.c f18341m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final /* synthetic */ a3.J f18342n;

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

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public final /* synthetic */ X2.g f18344p;

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

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

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final /* synthetic */ V4.C f18347s;

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

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

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

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

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

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

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

    public C2164o1(D.H h5, State state, Set set, int i6, MutableIntState mutableIntState, Map map, List list, D.H h6, String str, J4.c cVar, a3.J j4, String str2, X2.g gVar, boolean z6, String str3, V4.C c6, boolean z7, Context context, State state2, int i7, n0.x xVar, MutableState mutableState, MutableState mutableState2) {
        this.f18333a = h5;
        this.f18334b = state;
        this.f18335c = set;
        this.f18336d = i6;
        this.f18337e = mutableIntState;
        this.f18338f = map;
        this.f18339j = list;
        this.f18340k = h6;
        this.l = str;
        this.f18341m = cVar;
        this.f18342n = j4;
        this.f18343o = str2;
        this.f18344p = gVar;
        this.f18345q = z6;
        this.f18346r = str3;
        this.f18347s = c6;
        this.f18348t = z7;
        this.f18349u = context;
        this.f18350v = state2;
        this.f18351w = i7;
        this.f18352x = xVar;
        this.f18353y = mutableState;
        this.f18354z = mutableState2;
    }

    @Override // J4.f
    public final Object invoke(Object obj, Object obj2, Object obj3) {
        B.A BoxWithConstraints = (B.A) obj;
        Composer composer = (Composer) obj2;
        int iIntValue = ((Number) obj3).intValue();
        kotlin.jvm.internal.o.h(BoxWithConstraints, "$this$BoxWithConstraints");
        if ((iIntValue & 6) == 0) {
            iIntValue |= composer.changed(BoxWithConstraints) ? 4 : 2;
        }
        if ((iIntValue & 19) == 18 && composer.getSkipping()) {
            composer.skipToGroupEnd();
        } else {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1897702397, iIntValue, -1, "com.debridstream.tv.screens.MoreEpisodesScreen.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous> (MoreEpisodesScreen.kt:753)");
            }
            float f6 = AbstractC2211w1.f18645d;
            h1.f fVar = new h1.f(((B.B) BoxWithConstraints).a() - (2 * f6));
            h1.f fVar2 = new h1.f(1);
            if (fVar.compareTo(fVar2) < 0) {
                fVar = fVar2;
            }
            final float f7 = fVar.f16618a / 3;
            C0065i c0065iH = AbstractC0069k.h(f6);
            B.P p6 = B.U0.f193c;
            composer.startReplaceGroup(1848967647);
            final State state = this.f18334b;
            boolean zChanged = composer.changed(state) | composer.changed(f7) | composer.changedInstance(this.f18335c) | composer.changed(this.f18336d);
            final MutableIntState mutableIntState = this.f18337e;
            boolean zChanged2 = zChanged | composer.changed(mutableIntState) | composer.changedInstance(this.f18338f);
            final List list = this.f18339j;
            boolean zChangedInstance = zChanged2 | composer.changedInstance(list) | composer.changed(this.f18340k) | composer.changed(this.l) | composer.changedInstance(this.f18341m) | composer.changed(this.f18342n) | composer.changed(this.f18343o) | composer.changedInstance(this.f18344p) | composer.changed(this.f18345q) | composer.changed(this.f18346r) | composer.changedInstance(this.f18347s) | composer.changed(this.f18348t);
            final Context context = this.f18349u;
            boolean zChangedInstance2 = zChangedInstance | composer.changedInstance(context);
            final State state2 = this.f18350v;
            boolean zChanged3 = zChangedInstance2 | composer.changed(state2) | composer.changed(this.f18351w);
            Object objRememberedValue = composer.rememberedValue();
            if (zChanged3 || objRememberedValue == Composer.Companion.getEmpty()) {
                final MutableState mutableState = this.f18354z;
                final int i6 = this.f18351w;
                final Set set = this.f18335c;
                final int i7 = this.f18336d;
                final Map map = this.f18338f;
                final n0.x xVar = this.f18352x;
                final D.H h5 = this.f18340k;
                final String str = this.l;
                final J4.c cVar = this.f18341m;
                final a3.J j4 = this.f18342n;
                final String str2 = this.f18343o;
                final X2.g gVar = this.f18344p;
                final boolean z6 = this.f18345q;
                final String str3 = this.f18346r;
                final V4.C c6 = this.f18347s;
                final boolean z7 = this.f18348t;
                final MutableState mutableState2 = this.f18353y;
                J4.c cVar2 = new J4.c() { // from class: h3.i1
                    @Override // J4.c
                    public final Object invoke(Object obj4) {
                        D.A LazyColumn = (D.A) obj4;
                        kotlin.jvm.internal.o.h(LazyColumn, "$this$LazyColumn");
                        J.f fVar3 = AbstractC2211w1.f18642a;
                        List list2 = (List) state.getValue();
                        a5.t tVar = new a5.t(10);
                        ((D.l) LazyColumn).t(list2.size(), new K.U(18, tVar, list2), new M2.W(list2, 14), ComposableLambdaKt.composableLambdaInstance(2039820996, true, new C2158n1(list2, f7, set, i7, map, list, xVar, h5, str, mutableIntState, cVar, j4, str2, gVar, z6, str3, c6, z7, context, state2, i6, mutableState2, mutableState)));
                        return C3137A.f25453a;
                    }
                };
                composer.updateRememberedValue(cVar2);
                objRememberedValue = cVar2;
            }
            composer.endReplaceGroup();
            L4.a.d(p6, this.f18333a, null, c0065iH, null, null, false, null, (J4.c) objRememberedValue, composer, 24582, 492);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
        return C3137A.f25453a;
    }
}
