package V;

import J0.Z0;
import androidx.compose.runtime.DisposableEffectScope;
import androidx.compose.runtime.State;
import androidx.compose.runtime.internal.ComposableLambdaKt;
import h3.R2;
import java.util.List;
import p0.C2700f;
import p0.C2706l;
import q.AbstractC2761L;
import r0.C2863b;
import r0.InterfaceC2864c;
import w4.C3137A;

/* JADX INFO: renamed from: V.f, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class C0612f implements J4.c {

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

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

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

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

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

    public /* synthetic */ C0612f(a3.a0 a0Var, Z0 z02, boolean z6, n0.k kVar) {
        this.f7056a = 2;
        this.f7058c = a0Var;
        this.f7059d = z02;
        this.f7057b = z6;
        this.f7060e = kVar;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f7056a) {
            case 0:
                I0.J j4 = (I0.J) ((InterfaceC2864c) obj);
                j4.b();
                if (((Boolean) ((J4.a) this.f7058c).invoke()).booleanValue()) {
                    C2700f c2700f = (C2700f) this.f7059d;
                    C2706l c2706l = (C2706l) this.f7060e;
                    C2863b c2863b = j4.f2210a;
                    if (this.f7057b) {
                        long jI0 = c2863b.i0();
                        o4.f fVar = c2863b.f23803b;
                        long jF = fVar.f();
                        fVar.c().f();
                        try {
                            ((l2.c) fVar.f21850c).i(-1.0f, 1.0f, jI0);
                            c2863b.i(c2700f, c2706l);
                        } finally {
                            AbstractC2761L.o(fVar, jF);
                        }
                    } else {
                        c2863b.i(c2700f, c2706l);
                    }
                }
                return C3137A.f25453a;
            case 1:
                String selected = (String) obj;
                kotlin.jvm.internal.o.h(selected, "selected");
                if (this.f7057b) {
                    ((J4.c) this.f7059d).invoke(selected);
                } else {
                    ((J4.c) this.f7060e).invoke(selected);
                }
                ((J4.a) this.f7058c).invoke();
                return C3137A.f25453a;
            case 2:
                DisposableEffectScope DisposableEffect = (DisposableEffectScope) obj;
                kotlin.jvm.internal.o.h(DisposableEffect, "$this$DisposableEffect");
                return new R2((a3.a0) this.f7058c, (Z0) this.f7059d, this.f7057b, (n0.k) this.f7060e);
            case 3:
                n0.q focusProperties = (n0.q) obj;
                kotlin.jvm.internal.o.h(focusProperties, "$this$focusProperties");
                if (this.f7057b) {
                    focusProperties.g((n0.x) this.f7058c);
                } else if (!((List) this.f7059d).isEmpty()) {
                    focusProperties.g((n0.x) this.f7060e);
                }
                return C3137A.f25453a;
            default:
                D.A LazyRow = (D.A) obj;
                kotlin.jvm.internal.o.h(LazyRow, "$this$LazyRow");
                List list = (List) this.f7058c;
                D.l lVar = (D.l) LazyRow;
                lVar.t(list.size(), new a3.l0(list, 2), new a3.l0(list, 3), ComposableLambdaKt.composableLambdaInstance(-1528706313, true, new V2.W(list, this.f7057b, (List) this.f7059d, (State) this.f7060e)));
                return C3137A.f25453a;
        }
    }

    public /* synthetic */ C0612f(Object obj, boolean z6, Object obj2, Object obj3, int i6) {
        this.f7056a = i6;
        this.f7058c = obj;
        this.f7057b = z6;
        this.f7059d = obj2;
        this.f7060e = obj3;
    }

    public /* synthetic */ C0612f(boolean z6, J4.c cVar, J4.c cVar2, J4.a aVar) {
        this.f7056a = 1;
        this.f7057b = z6;
        this.f7059d = cVar;
        this.f7060e = cVar2;
        this.f7058c = aVar;
    }

    public /* synthetic */ C0612f(boolean z6, n0.x xVar, List list, n0.x xVar2) {
        this.f7056a = 3;
        this.f7057b = z6;
        this.f7058c = xVar;
        this.f7059d = list;
        this.f7060e = xVar2;
    }
}
