package M2;

import androidx.compose.runtime.MutableState;
import com.debridstream.tv.HomeSection;
import h3.C2099d2;
import h3.C2197u;
import h3.EnumC2203v;
import w4.C3137A;

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

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

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

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

    public /* synthetic */ C0516i(J4.e eVar, MutableState mutableState, int i6) {
        this.f4737a = i6;
        switch (i6) {
            case 1:
                this.f4738b = eVar;
                this.f4739c = mutableState;
                break;
            default:
                C2197u c2197u = EnumC2203v.f18595b;
                this.f4738b = eVar;
                this.f4739c = mutableState;
                break;
        }
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f4737a) {
            case 0:
                C2099d2 entry = (C2099d2) obj;
                kotlin.jvm.internal.o.h(entry, "entry");
                this.f4739c.setValue(Boolean.FALSE);
                HomeSection homeSection = new HomeSection(entry.f17848a, entry.f17849b, x4.y.f26065a);
                this.f4738b.invoke(EnumC2203v.f18596c, homeSection);
                break;
            default:
                X2.h member = (X2.h) obj;
                kotlin.jvm.internal.o.h(member, "member");
                this.f4739c.setValue(Boolean.FALSE);
                this.f4738b.invoke(Integer.valueOf(member.f8591a), member.f8592b);
                break;
        }
        return C3137A.f25453a;
    }
}
