package X6FRs_4.X6FRs_4.KQgRr5e_0.XnFJ5_9;

import X6FRs_4.X6FRs_4.KQgRr5e_0.XnFJ5_9.X6FRs_4;
import com.wang.avi.BuildConfig;
import java.util.ArrayList;
/* compiled from: ConstraintWidget.java */
/* loaded from: classes.dex */
public class IFxWkV_5 {

    /* renamed from: FSaI4_7  reason: collision with root package name */
    public static float f3271FSaI4_7 = 0.5f;
    public int BVpCZyH_19;
    public int Eps4cJe_18;
    public int EuDEkJe_12;

    /* renamed from: FSaI4_7  reason: collision with other field name */
    public X6FRs_4 f1147FSaI4_7;
    public int G83uNX_24;
    public int H5YG8fq_22;

    /* renamed from: IFxWkV_5  reason: collision with root package name */
    public float f3272IFxWkV_5;

    /* renamed from: IMuAHx_6  reason: collision with root package name */
    public float f3273IMuAHx_6;
    public int JZJr_16;

    /* renamed from: KNBe_11  reason: collision with root package name */
    public int f3274KNBe_11;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public IFxWkV_5 f1154KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public WwEq_13 f1155KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public Object f1157KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public String f1158KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public ArrayList<X6FRs_4> f1159KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public boolean f1160KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public float[] f1161KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public QxJ9d_1[] f1163KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public IFxWkV_5[] f1164KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public X6FRs_4[] f1165KQgRr5e_0;
    public int KVtv3R_25;
    public int LGe8pk_15;
    public int NQvZgp_17;

    /* renamed from: Nm6q_10  reason: collision with root package name */
    public int f3276Nm6q_10;

    /* renamed from: PGPF6hQ_2  reason: collision with other field name */
    public boolean f1170PGPF6hQ_2;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public WwEq_13 f1172QxJ9d_1;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public String f1174QxJ9d_1;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public boolean f1175QxJ9d_1;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public IFxWkV_5[] f1177QxJ9d_1;
    public int RfjZ_21;
    public int SI64pbG_23;
    public int WGk6X_27;
    public int WwEq_13;

    /* renamed from: X6FRs_4  reason: collision with root package name */
    public float f3277X6FRs_4;
    public int XDsvEfm_26;

    /* renamed from: XnFJ5_9  reason: collision with root package name */
    public int f3279XnFJ5_9;
    public int YghfZG_14;
    public int ZzDuCHW_20;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public int f1152KQgRr5e_0 = -1;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public int f1171QxJ9d_1 = -1;

    /* renamed from: PGPF6hQ_2  reason: collision with other field name */
    public int f1168PGPF6hQ_2 = 0;

    /* renamed from: Mqv2r_3  reason: collision with other field name */
    public int f1166Mqv2r_3 = 0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public int[] f1162KQgRr5e_0 = new int[2];

    /* renamed from: X6FRs_4  reason: collision with other field name */
    public int f1178X6FRs_4 = 0;

    /* renamed from: IFxWkV_5  reason: collision with other field name */
    public int f1148IFxWkV_5 = 0;
    public float KQgRr5e_0 = 1.0f;

    /* renamed from: IMuAHx_6  reason: collision with other field name */
    public int f1150IMuAHx_6 = 0;

    /* renamed from: FSaI4_7  reason: collision with other field name */
    public int f1146FSaI4_7 = 0;
    public float QxJ9d_1 = 1.0f;

    /* renamed from: Xgtqvk_8  reason: collision with root package name */
    public int f3278Xgtqvk_8 = -1;
    public float PGPF6hQ_2 = 1.0f;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public FSaI4_7 f1153KQgRr5e_0 = null;

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public int[] f1176QxJ9d_1 = {Integer.MAX_VALUE, Integer.MAX_VALUE};

    /* renamed from: Mqv2r_3  reason: collision with root package name */
    public float f3275Mqv2r_3 = 0.0f;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public X6FRs_4 f1156KQgRr5e_0 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.LEFT);

    /* renamed from: QxJ9d_1  reason: collision with other field name */
    public X6FRs_4 f1173QxJ9d_1 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.TOP);

    /* renamed from: PGPF6hQ_2  reason: collision with other field name */
    public X6FRs_4 f1169PGPF6hQ_2 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.RIGHT);

    /* renamed from: Mqv2r_3  reason: collision with other field name */
    public X6FRs_4 f1167Mqv2r_3 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.BOTTOM);

    /* renamed from: X6FRs_4  reason: collision with other field name */
    public X6FRs_4 f1179X6FRs_4 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.BASELINE);

    /* renamed from: IFxWkV_5  reason: collision with other field name */
    public X6FRs_4 f1149IFxWkV_5 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.CENTER_X);

    /* renamed from: IMuAHx_6  reason: collision with other field name */
    public X6FRs_4 f1151IMuAHx_6 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.CENTER_Y);

    /* compiled from: ConstraintWidget.java */
    /* loaded from: classes.dex */
    public static /* synthetic */ class KQgRr5e_0 {
        public static final /* synthetic */ int[] KQgRr5e_0;
        public static final /* synthetic */ int[] QxJ9d_1;

        static {
            int[] iArr = new int[QxJ9d_1.values().length];
            QxJ9d_1 = iArr;
            try {
                iArr[QxJ9d_1.FIXED.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                QxJ9d_1[QxJ9d_1.WRAP_CONTENT.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                QxJ9d_1[QxJ9d_1.MATCH_PARENT.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                QxJ9d_1[QxJ9d_1.MATCH_CONSTRAINT.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            int[] iArr2 = new int[X6FRs_4.Mqv2r_3.values().length];
            KQgRr5e_0 = iArr2;
            try {
                iArr2[X6FRs_4.Mqv2r_3.LEFT.ordinal()] = 1;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.TOP.ordinal()] = 2;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.RIGHT.ordinal()] = 3;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.BOTTOM.ordinal()] = 4;
            } catch (NoSuchFieldError unused8) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.BASELINE.ordinal()] = 5;
            } catch (NoSuchFieldError unused9) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.CENTER.ordinal()] = 6;
            } catch (NoSuchFieldError unused10) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.CENTER_X.ordinal()] = 7;
            } catch (NoSuchFieldError unused11) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.CENTER_Y.ordinal()] = 8;
            } catch (NoSuchFieldError unused12) {
            }
            try {
                KQgRr5e_0[X6FRs_4.Mqv2r_3.NONE.ordinal()] = 9;
            } catch (NoSuchFieldError unused13) {
            }
        }
    }

    /* compiled from: ConstraintWidget.java */
    /* loaded from: classes.dex */
    public enum QxJ9d_1 {
        FIXED,
        WRAP_CONTENT,
        MATCH_CONSTRAINT,
        MATCH_PARENT
    }

    public IFxWkV_5() {
        X6FRs_4 x6FRs_4 = new X6FRs_4(this, X6FRs_4.Mqv2r_3.CENTER);
        this.f1147FSaI4_7 = x6FRs_4;
        this.f1165KQgRr5e_0 = new X6FRs_4[]{this.f1156KQgRr5e_0, this.f1169PGPF6hQ_2, this.f1173QxJ9d_1, this.f1167Mqv2r_3, this.f1179X6FRs_4, x6FRs_4};
        this.f1159KQgRr5e_0 = new ArrayList<>();
        QxJ9d_1 qxJ9d_1 = QxJ9d_1.FIXED;
        this.f1163KQgRr5e_0 = new QxJ9d_1[]{qxJ9d_1, qxJ9d_1};
        this.f1154KQgRr5e_0 = null;
        this.f3279XnFJ5_9 = 0;
        this.f3276Nm6q_10 = 0;
        this.f3277X6FRs_4 = 0.0f;
        this.f3274KNBe_11 = -1;
        this.EuDEkJe_12 = 0;
        this.WwEq_13 = 0;
        this.YghfZG_14 = 0;
        this.LGe8pk_15 = 0;
        this.JZJr_16 = 0;
        this.NQvZgp_17 = 0;
        this.Eps4cJe_18 = 0;
        this.BVpCZyH_19 = 0;
        this.ZzDuCHW_20 = 0;
        float f = f3271FSaI4_7;
        this.f3272IFxWkV_5 = f;
        this.f3273IMuAHx_6 = f;
        this.KVtv3R_25 = 0;
        this.f1158KQgRr5e_0 = null;
        this.f1174QxJ9d_1 = null;
        this.f1160KQgRr5e_0 = false;
        this.f1175QxJ9d_1 = false;
        this.f1170PGPF6hQ_2 = false;
        this.XDsvEfm_26 = 0;
        this.WGk6X_27 = 0;
        this.f1161KQgRr5e_0 = new float[]{-1.0f, -1.0f};
        this.f1164KQgRr5e_0 = new IFxWkV_5[]{null, null};
        this.f1177QxJ9d_1 = new IFxWkV_5[]{null, null};
        m559KQgRr5e_0();
    }

    public int EuDEkJe_12() {
        return this.EuDEkJe_12;
    }

    public int FSaI4_7() {
        return this.WwEq_13 + this.BVpCZyH_19;
    }

    public void IFxWkV_5(int i) {
        this.f1176QxJ9d_1[0] = i;
    }

    /* renamed from: IMuAHx_6  reason: collision with other method in class */
    public boolean m550IMuAHx_6() {
        return this.f1168PGPF6hQ_2 == 0 && this.f3277X6FRs_4 == 0.0f && this.f1178X6FRs_4 == 0 && this.f1148IFxWkV_5 == 0 && this.f1163KQgRr5e_0[0] == QxJ9d_1.MATCH_CONSTRAINT;
    }

    public int KNBe_11() {
        return this.SI64pbG_23;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public void m560KQgRr5e_0(int i) {
        Nm6q_10.KQgRr5e_0(i, this);
    }

    public void KQgRr5e_0(boolean z) {
    }

    /* renamed from: Mqv2r_3  reason: collision with other method in class */
    public void m563Mqv2r_3() {
        for (int i = 0; i < 6; i++) {
            this.f1165KQgRr5e_0[i].m575KQgRr5e_0().PGPF6hQ_2();
        }
    }

    public int Nm6q_10() {
        return this.G83uNX_24;
    }

    /* renamed from: PGPF6hQ_2  reason: collision with other method in class */
    public boolean m566PGPF6hQ_2() {
        return ((YghfZG_14) this.f1156KQgRr5e_0.m575KQgRr5e_0()).KQgRr5e_0 == 1 && ((YghfZG_14) this.f1169PGPF6hQ_2.m575KQgRr5e_0()).KQgRr5e_0 == 1 && ((YghfZG_14) this.f1173QxJ9d_1.m575KQgRr5e_0()).KQgRr5e_0 == 1 && ((YghfZG_14) this.f1167Mqv2r_3.m575KQgRr5e_0()).KQgRr5e_0 == 1;
    }

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public void m569QxJ9d_1() {
        this.f1156KQgRr5e_0.m580KQgRr5e_0();
        this.f1173QxJ9d_1.m580KQgRr5e_0();
        this.f1169PGPF6hQ_2.m580KQgRr5e_0();
        this.f1167Mqv2r_3.m580KQgRr5e_0();
        this.f1179X6FRs_4.m580KQgRr5e_0();
        this.f1149IFxWkV_5.m580KQgRr5e_0();
        this.f1151IMuAHx_6.m580KQgRr5e_0();
        this.f1147FSaI4_7.m580KQgRr5e_0();
        this.f1154KQgRr5e_0 = null;
        this.f3275Mqv2r_3 = 0.0f;
        this.f3279XnFJ5_9 = 0;
        this.f3276Nm6q_10 = 0;
        this.f3277X6FRs_4 = 0.0f;
        this.f3274KNBe_11 = -1;
        this.EuDEkJe_12 = 0;
        this.WwEq_13 = 0;
        this.JZJr_16 = 0;
        this.NQvZgp_17 = 0;
        this.Eps4cJe_18 = 0;
        this.BVpCZyH_19 = 0;
        this.ZzDuCHW_20 = 0;
        this.RfjZ_21 = 0;
        this.H5YG8fq_22 = 0;
        this.SI64pbG_23 = 0;
        this.G83uNX_24 = 0;
        float f = f3271FSaI4_7;
        this.f3272IFxWkV_5 = f;
        this.f3273IMuAHx_6 = f;
        QxJ9d_1[] qxJ9d_1Arr = this.f1163KQgRr5e_0;
        QxJ9d_1 qxJ9d_1 = QxJ9d_1.FIXED;
        qxJ9d_1Arr[0] = qxJ9d_1;
        qxJ9d_1Arr[1] = qxJ9d_1;
        this.f1157KQgRr5e_0 = null;
        this.KVtv3R_25 = 0;
        this.f1174QxJ9d_1 = null;
        this.XDsvEfm_26 = 0;
        this.WGk6X_27 = 0;
        float[] fArr = this.f1161KQgRr5e_0;
        fArr[0] = -1.0f;
        fArr[1] = -1.0f;
        this.f1152KQgRr5e_0 = -1;
        this.f1171QxJ9d_1 = -1;
        int[] iArr = this.f1176QxJ9d_1;
        iArr[0] = Integer.MAX_VALUE;
        iArr[1] = Integer.MAX_VALUE;
        this.f1168PGPF6hQ_2 = 0;
        this.f1166Mqv2r_3 = 0;
        this.KQgRr5e_0 = 1.0f;
        this.QxJ9d_1 = 1.0f;
        this.f1148IFxWkV_5 = Integer.MAX_VALUE;
        this.f1146FSaI4_7 = Integer.MAX_VALUE;
        this.f1178X6FRs_4 = 0;
        this.f1150IMuAHx_6 = 0;
        this.f3278Xgtqvk_8 = -1;
        this.PGPF6hQ_2 = 1.0f;
        WwEq_13 wwEq_13 = this.f1155KQgRr5e_0;
        if (wwEq_13 != null) {
            wwEq_13.PGPF6hQ_2();
        }
        WwEq_13 wwEq_132 = this.f1172QxJ9d_1;
        if (wwEq_132 != null) {
            wwEq_132.PGPF6hQ_2();
        }
        this.f1153KQgRr5e_0 = null;
        this.f1160KQgRr5e_0 = false;
        this.f1175QxJ9d_1 = false;
        this.f1170PGPF6hQ_2 = false;
    }

    public void QxJ9d_1(boolean z) {
    }

    public int WwEq_13() {
        return this.WwEq_13;
    }

    /* renamed from: X6FRs_4  reason: collision with other method in class */
    public void m572X6FRs_4() {
    }

    public void X6FRs_4(int i) {
        this.f1176QxJ9d_1[1] = i;
    }

    public int Xgtqvk_8() {
        return this.KVtv3R_25;
    }

    public void XnFJ5_9(int i) {
        this.KVtv3R_25 = i;
    }

    public void YghfZG_14(int i) {
        this.WwEq_13 = i;
    }

    public String toString() {
        String str;
        StringBuilder sb = new StringBuilder();
        String str2 = this.f1174QxJ9d_1;
        String str3 = BuildConfig.FLAVOR;
        if (str2 != null) {
            str = "type: " + this.f1174QxJ9d_1 + " ";
        } else {
            str = BuildConfig.FLAVOR;
        }
        sb.append(str);
        if (this.f1158KQgRr5e_0 != null) {
            str3 = "id: " + this.f1158KQgRr5e_0 + " ";
        }
        sb.append(str3);
        sb.append("(");
        sb.append(this.EuDEkJe_12);
        sb.append(", ");
        sb.append(this.WwEq_13);
        sb.append(") - (");
        sb.append(this.f3279XnFJ5_9);
        sb.append(" x ");
        sb.append(this.f3276Nm6q_10);
        sb.append(") wrap: (");
        sb.append(this.SI64pbG_23);
        sb.append(" x ");
        sb.append(this.G83uNX_24);
        sb.append(")");
        return sb.toString();
    }

    public void EuDEkJe_12(int i) {
        this.SI64pbG_23 = i;
    }

    public void FSaI4_7(int i) {
        if (i < 0) {
            this.RfjZ_21 = 0;
        } else {
            this.RfjZ_21 = i;
        }
    }

    /* renamed from: IFxWkV_5  reason: collision with other method in class */
    public boolean m548IFxWkV_5() {
        return this.f1166Mqv2r_3 == 0 && this.f3277X6FRs_4 == 0.0f && this.f1150IMuAHx_6 == 0 && this.f1146FSaI4_7 == 0 && this.f1163KQgRr5e_0[1] == QxJ9d_1.MATCH_CONSTRAINT;
    }

    /* renamed from: IMuAHx_6  reason: collision with other method in class */
    public void m549IMuAHx_6() {
        for (int i = 0; i < 6; i++) {
            this.f1165KQgRr5e_0[i].m575KQgRr5e_0().X6FRs_4();
        }
    }

    public void KNBe_11(int i) {
        this.G83uNX_24 = i;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public WwEq_13 m555KQgRr5e_0() {
        if (this.f1172QxJ9d_1 == null) {
            this.f1172QxJ9d_1 = new WwEq_13();
        }
        return this.f1172QxJ9d_1;
    }

    public int Mqv2r_3() {
        return this.NQvZgp_17 + this.BVpCZyH_19;
    }

    public void Nm6q_10(int i) {
        this.f3279XnFJ5_9 = i;
        int i2 = this.RfjZ_21;
        if (i < i2) {
            this.f3279XnFJ5_9 = i2;
        }
    }

    public void WwEq_13(int i) {
        this.EuDEkJe_12 = i;
    }

    public int X6FRs_4() {
        if (this.KVtv3R_25 == 8) {
            return 0;
        }
        return this.f3276Nm6q_10;
    }

    public void Xgtqvk_8(int i) {
        this.WGk6X_27 = i;
    }

    public int XnFJ5_9() {
        if (this.KVtv3R_25 == 8) {
            return 0;
        }
        return this.f3279XnFJ5_9;
    }

    public int IFxWkV_5() {
        return EuDEkJe_12() + this.f3279XnFJ5_9;
    }

    public int IMuAHx_6() {
        return this.EuDEkJe_12 + this.Eps4cJe_18;
    }

    public void Mqv2r_3(int i, int i2) {
        if (i2 == 0) {
            this.YghfZG_14 = i;
        } else if (i2 == 1) {
            this.LGe8pk_15 = i;
        }
    }

    /* renamed from: IFxWkV_5  reason: collision with other method in class */
    public void m547IFxWkV_5() {
        int i = this.EuDEkJe_12;
        int i2 = this.WwEq_13;
        this.JZJr_16 = i;
        this.NQvZgp_17 = i2;
    }

    public void IMuAHx_6(int i) {
        if (i < 0) {
            this.H5YG8fq_22 = 0;
        } else {
            this.H5YG8fq_22 = i;
        }
    }

    public void X6FRs_4(int i, int i2) {
        this.WwEq_13 = i;
        int i3 = i2 - i;
        this.f3276Nm6q_10 = i3;
        int i4 = this.H5YG8fq_22;
        if (i3 < i4) {
            this.f3276Nm6q_10 = i4;
        }
    }

    public void KQgRr5e_0(X6FRs_4.X6FRs_4.KQgRr5e_0.PGPF6hQ_2 pGPF6hQ_2) {
        this.f1156KQgRr5e_0.KQgRr5e_0(pGPF6hQ_2);
        this.f1173QxJ9d_1.KQgRr5e_0(pGPF6hQ_2);
        this.f1169PGPF6hQ_2.KQgRr5e_0(pGPF6hQ_2);
        this.f1167Mqv2r_3.KQgRr5e_0(pGPF6hQ_2);
        this.f1179X6FRs_4.KQgRr5e_0(pGPF6hQ_2);
        this.f1147FSaI4_7.KQgRr5e_0(pGPF6hQ_2);
        this.f1149IFxWkV_5.KQgRr5e_0(pGPF6hQ_2);
        this.f1151IMuAHx_6.KQgRr5e_0(pGPF6hQ_2);
    }

    public void Mqv2r_3(float f) {
        this.f1161KQgRr5e_0[1] = f;
    }

    public int PGPF6hQ_2() {
        return this.JZJr_16 + this.Eps4cJe_18;
    }

    public void Mqv2r_3(int i) {
        this.XDsvEfm_26 = i;
    }

    public void PGPF6hQ_2(int i, int i2) {
        this.EuDEkJe_12 = i;
        this.WwEq_13 = i2;
    }

    /* renamed from: Mqv2r_3  reason: collision with other method in class */
    public boolean m564Mqv2r_3() {
        X6FRs_4 x6FRs_4 = this.f1156KQgRr5e_0;
        X6FRs_4 x6FRs_42 = x6FRs_4.f1203KQgRr5e_0;
        if (x6FRs_42 == null || x6FRs_42.f1203KQgRr5e_0 != x6FRs_4) {
            X6FRs_4 x6FRs_43 = this.f1169PGPF6hQ_2;
            X6FRs_4 x6FRs_44 = x6FRs_43.f1203KQgRr5e_0;
            return x6FRs_44 != null && x6FRs_44.f1203KQgRr5e_0 == x6FRs_43;
        }
        return true;
    }

    public void PGPF6hQ_2(int i) {
        this.f3276Nm6q_10 = i;
        int i2 = this.H5YG8fq_22;
        if (i < i2) {
            this.f3276Nm6q_10 = i2;
        }
    }

    /* renamed from: X6FRs_4  reason: collision with other method in class */
    public boolean m573X6FRs_4() {
        X6FRs_4 x6FRs_4 = this.f1173QxJ9d_1;
        X6FRs_4 x6FRs_42 = x6FRs_4.f1203KQgRr5e_0;
        if (x6FRs_42 == null || x6FRs_42.f1203KQgRr5e_0 != x6FRs_4) {
            X6FRs_4 x6FRs_43 = this.f1167Mqv2r_3;
            X6FRs_4 x6FRs_44 = x6FRs_43.f1203KQgRr5e_0;
            return x6FRs_44 != null && x6FRs_44.f1203KQgRr5e_0 == x6FRs_43;
        }
        return true;
    }

    public void PGPF6hQ_2(float f) {
        this.f3273IMuAHx_6 = f;
    }

    /* renamed from: PGPF6hQ_2  reason: collision with other method in class */
    public void m565PGPF6hQ_2() {
        IFxWkV_5 m554KQgRr5e_0 = m554KQgRr5e_0();
        if (m554KQgRr5e_0 != null && (m554KQgRr5e_0 instanceof IMuAHx_6) && ((IMuAHx_6) m554KQgRr5e_0()).FSaI4_7()) {
            return;
        }
        int size = this.f1159KQgRr5e_0.size();
        for (int i = 0; i < size; i++) {
            this.f1159KQgRr5e_0.get(i).m580KQgRr5e_0();
        }
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public final void m559KQgRr5e_0() {
        this.f1159KQgRr5e_0.add(this.f1156KQgRr5e_0);
        this.f1159KQgRr5e_0.add(this.f1173QxJ9d_1);
        this.f1159KQgRr5e_0.add(this.f1169PGPF6hQ_2);
        this.f1159KQgRr5e_0.add(this.f1167Mqv2r_3);
        this.f1159KQgRr5e_0.add(this.f1149IFxWkV_5);
        this.f1159KQgRr5e_0.add(this.f1151IMuAHx_6);
        this.f1159KQgRr5e_0.add(this.f1147FSaI4_7);
        this.f1159KQgRr5e_0.add(this.f1179X6FRs_4);
    }

    public void PGPF6hQ_2(X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4 x6FRs_4) {
        int KQgRr5e_02 = x6FRs_4.KQgRr5e_0((Object) this.f1156KQgRr5e_0);
        int KQgRr5e_03 = x6FRs_4.KQgRr5e_0((Object) this.f1173QxJ9d_1);
        int KQgRr5e_04 = x6FRs_4.KQgRr5e_0((Object) this.f1169PGPF6hQ_2);
        int KQgRr5e_05 = x6FRs_4.KQgRr5e_0((Object) this.f1167Mqv2r_3);
        int i = KQgRr5e_05 - KQgRr5e_03;
        if (KQgRr5e_04 - KQgRr5e_02 < 0 || i < 0 || KQgRr5e_02 == Integer.MIN_VALUE || KQgRr5e_02 == Integer.MAX_VALUE || KQgRr5e_03 == Integer.MIN_VALUE || KQgRr5e_03 == Integer.MAX_VALUE || KQgRr5e_04 == Integer.MIN_VALUE || KQgRr5e_04 == Integer.MAX_VALUE || KQgRr5e_05 == Integer.MIN_VALUE || KQgRr5e_05 == Integer.MAX_VALUE) {
            KQgRr5e_05 = 0;
            KQgRr5e_02 = 0;
            KQgRr5e_03 = 0;
            KQgRr5e_04 = 0;
        }
        KQgRr5e_0(KQgRr5e_02, KQgRr5e_03, KQgRr5e_04, KQgRr5e_05);
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public IFxWkV_5 m554KQgRr5e_0() {
        return this.f1154KQgRr5e_0;
    }

    public void KQgRr5e_0(IFxWkV_5 iFxWkV_5) {
        this.f1154KQgRr5e_0 = iFxWkV_5;
    }

    public void KQgRr5e_0(IFxWkV_5 iFxWkV_5, float f, int i) {
        X6FRs_4.Mqv2r_3 mqv2r_3 = X6FRs_4.Mqv2r_3.CENTER;
        KQgRr5e_0(mqv2r_3, iFxWkV_5, mqv2r_3, i, 0);
        this.f3275Mqv2r_3 = f;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public String m557KQgRr5e_0() {
        return this.f1158KQgRr5e_0;
    }

    public void KQgRr5e_0(String str) {
        this.f1158KQgRr5e_0 = str;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public int m551KQgRr5e_0(int i) {
        if (i == 0) {
            return XnFJ5_9();
        }
        if (i == 1) {
            return X6FRs_4();
        }
        return 0;
    }

    public float KQgRr5e_0(int i) {
        if (i == 0) {
            return this.f3272IFxWkV_5;
        }
        if (i == 1) {
            return this.f3273IMuAHx_6;
        }
        return -1.0f;
    }

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

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public Object m556KQgRr5e_0() {
        return this.f1157KQgRr5e_0;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public ArrayList<X6FRs_4> m558KQgRr5e_0() {
        return this.f1159KQgRr5e_0;
    }

    public void KQgRr5e_0(int i, int i2, int i3, float f) {
        this.f1168PGPF6hQ_2 = i;
        this.f1178X6FRs_4 = i2;
        this.f1148IFxWkV_5 = i3;
        this.KQgRr5e_0 = f;
        if (f >= 1.0f || i != 0) {
            return;
        }
        this.f1168PGPF6hQ_2 = 2;
    }

    public void KQgRr5e_0(float f) {
        this.f3272IFxWkV_5 = f;
    }

    public void KQgRr5e_0(int i, int i2, int i3, int i4) {
        int i5;
        int i6;
        int i7 = i3 - i;
        int i8 = i4 - i2;
        this.EuDEkJe_12 = i;
        this.WwEq_13 = i2;
        if (this.KVtv3R_25 == 8) {
            this.f3279XnFJ5_9 = 0;
            this.f3276Nm6q_10 = 0;
            return;
        }
        if (this.f1163KQgRr5e_0[0] == QxJ9d_1.FIXED && i7 < (i6 = this.f3279XnFJ5_9)) {
            i7 = i6;
        }
        if (this.f1163KQgRr5e_0[1] == QxJ9d_1.FIXED && i8 < (i5 = this.f3276Nm6q_10)) {
            i8 = i5;
        }
        this.f3279XnFJ5_9 = i7;
        this.f3276Nm6q_10 = i8;
        int i9 = this.H5YG8fq_22;
        if (i8 < i9) {
            this.f3276Nm6q_10 = i9;
        }
        int i10 = this.f3279XnFJ5_9;
        int i11 = this.RfjZ_21;
        if (i10 < i11) {
            this.f3279XnFJ5_9 = i11;
        }
        this.f1175QxJ9d_1 = true;
    }

    public void KQgRr5e_0(int i, int i2, int i3) {
        if (i3 == 0) {
            KQgRr5e_0(i, i2);
        } else if (i3 == 1) {
            X6FRs_4(i, i2);
        }
        this.f1175QxJ9d_1 = true;
    }

    public void KQgRr5e_0(int i, int i2) {
        this.EuDEkJe_12 = i;
        int i3 = i2 - i;
        this.f3279XnFJ5_9 = i3;
        int i4 = this.RfjZ_21;
        if (i3 < i4) {
            this.f3279XnFJ5_9 = i4;
        }
    }

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public WwEq_13 m568QxJ9d_1() {
        if (this.f1155KQgRr5e_0 == null) {
            this.f1155KQgRr5e_0 = new WwEq_13();
        }
        return this.f1155KQgRr5e_0;
    }

    public void KQgRr5e_0(Object obj) {
        this.f1157KQgRr5e_0 = obj;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public boolean m561KQgRr5e_0() {
        return this.KVtv3R_25 != 8;
    }

    public void QxJ9d_1(X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4 x6FRs_4) {
        x6FRs_4.m539KQgRr5e_0((Object) this.f1156KQgRr5e_0);
        x6FRs_4.m539KQgRr5e_0((Object) this.f1173QxJ9d_1);
        x6FRs_4.m539KQgRr5e_0((Object) this.f1169PGPF6hQ_2);
        x6FRs_4.m539KQgRr5e_0((Object) this.f1167Mqv2r_3);
        if (this.ZzDuCHW_20 > 0) {
            x6FRs_4.m539KQgRr5e_0((Object) this.f1179X6FRs_4);
        }
    }

    public void KQgRr5e_0(X6FRs_4.Mqv2r_3 mqv2r_3, IFxWkV_5 iFxWkV_5, X6FRs_4.Mqv2r_3 mqv2r_32, int i, int i2) {
        KQgRr5e_0(mqv2r_3).KQgRr5e_0(iFxWkV_5.KQgRr5e_0(mqv2r_32), i, i2, X6FRs_4.PGPF6hQ_2.STRONG, 0, true);
    }

    public X6FRs_4 KQgRr5e_0(X6FRs_4.Mqv2r_3 mqv2r_3) {
        switch (KQgRr5e_0.KQgRr5e_0[mqv2r_3.ordinal()]) {
            case 1:
                return this.f1156KQgRr5e_0;
            case 2:
                return this.f1173QxJ9d_1;
            case 3:
                return this.f1169PGPF6hQ_2;
            case 4:
                return this.f1167Mqv2r_3;
            case 5:
                return this.f1179X6FRs_4;
            case 6:
                return this.f1147FSaI4_7;
            case 7:
                return this.f1149IFxWkV_5;
            case 8:
                return this.f1151IMuAHx_6;
            case 9:
                return null;
            default:
                throw new AssertionError(mqv2r_3.name());
        }
    }

    public int QxJ9d_1() {
        return WwEq_13() + this.f3276Nm6q_10;
    }

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public boolean m571QxJ9d_1() {
        return this.ZzDuCHW_20 > 0;
    }

    public void QxJ9d_1(int i, int i2) {
        this.Eps4cJe_18 = i;
        this.BVpCZyH_19 = i2;
    }

    public void QxJ9d_1(int i, int i2, int i3, float f) {
        this.f1166Mqv2r_3 = i;
        this.f1150IMuAHx_6 = i2;
        this.f1146FSaI4_7 = i3;
        this.QxJ9d_1 = f;
        if (f >= 1.0f || i != 0) {
            return;
        }
        this.f1166Mqv2r_3 = 2;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public QxJ9d_1 m552KQgRr5e_0() {
        return this.f1163KQgRr5e_0[0];
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public QxJ9d_1 m553KQgRr5e_0(int i) {
        if (i == 0) {
            return m552KQgRr5e_0();
        }
        if (i == 1) {
            return m567QxJ9d_1();
        }
        return null;
    }

    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:38:0x0084 -> B:39:0x0085). Please submit an issue!!! */
    public void QxJ9d_1(String str) {
        float f;
        int i = 0;
        if (str != null && str.length() != 0) {
            int i2 = -1;
            int length = str.length();
            int indexOf = str.indexOf(44);
            int i3 = 0;
            if (indexOf > 0 && indexOf < length - 1) {
                String substring = str.substring(0, indexOf);
                if (substring.equalsIgnoreCase("W")) {
                    i2 = 0;
                } else if (substring.equalsIgnoreCase("H")) {
                    i2 = 1;
                }
                i3 = indexOf + 1;
            }
            int indexOf2 = str.indexOf(58);
            if (indexOf2 >= 0 && indexOf2 < length - 1) {
                String substring2 = str.substring(i3, indexOf2);
                String substring3 = str.substring(indexOf2 + 1);
                if (substring2.length() > 0 && substring3.length() > 0) {
                    float parseFloat = Float.parseFloat(substring2);
                    float parseFloat2 = Float.parseFloat(substring3);
                    if (parseFloat > 0.0f && parseFloat2 > 0.0f) {
                        if (i2 == 1) {
                            f = Math.abs(parseFloat2 / parseFloat);
                        } else {
                            f = Math.abs(parseFloat / parseFloat2);
                        }
                    }
                }
                f = 0.0f;
            } else {
                String substring4 = str.substring(i3);
                if (substring4.length() > 0) {
                    f = Float.parseFloat(substring4);
                }
                f = 0.0f;
            }
            i = (f > i ? 1 : (f == i ? 0 : -1));
            if (i > 0) {
                this.f3277X6FRs_4 = f;
                this.f3274KNBe_11 = i2;
                return;
            }
            return;
        }
        this.f3277X6FRs_4 = 0.0f;
    }

    public void KQgRr5e_0(QxJ9d_1 qxJ9d_1) {
        this.f1163KQgRr5e_0[0] = qxJ9d_1;
        if (qxJ9d_1 == QxJ9d_1.WRAP_CONTENT) {
            Nm6q_10(this.SI64pbG_23);
        }
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public final boolean m562KQgRr5e_0(int i) {
        int i2 = i * 2;
        X6FRs_4[] x6FRs_4Arr = this.f1165KQgRr5e_0;
        if (x6FRs_4Arr[i2].f1203KQgRr5e_0 != null && x6FRs_4Arr[i2].f1203KQgRr5e_0.f1203KQgRr5e_0 != x6FRs_4Arr[i2]) {
            int i3 = i2 + 1;
            if (x6FRs_4Arr[i3].f1203KQgRr5e_0 != null && x6FRs_4Arr[i3].f1203KQgRr5e_0.f1203KQgRr5e_0 == x6FRs_4Arr[i3]) {
                return true;
            }
        }
        return false;
    }

    /* JADX WARN: Removed duplicated region for block: B:115:0x01d4  */
    /* JADX WARN: Removed duplicated region for block: B:124:0x023b  */
    /* JADX WARN: Removed duplicated region for block: B:127:0x024c A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:128:0x024d  */
    /* JADX WARN: Removed duplicated region for block: B:154:0x02ae  */
    /* JADX WARN: Removed duplicated region for block: B:155:0x02b7  */
    /* JADX WARN: Removed duplicated region for block: B:158:0x02bd  */
    /* JADX WARN: Removed duplicated region for block: B:159:0x02c5  */
    /* JADX WARN: Removed duplicated region for block: B:162:0x02fc  */
    /* JADX WARN: Removed duplicated region for block: B:166:0x0325  */
    /* JADX WARN: Removed duplicated region for block: B:169:0x032f  */
    /* JADX WARN: Removed duplicated region for block: B:171:? A[RETURN, SYNTHETIC] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public void KQgRr5e_0(X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4 x6FRs_4) {
        boolean z;
        boolean z2;
        boolean z3;
        boolean z4;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_8;
        int i;
        int i2;
        int i3;
        int i4;
        boolean z5;
        boolean z6;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_82;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_83;
        boolean z7;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_84;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_85;
        X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4 x6FRs_42;
        boolean z8;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_86;
        IFxWkV_5 iFxWkV_5;
        int i5;
        int i6;
        int i7;
        boolean m564Mqv2r_3;
        boolean m573X6FRs_4;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_0 = x6FRs_4.m539KQgRr5e_0((Object) this.f1156KQgRr5e_0);
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_02 = x6FRs_4.m539KQgRr5e_0((Object) this.f1169PGPF6hQ_2);
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_03 = x6FRs_4.m539KQgRr5e_0((Object) this.f1173QxJ9d_1);
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_04 = x6FRs_4.m539KQgRr5e_0((Object) this.f1167Mqv2r_3);
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_05 = x6FRs_4.m539KQgRr5e_0((Object) this.f1179X6FRs_4);
        IFxWkV_5 iFxWkV_52 = this.f1154KQgRr5e_0;
        if (iFxWkV_52 != null) {
            z = iFxWkV_52 != null && iFxWkV_52.f1163KQgRr5e_0[0] == QxJ9d_1.WRAP_CONTENT;
            IFxWkV_5 iFxWkV_53 = this.f1154KQgRr5e_0;
            boolean z9 = iFxWkV_53 != null && iFxWkV_53.f1163KQgRr5e_0[1] == QxJ9d_1.WRAP_CONTENT;
            if (m562KQgRr5e_0(0)) {
                ((IMuAHx_6) this.f1154KQgRr5e_0).KQgRr5e_0(this, 0);
                m564Mqv2r_3 = true;
            } else {
                m564Mqv2r_3 = m564Mqv2r_3();
            }
            if (m562KQgRr5e_0(1)) {
                ((IMuAHx_6) this.f1154KQgRr5e_0).KQgRr5e_0(this, 1);
                m573X6FRs_4 = true;
            } else {
                m573X6FRs_4 = m573X6FRs_4();
            }
            if (z && this.KVtv3R_25 != 8 && this.f1156KQgRr5e_0.f1203KQgRr5e_0 == null && this.f1169PGPF6hQ_2.f1203KQgRr5e_0 == null) {
                x6FRs_4.m542KQgRr5e_0(x6FRs_4.m539KQgRr5e_0((Object) this.f1154KQgRr5e_0.f1169PGPF6hQ_2), m539KQgRr5e_02, 0, 1);
            }
            if (z9 && this.KVtv3R_25 != 8 && this.f1173QxJ9d_1.f1203KQgRr5e_0 == null && this.f1167Mqv2r_3.f1203KQgRr5e_0 == null && this.f1179X6FRs_4 == null) {
                x6FRs_4.m542KQgRr5e_0(x6FRs_4.m539KQgRr5e_0((Object) this.f1154KQgRr5e_0.f1167Mqv2r_3), m539KQgRr5e_04, 0, 1);
            }
            z2 = z9;
            z3 = m564Mqv2r_3;
            z4 = m573X6FRs_4;
        } else {
            z = false;
            z2 = false;
            z3 = false;
            z4 = false;
        }
        int i8 = this.f3279XnFJ5_9;
        int i9 = this.RfjZ_21;
        if (i8 < i9) {
            i8 = i9;
        }
        int i10 = this.f3276Nm6q_10;
        int i11 = this.H5YG8fq_22;
        if (i10 < i11) {
            i10 = i11;
        }
        boolean z10 = this.f1163KQgRr5e_0[0] != QxJ9d_1.MATCH_CONSTRAINT;
        boolean z11 = this.f1163KQgRr5e_0[1] != QxJ9d_1.MATCH_CONSTRAINT;
        this.f3278Xgtqvk_8 = this.f3274KNBe_11;
        float f = this.f3277X6FRs_4;
        this.PGPF6hQ_2 = f;
        int i12 = this.f1168PGPF6hQ_2;
        int i13 = this.f1166Mqv2r_3;
        if (f <= 0.0f || this.KVtv3R_25 == 8) {
            xgtqvk_8 = m539KQgRr5e_05;
            i = i12;
            i2 = i8;
            i3 = i10;
            i4 = i13;
            z5 = false;
        } else {
            xgtqvk_8 = m539KQgRr5e_05;
            if (this.f1163KQgRr5e_0[0] == QxJ9d_1.MATCH_CONSTRAINT && i12 == 0) {
                i12 = 3;
            }
            if (this.f1163KQgRr5e_0[1] == QxJ9d_1.MATCH_CONSTRAINT && i13 == 0) {
                i13 = 3;
            }
            QxJ9d_1[] qxJ9d_1Arr = this.f1163KQgRr5e_0;
            QxJ9d_1 qxJ9d_1 = qxJ9d_1Arr[0];
            QxJ9d_1 qxJ9d_12 = QxJ9d_1.MATCH_CONSTRAINT;
            if (qxJ9d_1 == qxJ9d_12 && qxJ9d_1Arr[1] == qxJ9d_12) {
                i7 = 3;
                if (i12 == 3 && i13 == 3) {
                    KQgRr5e_0(z, z2, z10, z11);
                    i = i12;
                    i2 = i8;
                    i3 = i10;
                    i4 = i13;
                    z5 = true;
                }
            } else {
                i7 = 3;
            }
            QxJ9d_1[] qxJ9d_1Arr2 = this.f1163KQgRr5e_0;
            QxJ9d_1 qxJ9d_13 = qxJ9d_1Arr2[0];
            QxJ9d_1 qxJ9d_14 = QxJ9d_1.MATCH_CONSTRAINT;
            if (qxJ9d_13 == qxJ9d_14 && i12 == i7) {
                this.f3278Xgtqvk_8 = 0;
                QxJ9d_1 qxJ9d_15 = qxJ9d_1Arr2[1];
                i2 = (int) (this.PGPF6hQ_2 * this.f3276Nm6q_10);
                if (qxJ9d_15 != qxJ9d_14) {
                    i3 = i10;
                    i4 = i13;
                    z5 = false;
                    i = 4;
                } else {
                    i = i12;
                    i3 = i10;
                    i4 = i13;
                    z5 = true;
                }
            } else {
                if (this.f1163KQgRr5e_0[1] == QxJ9d_1.MATCH_CONSTRAINT && i13 == 3) {
                    this.f3278Xgtqvk_8 = 1;
                    if (this.f3274KNBe_11 == -1) {
                        this.PGPF6hQ_2 = 1.0f / this.PGPF6hQ_2;
                    }
                    QxJ9d_1 qxJ9d_16 = this.f1163KQgRr5e_0[0];
                    QxJ9d_1 qxJ9d_17 = QxJ9d_1.MATCH_CONSTRAINT;
                    i3 = (int) (this.PGPF6hQ_2 * this.f3279XnFJ5_9);
                    i = i12;
                    i2 = i8;
                    if (qxJ9d_16 != qxJ9d_17) {
                        z5 = false;
                        i4 = 4;
                    }
                    i4 = i13;
                    z5 = true;
                }
                i = i12;
                i2 = i8;
                i3 = i10;
                i4 = i13;
                z5 = true;
            }
        }
        int[] iArr = this.f1162KQgRr5e_0;
        iArr[0] = i;
        iArr[1] = i4;
        if (z5 && ((i6 = this.f3278Xgtqvk_8) == 0 || i6 == -1)) {
            z6 = true;
            boolean z12 = this.f1163KQgRr5e_0[0] != QxJ9d_1.WRAP_CONTENT && (this instanceof IMuAHx_6);
            boolean z13 = !this.f1147FSaI4_7.m581KQgRr5e_0();
            if (this.f1152KQgRr5e_0 == 2) {
                IFxWkV_5 iFxWkV_54 = this.f1154KQgRr5e_0;
                X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_06 = iFxWkV_54 != null ? x6FRs_4.m539KQgRr5e_0((Object) iFxWkV_54.f1169PGPF6hQ_2) : null;
                IFxWkV_5 iFxWkV_55 = this.f1154KQgRr5e_0;
                z7 = z2;
                xgtqvk_84 = xgtqvk_8;
                xgtqvk_85 = m539KQgRr5e_04;
                xgtqvk_82 = m539KQgRr5e_03;
                boolean z14 = z12;
                xgtqvk_83 = m539KQgRr5e_02;
                KQgRr5e_0(x6FRs_4, z, iFxWkV_55 != null ? x6FRs_4.m539KQgRr5e_0((Object) iFxWkV_55.f1156KQgRr5e_0) : null, m539KQgRr5e_06, this.f1163KQgRr5e_0[0], z14, this.f1156KQgRr5e_0, this.f1169PGPF6hQ_2, this.EuDEkJe_12, i2, this.RfjZ_21, this.f1176QxJ9d_1[0], this.f3272IFxWkV_5, z6, z3, i, this.f1178X6FRs_4, this.f1148IFxWkV_5, this.KQgRr5e_0, z13);
            } else {
                xgtqvk_82 = m539KQgRr5e_03;
                xgtqvk_83 = m539KQgRr5e_02;
                z7 = z2;
                xgtqvk_84 = xgtqvk_8;
                xgtqvk_85 = m539KQgRr5e_04;
            }
            if (this.f1171QxJ9d_1 != 2) {
                return;
            }
            boolean z15 = this.f1163KQgRr5e_0[1] == QxJ9d_1.WRAP_CONTENT && (this instanceof IMuAHx_6);
            boolean z16 = z5 && ((i5 = this.f3278Xgtqvk_8) == 1 || i5 == -1);
            if (this.ZzDuCHW_20 <= 0) {
                x6FRs_42 = x6FRs_4;
            } else if (((YghfZG_14) this.f1179X6FRs_4.m575KQgRr5e_0()).KQgRr5e_0 == 1) {
                x6FRs_42 = x6FRs_4;
                this.f1179X6FRs_4.m575KQgRr5e_0().KQgRr5e_0(x6FRs_42);
            } else {
                x6FRs_42 = x6FRs_4;
                X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_87 = xgtqvk_84;
                xgtqvk_86 = xgtqvk_82;
                x6FRs_42.KQgRr5e_0(xgtqvk_87, xgtqvk_86, KQgRr5e_0(), 6);
                X6FRs_4 x6FRs_43 = this.f1179X6FRs_4.f1203KQgRr5e_0;
                if (x6FRs_43 != null) {
                    x6FRs_42.KQgRr5e_0(xgtqvk_87, x6FRs_42.m539KQgRr5e_0((Object) x6FRs_43), 0, 6);
                    z8 = false;
                    IFxWkV_5 iFxWkV_56 = this.f1154KQgRr5e_0;
                    X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_07 = iFxWkV_56 != null ? x6FRs_42.m539KQgRr5e_0((Object) iFxWkV_56.f1167Mqv2r_3) : null;
                    IFxWkV_5 iFxWkV_57 = this.f1154KQgRr5e_0;
                    X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_88 = xgtqvk_86;
                    KQgRr5e_0(x6FRs_4, z7, iFxWkV_57 != null ? x6FRs_42.m539KQgRr5e_0((Object) iFxWkV_57.f1173QxJ9d_1) : null, m539KQgRr5e_07, this.f1163KQgRr5e_0[1], z15, this.f1173QxJ9d_1, this.f1167Mqv2r_3, this.WwEq_13, i3, this.H5YG8fq_22, this.f1176QxJ9d_1[1], this.f3273IMuAHx_6, z16, z4, i4, this.f1150IMuAHx_6, this.f1146FSaI4_7, this.QxJ9d_1, z8);
                    if (z5) {
                        iFxWkV_5 = this;
                        if (iFxWkV_5.f3278Xgtqvk_8 == 1) {
                            x6FRs_4.KQgRr5e_0(xgtqvk_85, xgtqvk_88, xgtqvk_83, m539KQgRr5e_0, iFxWkV_5.PGPF6hQ_2, 6);
                        } else {
                            x6FRs_4.KQgRr5e_0(xgtqvk_83, m539KQgRr5e_0, xgtqvk_85, xgtqvk_88, iFxWkV_5.PGPF6hQ_2, 6);
                        }
                    } else {
                        iFxWkV_5 = this;
                    }
                    if (iFxWkV_5.f1147FSaI4_7.m581KQgRr5e_0()) {
                        x6FRs_4.KQgRr5e_0(iFxWkV_5, iFxWkV_5.f1147FSaI4_7.m579KQgRr5e_0().m576KQgRr5e_0(), (float) Math.toRadians(iFxWkV_5.f3275Mqv2r_3 + 90.0f), iFxWkV_5.f1147FSaI4_7.QxJ9d_1());
                        return;
                    }
                    return;
                }
                z8 = z13;
                IFxWkV_5 iFxWkV_562 = this.f1154KQgRr5e_0;
                if (iFxWkV_562 != null) {
                }
                IFxWkV_5 iFxWkV_572 = this.f1154KQgRr5e_0;
                X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_882 = xgtqvk_86;
                KQgRr5e_0(x6FRs_4, z7, iFxWkV_572 != null ? x6FRs_42.m539KQgRr5e_0((Object) iFxWkV_572.f1173QxJ9d_1) : null, m539KQgRr5e_07, this.f1163KQgRr5e_0[1], z15, this.f1173QxJ9d_1, this.f1167Mqv2r_3, this.WwEq_13, i3, this.H5YG8fq_22, this.f1176QxJ9d_1[1], this.f3273IMuAHx_6, z16, z4, i4, this.f1150IMuAHx_6, this.f1146FSaI4_7, this.QxJ9d_1, z8);
                if (z5) {
                }
                if (iFxWkV_5.f1147FSaI4_7.m581KQgRr5e_0()) {
                }
            }
            xgtqvk_86 = xgtqvk_82;
            z8 = z13;
            IFxWkV_5 iFxWkV_5622 = this.f1154KQgRr5e_0;
            if (iFxWkV_5622 != null) {
            }
            IFxWkV_5 iFxWkV_5722 = this.f1154KQgRr5e_0;
            X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_8822 = xgtqvk_86;
            KQgRr5e_0(x6FRs_4, z7, iFxWkV_5722 != null ? x6FRs_42.m539KQgRr5e_0((Object) iFxWkV_5722.f1173QxJ9d_1) : null, m539KQgRr5e_07, this.f1163KQgRr5e_0[1], z15, this.f1173QxJ9d_1, this.f1167Mqv2r_3, this.WwEq_13, i3, this.H5YG8fq_22, this.f1176QxJ9d_1[1], this.f3273IMuAHx_6, z16, z4, i4, this.f1150IMuAHx_6, this.f1146FSaI4_7, this.QxJ9d_1, z8);
            if (z5) {
            }
            if (iFxWkV_5.f1147FSaI4_7.m581KQgRr5e_0()) {
            }
        }
        z6 = false;
        if (this.f1163KQgRr5e_0[0] != QxJ9d_1.WRAP_CONTENT) {
        }
        boolean z132 = !this.f1147FSaI4_7.m581KQgRr5e_0();
        if (this.f1152KQgRr5e_0 == 2) {
        }
        if (this.f1171QxJ9d_1 != 2) {
        }
    }

    public int QxJ9d_1(int i) {
        if (i == 0) {
            return this.YghfZG_14;
        }
        if (i == 1) {
            return this.LGe8pk_15;
        }
        return 0;
    }

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public void m570QxJ9d_1(int i) {
        this.ZzDuCHW_20 = i;
    }

    public void QxJ9d_1(float f) {
        this.f1161KQgRr5e_0[0] = f;
    }

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public QxJ9d_1 m567QxJ9d_1() {
        return this.f1163KQgRr5e_0[1];
    }

    public void QxJ9d_1(QxJ9d_1 qxJ9d_1) {
        this.f1163KQgRr5e_0[1] = qxJ9d_1;
        if (qxJ9d_1 == QxJ9d_1.WRAP_CONTENT) {
            PGPF6hQ_2(this.G83uNX_24);
        }
    }

    public void KQgRr5e_0(boolean z, boolean z2, boolean z3, boolean z4) {
        if (this.f3278Xgtqvk_8 == -1) {
            if (z3 && !z4) {
                this.f3278Xgtqvk_8 = 0;
            } else if (!z3 && z4) {
                this.f3278Xgtqvk_8 = 1;
                if (this.f3274KNBe_11 == -1) {
                    this.PGPF6hQ_2 = 1.0f / this.PGPF6hQ_2;
                }
            }
        }
        if (this.f3278Xgtqvk_8 == 0 && (!this.f1173QxJ9d_1.m581KQgRr5e_0() || !this.f1167Mqv2r_3.m581KQgRr5e_0())) {
            this.f3278Xgtqvk_8 = 1;
        } else if (this.f3278Xgtqvk_8 == 1 && (!this.f1156KQgRr5e_0.m581KQgRr5e_0() || !this.f1169PGPF6hQ_2.m581KQgRr5e_0())) {
            this.f3278Xgtqvk_8 = 0;
        }
        if (this.f3278Xgtqvk_8 == -1 && (!this.f1173QxJ9d_1.m581KQgRr5e_0() || !this.f1167Mqv2r_3.m581KQgRr5e_0() || !this.f1156KQgRr5e_0.m581KQgRr5e_0() || !this.f1169PGPF6hQ_2.m581KQgRr5e_0())) {
            if (this.f1173QxJ9d_1.m581KQgRr5e_0() && this.f1167Mqv2r_3.m581KQgRr5e_0()) {
                this.f3278Xgtqvk_8 = 0;
            } else if (this.f1156KQgRr5e_0.m581KQgRr5e_0() && this.f1169PGPF6hQ_2.m581KQgRr5e_0()) {
                this.PGPF6hQ_2 = 1.0f / this.PGPF6hQ_2;
                this.f3278Xgtqvk_8 = 1;
            }
        }
        if (this.f3278Xgtqvk_8 == -1) {
            if (z && !z2) {
                this.f3278Xgtqvk_8 = 0;
            } else if (!z && z2) {
                this.PGPF6hQ_2 = 1.0f / this.PGPF6hQ_2;
                this.f3278Xgtqvk_8 = 1;
            }
        }
        if (this.f3278Xgtqvk_8 == -1) {
            if (this.f1178X6FRs_4 > 0 && this.f1150IMuAHx_6 == 0) {
                this.f3278Xgtqvk_8 = 0;
            } else if (this.f1178X6FRs_4 == 0 && this.f1150IMuAHx_6 > 0) {
                this.PGPF6hQ_2 = 1.0f / this.PGPF6hQ_2;
                this.f3278Xgtqvk_8 = 1;
            }
        }
        if (this.f3278Xgtqvk_8 == -1 && z && z2) {
            this.PGPF6hQ_2 = 1.0f / this.PGPF6hQ_2;
            this.f3278Xgtqvk_8 = 1;
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:161:0x0292  */
    /* JADX WARN: Removed duplicated region for block: B:168:0x02d7  */
    /* JADX WARN: Removed duplicated region for block: B:171:0x02e6  */
    /* JADX WARN: Removed duplicated region for block: B:173:0x02ea A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:177:0x02f7 A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:182:0x0307  */
    /* JADX WARN: Removed duplicated region for block: B:185:0x0310  */
    /* JADX WARN: Removed duplicated region for block: B:194:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:55:0x00dd  */
    /* JADX WARN: Removed duplicated region for block: B:65:0x0107  */
    /* JADX WARN: Removed duplicated region for block: B:97:0x01cd A[ADDED_TO_REGION] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void KQgRr5e_0(X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4 x6FRs_4, boolean z, X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_8, X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_82, QxJ9d_1 qxJ9d_1, boolean z2, X6FRs_4 x6FRs_42, X6FRs_4 x6FRs_43, int i, int i2, int i3, int i4, float f, boolean z3, boolean z4, int i5, int i6, int i7, float f2, boolean z5) {
        boolean z6;
        int i8;
        int i9;
        int i10;
        boolean z7;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_0;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_02;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_83;
        int i11;
        int i12;
        int i13;
        int i14;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_84;
        boolean z8;
        boolean z9;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_85;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_86;
        boolean z10;
        boolean z11;
        int i15;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_87;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_88;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_89;
        boolean z12;
        boolean z13;
        int i16;
        int i17;
        int i18;
        int i19;
        boolean z14;
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_03 = x6FRs_4.m539KQgRr5e_0((Object) x6FRs_42);
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_04 = x6FRs_4.m539KQgRr5e_0((Object) x6FRs_43);
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_05 = x6FRs_4.m539KQgRr5e_0((Object) x6FRs_42.m579KQgRr5e_0());
        X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 m539KQgRr5e_06 = x6FRs_4.m539KQgRr5e_0((Object) x6FRs_43.m579KQgRr5e_0());
        if (x6FRs_4.f1122KQgRr5e_0 && ((YghfZG_14) x6FRs_42.m575KQgRr5e_0()).KQgRr5e_0 == 1 && ((YghfZG_14) x6FRs_43.m575KQgRr5e_0()).KQgRr5e_0 == 1) {
            if (X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4.KQgRr5e_0() != null) {
                X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4.KQgRr5e_0().NQvZgp_17++;
            }
            x6FRs_42.m575KQgRr5e_0().KQgRr5e_0(x6FRs_4);
            x6FRs_43.m575KQgRr5e_0().KQgRr5e_0(x6FRs_4);
            if (z4 || !z) {
                return;
            }
            x6FRs_4.m542KQgRr5e_0(xgtqvk_82, m539KQgRr5e_04, 0, 6);
            return;
        }
        if (X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4.KQgRr5e_0() != null) {
            X6FRs_4.X6FRs_4.KQgRr5e_0.X6FRs_4.KQgRr5e_0().KVtv3R_25++;
        }
        boolean m581KQgRr5e_0 = x6FRs_42.m581KQgRr5e_0();
        boolean m581KQgRr5e_02 = x6FRs_43.m581KQgRr5e_0();
        boolean m581KQgRr5e_03 = this.f1147FSaI4_7.m581KQgRr5e_0();
        int i20 = m581KQgRr5e_0 ? 1 : 0;
        if (m581KQgRr5e_02) {
            i20++;
        }
        if (m581KQgRr5e_03) {
            i20++;
        }
        int i21 = i20;
        int i22 = z3 ? 3 : i5;
        int i23 = KQgRr5e_0.QxJ9d_1[qxJ9d_1.ordinal()];
        boolean z15 = (i23 == 1 || i23 == 2 || i23 == 3 || i23 != 4 || i22 == 4) ? false : true;
        if (this.KVtv3R_25 == 8) {
            i8 = 0;
            z6 = false;
        } else {
            z6 = z15;
            i8 = i2;
        }
        if (z5) {
            if (!m581KQgRr5e_0 && !m581KQgRr5e_02 && !m581KQgRr5e_03) {
                x6FRs_4.KQgRr5e_0(m539KQgRr5e_03, i);
            } else if (m581KQgRr5e_0 && !m581KQgRr5e_02) {
                i9 = 6;
                x6FRs_4.KQgRr5e_0(m539KQgRr5e_03, m539KQgRr5e_05, x6FRs_42.QxJ9d_1(), 6);
                if (z6) {
                    if (z2) {
                        x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, 0, 3);
                        if (i3 > 0) {
                            x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, i3, 6);
                        }
                        if (i4 < Integer.MAX_VALUE) {
                            x6FRs_4.QxJ9d_1(m539KQgRr5e_04, m539KQgRr5e_03, i4, 6);
                        }
                    } else {
                        x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, i8, i9);
                    }
                    i10 = i6;
                    i12 = i22;
                    i13 = i21;
                    xgtqvk_84 = m539KQgRr5e_06;
                    xgtqvk_83 = m539KQgRr5e_05;
                    z9 = z6;
                    i14 = i7;
                } else {
                    i10 = i6;
                    int i24 = i7;
                    if (i10 == -2) {
                        i10 = i8;
                    }
                    if (i24 == -2) {
                        i24 = i8;
                    }
                    if (i10 > 0) {
                        x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, i10, 6);
                        i8 = Math.max(i8, i10);
                    }
                    if (i24 > 0) {
                        x6FRs_4.QxJ9d_1(m539KQgRr5e_04, m539KQgRr5e_03, i24, 6);
                        i8 = Math.min(i8, i24);
                    }
                    if (i22 != 1) {
                        z7 = z6;
                        if (i22 == 2) {
                            if (x6FRs_42.m577KQgRr5e_0() != X6FRs_4.Mqv2r_3.TOP && x6FRs_42.m577KQgRr5e_0() != X6FRs_4.Mqv2r_3.BOTTOM) {
                                m539KQgRr5e_0 = x6FRs_4.m539KQgRr5e_0((Object) this.f1154KQgRr5e_0.KQgRr5e_0(X6FRs_4.Mqv2r_3.LEFT));
                                m539KQgRr5e_02 = x6FRs_4.m539KQgRr5e_0((Object) this.f1154KQgRr5e_0.KQgRr5e_0(X6FRs_4.Mqv2r_3.RIGHT));
                            } else {
                                m539KQgRr5e_0 = x6FRs_4.m539KQgRr5e_0((Object) this.f1154KQgRr5e_0.KQgRr5e_0(X6FRs_4.Mqv2r_3.TOP));
                                m539KQgRr5e_02 = x6FRs_4.m539KQgRr5e_0((Object) this.f1154KQgRr5e_0.KQgRr5e_0(X6FRs_4.Mqv2r_3.BOTTOM));
                            }
                            X6FRs_4.X6FRs_4.KQgRr5e_0.Xgtqvk_8 xgtqvk_810 = m539KQgRr5e_02;
                            X6FRs_4.X6FRs_4.KQgRr5e_0.QxJ9d_1 m537KQgRr5e_0 = x6FRs_4.m537KQgRr5e_0();
                            xgtqvk_83 = m539KQgRr5e_05;
                            i11 = i8;
                            i12 = i22;
                            i13 = i21;
                            i14 = i24;
                            xgtqvk_84 = m539KQgRr5e_06;
                            m537KQgRr5e_0.KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, xgtqvk_810, m539KQgRr5e_0, f2);
                            x6FRs_4.KQgRr5e_0(m537KQgRr5e_0);
                            z8 = false;
                            if (z8) {
                            }
                            z9 = z8;
                        }
                    } else if (z) {
                        x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, i8, 6);
                        i12 = i22;
                        i13 = i21;
                        xgtqvk_84 = m539KQgRr5e_06;
                        xgtqvk_83 = m539KQgRr5e_05;
                        z7 = z6;
                        i11 = i8;
                        i14 = i24;
                        z8 = z7;
                        if (z8 || i13 == 2 || z3) {
                            z9 = z8;
                        } else {
                            int max = Math.max(i10, i11);
                            if (i14 > 0) {
                                max = Math.min(i14, max);
                            }
                            x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, max, 6);
                            z9 = false;
                        }
                    } else if (z4) {
                        z7 = z6;
                        x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, i8, 4);
                    } else {
                        z7 = z6;
                        x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, i8, 1);
                    }
                    i12 = i22;
                    i13 = i21;
                    i14 = i24;
                    xgtqvk_84 = m539KQgRr5e_06;
                    xgtqvk_83 = m539KQgRr5e_05;
                    i11 = i8;
                    z8 = z7;
                    if (z8) {
                    }
                    z9 = z8;
                }
                if (z5 || z4) {
                    if (i13 < 2 || !z) {
                    }
                    x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_8, 0, 6);
                    x6FRs_4.m542KQgRr5e_0(xgtqvk_82, m539KQgRr5e_04, 0, 6);
                    return;
                }
                if (m581KQgRr5e_0 || m581KQgRr5e_02 || m581KQgRr5e_03) {
                    if (!m581KQgRr5e_0 || m581KQgRr5e_02) {
                        if (!m581KQgRr5e_0 && m581KQgRr5e_02) {
                            x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, xgtqvk_84, -x6FRs_43.QxJ9d_1(), 6);
                            if (z) {
                                x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_8, 0, 5);
                            }
                        } else if (m581KQgRr5e_0 && m581KQgRr5e_02) {
                            if (z9) {
                                xgtqvk_85 = xgtqvk_84;
                                if (z && i3 == 0) {
                                    x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_04, m539KQgRr5e_03, 0, 6);
                                }
                                if (i12 == 0) {
                                    if (i14 > 0 || i10 > 0) {
                                        i19 = 4;
                                        z14 = true;
                                    } else {
                                        i19 = 6;
                                        z14 = false;
                                    }
                                    xgtqvk_86 = xgtqvk_83;
                                    x6FRs_4.KQgRr5e_0(m539KQgRr5e_03, xgtqvk_86, x6FRs_42.QxJ9d_1(), i19);
                                    x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, xgtqvk_85, -x6FRs_43.QxJ9d_1(), i19);
                                    z10 = i14 > 0 || i10 > 0;
                                    z11 = z14;
                                    i15 = 5;
                                } else {
                                    int i25 = i12;
                                    xgtqvk_86 = xgtqvk_83;
                                    if (i25 == 1) {
                                        z10 = true;
                                        z11 = true;
                                        i15 = 6;
                                    } else if (i25 == 3) {
                                        int i26 = (z3 || this.f3278Xgtqvk_8 == -1 || i14 > 0) ? 4 : 6;
                                        x6FRs_4.KQgRr5e_0(m539KQgRr5e_03, xgtqvk_86, x6FRs_42.QxJ9d_1(), i26);
                                        x6FRs_4.KQgRr5e_0(m539KQgRr5e_04, xgtqvk_85, -x6FRs_43.QxJ9d_1(), i26);
                                        z10 = true;
                                        z11 = true;
                                        i15 = 5;
                                        if (z10) {
                                            xgtqvk_88 = xgtqvk_85;
                                            xgtqvk_87 = xgtqvk_86;
                                            xgtqvk_89 = m539KQgRr5e_04;
                                            x6FRs_4.KQgRr5e_0(m539KQgRr5e_03, xgtqvk_86, x6FRs_42.QxJ9d_1(), f, xgtqvk_85, m539KQgRr5e_04, x6FRs_43.QxJ9d_1(), i15);
                                            boolean z16 = x6FRs_42.f1203KQgRr5e_0.f1200KQgRr5e_0 instanceof X6FRs_4.X6FRs_4.KQgRr5e_0.XnFJ5_9.QxJ9d_1;
                                            boolean z17 = x6FRs_43.f1203KQgRr5e_0.f1200KQgRr5e_0 instanceof X6FRs_4.X6FRs_4.KQgRr5e_0.XnFJ5_9.QxJ9d_1;
                                            if (z16 && !z17) {
                                                z12 = z;
                                                i16 = 6;
                                                i17 = 5;
                                                z13 = true;
                                            } else if (!z16 && z17) {
                                                z13 = z;
                                                i16 = 5;
                                                i17 = 6;
                                                z12 = true;
                                            }
                                            if (z11) {
                                                i16 = 6;
                                                i17 = 6;
                                            }
                                            if ((!z9 && z12) || z11) {
                                                x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_87, x6FRs_42.QxJ9d_1(), i17);
                                            }
                                            if ((!z9 && z13) || z11) {
                                                x6FRs_4.QxJ9d_1(xgtqvk_89, xgtqvk_88, -x6FRs_43.QxJ9d_1(), i16);
                                            }
                                            i18 = 0;
                                            if (z) {
                                                x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_8, 0, 6);
                                            }
                                            if (z) {
                                                x6FRs_4.m542KQgRr5e_0(xgtqvk_82, xgtqvk_89, i18, 6);
                                                return;
                                            }
                                            return;
                                        }
                                        xgtqvk_87 = xgtqvk_86;
                                        xgtqvk_88 = xgtqvk_85;
                                        xgtqvk_89 = m539KQgRr5e_04;
                                        z12 = z;
                                        z13 = z12;
                                        i16 = 5;
                                        i17 = 5;
                                        if (z11) {
                                        }
                                        if (!z9) {
                                            x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_87, x6FRs_42.QxJ9d_1(), i17);
                                            if (!z9) {
                                                x6FRs_4.QxJ9d_1(xgtqvk_89, xgtqvk_88, -x6FRs_43.QxJ9d_1(), i16);
                                                i18 = 0;
                                                if (z) {
                                                }
                                                if (z) {
                                                }
                                            }
                                            x6FRs_4.QxJ9d_1(xgtqvk_89, xgtqvk_88, -x6FRs_43.QxJ9d_1(), i16);
                                            i18 = 0;
                                            if (z) {
                                            }
                                            if (z) {
                                            }
                                        }
                                        x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_87, x6FRs_42.QxJ9d_1(), i17);
                                        if (!z9) {
                                        }
                                        x6FRs_4.QxJ9d_1(xgtqvk_89, xgtqvk_88, -x6FRs_43.QxJ9d_1(), i16);
                                        i18 = 0;
                                        if (z) {
                                        }
                                        if (z) {
                                        }
                                    } else {
                                        z10 = false;
                                    }
                                }
                                if (z10) {
                                }
                                z12 = z;
                                z13 = z12;
                                i16 = 5;
                                i17 = 5;
                                if (z11) {
                                }
                                if (!z9) {
                                }
                                x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_87, x6FRs_42.QxJ9d_1(), i17);
                                if (!z9) {
                                }
                                x6FRs_4.QxJ9d_1(xgtqvk_89, xgtqvk_88, -x6FRs_43.QxJ9d_1(), i16);
                                i18 = 0;
                                if (z) {
                                }
                                if (z) {
                                }
                            } else {
                                xgtqvk_85 = xgtqvk_84;
                                xgtqvk_86 = xgtqvk_83;
                                z10 = true;
                            }
                            z11 = false;
                            i15 = 5;
                            if (z10) {
                            }
                            z12 = z;
                            z13 = z12;
                            i16 = 5;
                            i17 = 5;
                            if (z11) {
                            }
                            if (!z9) {
                            }
                            x6FRs_4.m542KQgRr5e_0(m539KQgRr5e_03, xgtqvk_87, x6FRs_42.QxJ9d_1(), i17);
                            if (!z9) {
                            }
                            x6FRs_4.QxJ9d_1(xgtqvk_89, xgtqvk_88, -x6FRs_43.QxJ9d_1(), i16);
                            i18 = 0;
                            if (z) {
                            }
                            if (z) {
                            }
                        }
                    } else if (z) {
                        x6FRs_4.m542KQgRr5e_0(xgtqvk_82, m539KQgRr5e_04, 0, 5);
                    }
                } else if (z) {
                    x6FRs_4.m542KQgRr5e_0(xgtqvk_82, m539KQgRr5e_04, 0, 5);
                }
                xgtqvk_89 = m539KQgRr5e_04;
                i18 = 0;
                if (z) {
                }
            }
        }
        i9 = 6;
        if (z6) {
        }
        if (z5) {
        }
        if (i13 < 2) {
        }
    }
}
