package XnFJ5_9.Ft6VRog_36.Nm6q_10;

import androidx.recyclerview.widget.RecyclerView;
import java.util.Arrays;
/* compiled from: Settings.java */
/* loaded from: classes.dex */
public final class EuDEkJe_12 {
    public int KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final int[] f1521KQgRr5e_0 = new int[10];

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public void m701KQgRr5e_0() {
        this.KQgRr5e_0 = 0;
        Arrays.fill(this.f1521KQgRr5e_0, 0);
    }

    public int PGPF6hQ_2() {
        return Integer.bitCount(this.KQgRr5e_0);
    }

    public int QxJ9d_1(int i) {
        return (this.KQgRr5e_0 & 16) != 0 ? this.f1521KQgRr5e_0[4] : i;
    }

    public int PGPF6hQ_2(int i) {
        return (this.KQgRr5e_0 & 32) != 0 ? this.f1521KQgRr5e_0[5] : i;
    }

    public int QxJ9d_1() {
        if ((this.KQgRr5e_0 & RecyclerView.WGk6X_27.FLAG_IGNORE) != 0) {
            return this.f1521KQgRr5e_0[7];
        }
        return 65535;
    }

    public EuDEkJe_12 KQgRr5e_0(int i, int i2) {
        if (i >= 0) {
            int[] iArr = this.f1521KQgRr5e_0;
            if (i < iArr.length) {
                this.KQgRr5e_0 = (1 << i) | this.KQgRr5e_0;
                iArr[i] = i2;
            }
        }
        return this;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public boolean m702KQgRr5e_0(int i) {
        return ((1 << i) & this.KQgRr5e_0) != 0;
    }

    public int KQgRr5e_0(int i) {
        return this.f1521KQgRr5e_0[i];
    }

    public int KQgRr5e_0() {
        if ((this.KQgRr5e_0 & 2) != 0) {
            return this.f1521KQgRr5e_0[1];
        }
        return -1;
    }

    public void KQgRr5e_0(EuDEkJe_12 euDEkJe_12) {
        for (int i = 0; i < 10; i++) {
            if (euDEkJe_12.m702KQgRr5e_0(i)) {
                KQgRr5e_0(i, euDEkJe_12.KQgRr5e_0(i));
            }
        }
    }
}
