package h3;

import androidx.compose.runtime.MutableIntState;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.State;
import java.util.List;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class M3 implements J4.a {

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

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

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

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

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

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

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

    public /* synthetic */ M3(int i6, J4.a aVar, MutableIntState mutableIntState, State state, MutableState mutableState, MutableState mutableState2) {
        this.f17064c = i6;
        this.f17065d = aVar;
        this.f17066e = mutableIntState;
        this.f17063b = state;
        this.f17067f = mutableState;
        this.f17068j = mutableState2;
    }

    /* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue */
    @Override // J4.a
    public final Object invoke() {
        State state = this.f17068j;
        State state2 = this.f17067f;
        State state3 = this.f17066e;
        Object obj = this.f17065d;
        int i6 = this.f17064c;
        State state4 = this.f17063b;
        switch (this.f17062a) {
            case 0:
                J.f fVar = T3.f17405a;
                ((MutableIntState) state3).setIntValue(i6);
                String str = ((C2082b) ((List) state4.getValue()).get(i6)).f17733a;
                MutableState mutableState = (MutableState) state2;
                MutableState mutableState2 = (MutableState) state;
                switch (str.hashCode()) {
                    case -1922936957:
                        if (str.equals("Others")) {
                            mutableState.setValue(EnumC2157n0.f18200k);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -1893591798:
                        if (str.equals("Choose Debrid Service")) {
                            mutableState.setValue(EnumC2157n0.f18195c);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -1850928364:
                        if (str.equals("Region")) {
                            mutableState.setValue(EnumC2157n0.f18202n);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -1690079472:
                        if (str.equals("Filter Sources")) {
                            mutableState.setValue(EnumC2157n0.f18196d);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -1418007793:
                        if (str.equals("Account Details")) {
                            mutableState.setValue(EnumC2157n0.f18193a);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -1274016060:
                        if (str.equals("Use Cinemeta for episode enrichment")) {
                            V2.u3.e(new C2112f3(22));
                        }
                        break;
                    case -1167143747:
                        if (str.equals("Switch Profile")) {
                            ((J4.a) obj).invoke();
                        }
                        break;
                    case -1166308368:
                        if (str.equals("Dolby Vision")) {
                            mutableState.setValue(EnumC2157n0.f18199j);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -1053984588:
                        if (str.equals("Debrid Stream")) {
                            mutableState.setValue(EnumC2157n0.f18204p);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -1036276607:
                        if (str.equals("Default Audio Language")) {
                            mutableState.setValue(EnumC2157n0.f18198f);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -369488142:
                        if (str.equals("Preferred Addons")) {
                            mutableState.setValue(EnumC2157n0.f18194b);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case -89673183:
                        if (str.equals("Default Subtitle Language")) {
                            mutableState.setValue(EnumC2157n0.f18197e);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case 563578630:
                        if (str.equals("Strict Title Match")) {
                            V2.u3.f(new C2112f3(20));
                        }
                        break;
                    case 803448440:
                        if (str.equals("Hide Japanese / Korean search results")) {
                            V2.u3.g(new C2112f3(21));
                        }
                        break;
                    case 1340700096:
                        if (str.equals("Trailers")) {
                            mutableState.setValue(EnumC2157n0.f18201m);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case 1347108518:
                        if (str.equals("Link Trakt")) {
                            mutableState.setValue(EnumC2157n0.l);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                    case 1581889602:
                        if (str.equals("Current theme")) {
                            mutableState.setValue(EnumC2157n0.f18203o);
                            mutableState2.setValue(C5.f16742b);
                        }
                        break;
                }
                return C3137A.f25453a;
            default:
                return ((Number) state4.getValue()).intValue() != i6 ? n5.f18268M0 : new C2229z1(true, ((Number) ((State) obj).getValue()).intValue(), ((Number) state3.getValue()).intValue(), ((Boolean) state2.getValue()).booleanValue(), !((Boolean) state.getValue()).booleanValue());
        }
    }

    public /* synthetic */ M3(State state, int i6, State state2, State state3, State state4, State state5) {
        this.f17063b = state;
        this.f17064c = i6;
        this.f17065d = state2;
        this.f17066e = state3;
        this.f17067f = state4;
        this.f17068j = state5;
    }
}
