package p037.p058.p061.p062;

import java.util.ArrayList;
import p037.p058.p061.C1733;
import p037.p058.p061.C1734;
import p037.p058.p061.C1735;
import p037.p058.p061.C1741;
import p037.p058.p061.p062.C1745;
import p037.p058.p061.p062.p063.C1760;
import p037.p058.p061.p062.p063.C1763;
import p037.p058.p061.p062.p063.C1768;
import p037.p058.p061.p062.p063.C1770;
import p138.p139.p143.p144.C2803;

/* JADX INFO: renamed from: މ.ނ.ؠ.ޅ.ށ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C1747 {

    /* JADX INFO: renamed from: ഩ, reason: contains not printable characters */
    public static float f5733 = 0.5f;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public C1760 f5735;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public C1760 f5736;

    /* JADX INFO: renamed from: ޜ, reason: contains not printable characters */
    public C1745 f5764;

    /* JADX INFO: renamed from: ޝ, reason: contains not printable characters */
    public C1745[] f5765;

    /* JADX INFO: renamed from: ޞ, reason: contains not printable characters */
    public ArrayList<C1745> f5766;

    /* JADX INFO: renamed from: ޟ, reason: contains not printable characters */
    public EnumC1748[] f5767;

    /* JADX INFO: renamed from: ޠ, reason: contains not printable characters */
    public C1747 f5768;

    /* JADX INFO: renamed from: ޡ, reason: contains not printable characters */
    public int f5769;

    /* JADX INFO: renamed from: ޢ, reason: contains not printable characters */
    public int f5770;

    /* JADX INFO: renamed from: ޣ, reason: contains not printable characters */
    public float f5771;

    /* JADX INFO: renamed from: ޤ, reason: contains not printable characters */
    public int f5772;

    /* JADX INFO: renamed from: ޥ, reason: contains not printable characters */
    public int f5773;

    /* JADX INFO: renamed from: ޱ, reason: contains not printable characters */
    public int f5774;

    /* JADX INFO: renamed from: ࢠ, reason: contains not printable characters */
    public int f5775;

    /* JADX INFO: renamed from: ࢢ, reason: contains not printable characters */
    public int f5776;

    /* JADX INFO: renamed from: ࢣ, reason: contains not printable characters */
    public int f5777;

    /* JADX INFO: renamed from: ࢤ, reason: contains not printable characters */
    public float f5778;

    /* JADX INFO: renamed from: ࢥ, reason: contains not printable characters */
    public float f5779;

    /* JADX INFO: renamed from: ࢦ, reason: contains not printable characters */
    public Object f5780;

    /* JADX INFO: renamed from: ࢧ, reason: contains not printable characters */
    public int f5781;

    /* JADX INFO: renamed from: ࢨ, reason: contains not printable characters */
    public String f5782;

    /* JADX INFO: renamed from: ࢩ, reason: contains not printable characters */
    public String f5783;

    /* JADX INFO: renamed from: ࢪ, reason: contains not printable characters */
    public int f5784;

    /* JADX INFO: renamed from: ࢫ, reason: contains not printable characters */
    public int f5785;

    /* JADX INFO: renamed from: ࢬ, reason: contains not printable characters */
    public float[] f5786;

    /* JADX INFO: renamed from: ೱ, reason: contains not printable characters */
    public C1747[] f5787;

    /* JADX INFO: renamed from: ೲ, reason: contains not printable characters */
    public C1747[] f5788;

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public boolean f5734 = false;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public C1768 f5737 = new C1768(this);

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public C1770 f5738 = new C1770(this);

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public boolean[] f5739 = {true, true};

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public int[] f5740 = {0, 0};

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public int f5741 = -1;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public int f5742 = -1;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public int f5743 = 0;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public int f5744 = 0;

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public int[] f5745 = new int[2];

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public int f5746 = 0;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public int f5747 = 0;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public float f5748 = 1.0f;

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public int f5749 = 0;

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public int f5750 = 0;

    /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
    public float f5751 = 1.0f;

    /* JADX INFO: renamed from: ސ, reason: contains not printable characters */
    public int f5752 = -1;

    /* JADX INFO: renamed from: ޑ, reason: contains not printable characters */
    public float f5753 = 1.0f;

    /* JADX INFO: renamed from: ޒ, reason: contains not printable characters */
    public int[] f5754 = {Integer.MAX_VALUE, Integer.MAX_VALUE};

    /* JADX INFO: renamed from: ޓ, reason: contains not printable characters */
    public float f5755 = 0.0f;

    /* JADX INFO: renamed from: ޔ, reason: contains not printable characters */
    public boolean f5756 = false;

    /* JADX INFO: renamed from: ޕ, reason: contains not printable characters */
    public C1745 f5757 = new C1745(this, C1745.EnumC1746.LEFT);

    /* JADX INFO: renamed from: ޖ, reason: contains not printable characters */
    public C1745 f5758 = new C1745(this, C1745.EnumC1746.TOP);

    /* JADX INFO: renamed from: ޗ, reason: contains not printable characters */
    public C1745 f5759 = new C1745(this, C1745.EnumC1746.RIGHT);

    /* JADX INFO: renamed from: ޘ, reason: contains not printable characters */
    public C1745 f5760 = new C1745(this, C1745.EnumC1746.BOTTOM);

    /* JADX INFO: renamed from: ޙ, reason: contains not printable characters */
    public C1745 f5761 = new C1745(this, C1745.EnumC1746.BASELINE);

    /* JADX INFO: renamed from: ޚ, reason: contains not printable characters */
    public C1745 f5762 = new C1745(this, C1745.EnumC1746.CENTER_X);

    /* JADX INFO: renamed from: ޛ, reason: contains not printable characters */
    public C1745 f5763 = new C1745(this, C1745.EnumC1746.CENTER_Y);

    /* JADX INFO: renamed from: މ.ނ.ؠ.ޅ.ށ$֏, reason: contains not printable characters */
    public enum EnumC1748 {
        FIXED,
        WRAP_CONTENT,
        MATCH_CONSTRAINT,
        MATCH_PARENT
    }

    public C1747() {
        C1745 c1745 = new C1745(this, C1745.EnumC1746.CENTER);
        this.f5764 = c1745;
        this.f5765 = new C1745[]{this.f5757, this.f5759, this.f5758, this.f5760, this.f5761, c1745};
        ArrayList<C1745> arrayList = new ArrayList<>();
        this.f5766 = arrayList;
        EnumC1748 enumC1748 = EnumC1748.FIXED;
        this.f5767 = new EnumC1748[]{enumC1748, enumC1748};
        this.f5768 = null;
        this.f5769 = 0;
        this.f5770 = 0;
        this.f5771 = 0.0f;
        this.f5772 = -1;
        this.f5773 = 0;
        this.f5774 = 0;
        this.f5775 = 0;
        float f = f5733;
        this.f5778 = f;
        this.f5779 = f;
        this.f5781 = 0;
        this.f5782 = null;
        this.f5783 = null;
        this.f5784 = 0;
        this.f5785 = 0;
        this.f5786 = new float[]{-1.0f, -1.0f};
        this.f5787 = new C1747[]{null, null};
        this.f5788 = new C1747[]{null, null};
        arrayList.add(this.f5757);
        this.f5766.add(this.f5758);
        this.f5766.add(this.f5759);
        this.f5766.add(this.f5760);
        this.f5766.add(this.f5762);
        this.f5766.add(this.f5763);
        this.f5766.add(this.f5764);
        this.f5766.add(this.f5761);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(this.f5783 != null ? C2803.m4884(C2803.m4889("type: "), this.f5783, " ") : "");
        sb.append(this.f5782 != null ? C2803.m4884(C2803.m4889("id: "), this.f5782, " ") : "");
        sb.append("(");
        sb.append(this.f5773);
        sb.append(", ");
        sb.append(this.f5774);
        sb.append(") - (");
        sb.append(this.f5769);
        sb.append(" x ");
        return C2803.m4882(sb, this.f5770, ")");
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public C1745 mo3453(C1745.EnumC1746 enumC1746) {
        switch (enumC1746) {
            case NONE:
                return null;
            case LEFT:
                return this.f5757;
            case TOP:
                return this.f5758;
            case RIGHT:
                return this.f5759;
            case BOTTOM:
                return this.f5760;
            case BASELINE:
                return this.f5761;
            case CENTER:
                return this.f5764;
            case CENTER_X:
                return this.f5762;
            case CENTER_Y:
                return this.f5763;
            default:
                throw new AssertionError(enumC1746.name());
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public EnumC1748 m3454(int i) {
        if (i == 0) {
            return m3467();
        }
        if (i == 1) {
            return m3471();
        }
        return null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo3455(C1734 c1734) {
        this.f5757.m3452();
        this.f5758.m3452();
        this.f5759.m3452();
        this.f5760.m3452();
        this.f5761.m3452();
        this.f5764.m3452();
        this.f5762.m3452();
        this.f5763.m3452();
    }

    /* JADX WARN: Removed duplicated region for block: B:244:0x044c  */
    /* JADX WARN: Removed duplicated region for block: B:247:0x045d  */
    /* JADX WARN: Removed duplicated region for block: B:248:0x045f  */
    /* JADX WARN: Removed duplicated region for block: B:250:0x0462  */
    /* JADX WARN: Removed duplicated region for block: B:276:0x04ab  */
    /* JADX WARN: Removed duplicated region for block: B:277:0x04b4  */
    /* JADX WARN: Removed duplicated region for block: B:280:0x04ba  */
    /* JADX WARN: Removed duplicated region for block: B:282:0x0509  */
    /* JADX WARN: Removed duplicated region for block: B:284:0x050f  */
    /* JADX WARN: Removed duplicated region for block: B:288:0x0538  */
    /* JADX WARN: Removed duplicated region for block: B:291:0x0542  */
    /* JADX WARN: Removed duplicated region for block: B:297:? A[RETURN, SYNTHETIC] */
    /* JADX INFO: renamed from: ֏ */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public void mo3446(C1735 c1735) {
        boolean z;
        boolean z2;
        boolean z3;
        boolean z4;
        int i;
        int i2;
        int i3;
        boolean z5;
        C1741 c1741;
        C1741 c17412;
        C1741 c17413;
        C1741 c17414;
        C1741 c17415;
        C1763 c1763;
        C1735 c17352;
        C1741 c17416;
        C1741 c17417;
        C1741 c17418;
        int i4;
        int i5;
        int i6;
        boolean z6;
        C1741 c17419;
        C1741 c174110;
        C1747 c1747;
        boolean z7;
        int i7;
        int i8;
        boolean zM3478;
        boolean zM3479;
        C1747 c17472 = this;
        C1741 c1741M3420 = c1735.m3420(c17472.f5757);
        C1741 c1741M34202 = c1735.m3420(c17472.f5759);
        C1741 c1741M34203 = c1735.m3420(c17472.f5758);
        C1741 c1741M34204 = c1735.m3420(c17472.f5760);
        C1741 c1741M34205 = c1735.m3420(c17472.f5761);
        C1768 c1768 = c17472.f5737;
        C1763 c17632 = c1768.f5876;
        if (c17632.f5850 && c1768.f5877.f5850) {
            C1770 c1770 = c17472.f5738;
            if (c1770.f5876.f5850 && c1770.f5877.f5850) {
                c1735.m3425(c1741M3420, c17632.f5847);
                c1735.m3425(c1741M34202, c17472.f5737.f5877.f5847);
                c1735.m3425(c1741M34203, c17472.f5738.f5876.f5847);
                c1735.m3425(c1741M34204, c17472.f5738.f5877.f5847);
                c1735.m3425(c1741M34205, c17472.f5738.f5867.f5847);
                C1747 c17473 = c17472.f5768;
                if (c17473 != null) {
                    boolean z8 = c17473 != null && c17473.f5767[0] == EnumC1748.WRAP_CONTENT;
                    C1747 c17474 = c17472.f5768;
                    boolean z9 = c17474 != null && c17474.f5767[1] == EnumC1748.WRAP_CONTENT;
                    if (z8 && c17472.f5739[0] && !m3478()) {
                        c1735.m3432(c1735.m3420(c17472.f5768.f5759), c1741M34202, 0, 7);
                    }
                    if (z9 && c17472.f5739[1] && !m3479()) {
                        c1735.m3432(c1735.m3420(c17472.f5768.f5760), c1741M34204, 0, 7);
                        return;
                    }
                    return;
                }
                return;
            }
        }
        C1747 c17475 = c17472.f5768;
        if (c17475 != null) {
            boolean z10 = c17475 != null && c17475.f5767[0] == EnumC1748.WRAP_CONTENT;
            C1747 c17476 = c17472.f5768;
            boolean z11 = c17476 != null && c17476.f5767[1] == EnumC1748.WRAP_CONTENT;
            if (c17472.m3468(0)) {
                ((C1749) c17472.f5768).m3481(c17472, 0);
                zM3478 = true;
            } else {
                zM3478 = m3478();
            }
            if (c17472.m3468(1)) {
                ((C1749) c17472.f5768).m3481(c17472, 1);
                zM3479 = true;
            } else {
                zM3479 = m3479();
            }
            if (!zM3478 && z10 && c17472.f5781 != 8 && c17472.f5757.f5719 == null && c17472.f5759.f5719 == null) {
                c1735.m3432(c1735.m3420(c17472.f5768.f5759), c1741M34202, 0, 1);
            }
            if (!zM3479 && z11 && c17472.f5781 != 8 && c17472.f5758.f5719 == null && c17472.f5760.f5719 == null && c17472.f5761 == null) {
                c1735.m3432(c1735.m3420(c17472.f5768.f5760), c1741M34204, 0, 1);
            }
            z2 = z10;
            z = z11;
            z4 = zM3478;
            z3 = zM3479;
        } else {
            z = false;
            z2 = false;
            z3 = false;
            z4 = false;
        }
        int i9 = c17472.f5769;
        int i10 = c17472.f5776;
        if (i9 < i10) {
            i9 = i10;
        }
        int i11 = c17472.f5770;
        int i12 = c17472.f5777;
        if (i11 < i12) {
            i11 = i12;
        }
        boolean z12 = c17472.f5767[0] != EnumC1748.MATCH_CONSTRAINT;
        boolean z13 = c17472.f5767[1] != EnumC1748.MATCH_CONSTRAINT;
        c17472.f5752 = c17472.f5772;
        float f = c17472.f5771;
        c17472.f5753 = f;
        int i13 = c17472.f5743;
        int i14 = c17472.f5744;
        int i15 = i11;
        if (f <= 0.0f || c17472.f5781 == 8) {
            i = i14;
            i2 = i13;
            i3 = i15;
            z5 = false;
        } else {
            if (c17472.f5767[0] == EnumC1748.MATCH_CONSTRAINT && i13 == 0) {
                i13 = 3;
            }
            if (c17472.f5767[1] == EnumC1748.MATCH_CONSTRAINT && i14 == 0) {
                i14 = 3;
            }
            EnumC1748[] enumC1748Arr = c17472.f5767;
            EnumC1748 enumC1748 = enumC1748Arr[0];
            EnumC1748 enumC17482 = EnumC1748.MATCH_CONSTRAINT;
            if (enumC1748 == enumC17482 && enumC1748Arr[1] == enumC17482 && i13 == 3 && i14 == 3) {
                if (c17472.f5752 == -1) {
                    if (z12 && !z13) {
                        c17472.f5752 = 0;
                    } else if (!z12 && z13) {
                        c17472.f5752 = 1;
                        if (c17472.f5772 == -1) {
                            c17472.f5753 = 1.0f / c17472.f5753;
                        }
                    }
                }
                if (c17472.f5752 == 0 && (!c17472.f5758.m3450() || !c17472.f5760.m3450())) {
                    c17472.f5752 = 1;
                } else if (c17472.f5752 == 1 && (!c17472.f5757.m3450() || !c17472.f5759.m3450())) {
                    c17472.f5752 = 0;
                }
                if (c17472.f5752 == -1 && (!c17472.f5758.m3450() || !c17472.f5760.m3450() || !c17472.f5757.m3450() || !c17472.f5759.m3450())) {
                    if (c17472.f5758.m3450() && c17472.f5760.m3450()) {
                        c17472.f5752 = 0;
                    } else if (c17472.f5757.m3450() && c17472.f5759.m3450()) {
                        c17472.f5753 = 1.0f / c17472.f5753;
                        c17472.f5752 = 1;
                    }
                }
                if (c17472.f5752 == -1) {
                    if (c17472.f5746 > 0 && c17472.f5749 == 0) {
                        c17472.f5752 = 0;
                    } else if (c17472.f5746 == 0 && c17472.f5749 > 0) {
                        c17472.f5753 = 1.0f / c17472.f5753;
                        c17472.f5752 = 1;
                    }
                }
            } else {
                EnumC1748[] enumC1748Arr2 = c17472.f5767;
                EnumC1748 enumC17483 = enumC1748Arr2[0];
                EnumC1748 enumC17484 = EnumC1748.MATCH_CONSTRAINT;
                if (enumC17483 == enumC17484 && i13 == 3) {
                    c17472.f5752 = 0;
                    i9 = (int) (c17472.f5753 * c17472.f5770);
                    if (enumC1748Arr2[1] != enumC17484) {
                        i = i14;
                        i3 = i15;
                        z5 = false;
                        i2 = 4;
                    }
                } else if (c17472.f5767[1] == EnumC1748.MATCH_CONSTRAINT && i14 == 3) {
                    c17472.f5752 = 1;
                    if (c17472.f5772 == -1) {
                        c17472.f5753 = 1.0f / c17472.f5753;
                    }
                    i3 = (int) (c17472.f5753 * c17472.f5769);
                    if (c17472.f5767[0] != EnumC1748.MATCH_CONSTRAINT) {
                        i2 = i13;
                        z5 = false;
                        i = 4;
                    } else {
                        i = i14;
                        i2 = i13;
                    }
                }
                z5 = true;
            }
            i = i14;
            i2 = i13;
            i3 = i15;
            z5 = true;
        }
        int[] iArr = c17472.f5745;
        iArr[0] = i2;
        iArr[1] = i;
        boolean z14 = z5 && ((i8 = c17472.f5752) == 0 || i8 == -1);
        boolean z15 = c17472.f5767[0] == EnumC1748.WRAP_CONTENT && (c17472 instanceof C1749);
        int i16 = z15 ? 0 : i9;
        boolean z16 = !c17472.f5764.m3450();
        if (c17472.f5741 != 2) {
            C1768 c17682 = c17472.f5737;
            C1763 c17633 = c17682.f5876;
            if (c17633.f5850 && c17682.f5877.f5850) {
                c1735.m3425(c1741M3420, c17633.f5847);
                c1735.m3425(c1741M34202, c17472.f5737.f5877.f5847);
                if (c17472.f5768 != null && z2 && c17472.f5739[0] && !m3478()) {
                    c1735.m3432(c1735.m3420(c17472.f5768.f5759), c1741M34202, 0, 7);
                }
                c1741 = c1741M34205;
                c17412 = c1741M34204;
                c17413 = c1741M34203;
                c17414 = c1741M34202;
                c17415 = c1741M3420;
                C1770 c17702 = c17472.f5738;
                c1763 = c17702.f5876;
                if (c1763.f5850 || !c17702.f5877.f5850) {
                    c17352 = c1735;
                    c17416 = c1741;
                    c17417 = c17412;
                    c17418 = c17413;
                    i4 = 7;
                    i5 = 0;
                    i6 = 1;
                    z6 = true;
                } else {
                    c17352 = c1735;
                    c17418 = c17413;
                    c17352.m3425(c17418, c1763.f5847);
                    c17417 = c17412;
                    c17352.m3425(c17417, c17472.f5738.f5877.f5847);
                    c17416 = c1741;
                    c17352.m3425(c17416, c17472.f5738.f5867.f5847);
                    C1747 c17477 = c17472.f5768;
                    if (c17477 == null || z3 || !z) {
                        i4 = 7;
                        i5 = 0;
                        i6 = 1;
                    } else {
                        i6 = 1;
                        if (c17472.f5739[1]) {
                            i4 = 7;
                            i5 = 0;
                            c17352.m3432(c17352.m3420(c17477.f5760), c17417, 0, 7);
                        } else {
                            i4 = 7;
                            i5 = 0;
                        }
                    }
                    z6 = false;
                }
                if (c17472.f5742 != 2 ? false : z6) {
                    c17419 = c17417;
                    c174110 = c17418;
                } else {
                    boolean z17 = c17472.f5767[i6] == EnumC1748.WRAP_CONTENT && (c17472 instanceof C1749);
                    if (z17) {
                        i3 = 0;
                    }
                    boolean z18 = z5 && ((i7 = c17472.f5752) == i6 || i7 == -1);
                    int i17 = c17472.f5775;
                    if (i17 > 0) {
                        c17352.m3418(c17416, c17418, i17, i4);
                        C1745 c1745 = c17472.f5761.f5719;
                        if (c1745 != null) {
                            c17352.m3418(c17416, c17352.m3420(c1745), i5, i4);
                            z7 = false;
                        }
                        C1747 c17478 = c17472.f5768;
                        C1741 c1741M34206 = c17478 == null ? c17352.m3420(c17478.f5760) : null;
                        C1747 c17479 = c17472.f5768;
                        c17419 = c17417;
                        c174110 = c17418;
                        m3456(c1735, false, z, z2, c17472.f5739[i6], c17479 != null ? c17352.m3420(c17479.f5758) : null, c1741M34206, c17472.f5767[i6], z17, c17472.f5758, c17472.f5760, c17472.f5774, i3, c17472.f5777, c17472.f5754[i6], c17472.f5779, z18, z3, z4, i, i2, c17472.f5749, c17472.f5750, c17472.f5751, z7);
                    } else if (c17472.f5781 == 8) {
                        c17352.m3418(c17416, c17418, i5, i4);
                    }
                    z7 = z16;
                    C1747 c174782 = c17472.f5768;
                    if (c174782 == null) {
                    }
                    C1747 c174792 = c17472.f5768;
                    c17419 = c17417;
                    c174110 = c17418;
                    m3456(c1735, false, z, z2, c17472.f5739[i6], c174792 != null ? c17352.m3420(c174792.f5758) : null, c1741M34206, c17472.f5767[i6], z17, c17472.f5758, c17472.f5760, c17472.f5774, i3, c17472.f5777, c17472.f5754[i6], c17472.f5779, z18, z3, z4, i, i2, c17472.f5749, c17472.f5750, c17472.f5751, z7);
                }
                if (z5) {
                    c1747 = this;
                } else {
                    c1747 = this;
                    if (c1747.f5752 == 1) {
                        c1735.m3427(c17419, c174110, c17414, c17415, c1747.f5753, 7);
                    } else {
                        c1735.m3427(c17414, c17415, c17419, c174110, c1747.f5753, 7);
                    }
                }
                if (c1747.f5764.m3450()) {
                    return;
                }
                C1747 c174710 = c1747.f5764.f5719.f5717;
                float radians = (float) Math.toRadians(c1747.f5755 + 90.0f);
                int iM3448 = c1747.f5764.m3448();
                C1741 c1741M34207 = c1735.m3420(c1747.mo3453(C1745.EnumC1746.LEFT));
                C1741 c1741M34208 = c1735.m3420(c1747.mo3453(C1745.EnumC1746.TOP));
                C1741 c1741M34209 = c1735.m3420(c1747.mo3453(C1745.EnumC1746.RIGHT));
                C1741 c1741M342010 = c1735.m3420(c1747.mo3453(C1745.EnumC1746.BOTTOM));
                C1741 c1741M342011 = c1735.m3420(c174710.mo3453(C1745.EnumC1746.LEFT));
                C1741 c1741M342012 = c1735.m3420(c174710.mo3453(C1745.EnumC1746.TOP));
                C1741 c1741M342013 = c1735.m3420(c174710.mo3453(C1745.EnumC1746.RIGHT));
                C1741 c1741M342014 = c1735.m3420(c174710.mo3453(C1745.EnumC1746.BOTTOM));
                C1733 c1733M3430 = c1735.m3430();
                double d = radians;
                double d2 = iM3448;
                c1733M3430.m3416(c1741M34208, c1741M342010, c1741M342012, c1741M342014, (float) (Math.sin(d) * d2));
                c1735.m3423(c1733M3430);
                C1733 c1733M34302 = c1735.m3430();
                c1733M34302.m3416(c1741M34207, c1741M34209, c1741M342011, c1741M342013, (float) (Math.cos(d) * d2));
                c1735.m3423(c1733M34302);
                return;
            }
            C1747 c174711 = c17472.f5768;
            C1741 c1741M342015 = c174711 != null ? c1735.m3420(c174711.f5759) : null;
            C1747 c174712 = c17472.f5768;
            c1741 = c1741M34205;
            c17412 = c1741M34204;
            c17413 = c1741M34203;
            c17414 = c1741M34202;
            c17415 = c1741M3420;
            m3456(c1735, true, z2, z, c17472.f5739[0], c174712 != null ? c1735.m3420(c174712.f5757) : null, c1741M342015, c17472.f5767[0], z15, c17472.f5757, c17472.f5759, c17472.f5773, i16, c17472.f5776, c17472.f5754[0], c17472.f5778, z14, z4, z3, i2, i, c17472.f5746, c17472.f5747, c17472.f5748, z16);
        } else {
            c1741 = c1741M34205;
            c17412 = c1741M34204;
            c17413 = c1741M34203;
            c17414 = c1741M34202;
            c17415 = c1741M3420;
        }
        c17472 = this;
        C1770 c177022 = c17472.f5738;
        c1763 = c177022.f5876;
        if (c1763.f5850) {
            c17352 = c1735;
            c17416 = c1741;
            c17417 = c17412;
            c17418 = c17413;
            i4 = 7;
            i5 = 0;
            i6 = 1;
            z6 = true;
        }
        if (c17472.f5742 != 2 ? false : z6) {
        }
        if (z5) {
        }
        if (c1747.f5764.m3450()) {
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:102:0x01a3 A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:177:0x028d A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:180:0x0296  */
    /* JADX WARN: Removed duplicated region for block: B:182:0x029c  */
    /* JADX WARN: Removed duplicated region for block: B:183:0x02c0  */
    /* JADX WARN: Removed duplicated region for block: B:186:0x02cc  */
    /* JADX WARN: Removed duplicated region for block: B:196:0x02ee  */
    /* JADX WARN: Removed duplicated region for block: B:198:0x02f2  */
    /* JADX WARN: Removed duplicated region for block: B:225:0x0337  */
    /* JADX WARN: Removed duplicated region for block: B:239:0x035c  */
    /* JADX WARN: Removed duplicated region for block: B:251:0x0385 A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:25:0x006a  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x006d  */
    /* JADX WARN: Removed duplicated region for block: B:270:0x03bc  */
    /* JADX WARN: Removed duplicated region for block: B:28:0x0073  */
    /* JADX WARN: Removed duplicated region for block: B:35:0x008c  */
    /* JADX WARN: Removed duplicated region for block: B:37:0x008f  */
    /* JADX WARN: Removed duplicated region for block: B:47:0x00b5  */
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void m3456(C1735 c1735, boolean z, boolean z2, boolean z3, boolean z4, C1741 c1741, C1741 c17412, EnumC1748 enumC1748, boolean z5, C1745 c1745, C1745 c17452, int i, int i2, int i3, int i4, float f, boolean z6, boolean z7, boolean z8, int i5, int i6, int i7, int i8, float f2, boolean z9) {
        int i9;
        C1741 c17413;
        boolean z10;
        int iMin;
        boolean z11;
        int i10;
        int i11;
        int i12;
        C1741 c17414;
        C1741 c17415;
        C1741 c17416;
        int i13;
        boolean z12;
        boolean z13;
        C1741 c1741M3420;
        C1741 c1741M34202;
        C1745 c17453;
        boolean z14;
        boolean z15;
        boolean z16;
        int i14;
        boolean z17;
        boolean z18;
        int i15;
        int i16;
        int i17;
        int i18;
        boolean z19;
        boolean z20;
        boolean z21;
        C1747 c1747;
        C1747 c17472;
        int i19;
        C1741 c17417;
        int i20;
        C1747 c17473;
        int i21;
        int iMin2;
        int i22;
        int i23;
        int i24;
        int i25;
        boolean z22;
        C1741 c17418;
        int iM3448;
        int i26 = i7;
        int i27 = i8;
        C1741 c1741M34203 = c1735.m3420(c1745);
        C1741 c1741M34204 = c1735.m3420(c17452);
        C1741 c1741M34205 = c1735.m3420(c1745.f5719);
        C1741 c1741M34206 = c1735.m3420(c17452.f5719);
        boolean zM3450 = c1745.m3450();
        boolean zM34502 = c17452.m3450();
        boolean zM34503 = this.f5764.m3450();
        int i28 = zM34502 ? (zM3450 ? 1 : 0) + 1 : zM3450 ? 1 : 0;
        if (zM34503) {
            i28++;
        }
        if (z6) {
            c17413 = c1741M34206;
            i9 = 3;
        } else {
            i9 = i5;
            c17413 = c1741M34206;
        }
        int iOrdinal = enumC1748.ordinal();
        if (iOrdinal != 0 && iOrdinal != 1 && iOrdinal == 2) {
            if (i9 != 4) {
                z10 = true;
            }
            boolean z23 = z10;
            if (this.f5781 != 8) {
                iMin = 0;
                z11 = false;
            } else {
                iMin = i2;
                z11 = z23;
            }
            if (z9) {
                if (!zM3450 && !zM34502 && !zM34503) {
                    c1735.m3425(c1741M34203, i);
                } else if (zM3450 && !zM34502) {
                    i10 = 7;
                    c1735.m3418(c1741M34203, c1741M34205, c1745.m3448(), 7);
                }
                i10 = 7;
            } else {
                i10 = 7;
            }
            if (!z11) {
                if (i28 == 2 || z6 || !(i9 == 1 || i9 == 0)) {
                    int i29 = i26 == -2 ? iMin : i26;
                    int i30 = i27 == -2 ? iMin : i27;
                    if (iMin > 0 && i9 != 1) {
                        iMin = 0;
                    }
                    if (i29 > 0) {
                        c1735.m3432(c1741M34204, c1741M34203, i29, 7);
                        iMin = Math.max(iMin, i29);
                    }
                    if (i30 > 0) {
                        if ((z2 && i9 == 1) ? false : true) {
                            i11 = 7;
                            c1735.m3434(c1741M34204, c1741M34203, i30, 7);
                        } else {
                            i11 = 7;
                        }
                        iMin = Math.min(iMin, i30);
                    } else {
                        i11 = 7;
                    }
                    if (i9 == 1) {
                        if (z2) {
                            c1735.m3418(c1741M34204, c1741M34203, iMin, i11);
                        } else if (z7) {
                            c1735.m3418(c1741M34204, c1741M34203, iMin, 5);
                            c1735.m3434(c1741M34204, c1741M34203, iMin, i11);
                        } else {
                            c1735.m3418(c1741M34204, c1741M34203, iMin, 5);
                            c1735.m3434(c1741M34204, c1741M34203, iMin, i11);
                        }
                        i27 = i30;
                        i12 = i28;
                        z12 = z11;
                        c17414 = c1741M34205;
                        c17415 = c1741M34204;
                        i13 = i29;
                    } else {
                        if (i9 != 2) {
                            int i31 = i30;
                            i12 = i28;
                            c17414 = c1741M34205;
                            c17415 = c1741M34204;
                            int i32 = i29;
                            c17416 = c17413;
                            i27 = i31;
                            i13 = i32;
                            z12 = z11;
                            z13 = true;
                            if (z9 || z7) {
                                if (i12 >= 2 && z2 && z13) {
                                    c1735.m3432(c1741M34203, c1741, 0, 7);
                                    boolean z24 = z || this.f5761.f5719 == null;
                                    if (!z && (c17453 = this.f5761.f5719) != null) {
                                        C1747 c17474 = c17453.f5717;
                                        if (c17474.f5771 != 0.0f) {
                                            EnumC1748[] enumC1748Arr = c17474.f5767;
                                            EnumC1748 enumC17482 = enumC1748Arr[0];
                                            EnumC1748 enumC17483 = EnumC1748.MATCH_CONSTRAINT;
                                            z24 = enumC17482 == enumC17483 && enumC1748Arr[1] == enumC17483;
                                        }
                                    }
                                    if (z24) {
                                        c1735.m3432(c17412, c17415, 0, 7);
                                        return;
                                    }
                                    return;
                                }
                            }
                            if ((zM3450 || zM34502 || zM34503) && (!zM3450 || zM34502)) {
                                if (!zM3450 && zM34502) {
                                    c1735.m3418(c17415, c17416, -c17452.m3448(), 7);
                                    if (z2) {
                                        c1735.m3432(c1741M34203, c1741, 0, 5);
                                    }
                                } else if (zM3450 && zM34502) {
                                    C1747 c17475 = c1745.f5719.f5717;
                                    C1747 c17476 = c17452.f5719.f5717;
                                    C1747 c17477 = this.f5768;
                                    if (z12) {
                                        if (i9 == 0) {
                                            if (i27 == 0 && i13 == 0) {
                                                i14 = 7;
                                                i25 = 7;
                                                z18 = false;
                                                z22 = true;
                                            } else {
                                                i14 = 5;
                                                i25 = 5;
                                                z18 = true;
                                                z22 = false;
                                            }
                                            if ((c17475 instanceof C1743) || (c17476 instanceof C1743)) {
                                                i14 = 4;
                                            }
                                            i15 = i25;
                                            z17 = z22;
                                            z16 = false;
                                        } else {
                                            if (i9 == 1) {
                                                i15 = 7;
                                                i14 = 4;
                                                z16 = true;
                                                z17 = false;
                                            } else if (i9 != 3) {
                                                z14 = false;
                                                z15 = false;
                                            } else if (this.f5752 == -1) {
                                                if (!z8) {
                                                    z19 = true;
                                                    i18 = 5;
                                                    z17 = true;
                                                    z18 = true;
                                                    i17 = 7;
                                                } else if (z2) {
                                                    i15 = 7;
                                                    i14 = 5;
                                                    z16 = true;
                                                    z17 = true;
                                                } else {
                                                    z19 = true;
                                                    i18 = 5;
                                                    z17 = true;
                                                    z18 = true;
                                                    i17 = 4;
                                                }
                                                i16 = 7;
                                                if (z19 && c17414 == c17416 && c17475 != c17477) {
                                                    z21 = false;
                                                    z20 = false;
                                                } else {
                                                    z20 = z19;
                                                    z21 = true;
                                                }
                                                if (z18) {
                                                    c1747 = c17477;
                                                    c17472 = c17476;
                                                    i19 = i18;
                                                    c17417 = c1741M34203;
                                                    i20 = i9;
                                                    c17473 = c17475;
                                                } else {
                                                    c17472 = c17476;
                                                    i20 = i9;
                                                    i19 = i18;
                                                    c17473 = c17475;
                                                    c1747 = c17477;
                                                    c17417 = c1741M34203;
                                                    c1735.m3426(c1741M34203, c17414, c1745.m3448(), f, c17416, c17415, c17452.m3448(), i17);
                                                }
                                                int i33 = 6;
                                                if (z20) {
                                                    i21 = i16;
                                                } else {
                                                    i21 = (!z2 || c17414 == c17416 || z12 || !((c17473 instanceof C1743) || (c17472 instanceof C1743))) ? i16 : 6;
                                                    c1735.m3432(c17417, c17414, c1745.m3448(), i21);
                                                    c1735.m3434(c17415, c17416, -c17452.m3448(), i21);
                                                }
                                                if (z21) {
                                                    if (!z17 || (z8 && !z3)) {
                                                        iMin2 = i19;
                                                    } else {
                                                        C1747 c17478 = c1747;
                                                        if (c17473 != c17478 && c17472 != c17478) {
                                                            i33 = i19;
                                                        }
                                                        if ((c17473 instanceof C1750) || (c17472 instanceof C1750)) {
                                                            i33 = 5;
                                                        }
                                                        if ((c17473 instanceof C1743) || (c17472 instanceof C1743)) {
                                                            i33 = 5;
                                                        }
                                                        int i34 = i19;
                                                        if (z8) {
                                                            i33 = 5;
                                                        }
                                                        iMin2 = Math.max(i33, i34);
                                                    }
                                                    if (z2) {
                                                        iMin2 = Math.min(i21, iMin2);
                                                    }
                                                    c1735.m3418(c17417, c17414, c1745.m3448(), iMin2);
                                                    c1735.m3418(c17415, c17416, -c17452.m3448(), iMin2);
                                                }
                                                if (z2) {
                                                    int iM34482 = c1741 == c17414 ? c1745.m3448() : 0;
                                                    if (c17414 != c1741) {
                                                        c1735.m3432(c17417, c1741, iM34482, 5);
                                                    }
                                                }
                                                if (z2 && z12 && i3 == 0 && i13 == 0) {
                                                    if (z12 || i20 != 3) {
                                                        c1735.m3432(c17415, c17417, 0, 5);
                                                    } else {
                                                        c1735.m3432(c17415, c17417, 0, 7);
                                                    }
                                                }
                                            } else {
                                                if (z6) {
                                                    if (i6 == 2 || i6 == 1) {
                                                        i24 = 4;
                                                        i23 = 5;
                                                    } else {
                                                        i24 = 5;
                                                        i23 = 7;
                                                    }
                                                } else {
                                                    if (i27 > 0) {
                                                        i22 = 5;
                                                    } else if (i27 != 0 || i13 != 0) {
                                                        i22 = 4;
                                                    } else if (z8) {
                                                        i23 = (c17475 == c17477 || c17476 == c17477) ? 5 : 4;
                                                        i24 = 4;
                                                    } else {
                                                        i22 = 7;
                                                    }
                                                    i14 = i22;
                                                    z14 = true;
                                                    z16 = true;
                                                    z17 = true;
                                                    z18 = z14;
                                                    i15 = 5;
                                                }
                                                z16 = true;
                                                z17 = true;
                                                z18 = true;
                                                int i35 = i23;
                                                i14 = i24;
                                                i15 = i35;
                                            }
                                            z18 = true;
                                        }
                                        i16 = i15;
                                        z19 = z16;
                                        i17 = 5;
                                        i18 = i14;
                                        if (z19) {
                                            z20 = z19;
                                            z21 = true;
                                            if (z18) {
                                            }
                                            int i332 = 6;
                                            if (z20) {
                                            }
                                            if (z21) {
                                            }
                                            if (z2) {
                                            }
                                            if (z2) {
                                                if (z12) {
                                                    c1735.m3432(c17415, c17417, 0, 5);
                                                }
                                            }
                                        }
                                    } else {
                                        z14 = true;
                                        z15 = true;
                                    }
                                    z16 = z15;
                                    i14 = 4;
                                    z17 = false;
                                    z18 = z14;
                                    i15 = 5;
                                    i16 = i15;
                                    z19 = z16;
                                    i17 = 5;
                                    i18 = i14;
                                    if (z19) {
                                    }
                                }
                            }
                            if (z2 && z13) {
                                if (c17452.f5719 != null) {
                                    iM3448 = c17452.m3448();
                                    c17418 = c17412;
                                } else {
                                    c17418 = c17412;
                                    iM3448 = 0;
                                }
                                if (c17416 != c17418) {
                                    c1735.m3432(c17418, c17415, iM3448, 5);
                                    return;
                                }
                                return;
                            }
                            return;
                        }
                        C1745.EnumC1746 enumC1746 = c1745.f5718;
                        if (enumC1746 == C1745.EnumC1746.TOP || enumC1746 == C1745.EnumC1746.BOTTOM) {
                            c1741M3420 = c1735.m3420(this.f5768.mo3453(C1745.EnumC1746.TOP));
                            c1741M34202 = c1735.m3420(this.f5768.mo3453(C1745.EnumC1746.BOTTOM));
                        } else {
                            c1741M3420 = c1735.m3420(this.f5768.mo3453(C1745.EnumC1746.LEFT));
                            c1741M34202 = c1735.m3420(this.f5768.mo3453(C1745.EnumC1746.RIGHT));
                        }
                        C1741 c17419 = c1741M34202;
                        C1733 c1733M3430 = c1735.m3430();
                        int i36 = i30;
                        i12 = i28;
                        int i37 = i29;
                        c17416 = c17413;
                        c17414 = c1741M34205;
                        c17415 = c1741M34204;
                        c1733M3430.m3411(c1741M34204, c1741M34203, c17419, c1741M3420, f2);
                        c1735.m3423(c1733M3430);
                        i27 = i36;
                        i26 = i37;
                    }
                } else {
                    int iMax = Math.max(i26, iMin);
                    if (i27 > 0) {
                        iMax = Math.min(i27, iMax);
                    }
                    c1735.m3418(c1741M34204, c1741M34203, iMax, 7);
                    i12 = i28;
                    c17414 = c1741M34205;
                    c17415 = c1741M34204;
                    c17416 = c17413;
                }
                z13 = z4;
                i13 = i26;
                z12 = false;
                if (z9) {
                }
                if (i12 >= 2) {
                }
            }
            if (z5) {
                c1735.m3418(c1741M34204, c1741M34203, 0, 3);
                if (i3 > 0) {
                    c1735.m3432(c1741M34204, c1741M34203, i3, 7);
                }
                if (i4 < Integer.MAX_VALUE) {
                    c1735.m3434(c1741M34204, c1741M34203, i4, 7);
                }
            } else {
                c1735.m3418(c1741M34204, c1741M34203, iMin, i10);
            }
            i13 = i26;
            i12 = i28;
            z12 = z11;
            c17414 = c1741M34205;
            c17415 = c1741M34204;
            c17416 = c17413;
            z13 = z4;
            if (z9) {
            }
            if (i12 >= 2) {
            }
        }
        z10 = false;
        boolean z232 = z10;
        if (this.f5781 != 8) {
        }
        if (z9) {
        }
        if (!z11) {
        }
        c17416 = c17413;
        z13 = z4;
        if (z9) {
        }
        if (i12 >= 2) {
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m3457(C1745.EnumC1746 enumC1746, C1747 c1747, C1745.EnumC1746 enumC17462, int i, int i2) {
        mo3453(enumC1746).m3449(c1747.mo3453(enumC17462), i, i2, true);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m3458(EnumC1748 enumC1748) {
        this.f5767[0] = enumC1748;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo3459(boolean z, boolean z2) {
        int i;
        int i2;
        C1768 c1768 = this.f5737;
        boolean z3 = z & c1768.f5875;
        C1770 c1770 = this.f5738;
        boolean z4 = z2 & c1770.f5875;
        int i3 = c1768.f5876.f5847;
        int i4 = c1770.f5876.f5847;
        int i5 = c1768.f5877.f5847;
        int i6 = c1770.f5877.f5847;
        int i7 = i6 - i4;
        if (i5 - i3 < 0 || i7 < 0 || i3 == Integer.MIN_VALUE || i3 == Integer.MAX_VALUE || i4 == Integer.MIN_VALUE || i4 == Integer.MAX_VALUE || i5 == Integer.MIN_VALUE || i5 == Integer.MAX_VALUE || i6 == Integer.MIN_VALUE || i6 == Integer.MAX_VALUE) {
            i5 = 0;
            i6 = 0;
            i3 = 0;
            i4 = 0;
        }
        int i8 = i5 - i3;
        int i9 = i6 - i4;
        if (z3) {
            this.f5773 = i3;
        }
        if (z4) {
            this.f5774 = i4;
        }
        if (this.f5781 == 8) {
            this.f5769 = 0;
            this.f5770 = 0;
            return;
        }
        if (z3) {
            if (this.f5767[0] == EnumC1748.FIXED && i8 < (i2 = this.f5769)) {
                i8 = i2;
            }
            this.f5769 = i8;
            int i10 = this.f5776;
            if (i8 < i10) {
                this.f5769 = i10;
            }
        }
        if (z4) {
            if (this.f5767[1] == EnumC1748.FIXED && i9 < (i = this.f5770)) {
                i9 = i;
            }
            this.f5770 = i9;
            int i11 = this.f5777;
            if (i9 < i11) {
                this.f5770 = i11;
            }
        }
    }

    /* JADX INFO: renamed from: ֏ */
    public boolean mo3447() {
        return this.f5781 != 8;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public int m3460() {
        return m3477() + this.f5770;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public C1747 m3461(int i) {
        C1745 c1745;
        C1745 c17452;
        if (i != 0) {
            if (i == 1 && (c17452 = (c1745 = this.f5760).f5719) != null && c17452.f5719 == c1745) {
                return c17452.f5717;
            }
            return null;
        }
        C1745 c17453 = this.f5759;
        C1745 c17454 = c17453.f5719;
        if (c17454 == null || c17454.f5719 != c17453) {
            return null;
        }
        return c17454.f5717;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m3462(C1735 c1735) {
        c1735.m3420(this.f5757);
        c1735.m3420(this.f5758);
        c1735.m3420(this.f5759);
        c1735.m3420(this.f5760);
        if (this.f5775 > 0) {
            c1735.m3420(this.f5761);
        }
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m3463(EnumC1748 enumC1748) {
        this.f5767[1] = enumC1748;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public int m3464() {
        if (this.f5781 == 8) {
            return 0;
        }
        return this.f5770;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public C1747 m3465(int i) {
        C1745 c1745;
        C1745 c17452;
        if (i != 0) {
            if (i == 1 && (c17452 = (c1745 = this.f5758).f5719) != null && c17452.f5719 == c1745) {
                return c17452.f5717;
            }
            return null;
        }
        C1745 c17453 = this.f5757;
        C1745 c17454 = c17453.f5719;
        if (c17454 == null || c17454.f5719 != c17453) {
            return null;
        }
        return c17454.f5717;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public void mo3466(C1735 c1735) {
        int i;
        int i2;
        int iM3428 = c1735.m3428(this.f5757);
        int iM34282 = c1735.m3428(this.f5758);
        int iM34283 = c1735.m3428(this.f5759);
        int iM34284 = c1735.m3428(this.f5760);
        C1768 c1768 = this.f5737;
        C1763 c1763 = c1768.f5876;
        if (c1763.f5850) {
            C1763 c17632 = c1768.f5877;
            if (c17632.f5850) {
                iM3428 = c1763.f5847;
                iM34283 = c17632.f5847;
            }
        }
        C1770 c1770 = this.f5738;
        C1763 c17633 = c1770.f5876;
        if (c17633.f5850) {
            C1763 c17634 = c1770.f5877;
            if (c17634.f5850) {
                iM34282 = c17633.f5847;
                iM34284 = c17634.f5847;
            }
        }
        int i3 = iM34284 - iM34282;
        if (iM34283 - iM3428 < 0 || i3 < 0 || iM3428 == Integer.MIN_VALUE || iM3428 == Integer.MAX_VALUE || iM34282 == Integer.MIN_VALUE || iM34282 == Integer.MAX_VALUE || iM34283 == Integer.MIN_VALUE || iM34283 == Integer.MAX_VALUE || iM34284 == Integer.MIN_VALUE || iM34284 == Integer.MAX_VALUE) {
            iM34284 = 0;
            iM3428 = 0;
            iM34282 = 0;
            iM34283 = 0;
        }
        int i4 = iM34283 - iM3428;
        int i5 = iM34284 - iM34282;
        this.f5773 = iM3428;
        this.f5774 = iM34282;
        if (this.f5781 == 8) {
            this.f5769 = 0;
            this.f5770 = 0;
            return;
        }
        if (this.f5767[0] == EnumC1748.FIXED && i4 < (i2 = this.f5769)) {
            i4 = i2;
        }
        if (this.f5767[1] == EnumC1748.FIXED && i5 < (i = this.f5770)) {
            i5 = i;
        }
        this.f5769 = i4;
        this.f5770 = i5;
        int i6 = this.f5777;
        if (i5 < i6) {
            this.f5770 = i6;
        }
        int i7 = this.f5769;
        int i8 = this.f5776;
        if (i7 < i8) {
            this.f5769 = i8;
        }
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public EnumC1748 m3467() {
        return this.f5767[0];
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public final boolean m3468(int i) {
        int i2 = i * 2;
        C1745[] c1745Arr = this.f5765;
        if (c1745Arr[i2].f5719 != null && c1745Arr[i2].f5719.f5719 != c1745Arr[i2]) {
            int i3 = i2 + 1;
            if (c1745Arr[i3].f5719 != null && c1745Arr[i3].f5719.f5719 == c1745Arr[i3]) {
                return true;
            }
        }
        return false;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public int m3469() {
        return m3475() + this.f5769;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public void m3470(int i) {
        this.f5770 = i;
        int i2 = this.f5777;
        if (i < i2) {
            this.f5770 = i2;
        }
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public EnumC1748 m3471() {
        return this.f5767[1];
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public void m3472(int i) {
        if (i < 0) {
            this.f5777 = 0;
        } else {
            this.f5777 = i;
        }
    }

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public int m3473() {
        if (this.f5781 == 8) {
            return 0;
        }
        return this.f5769;
    }

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public void m3474(int i) {
        if (i < 0) {
            this.f5776 = 0;
        } else {
            this.f5776 = i;
        }
    }

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public int m3475() {
        C1747 c1747 = this.f5768;
        return (c1747 == null || !(c1747 instanceof C1749)) ? this.f5773 : ((C1749) c1747).f5799 + this.f5773;
    }

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public void m3476(int i) {
        this.f5769 = i;
        int i2 = this.f5776;
        if (i < i2) {
            this.f5769 = i2;
        }
    }

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public int m3477() {
        C1747 c1747 = this.f5768;
        return (c1747 == null || !(c1747 instanceof C1749)) ? this.f5774 : ((C1749) c1747).f5800 + this.f5774;
    }

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public boolean m3478() {
        C1745 c1745 = this.f5757;
        C1745 c17452 = c1745.f5719;
        if (c17452 != null && c17452.f5719 == c1745) {
            return true;
        }
        C1745 c17453 = this.f5759;
        C1745 c17454 = c17453.f5719;
        return c17454 != null && c17454.f5719 == c17453;
    }

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public boolean m3479() {
        C1745 c1745 = this.f5758;
        C1745 c17452 = c1745.f5719;
        if (c17452 != null && c17452.f5719 == c1745) {
            return true;
        }
        C1745 c17453 = this.f5760;
        C1745 c17454 = c17453.f5719;
        return c17454 != null && c17454.f5719 == c17453;
    }

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public void mo3480() {
        this.f5757.m3451();
        this.f5758.m3451();
        this.f5759.m3451();
        this.f5760.m3451();
        this.f5761.m3451();
        this.f5762.m3451();
        this.f5763.m3451();
        this.f5764.m3451();
        this.f5768 = null;
        this.f5755 = 0.0f;
        this.f5769 = 0;
        this.f5770 = 0;
        this.f5771 = 0.0f;
        this.f5772 = -1;
        this.f5773 = 0;
        this.f5774 = 0;
        this.f5775 = 0;
        this.f5776 = 0;
        this.f5777 = 0;
        float f = f5733;
        this.f5778 = f;
        this.f5779 = f;
        EnumC1748[] enumC1748Arr = this.f5767;
        EnumC1748 enumC1748 = EnumC1748.FIXED;
        enumC1748Arr[0] = enumC1748;
        enumC1748Arr[1] = enumC1748;
        this.f5780 = null;
        this.f5781 = 0;
        this.f5783 = null;
        this.f5784 = 0;
        this.f5785 = 0;
        float[] fArr = this.f5786;
        fArr[0] = -1.0f;
        fArr[1] = -1.0f;
        this.f5741 = -1;
        this.f5742 = -1;
        int[] iArr = this.f5754;
        iArr[0] = Integer.MAX_VALUE;
        iArr[1] = Integer.MAX_VALUE;
        this.f5743 = 0;
        this.f5744 = 0;
        this.f5748 = 1.0f;
        this.f5751 = 1.0f;
        this.f5747 = Integer.MAX_VALUE;
        this.f5750 = Integer.MAX_VALUE;
        this.f5746 = 0;
        this.f5749 = 0;
        this.f5752 = -1;
        this.f5753 = 1.0f;
        boolean[] zArr = this.f5739;
        zArr[0] = true;
        zArr[1] = true;
    }
}
