package M2;

import androidx.compose.runtime.MutableState;
import d3.v2;
import w4.C3137A;

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

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

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

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

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

    public /* synthetic */ N1(MutableState mutableState, MutableState mutableState2, MutableState mutableState3, int i6) {
        this.f4435a = i6;
        this.f4436b = mutableState;
        this.f4437c = mutableState2;
        this.f4438d = mutableState3;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // J4.a
    public final Object invoke() {
        switch (this.f4435a) {
            case 0:
                this.f4436b.setValue(L1.f4394a);
                this.f4437c.setValue(null);
                this.f4438d.setValue(0);
                break;
            case 1:
                this.f4436b.setValue(L1.f4395b);
                this.f4437c.setValue(null);
                this.f4438d.setValue(0);
                break;
            case 2:
                Long l = (Long) this.f4436b.getValue();
                break;
            case 3:
                MutableState mutableState = this.f4436b;
                mutableState.setValue(Boolean.valueOf(!((Boolean) mutableState.getValue()).booleanValue()));
                if (((Boolean) mutableState.getValue()).booleanValue()) {
                    this.f4437c.setValue(d3.D.f15042a);
                }
                if (((Boolean) mutableState.getValue()).booleanValue()) {
                    this.f4438d.setValue(Boolean.FALSE);
                }
                break;
            case 4:
                MutableState mutableState2 = this.f4436b;
                mutableState2.setValue(Boolean.valueOf(!((Boolean) mutableState2.getValue()).booleanValue()));
                if (((Boolean) mutableState2.getValue()).booleanValue()) {
                    this.f4437c.setValue(d3.G.f15094a);
                }
                if (((Boolean) mutableState2.getValue()).booleanValue()) {
                    this.f4438d.setValue(Boolean.FALSE);
                }
                break;
            case 5:
                MutableState mutableState3 = this.f4436b;
                mutableState3.setValue(Boolean.valueOf(!((Boolean) mutableState3.getValue()).booleanValue()));
                if (((Boolean) mutableState3.getValue()).booleanValue()) {
                    MutableState mutableState4 = this.f4437c;
                    Boolean bool = Boolean.FALSE;
                    mutableState4.setValue(bool);
                    this.f4438d.setValue(bool);
                }
                break;
            case 6:
                v2.B(this.f4436b, true);
                v2.A(this.f4437c, true);
                MutableState mutableState5 = this.f4438d;
                mutableState5.setValue(Integer.valueOf(v2.C(mutableState5) + 1));
                break;
            case 7:
                this.f4436b.setValue(null);
                this.f4437c.setValue("");
                this.f4438d.setValue(null);
                break;
            case 8:
                MutableState mutableState6 = this.f4436b;
                if (((Boolean) mutableState6.getValue()).booleanValue()) {
                    mutableState6.setValue(Boolean.FALSE);
                    this.f4437c.setValue(null);
                } else {
                    this.f4438d.setValue(Boolean.TRUE);
                }
                break;
            case 9:
                MutableState mutableState7 = this.f4436b;
                Boolean bool2 = Boolean.FALSE;
                mutableState7.setValue(bool2);
                if (((String) this.f4437c.getValue()) == null) {
                    this.f4438d.setValue(bool2);
                }
                break;
            default:
                if (((Boolean) this.f4436b.getValue()).booleanValue()) {
                    this.f4437c.setValue(Boolean.TRUE);
                } else {
                    this.f4438d.setValue(Boolean.TRUE);
                }
                break;
        }
        return C3137A.f25453a;
    }
}
