package D;

import F.K;
import androidx.compose.runtime.MutableIntState;
import androidx.compose.runtime.SnapshotIntStateKt;

/* JADX INFO: loaded from: classes.dex */
public final class B {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final MutableIntState f747b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final MutableIntState f748c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public boolean f749d;

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final K f751f;

    public B(int i6, int i7, int i8) {
        this.f746a = i8;
        switch (i8) {
            case 1:
                this.f747b = SnapshotIntStateKt.mutableIntStateOf(i6);
                this.f748c = SnapshotIntStateKt.mutableIntStateOf(i7);
                this.f751f = new K(i6, 90, 200);
                break;
            default:
                this.f747b = SnapshotIntStateKt.mutableIntStateOf(i6);
                this.f748c = SnapshotIntStateKt.mutableIntStateOf(i7);
                this.f751f = new K(i6, 30, 100);
                break;
        }
    }

    public final void a(int i6, int i7) {
        switch (this.f746a) {
            case 0:
                if (i6 < 0.0f) {
                    A.b.a("Index should be non-negative (" + i6 + ')');
                }
                this.f747b.setIntValue(i6);
                this.f751f.b(i6);
                this.f748c.setIntValue(i7);
                break;
            default:
                if (i6 < 0.0f) {
                    A.b.a("Index should be non-negative");
                }
                this.f747b.setIntValue(i6);
                this.f751f.b(i6);
                this.f748c.setIntValue(i7);
                break;
        }
    }
}
