package X6FRs_4.KQgRr5e_0.LGe8pk_15;
/* compiled from: RtlSpacingHelper.java */
/* loaded from: classes.dex */
public class RfjZ_21 {
    public int KQgRr5e_0 = 0;
    public int QxJ9d_1 = 0;
    public int PGPF6hQ_2 = X6FRs_4.Xgtqvk_8.KQgRr5e_0.KQgRr5e_0.INVALID_ID;

    /* renamed from: Mqv2r_3  reason: collision with root package name */
    public int f3169Mqv2r_3 = X6FRs_4.Xgtqvk_8.KQgRr5e_0.KQgRr5e_0.INVALID_ID;

    /* renamed from: X6FRs_4  reason: collision with root package name */
    public int f3170X6FRs_4 = 0;

    /* renamed from: IFxWkV_5  reason: collision with root package name */
    public int f3168IFxWkV_5 = 0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public boolean f750KQgRr5e_0 = false;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public boolean f751QxJ9d_1 = false;

    public int KQgRr5e_0() {
        return this.f750KQgRr5e_0 ? this.KQgRr5e_0 : this.QxJ9d_1;
    }

    public int Mqv2r_3() {
        return this.f750KQgRr5e_0 ? this.QxJ9d_1 : this.KQgRr5e_0;
    }

    public int PGPF6hQ_2() {
        return this.QxJ9d_1;
    }

    public int QxJ9d_1() {
        return this.KQgRr5e_0;
    }

    public void KQgRr5e_0(int i, int i2) {
        this.f751QxJ9d_1 = false;
        if (i != Integer.MIN_VALUE) {
            this.f3170X6FRs_4 = i;
            this.KQgRr5e_0 = i;
        }
        if (i2 != Integer.MIN_VALUE) {
            this.f3168IFxWkV_5 = i2;
            this.QxJ9d_1 = i2;
        }
    }

    public void QxJ9d_1(int i, int i2) {
        this.PGPF6hQ_2 = i;
        this.f3169Mqv2r_3 = i2;
        this.f751QxJ9d_1 = true;
        if (this.f750KQgRr5e_0) {
            if (i2 != Integer.MIN_VALUE) {
                this.KQgRr5e_0 = i2;
            }
            if (i != Integer.MIN_VALUE) {
                this.QxJ9d_1 = i;
                return;
            }
            return;
        }
        if (i != Integer.MIN_VALUE) {
            this.KQgRr5e_0 = i;
        }
        if (i2 != Integer.MIN_VALUE) {
            this.QxJ9d_1 = i2;
        }
    }

    public void KQgRr5e_0(boolean z) {
        if (z == this.f750KQgRr5e_0) {
            return;
        }
        this.f750KQgRr5e_0 = z;
        if (!this.f751QxJ9d_1) {
            this.KQgRr5e_0 = this.f3170X6FRs_4;
            this.QxJ9d_1 = this.f3168IFxWkV_5;
        } else if (z) {
            int i = this.f3169Mqv2r_3;
            if (i == Integer.MIN_VALUE) {
                i = this.f3170X6FRs_4;
            }
            this.KQgRr5e_0 = i;
            int i2 = this.PGPF6hQ_2;
            if (i2 == Integer.MIN_VALUE) {
                i2 = this.f3168IFxWkV_5;
            }
            this.QxJ9d_1 = i2;
        } else {
            int i3 = this.PGPF6hQ_2;
            if (i3 == Integer.MIN_VALUE) {
                i3 = this.f3170X6FRs_4;
            }
            this.KQgRr5e_0 = i3;
            int i4 = this.f3169Mqv2r_3;
            if (i4 == Integer.MIN_VALUE) {
                i4 = this.f3168IFxWkV_5;
            }
            this.QxJ9d_1 = i4;
        }
    }
}
