package defpackage;

import android.view.View;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;

/* JADX INFO: renamed from: ᵙʟʾ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public class C2622 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public C4193 f10144;

    /* JADX INFO: renamed from: ʽᵡᵢᵾ, reason: contains not printable characters */
    public final C4214 f10145;

    /* JADX INFO: renamed from: ʿٴˇ, reason: contains not printable characters */
    public boolean f10146;

    /* JADX INFO: renamed from: ʿᵿʽᵞ, reason: contains not printable characters */
    public int f10147;

    /* JADX INFO: renamed from: ˀᵗ, reason: contains not printable characters */
    public int f10148;

    /* JADX INFO: renamed from: ˀᵭ, reason: contains not printable characters */
    public final C4214 f10149;

    /* JADX INFO: renamed from: ˁʢᵛ, reason: contains not printable characters */
    public int f10150;

    /* JADX INFO: renamed from: ˁˌᵩ, reason: contains not printable characters */
    public final C4214 f10151;

    /* JADX INFO: renamed from: ˁᵺˈ, reason: contains not printable characters */
    public float f10152;

    /* JADX INFO: renamed from: ˆʤᵳ, reason: contains not printable characters */
    public int f10153;

    /* JADX INFO: renamed from: ˈᵲᵢ, reason: contains not printable characters */
    public float f10154;

    /* JADX INFO: renamed from: ˈⁱᵡ, reason: contains not printable characters */
    public final C4214[] f10155;

    /* JADX INFO: renamed from: ˉˆᵗ, reason: contains not printable characters */
    public int f10156;

    /* JADX INFO: renamed from: ˉᵲ, reason: contains not printable characters */
    public int f10157;

    /* JADX INFO: renamed from: ˉᵵᵜ, reason: contains not printable characters */
    public int f10158;

    /* JADX INFO: renamed from: ˊˌˊ, reason: contains not printable characters */
    public C2622 f10159;

    /* JADX INFO: renamed from: ˊᵙᵾᵲ, reason: contains not printable characters */
    public int f10160;

    /* JADX INFO: renamed from: ˊᵡᵗʨ, reason: contains not printable characters */
    public final C4214 f10161;

    /* JADX INFO: renamed from: ˊᵨᵧ, reason: contains not printable characters */
    public int f10162;

    /* JADX INFO: renamed from: ˊᵾʽʼ, reason: contains not printable characters */
    public final C4214 f10164;

    /* JADX INFO: renamed from: ˋʿᐧ, reason: contains not printable characters */
    public int f10165;

    /* JADX INFO: renamed from: ˋˈ, reason: contains not printable characters */
    public boolean f10166;

    /* JADX INFO: renamed from: ˋᵯᵩ, reason: contains not printable characters */
    public float f10167;

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public int f10168;

    /* JADX INFO: renamed from: ˌᵨʠᵫ, reason: contains not printable characters */
    public final int[] f10169;

    /* JADX INFO: renamed from: ˏʜᵪ, reason: contains not printable characters */
    public final C2622[] f10170;

    /* JADX INFO: renamed from: ˏːˆ, reason: contains not printable characters */
    public final int[] f10171;

    /* JADX INFO: renamed from: ˏᵩʨ, reason: contains not printable characters */
    public float f10172;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public C4193 f10173;

    /* JADX INFO: renamed from: ːᵝٴᵶ, reason: contains not printable characters */
    public int f10174;

    /* JADX INFO: renamed from: ˑʢ, reason: contains not printable characters */
    public final C4214 f10175;

    /* JADX INFO: renamed from: ˑˊᵲ, reason: contains not printable characters */
    public boolean f10176;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public int f10177;

    /* JADX INFO: renamed from: ᵗᵭ, reason: contains not printable characters */
    public String f10178;

    /* JADX INFO: renamed from: ᵘᵝ, reason: contains not printable characters */
    public final C2622[] f10179;

    /* JADX INFO: renamed from: ᵛˀˊ, reason: contains not printable characters */
    public int f10180;

    /* JADX INFO: renamed from: ᵛˑﹳ, reason: contains not printable characters */
    public final C4214 f10181;

    /* JADX INFO: renamed from: ᵜᵤ, reason: contains not printable characters */
    public View f10182;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public float f10183;

    /* JADX INFO: renamed from: ᵝᵶ, reason: contains not printable characters */
    public boolean f10184;

    /* JADX INFO: renamed from: ᵞᵛᵘ, reason: contains not printable characters */
    public final boolean[] f10185;

    /* JADX INFO: renamed from: ᵟᵹᵙ, reason: contains not printable characters */
    public int f10186;

    /* JADX INFO: renamed from: ᵠˏˏ, reason: contains not printable characters */
    public int f10187;

    /* JADX INFO: renamed from: ᵡᵶ, reason: contains not printable characters */
    public int f10188;

    /* JADX INFO: renamed from: ᵡᵶᵬʤ, reason: contains not printable characters */
    public int f10189;

    /* JADX INFO: renamed from: ᵨˈʼﹶ, reason: contains not printable characters */
    public final ArrayList f10190;

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public int f10192;

    /* JADX INFO: renamed from: ᵪᵹᵥᵻ, reason: contains not printable characters */
    public int f10193;

    /* JADX INFO: renamed from: ᵫˈᵹ, reason: contains not printable characters */
    public int f10194;

    /* JADX INFO: renamed from: ᵬᵦˋ, reason: contains not printable characters */
    public final float[] f10195;

    /* JADX INFO: renamed from: ᵮᵟᵡ, reason: contains not printable characters */
    public final int[] f10196;

    /* JADX INFO: renamed from: ᵮᵣᵗˈ, reason: contains not printable characters */
    public boolean f10197;

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public float f10198;

    /* JADX INFO: renamed from: ᵱʡˏ, reason: contains not printable characters */
    public int f10199;

    /* JADX INFO: renamed from: ᵱᵽʡᵚ, reason: contains not printable characters */
    public String f10200;

    /* JADX INFO: renamed from: ᵵᵬᵽ, reason: contains not printable characters */
    public final C4214 f10202;

    /* JADX INFO: renamed from: ᵵᵸᵕᵸ, reason: contains not printable characters */
    public int f10203;

    /* JADX INFO: renamed from: ᵶˇᵱ, reason: contains not printable characters */
    public int f10205;

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public boolean f10206;

    /* JADX INFO: renamed from: ᵸˆˁ, reason: contains not printable characters */
    public float f10208;

    /* JADX INFO: renamed from: ᵹʾᵢᵯ, reason: contains not printable characters */
    public int f10209;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public boolean f10201 = false;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public C4503 f10207 = null;

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public C0295 f10191 = null;

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public final boolean[] f10211 = {true, true};

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public boolean f10204 = true;

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public int f10163 = -1;

    /* JADX INFO: renamed from: ᵻʽᵯ, reason: contains not printable characters */
    public int f10210 = -1;

    public C2622() {
        new HashMap();
        this.f10206 = false;
        this.f10197 = false;
        this.f10184 = false;
        this.f10166 = false;
        this.f10193 = -1;
        this.f10186 = -1;
        this.f10199 = 0;
        this.f10160 = 0;
        this.f10157 = 0;
        this.f10171 = new int[2];
        this.f10162 = 0;
        this.f10168 = 0;
        this.f10183 = 1.0f;
        this.f10177 = 0;
        this.f10192 = 0;
        this.f10198 = 1.0f;
        this.f10205 = -1;
        this.f10154 = 1.0f;
        this.f10169 = new int[]{Integer.MAX_VALUE, Integer.MAX_VALUE};
        this.f10208 = Float.NaN;
        this.f10176 = false;
        this.f10146 = false;
        this.f10187 = 0;
        this.f10158 = 0;
        C4214 c4214 = new C4214(this, 2);
        this.f10151 = c4214;
        C4214 c42142 = new C4214(this, 3);
        this.f10149 = c42142;
        C4214 c42143 = new C4214(this, 4);
        this.f10164 = c42143;
        C4214 c42144 = new C4214(this, 5);
        this.f10161 = c42144;
        C4214 c42145 = new C4214(this, 6);
        this.f10181 = c42145;
        C4214 c42146 = new C4214(this, 8);
        this.f10202 = c42146;
        C4214 c42147 = new C4214(this, 9);
        this.f10175 = c42147;
        C4214 c42148 = new C4214(this, 7);
        this.f10145 = c42148;
        this.f10155 = new C4214[]{c4214, c42143, c42142, c42144, c42145, c42148};
        ArrayList arrayList = new ArrayList();
        this.f10190 = arrayList;
        this.f10185 = new boolean[2];
        this.f10196 = new int[]{1, 1};
        this.f10159 = null;
        this.f10150 = 0;
        this.f10148 = 0;
        this.f10172 = 0.0f;
        this.f10180 = -1;
        this.f10147 = 0;
        this.f10188 = 0;
        this.f10189 = 0;
        this.f10152 = 0.5f;
        this.f10167 = 0.5f;
        this.f10174 = 0;
        this.f10178 = null;
        this.f10194 = 0;
        this.f10203 = 0;
        this.f10195 = new float[]{-1.0f, -1.0f};
        this.f10170 = new C2622[]{null, null};
        this.f10179 = new C2622[]{null, null};
        this.f10153 = -1;
        this.f10209 = -1;
        arrayList.add(c4214);
        arrayList.add(c42142);
        arrayList.add(c42143);
        arrayList.add(c42144);
        arrayList.add(c42146);
        arrayList.add(c42147);
        arrayList.add(c42148);
        arrayList.add(c42145);
    }

    /* JADX INFO: renamed from: ˉᵵᵜ, reason: contains not printable characters */
    public static void m6346(StringBuilder sb, String str, float f, float f2) {
        if (f == f2) {
            return;
        }
        sb.append(str);
        sb.append(" :   ");
        sb.append(f);
        sb.append(",\n");
    }

    /* JADX INFO: renamed from: ᵟᵹᵙ, reason: contains not printable characters */
    public static void m6347(StringBuilder sb, String str, C4214 c4214) {
        if (c4214.f16036 == null) {
            return;
        }
        sb.append("    ");
        sb.append(str);
        sb.append(" : [ '");
        sb.append(c4214.f16036);
        sb.append("'");
        if (c4214.f16029 != Integer.MIN_VALUE || c4214.f16033 != 0) {
            sb.append(",");
            sb.append(c4214.f16033);
            if (c4214.f16029 != Integer.MIN_VALUE) {
                sb.append(",");
                sb.append(c4214.f16029);
                sb.append(",");
            }
        }
        sb.append(" ] ,\n");
    }

    /* JADX INFO: renamed from: ᵠˏˏ, reason: contains not printable characters */
    public static void m6348(int i, int i2, String str, StringBuilder sb) {
        if (i == i2) {
            return;
        }
        sb.append(str);
        sb.append(" :   ");
        sb.append(i);
        sb.append(",\n");
    }

    /* JADX INFO: renamed from: ᵪᵹᵥᵻ, reason: contains not printable characters */
    public static void m6349(StringBuilder sb, String str, int i, int i2, int i3, int i4, int i5, float f, int i6) {
        String str2;
        sb.append(str);
        sb.append(" :  {\n");
        if (i6 == 1) {
            str2 = "FIXED";
        } else if (i6 == 2) {
            str2 = "WRAP_CONTENT";
        } else if (i6 == 3) {
            str2 = "MATCH_CONSTRAINT";
        } else {
            if (i6 != 4) {
                throw null;
            }
            str2 = "MATCH_PARENT";
        }
        if (!"FIXED".equals(str2)) {
            AbstractC3589.m8100(sb, "      behavior", " :   ", str2, ",\n");
        }
        m6348(i, 0, "      size", sb);
        m6348(i2, 0, "      min", sb);
        m6348(i3, Integer.MAX_VALUE, "      max", sb);
        m6348(i4, 0, "      matchMin", sb);
        m6348(i5, 0, "      matchDef", sb);
        m6346(sb, "      matchPercent", f, 1.0f);
        sb.append("    },\n");
    }

    public String toString() {
        StringBuilder sbM8219 = AbstractC3653.m8219("");
        sbM8219.append(this.f10178 != null ? AbstractC3653.m8231(new StringBuilder("id: "), this.f10178, " ") : "");
        sbM8219.append("(");
        sbM8219.append(this.f10147);
        sbM8219.append(", ");
        sbM8219.append(this.f10188);
        sbM8219.append(") - (");
        sbM8219.append(this.f10150);
        sbM8219.append(" x ");
        return AbstractC3589.m8110(sbM8219, this.f10148, ")");
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:121:0x0204  */
    /* JADX WARN: Removed duplicated region for block: B:125:0x020c  */
    /* JADX WARN: Removed duplicated region for block: B:128:0x0215  */
    /* JADX WARN: Removed duplicated region for block: B:157:0x028b  */
    /* JADX WARN: Removed duplicated region for block: B:161:0x029a  */
    /* JADX WARN: Removed duplicated region for block: B:164:0x02a3  */
    /* JADX WARN: Removed duplicated region for block: B:165:0x02a6  */
    /* JADX WARN: Removed duplicated region for block: B:168:0x02b5  */
    /* JADX WARN: Removed duplicated region for block: B:170:0x02bc  */
    /* JADX WARN: Removed duplicated region for block: B:173:0x02c3  */
    /* JADX WARN: Removed duplicated region for block: B:174:0x02c6  */
    /* JADX WARN: Removed duplicated region for block: B:177:0x02e4  */
    /* JADX WARN: Removed duplicated region for block: B:24:0x0062  */
    /* JADX WARN: Removed duplicated region for block: B:268:0x03f5  */
    /* JADX WARN: Removed duplicated region for block: B:272:0x040d  */
    /* JADX WARN: Removed duplicated region for block: B:276:0x0416  */
    /* JADX WARN: Removed duplicated region for block: B:279:0x041a  */
    /* JADX WARN: Removed duplicated region for block: B:284:0x0426  */
    /* JADX WARN: Removed duplicated region for block: B:287:0x042e  */
    /* JADX WARN: Removed duplicated region for block: B:290:0x0434  */
    /* JADX WARN: Removed duplicated region for block: B:292:0x0437  */
    /* JADX WARN: Removed duplicated region for block: B:295:0x0453  */
    /* JADX WARN: Removed duplicated region for block: B:314:0x049a  */
    /* JADX WARN: Removed duplicated region for block: B:330:0x0537  */
    /* JADX WARN: Removed duplicated region for block: B:346:0x058a  */
    /* JADX WARN: Removed duplicated region for block: B:349:0x059c  */
    /* JADX WARN: Removed duplicated region for block: B:352:0x05a0  */
    /* JADX WARN: Removed duplicated region for block: B:374:0x05d5  */
    /* JADX WARN: Removed duplicated region for block: B:389:0x0661  */
    /* JADX WARN: Removed duplicated region for block: B:38:0x0092  */
    /* JADX WARN: Removed duplicated region for block: B:391:0x0667  */
    /* JADX WARN: Removed duplicated region for block: B:397:0x06c3  */
    /* JADX WARN: Removed duplicated region for block: B:43:0x009c  */
    /* JADX WARN: Removed duplicated region for block: B:44:0x009e  */
    /* JADX WARN: Removed duplicated region for block: B:64:0x00fd  */
    /* JADX WARN: Type inference failed for: r12v8, types: [boolean] */
    /* JADX WARN: Type inference failed for: r17v10, types: [boolean] */
    /* JADX WARN: Type inference failed for: r17v9, types: [boolean] */
    /* JADX WARN: Type inference failed for: r18v25 */
    /* JADX WARN: Type inference failed for: r18v6, types: [boolean] */
    /* JADX WARN: Type inference failed for: r18v7 */
    /* JADX WARN: Type inference failed for: r27v3 */
    /* JADX WARN: Type inference failed for: r27v4, types: [boolean] */
    /* JADX WARN: Type inference failed for: r27v6 */
    /* JADX WARN: Type inference failed for: r27v7 */
    /* JADX WARN: Type inference failed for: r27v8 */
    /* JADX WARN: Type inference failed for: r3v1 */
    /* JADX WARN: Type inference failed for: r3v15, types: [boolean] */
    /* JADX WARN: Type inference failed for: r3v16 */
    /* JADX WARN: Type inference failed for: r3v2 */
    /* JADX WARN: Type inference failed for: r4v24, types: [boolean] */
    /* JADX WARN: Type inference failed for: r4v25, types: [boolean] */
    /* JADX WARN: Type inference failed for: r4v46 */
    /* JADX WARN: Type inference failed for: r4v7 */
    /* JADX WARN: Type inference failed for: r4v8 */
    /* JADX WARN: Type inference failed for: r58v0, types: [ᵙʟʾ] */
    /* JADX INFO: renamed from: ʽˈˋ */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public void mo1271(C1873 c1873, boolean z) {
        int i;
        int i2;
        int i3;
        int i4;
        int i5;
        boolean z2;
        C2622 c2622;
        C2622 c26222;
        boolean[] zArr;
        C4214 c4214;
        boolean[] zArr2;
        C4214 c42142;
        C4214 c42143;
        int i6;
        boolean z3;
        boolean z4;
        int i7;
        int i8;
        int[] iArr;
        float f;
        C4214 c42144;
        C4996 c4996;
        C4214 c42145;
        int i9;
        int i10;
        int i11;
        boolean z5;
        int i12;
        boolean z6;
        C4214 c42146;
        int i13;
        int[] iArr2;
        C4214 c42147;
        C4996 c49962;
        C4996 c49963;
        C4214 c42148;
        int[] iArr3;
        C4996 c49964;
        boolean z7;
        ?? r3;
        ?? r4;
        C4996 c49965;
        C4214 c42149;
        C4996 c49966;
        int i14;
        boolean[] zArr3;
        C4996 c49967;
        C4996 c49968;
        C4996 c49969;
        int i15;
        int i16;
        boolean z8;
        int i17;
        C4996 c499610;
        C4996 c499611;
        C0295 c0295;
        boolean z9;
        C4503 c4503;
        int i18;
        int i19;
        boolean zM6366;
        int i20;
        boolean zM6371;
        C4503 c45032;
        C0295 c02952;
        boolean z10;
        C1873 c18732 = c1873;
        C4214 c421410 = this.f10151;
        C4996 c4996M5103 = c18732.m5103(c421410);
        C4214 c421411 = this.f10164;
        C4996 c4996M51032 = c18732.m5103(c421411);
        C4214 c421412 = this.f10149;
        C4996 c4996M51033 = c18732.m5103(c421412);
        C4214 c421413 = this.f10161;
        C4996 c4996M51034 = c18732.m5103(c421413);
        C4214 c421414 = this.f10181;
        C4996 c4996M51035 = c18732.m5103(c421414);
        C2622 c26223 = this.f10159;
        if (c26223 != null) {
            int[] iArr4 = c26223.f10196;
            i = 0;
            i3 = iArr4[0] == 2 ? 1 : 0;
            int i21 = iArr4[1] == 2 ? 1 : 0;
            int i22 = this.f10199;
            if (i22 != 1) {
                if (i22 == 2) {
                    i3 = 0;
                } else if (i22 != 3) {
                }
                i2 = i21;
            } else {
                i2 = 0;
            }
            i4 = this.f10174;
            boolean[] zArr4 = this.f10185;
            int i23 = i2;
            if (i4 != 8) {
                ArrayList arrayList = this.f10190;
                int size = arrayList.size();
                i5 = i3;
                int i24 = i;
                while (true) {
                    if (i24 < size) {
                        int i25 = size;
                        HashSet hashSet = ((C4214) arrayList.get(i24)).f16032;
                        if (hashSet != null && hashSet.size() > 0) {
                            break;
                        }
                        i24++;
                        size = i25;
                    } else if (!zArr4[i] && !zArr4[1]) {
                        return;
                    }
                }
            } else {
                i5 = i3;
            }
            z2 = this.f10206;
            if (!z2 || this.f10197) {
                if (z2) {
                    c18732.m5104(c4996M5103, this.f10147);
                    c18732.m5104(c4996M51032, this.f10147 + this.f10150);
                    if (i5 != 0 && (c26222 = this.f10159) != null) {
                        C3100 c3100 = (C3100) c26222;
                        WeakReference weakReference = c3100.f11850;
                        if (weakReference == null || weakReference.get() == null || c421410.m9155() > ((C4214) c3100.f11850.get()).m9155()) {
                            c3100.f11850 = new WeakReference(c421410);
                        }
                        WeakReference weakReference2 = c3100.f11844;
                        if (weakReference2 == null || weakReference2.get() == null || c421411.m9155() > ((C4214) c3100.f11844.get()).m9155()) {
                            c3100.f11844 = new WeakReference(c421411);
                        }
                    }
                }
                if (this.f10197) {
                    c18732.m5104(c4996M51033, this.f10188);
                    c18732.m5104(c4996M51034, this.f10188 + this.f10148);
                    HashSet hashSet2 = c421414.f16032;
                    if (hashSet2 != null && hashSet2.size() > 0) {
                        c18732.m5104(c4996M51035, this.f10188 + this.f10189);
                    }
                    if (i23 != 0 && (c2622 = this.f10159) != null) {
                        C3100 c31002 = (C3100) c2622;
                        WeakReference weakReference3 = c31002.f11856;
                        if (weakReference3 == null || weakReference3.get() == null || c421412.m9155() > ((C4214) c31002.f11856.get()).m9155()) {
                            c31002.f11856 = new WeakReference(c421412);
                        }
                        WeakReference weakReference4 = c31002.f11846;
                        if (weakReference4 == null || weakReference4.get() == null || c421413.m9155() > ((C4214) c31002.f11846.get()).m9155()) {
                            c31002.f11846 = new WeakReference(c421413);
                        }
                    }
                }
                if (this.f10206 && this.f10197) {
                    ?? r12 = i;
                    this.f10206 = r12;
                    this.f10197 = r12;
                    return;
                }
            }
            zArr = this.f10211;
            if (z || (c45032 = this.f10207) == null || (c02952 = this.f10191) == null) {
                c4214 = c421414;
                zArr2 = zArr;
            } else {
                c4214 = c421414;
                C1649 c1649 = c45032.f17079;
                zArr2 = zArr;
                if (c1649.f6561 && c45032.f17086.f6561 && c02952.f17079.f6561 && c02952.f17086.f6561) {
                    c18732.m5104(c4996M5103, c1649.f6563);
                    c18732.m5104(c4996M51032, this.f10207.f17086.f6563);
                    c18732.m5104(c4996M51033, this.f10191.f17079.f6563);
                    c18732.m5104(c4996M51034, this.f10191.f17086.f6563);
                    c18732.m5104(c4996M51035, this.f10191.f1962.f6563);
                    if (this.f10159 == null) {
                        z10 = false;
                    } else {
                        if (i5 != 0 && zArr2[0] && !m6366()) {
                            c18732.m5106(c18732.m5103(this.f10159.f10164), c4996M51032, 0, 8);
                        }
                        if (i23 != 0 && zArr2[1] && !m6371()) {
                            z10 = false;
                            c18732.m5106(c18732.m5103(this.f10159.f10161), c4996M51034, 0, 8);
                        }
                    }
                    this.f10206 = z10;
                    this.f10197 = z10;
                    return;
                }
            }
            if (this.f10159 == null) {
                if (m6368(0)) {
                    ((C3100) this.f10159).m7198(this, 0);
                    zM6366 = true;
                    i20 = 1;
                } else {
                    zM6366 = m6366();
                    i20 = 1;
                }
                if (m6368(i20)) {
                    ((C3100) this.f10159).m7198(this, i20);
                    zM6371 = true;
                } else {
                    zM6371 = m6371();
                }
                if (zM6366 || i5 == 0 || this.f10174 == 8 || c421410.f16036 != null || c421411.f16036 != null) {
                    c42142 = c421410;
                } else {
                    c42142 = c421410;
                    c18732.m5106(c18732.m5103(this.f10159.f10164), c4996M51032, 0, 1);
                }
                if (!zM6371 && i23 != 0 && this.f10174 != 8 && c421412.f16036 == null && c421413.f16036 == null && c4214 == null) {
                    c18732.m5106(c18732.m5103(this.f10159.f10161), c4996M51034, 0, 1);
                }
                c42143 = c421411;
                i6 = i23;
                z4 = zM6371;
                z3 = zM6366;
            } else {
                c42142 = c421410;
                c42143 = c421411;
                i6 = i23;
                z3 = false;
                z4 = false;
            }
            i7 = this.f10150;
            i8 = this.f10165;
            if (i7 >= i8) {
                i8 = i7;
            }
            int i26 = this.f10148;
            C4214 c421415 = c42143;
            int i27 = this.f10156;
            int i28 = i26 >= i27 ? i27 : i26;
            iArr = this.f10196;
            int i29 = iArr[0];
            int i30 = i6;
            boolean z11 = i29 == 3;
            int i31 = iArr[1];
            boolean z12 = i31 == 3;
            int i32 = this.f10180;
            this.f10205 = i32;
            f = this.f10172;
            this.f10154 = f;
            int i33 = this.f10160;
            int i34 = this.f10157;
            if (f <= 0.0f) {
                c42144 = c421413;
                if (this.f10174 != 8) {
                    int i35 = (i29 == 3 && i33 == 0) ? 3 : i33;
                    if (i31 == 3 && i34 == 0) {
                        c4996 = c4996M51034;
                        i19 = 3;
                    } else {
                        c4996 = c4996M51034;
                        i19 = i34;
                    }
                    if (i29 == 3 && i31 == 3 && i35 == 3 && i19 == 3) {
                        if (i32 == -1) {
                            if (z11 && !z12) {
                                this.f10205 = 0;
                            } else if (!z11 && z12) {
                                this.f10205 = 1;
                                if (i32 == -1) {
                                    this.f10154 = 1.0f / f;
                                }
                            }
                        }
                        if (this.f10205 == 0 && (!c421412.m9147() || !c42144.m9147())) {
                            this.f10205 = 1;
                        } else if (this.f10205 == 1 && (!c42142.m9147() || !c421415.m9147())) {
                            this.f10205 = 0;
                        }
                        if (this.f10205 == -1 && (!c421412.m9147() || !c42144.m9147() || !c42142.m9147() || !c421415.m9147())) {
                            if (c421412.m9147() && c42144.m9147()) {
                                this.f10205 = 0;
                            } else if (c42142.m9147() && c421415.m9147()) {
                                this.f10154 = 1.0f / this.f10154;
                                this.f10205 = 1;
                            }
                        }
                        if (this.f10205 == -1) {
                            int i36 = this.f10162;
                            if (i36 > 0 && this.f10177 == 0) {
                                this.f10205 = 0;
                            } else if (i36 == 0 && this.f10177 > 0) {
                                this.f10154 = 1.0f / this.f10154;
                                this.f10205 = 1;
                            }
                        }
                    } else {
                        if (i29 != 3 || i35 != 3) {
                            if (i31 == 3 && i19 == 3) {
                                this.f10205 = 1;
                                if (i32 == -1) {
                                    this.f10154 = 1.0f / f;
                                }
                                i9 = (int) (this.f10154 * i7);
                                if (i29 != 3) {
                                    i10 = i35;
                                    c42145 = c4214;
                                    i11 = 4;
                                } else {
                                    i10 = i35;
                                    c42145 = c4214;
                                }
                            }
                            z5 = true;
                            i11 = i19;
                            int[] iArr5 = this.f10171;
                            iArr5[0] = i10;
                            iArr5[1] = i11;
                            if (!z5) {
                                int i37 = this.f10205;
                                i12 = -1;
                                boolean z13 = i37 == 0 || i37 == -1;
                                boolean z14 = z5 && ((i18 = this.f10205) == 1 || i18 == i12);
                                z6 = iArr[0] == 2 && (this instanceof C3100);
                                if (z6) {
                                    i8 = 0;
                                }
                                c42146 = this.f10145;
                                boolean z15 = !c42146.m9147();
                                char c = '\b';
                                boolean z16 = zArr4[0];
                                boolean z17 = zArr4[1];
                                i13 = this.f10193;
                                iArr2 = this.f10169;
                                if (i13 == 2 || this.f10206) {
                                    c42147 = c42145;
                                    c49962 = c4996M5103;
                                    c49963 = c4996M51032;
                                    c42148 = c42146;
                                    iArr3 = iArr2;
                                    c49964 = c4996M51035;
                                    z7 = z3;
                                    r3 = i5;
                                    r4 = i30;
                                    c49965 = c4996M51033;
                                    c42149 = c42144;
                                    c49966 = c4996;
                                    i14 = i10;
                                    zArr3 = zArr2;
                                } else {
                                    if (z && (c4503 = this.f10207) != null) {
                                        C1649 c16492 = c4503.f17079;
                                        if (c16492.f6561 && c4503.f17086.f6561) {
                                            if (z) {
                                                c18732.m5104(c4996M5103, c16492.f6563);
                                                c18732.m5104(c4996M51032, this.f10207.f17086.f6563);
                                                if (this.f10159 != null && i5 != 0 && zArr2[0] && !m6366()) {
                                                    c18732.m5106(c18732.m5103(this.f10159.f10164), c4996M51032, 0, 8);
                                                }
                                            }
                                            c42147 = c42145;
                                            c49962 = c4996M5103;
                                            c49963 = c4996M51032;
                                            c42148 = c42146;
                                            iArr3 = iArr2;
                                            c49964 = c4996M51035;
                                            z7 = z3;
                                            r3 = i5;
                                            r4 = i30;
                                            c49965 = c4996M51033;
                                            c42149 = c42144;
                                            c49966 = c4996;
                                            i14 = i10;
                                            zArr3 = zArr2;
                                        } else {
                                            c = '\b';
                                        }
                                    }
                                    C2622 c26224 = this.f10159;
                                    C4996 c4996M51036 = c26224 != null ? c18732.m5103(c26224.f10164) : null;
                                    C2622 c26225 = this.f10159;
                                    C4996 c4996M51037 = c26225 != null ? c18732.m5103(c26225.f10151) : null;
                                    ?? r32 = i5;
                                    i14 = i10;
                                    z7 = z3;
                                    c42148 = c42146;
                                    iArr3 = iArr2;
                                    boolean z18 = z13;
                                    c49962 = c4996M5103;
                                    ?? r42 = i30;
                                    c49965 = c4996M51033;
                                    c49963 = c4996M51032;
                                    c42149 = c42144;
                                    c49966 = c4996;
                                    c42147 = c42145;
                                    c49964 = c4996M51035;
                                    zArr3 = zArr2;
                                    c18732 = c1873;
                                    m6380(c18732, true, r32, r42, zArr2[0], c4996M51037, c4996M51036, iArr[0], z6, this.f10151, this.f10164, this.f10147, i8, this.f10165, iArr2[0], this.f10152, z18, iArr[1] == 3, z7, z4, z16, i14, i11, this.f10162, this.f10168, this.f10183, z15);
                                    r3 = r32;
                                    r4 = r42;
                                }
                                if (!z || (c0295 = this.f10191) == null) {
                                    c49967 = c49965;
                                    c49968 = c49966;
                                    c49969 = c49964;
                                    i15 = 0;
                                    i16 = 8;
                                    z8 = true;
                                    i17 = 1;
                                } else {
                                    C1649 c16493 = c0295.f17079;
                                    if (c16493.f6561 && c0295.f17086.f6561) {
                                        int i38 = c16493.f6563;
                                        c49967 = c49965;
                                        c18732.m5104(c49967, i38);
                                        c49968 = c49966;
                                        c18732.m5104(c49968, this.f10191.f17086.f6563);
                                        c49969 = c49964;
                                        c18732.m5104(c49969, this.f10191.f1962.f6563);
                                        C2622 c26226 = this.f10159;
                                        if (c26226 == null || z4 || r4 == 0) {
                                            i15 = 0;
                                            i16 = 8;
                                            z9 = true;
                                        } else {
                                            z9 = true;
                                            z9 = true;
                                            if (zArr3[1]) {
                                                i15 = 0;
                                                i16 = 8;
                                                c18732.m5106(c18732.m5103(c26226.f10161), c49968, 0, 8);
                                            } else {
                                                i15 = 0;
                                                i16 = 8;
                                            }
                                        }
                                        i17 = i15;
                                        z8 = z9;
                                    }
                                }
                                if (this.f10186 == 2) {
                                    i17 = i15;
                                }
                                if (i17 == 0 || this.f10197) {
                                    c499610 = c49967;
                                    c499611 = c49968;
                                } else {
                                    int i39 = (iArr[z8 ? 1 : 0] == 2 && (this instanceof C3100)) ? z8 ? 1 : 0 : i15;
                                    int i40 = i39 != 0 ? i15 : i9;
                                    C2622 c26227 = this.f10159;
                                    C4996 c4996M51038 = c26227 != null ? c18732.m5103(c26227.f10161) : null;
                                    C2622 c26228 = this.f10159;
                                    C4996 c4996M51039 = c26228 != null ? c18732.m5103(c26228.f10149) : null;
                                    int i41 = this.f10189;
                                    if (i41 <= 0) {
                                        ?? r27 = z15;
                                        if (this.f10174 == i16) {
                                            C4214 c421416 = c42147;
                                            if (c421416.f16036 != null) {
                                                c18732.m5096(c49969, c49967, i41, i16);
                                                c18732.m5096(c49969, c18732.m5103(c421416.f16036), c421416.m9149(), i16);
                                                if (r4 != 0) {
                                                    c18732.m5106(c4996M51038, c18732.m5103(c42149), i15, 5);
                                                }
                                                r27 = i15;
                                            } else if (this.f10174 == i16) {
                                                c18732.m5096(c49969, c49967, c421416.m9149(), i16);
                                                r27 = z15;
                                            } else {
                                                c18732.m5096(c49969, c49967, i41, i16);
                                                r27 = z15;
                                            }
                                        }
                                        boolean z19 = zArr3[z8 ? 1 : 0];
                                        int i42 = i15;
                                        int i43 = iArr[z8 ? 1 : 0];
                                        int i44 = this.f10188;
                                        int i45 = this.f10156;
                                        int i46 = iArr3[z8 ? 1 : 0];
                                        float f2 = this.f10167;
                                        int i47 = iArr[i42];
                                        boolean z20 = z8 ? 1 : 0;
                                        ?? r18 = z8;
                                        if (i47 != 3) {
                                            r18 = i42;
                                        }
                                        c499611 = c49968;
                                        c499610 = c49967;
                                        c18732 = c1873;
                                        m6380(c18732, false, r4, r3, z19, c4996M51039, c4996M51038, i43, i39, this.f10149, this.f10161, i44, i40, i45, i46, f2, z14, r18, z4, z7, z17, i11, i14, this.f10177, this.f10192, this.f10198, r27);
                                    }
                                }
                                if (z5) {
                                    int i48 = this.f10205;
                                    float f3 = this.f10154;
                                    if (i48 == 1) {
                                        C5184 c5184M5098 = c18732.m5098();
                                        c5184M5098.f19516.m9928(c499611, -1.0f);
                                        c5184M5098.f19516.m9928(c499610, 1.0f);
                                        c5184M5098.f19516.m9928(c49963, f3);
                                        c5184M5098.f19516.m9928(c49962, -f3);
                                        c18732.m5093(c5184M5098);
                                    } else {
                                        C5184 c5184M50982 = c18732.m5098();
                                        c5184M50982.f19516.m9928(c49963, -1.0f);
                                        c5184M50982.f19516.m9928(c49962, 1.0f);
                                        c5184M50982.f19516.m9928(c499611, f3);
                                        c5184M50982.f19516.m9928(c499610, -f3);
                                        c18732.m5093(c5184M50982);
                                    }
                                }
                                if (c42148.m9147()) {
                                    C4214 c421417 = c42148;
                                    C2622 c26229 = c421417.f16036.f16034;
                                    float radians = (float) Math.toRadians(this.f10208 + 90.0f);
                                    int iM9149 = c421417.m9149();
                                    C4996 c4996M510310 = c18732.m5103(mo1278(2));
                                    C4996 c4996M510311 = c18732.m5103(mo1278(3));
                                    C4996 c4996M510312 = c18732.m5103(mo1278(4));
                                    C4996 c4996M510313 = c18732.m5103(mo1278(5));
                                    C4996 c4996M510314 = c18732.m5103(c26229.mo1278(2));
                                    C4996 c4996M510315 = c18732.m5103(c26229.mo1278(3));
                                    C4996 c4996M510316 = c18732.m5103(c26229.mo1278(4));
                                    C4996 c4996M510317 = c18732.m5103(c26229.mo1278(5));
                                    C5184 c5184M50983 = c18732.m5098();
                                    double d = radians;
                                    double dSin = Math.sin(d);
                                    double d2 = iM9149;
                                    c5184M50983.f19516.m9928(c4996M510315, 0.5f);
                                    c5184M50983.f19516.m9928(c4996M510317, 0.5f);
                                    c5184M50983.f19516.m9928(c4996M510311, -0.5f);
                                    c5184M50983.f19516.m9928(c4996M510313, -0.5f);
                                    c5184M50983.f19512 = -((float) (dSin * d2));
                                    c18732.m5093(c5184M50983);
                                    C5184 c5184M50984 = c18732.m5098();
                                    float fCos = (float) (Math.cos(d) * d2);
                                    c5184M50984.f19516.m9928(c4996M510314, 0.5f);
                                    c5184M50984.f19516.m9928(c4996M510316, 0.5f);
                                    c5184M50984.f19516.m9928(c4996M510310, -0.5f);
                                    c5184M50984.f19516.m9928(c4996M510312, -0.5f);
                                    c5184M50984.f19512 = -fCos;
                                    c18732.m5093(c5184M50984);
                                }
                                this.f10206 = false;
                                this.f10197 = false;
                            }
                            i12 = -1;
                            if (z5) {
                            }
                            if (iArr[0] == 2) {
                            }
                            if (z6) {
                            }
                            c42146 = this.f10145;
                            boolean z152 = !c42146.m9147();
                            char c2 = '\b';
                            boolean z162 = zArr4[0];
                            boolean z172 = zArr4[1];
                            i13 = this.f10193;
                            iArr2 = this.f10169;
                            if (i13 == 2) {
                                c42147 = c42145;
                                c49962 = c4996M5103;
                                c49963 = c4996M51032;
                                c42148 = c42146;
                                iArr3 = iArr2;
                                c49964 = c4996M51035;
                                z7 = z3;
                                r3 = i5;
                                r4 = i30;
                                c49965 = c4996M51033;
                                c42149 = c42144;
                                c49966 = c4996;
                                i14 = i10;
                                zArr3 = zArr2;
                            }
                            if (z) {
                                c49967 = c49965;
                                c49968 = c49966;
                                c49969 = c49964;
                                i15 = 0;
                                i16 = 8;
                                z8 = true;
                                i17 = 1;
                            }
                            if (this.f10186 == 2) {
                            }
                            if (i17 == 0) {
                                c499610 = c49967;
                                c499611 = c49968;
                            }
                            if (z5) {
                            }
                            if (c42148.m9147()) {
                            }
                            this.f10206 = false;
                            this.f10197 = false;
                        }
                        this.f10205 = 0;
                        i8 = (int) (f * i26);
                        if (i31 != 3) {
                            c42145 = c4214;
                            i9 = i28;
                            i10 = 4;
                            z5 = false;
                            i11 = i19;
                            int[] iArr52 = this.f10171;
                            iArr52[0] = i10;
                            iArr52[1] = i11;
                            if (!z5) {
                            }
                            if (z5) {
                            }
                            if (iArr[0] == 2) {
                            }
                            if (z6) {
                            }
                            c42146 = this.f10145;
                            boolean z1522 = !c42146.m9147();
                            char c22 = '\b';
                            boolean z1622 = zArr4[0];
                            boolean z1722 = zArr4[1];
                            i13 = this.f10193;
                            iArr2 = this.f10169;
                            if (i13 == 2) {
                            }
                            if (z) {
                            }
                            if (this.f10186 == 2) {
                            }
                            if (i17 == 0) {
                            }
                            if (z5) {
                            }
                            if (c42148.m9147()) {
                            }
                            this.f10206 = false;
                            this.f10197 = false;
                        }
                    }
                    i10 = i35;
                    c42145 = c4214;
                    i9 = i28;
                    z5 = true;
                    i11 = i19;
                    int[] iArr522 = this.f10171;
                    iArr522[0] = i10;
                    iArr522[1] = i11;
                    if (!z5) {
                    }
                    if (z5) {
                    }
                    if (iArr[0] == 2) {
                    }
                    if (z6) {
                    }
                    c42146 = this.f10145;
                    boolean z15222 = !c42146.m9147();
                    char c222 = '\b';
                    boolean z16222 = zArr4[0];
                    boolean z17222 = zArr4[1];
                    i13 = this.f10193;
                    iArr2 = this.f10169;
                    if (i13 == 2) {
                    }
                    if (z) {
                    }
                    if (this.f10186 == 2) {
                    }
                    if (i17 == 0) {
                    }
                    if (z5) {
                    }
                    if (c42148.m9147()) {
                    }
                    this.f10206 = false;
                    this.f10197 = false;
                }
                z5 = false;
                int[] iArr5222 = this.f10171;
                iArr5222[0] = i10;
                iArr5222[1] = i11;
                if (!z5) {
                }
                if (z5) {
                }
                if (iArr[0] == 2) {
                }
                if (z6) {
                }
                c42146 = this.f10145;
                boolean z152222 = !c42146.m9147();
                char c2222 = '\b';
                boolean z162222 = zArr4[0];
                boolean z172222 = zArr4[1];
                i13 = this.f10193;
                iArr2 = this.f10169;
                if (i13 == 2) {
                }
                if (z) {
                }
                if (this.f10186 == 2) {
                }
                if (i17 == 0) {
                }
                if (z5) {
                }
                if (c42148.m9147()) {
                }
                this.f10206 = false;
                this.f10197 = false;
            }
            c42144 = c421413;
            c4996 = c4996M51034;
            c42145 = c4214;
            i9 = i28;
            i10 = i33;
            i11 = i34;
            z5 = false;
            int[] iArr52222 = this.f10171;
            iArr52222[0] = i10;
            iArr52222[1] = i11;
            if (!z5) {
            }
            if (z5) {
            }
            if (iArr[0] == 2) {
            }
            if (z6) {
            }
            c42146 = this.f10145;
            boolean z1522222 = !c42146.m9147();
            char c22222 = '\b';
            boolean z1622222 = zArr4[0];
            boolean z1722222 = zArr4[1];
            i13 = this.f10193;
            iArr2 = this.f10169;
            if (i13 == 2) {
            }
            if (z) {
            }
            if (this.f10186 == 2) {
            }
            if (i17 == 0) {
            }
            if (z5) {
            }
            if (c42148.m9147()) {
            }
            this.f10206 = false;
            this.f10197 = false;
        }
        i = 0;
        i2 = i;
        i3 = i2;
        i4 = this.f10174;
        boolean[] zArr42 = this.f10185;
        int i232 = i2;
        if (i4 != 8) {
        }
        z2 = this.f10206;
        if (!z2) {
            if (z2) {
            }
            if (this.f10197) {
            }
            if (this.f10206) {
                ?? r122 = i;
                this.f10206 = r122;
                this.f10197 = r122;
                return;
            }
        }
        zArr = this.f10211;
        if (z) {
            c4214 = c421414;
            zArr2 = zArr;
        }
        if (this.f10159 == null) {
        }
        i7 = this.f10150;
        i8 = this.f10165;
        if (i7 >= i8) {
        }
        int i262 = this.f10148;
        C4214 c4214152 = c42143;
        int i272 = this.f10156;
        if (i262 >= i272) {
        }
        iArr = this.f10196;
        int i292 = iArr[0];
        int i302 = i6;
        if (i292 == 3) {
        }
        int i312 = iArr[1];
        if (i312 == 3) {
        }
        int i322 = this.f10180;
        this.f10205 = i322;
        f = this.f10172;
        this.f10154 = f;
        int i332 = this.f10160;
        int i342 = this.f10157;
        if (f <= 0.0f) {
        }
        c4996 = c4996M51034;
        c42145 = c4214;
        i9 = i28;
        i10 = i332;
        i11 = i342;
        z5 = false;
        int[] iArr522222 = this.f10171;
        iArr522222[0] = i10;
        iArr522222[1] = i11;
        if (!z5) {
        }
        if (z5) {
        }
        if (iArr[0] == 2) {
        }
        if (z6) {
        }
        c42146 = this.f10145;
        boolean z15222222 = !c42146.m9147();
        char c222222 = '\b';
        boolean z16222222 = zArr42[0];
        boolean z17222222 = zArr42[1];
        i13 = this.f10193;
        iArr2 = this.f10169;
        if (i13 == 2) {
        }
        if (z) {
        }
        if (this.f10186 == 2) {
        }
        if (i17 == 0) {
        }
        if (z5) {
        }
        if (c42148.m9147()) {
        }
        this.f10206 = false;
        this.f10197 = false;
    }

    /* JADX INFO: renamed from: ʽᵡᵢᵾ, reason: contains not printable characters */
    public void mo6350(boolean z, boolean z2) {
        int i;
        int i2;
        C4503 c4503 = this.f10207;
        boolean z3 = z & c4503.f17084;
        C0295 c0295 = this.f10191;
        boolean z4 = z2 & c0295.f17084;
        int i3 = c4503.f17079.f6563;
        int i4 = c0295.f17079.f6563;
        int i5 = c4503.f17086.f6563;
        int i6 = c0295.f17086.f6563;
        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.f10147 = i3;
        }
        if (z4) {
            this.f10188 = i4;
        }
        if (this.f10174 == 8) {
            this.f10150 = 0;
            this.f10148 = 0;
            return;
        }
        int[] iArr = this.f10196;
        if (z3) {
            if (iArr[0] == 1 && i8 < (i2 = this.f10150)) {
                i8 = i2;
            }
            this.f10150 = i8;
            int i10 = this.f10165;
            if (i8 < i10) {
                this.f10150 = i10;
            }
        }
        if (z4) {
            if (iArr[1] == 1 && i9 < (i = this.f10148)) {
                i9 = i;
            }
            this.f10148 = i9;
            int i11 = this.f10156;
            if (i9 < i11) {
                this.f10148 = i11;
            }
        }
    }

    /* JADX INFO: renamed from: ʿٴˇ, reason: contains not printable characters */
    public void mo6351(ᵣˊˈᵪ r1) {
        this.f10151.m9154();
        this.f10149.m9154();
        this.f10164.m9154();
        this.f10161.m9154();
        this.f10181.m9154();
        this.f10145.m9154();
        this.f10202.m9154();
        this.f10175.m9154();
    }

    /* JADX INFO: renamed from: ˀᵭ, reason: contains not printable characters */
    public final void m6352(int i, int i2) {
        if (this.f10206) {
            return;
        }
        this.f10151.m9150(i);
        this.f10164.m9150(i2);
        this.f10147 = i;
        this.f10150 = i2 - i;
        this.f10206 = true;
    }

    /* JADX INFO: renamed from: ˁˌᵩ, reason: contains not printable characters */
    public final void m6353(int i) {
        this.f10189 = i;
        this.f10176 = i > 0;
    }

    /* JADX INFO: renamed from: ˈᵲᵢ */
    public boolean mo1272() {
        if (this.f10197) {
            return true;
        }
        return this.f10149.f16030 && this.f10161.f16030;
    }

    /* JADX INFO: renamed from: ˈⁱᵡ */
    public void mo1273(C1873 c1873, boolean z) {
        int i;
        int i2;
        C0295 c0295;
        C4503 c4503;
        c1873.getClass();
        int iM5087 = C1873.m5087(this.f10151);
        int iM50872 = C1873.m5087(this.f10149);
        int iM50873 = C1873.m5087(this.f10164);
        int iM50874 = C1873.m5087(this.f10161);
        if (z && (c4503 = this.f10207) != null) {
            C1649 c1649 = c4503.f17079;
            if (c1649.f6561) {
                C1649 c16492 = c4503.f17086;
                if (c16492.f6561) {
                    iM5087 = c1649.f6563;
                    iM50873 = c16492.f6563;
                }
            }
        }
        if (z && (c0295 = this.f10191) != null) {
            C1649 c16493 = c0295.f17079;
            if (c16493.f6561) {
                C1649 c16494 = c0295.f17086;
                if (c16494.f6561) {
                    iM50872 = c16493.f6563;
                    iM50874 = c16494.f6563;
                }
            }
        }
        int i3 = iM50874 - iM50872;
        if (iM50873 - iM5087 < 0 || i3 < 0 || iM5087 == Integer.MIN_VALUE || iM5087 == Integer.MAX_VALUE || iM50872 == Integer.MIN_VALUE || iM50872 == Integer.MAX_VALUE || iM50873 == Integer.MIN_VALUE || iM50873 == Integer.MAX_VALUE || iM50874 == Integer.MIN_VALUE || iM50874 == Integer.MAX_VALUE) {
            iM5087 = 0;
            iM50872 = 0;
            iM50873 = 0;
            iM50874 = 0;
        }
        int i4 = iM50873 - iM5087;
        int i5 = iM50874 - iM50872;
        this.f10147 = iM5087;
        this.f10188 = iM50872;
        if (this.f10174 == 8) {
            this.f10150 = 0;
            this.f10148 = 0;
            return;
        }
        int[] iArr = this.f10196;
        int i6 = iArr[0];
        if (i6 == 1 && i4 < (i2 = this.f10150)) {
            i4 = i2;
        }
        if (iArr[1] == 1 && i5 < (i = this.f10148)) {
            i5 = i;
        }
        this.f10150 = i4;
        this.f10148 = i5;
        int i7 = this.f10156;
        if (i5 < i7) {
            this.f10148 = i7;
        }
        int i8 = this.f10165;
        if (i4 < i8) {
            this.f10150 = i8;
        }
        int i9 = this.f10168;
        if (i9 > 0 && i6 == 3) {
            this.f10150 = Math.min(this.f10150, i9);
        }
        int i10 = this.f10192;
        if (i10 > 0 && iArr[1] == 3) {
            this.f10148 = Math.min(this.f10148, i10);
        }
        int i11 = this.f10150;
        if (i4 != i11) {
            this.f10163 = i11;
        }
        int i12 = this.f10148;
        if (i5 != i12) {
            this.f10210 = i12;
        }
    }

    /* JADX INFO: renamed from: ˉᵲ, reason: contains not printable characters */
    public final int m6354() {
        C2622 c2622 = this.f10159;
        return (c2622 == null || !(c2622 instanceof C3100)) ? this.f10188 : ((C3100) c2622).f11852 + this.f10188;
    }

    /* JADX INFO: renamed from: ˊᵙᵾᵲ, reason: contains not printable characters */
    public final int m6355() {
        C2622 c2622 = this.f10159;
        return (c2622 == null || !(c2622 instanceof C3100)) ? this.f10147 : ((C3100) c2622).f11849 + this.f10147;
    }

    /* JADX INFO: renamed from: ˊᵡᵗʨ, reason: contains not printable characters */
    public final void m6356(int i) {
        this.f10148 = i;
        int i2 = this.f10156;
        if (i < i2) {
            this.f10148 = i2;
        }
    }

    /* JADX INFO: renamed from: ˊᵨᵧ, reason: contains not printable characters */
    public final boolean m6357(int i, int i2) {
        C4214 c4214;
        C4214 c42142;
        C4214 c42143;
        C4214 c42144;
        if (i == 0) {
            C4214 c42145 = this.f10151;
            C4214 c42146 = c42145.f16036;
            if (c42146 == null || !c42146.f16030 || (c42144 = (c42143 = this.f10164).f16036) == null || !c42144.f16030) {
                return false;
            }
            return (c42144.m9155() - c42143.m9149()) - (c42145.m9149() + c42145.f16036.m9155()) >= i2;
        }
        C4214 c42147 = this.f10149;
        C4214 c42148 = c42147.f16036;
        if (c42148 == null || !c42148.f16030 || (c42142 = (c4214 = this.f10161).f16036) == null || !c42142.f16030) {
            return false;
        }
        return (c42142.m9155() - c4214.m9149()) - (c42147.m9149() + c42147.f16036.m9155()) >= i2;
    }

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public final void m6358() {
        if (this.f10207 == null) {
            C4503 c4503 = new C4503(this);
            c4503.f17079.f6559 = 4;
            c4503.f17086.f6559 = 5;
            c4503.f17087 = 0;
            this.f10207 = c4503;
        }
        if (this.f10191 == null) {
            C0295 c0295 = new C0295(this);
            C1649 c1649 = new C1649(c0295);
            c0295.f1962 = c1649;
            c0295.f1961 = null;
            c0295.f17079.f6559 = 6;
            c0295.f17086.f6559 = 7;
            c1649.f6559 = 8;
            c0295.f17087 = 1;
            this.f10191 = c0295;
        }
    }

    /* JADX INFO: renamed from: ˊᵾʽʼ, reason: contains not printable characters */
    public final void m6359(int i, int i2) {
        if (this.f10197) {
            return;
        }
        this.f10149.m9150(i);
        this.f10161.m9150(i2);
        this.f10188 = i;
        this.f10148 = i2 - i;
        if (this.f10176) {
            this.f10181.m9150(i + this.f10189);
        }
        this.f10197 = true;
    }

    /* JADX INFO: renamed from: ˋˈ, reason: contains not printable characters */
    public void mo6360(StringBuilder sb) {
        sb.append("  " + this.f10200 + ":{\n");
        StringBuilder sb2 = new StringBuilder("    actualWidth:");
        sb2.append(this.f10150);
        sb.append(sb2.toString());
        sb.append("\n");
        sb.append("    actualHeight:" + this.f10148);
        sb.append("\n");
        sb.append("    actualLeft:" + this.f10147);
        sb.append("\n");
        sb.append("    actualTop:" + this.f10188);
        sb.append("\n");
        m6347(sb, "left", this.f10151);
        m6347(sb, "top", this.f10149);
        m6347(sb, "right", this.f10164);
        m6347(sb, "bottom", this.f10161);
        m6347(sb, "baseline", this.f10181);
        m6347(sb, "centerX", this.f10202);
        m6347(sb, "centerY", this.f10175);
        int i = this.f10150;
        int i2 = this.f10165;
        int[] iArr = this.f10169;
        int i3 = iArr[0];
        int i4 = this.f10162;
        int i5 = this.f10160;
        float f = this.f10183;
        int[] iArr2 = this.f10196;
        int i6 = iArr2[0];
        float[] fArr = this.f10195;
        float f2 = fArr[0];
        m6349(sb, "    width", i, i2, i3, i4, i5, f, i6);
        int i7 = this.f10148;
        int i8 = this.f10156;
        int i9 = iArr[1];
        int i10 = this.f10177;
        int i11 = this.f10157;
        float f3 = this.f10198;
        int i12 = iArr2[1];
        float f4 = fArr[1];
        m6349(sb, "    height", i7, i8, i9, i10, i11, f3, i12);
        float f5 = this.f10172;
        int i13 = this.f10180;
        if (f5 != 0.0f) {
            sb.append("    dimensionRatio");
            sb.append(" :  [");
            sb.append(f5);
            sb.append(",");
            sb.append(i13);
            sb.append("");
            sb.append("],\n");
        }
        m6346(sb, "    horizontalBias", this.f10152, 0.5f);
        m6346(sb, "    verticalBias", this.f10167, 0.5f);
        m6348(this.f10194, 0, "    horizontalChainStyle", sb);
        m6348(this.f10203, 0, "    verticalChainStyle", sb);
        sb.append("  }");
    }

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final void m6361(int i, int i2, int i3, int i4, C2622 c2622) {
        mo1278(i).m9146(c2622.mo1278(i2), i3, i4, true);
    }

    /* JADX INFO: renamed from: ˌᵨʠᵫ, reason: contains not printable characters */
    public void mo6362() {
        this.f10151.m9151();
        this.f10149.m9151();
        this.f10164.m9151();
        this.f10161.m9151();
        this.f10181.m9151();
        this.f10202.m9151();
        this.f10175.m9151();
        this.f10145.m9151();
        this.f10159 = null;
        this.f10208 = Float.NaN;
        this.f10150 = 0;
        this.f10148 = 0;
        this.f10172 = 0.0f;
        this.f10180 = -1;
        this.f10147 = 0;
        this.f10188 = 0;
        this.f10189 = 0;
        this.f10165 = 0;
        this.f10156 = 0;
        this.f10152 = 0.5f;
        this.f10167 = 0.5f;
        int[] iArr = this.f10196;
        iArr[0] = 1;
        iArr[1] = 1;
        this.f10182 = null;
        this.f10174 = 0;
        this.f10194 = 0;
        this.f10203 = 0;
        float[] fArr = this.f10195;
        fArr[0] = -1.0f;
        fArr[1] = -1.0f;
        this.f10193 = -1;
        this.f10186 = -1;
        int[] iArr2 = this.f10169;
        iArr2[0] = Integer.MAX_VALUE;
        iArr2[1] = Integer.MAX_VALUE;
        this.f10160 = 0;
        this.f10157 = 0;
        this.f10183 = 1.0f;
        this.f10198 = 1.0f;
        this.f10168 = Integer.MAX_VALUE;
        this.f10192 = Integer.MAX_VALUE;
        this.f10162 = 0;
        this.f10177 = 0;
        this.f10205 = -1;
        this.f10154 = 1.0f;
        boolean[] zArr = this.f10211;
        zArr[0] = true;
        zArr[1] = true;
        this.f10146 = false;
        boolean[] zArr2 = this.f10185;
        zArr2[0] = false;
        zArr2[1] = false;
        this.f10204 = true;
        int[] iArr3 = this.f10171;
        iArr3[0] = 0;
        iArr3[1] = 0;
        this.f10163 = -1;
        this.f10210 = -1;
    }

    /* JADX WARN: Removed duplicated region for block: B:29:0x003a A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:30:0x003b A[RETURN] */
    /* JADX INFO: renamed from: ˏːˆ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final boolean m6363(int i) {
        if (i == 0) {
            return (this.f10151.f16036 != null ? 1 : 0) + (this.f10164.f16036 != null ? 1 : 0) < 2;
        }
        if ((this.f10149.f16036 != null ? 1 : 0) + (this.f10161.f16036 != null ? 1 : 0) + (this.f10181.f16036 != null ? 1 : 0) < 2) {
        }
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ */
    public boolean mo1274() {
        return this.f10174 != 8;
    }

    /* JADX INFO: renamed from: ˑʢ, reason: contains not printable characters */
    public final void m6364(int i) {
        this.f10150 = i;
        int i2 = this.f10165;
        if (i < i2) {
            this.f10150 = i2;
        }
    }

    /* JADX INFO: renamed from: ˑˊᵲ, reason: contains not printable characters */
    public final void m6365() {
        this.f10206 = false;
        this.f10197 = false;
        this.f10184 = false;
        this.f10166 = false;
        ArrayList arrayList = this.f10190;
        int size = arrayList.size();
        for (int i = 0; i < size; i++) {
            C4214 c4214 = (C4214) arrayList.get(i);
            c4214.f16030 = false;
            c4214.f16028 = 0;
        }
    }

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final boolean m6366() {
        C4214 c4214 = this.f10151;
        C4214 c42142 = c4214.f16036;
        if (c42142 != null && c42142.f16036 == c4214) {
            return true;
        }
        C4214 c42143 = this.f10164;
        C4214 c42144 = c42143.f16036;
        return c42144 != null && c42144.f16036 == c42143;
    }

    /* JADX INFO: renamed from: ᵛˑﹳ, reason: contains not printable characters */
    public final void m6367(int i) {
        this.f10196[0] = i;
    }

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final boolean m6368(int i) {
        C4214 c4214;
        C4214 c42142;
        int i2 = i * 2;
        C4214[] c4214Arr = this.f10155;
        C4214 c42143 = c4214Arr[i2];
        C4214 c42144 = c42143.f16036;
        return (c42144 == null || c42144.f16036 == c42143 || (c42142 = (c4214 = c4214Arr[i2 + 1]).f16036) == null || c42142.f16036 != c4214) ? false : true;
    }

    /* JADX INFO: renamed from: ᵝᵶ, reason: contains not printable characters */
    public final C2622 m6369(int i) {
        C4214 c4214;
        C4214 c42142;
        if (i != 0) {
            if (i == 1 && (c42142 = (c4214 = this.f10149).f16036) != null && c42142.f16036 == c4214) {
                return c42142.f16034;
            }
            return null;
        }
        C4214 c42143 = this.f10151;
        C4214 c42144 = c42143.f16036;
        if (c42144 == null || c42144.f16036 != c42143) {
            return null;
        }
        return c42144.f16034;
    }

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public final void m6370(int i, C2622 c2622, int i2, int i3) {
        boolean z;
        if (i == 7) {
            if (i2 != 7) {
                if (i2 == 2 || i2 == 4) {
                    m6370(2, c2622, i2, 0);
                    m6370(4, c2622, i2, 0);
                    mo1278(7).m9152(c2622.mo1278(i2), 0);
                    return;
                } else {
                    if (i2 == 3 || i2 == 5) {
                        m6370(3, c2622, i2, 0);
                        m6370(5, c2622, i2, 0);
                        mo1278(7).m9152(c2622.mo1278(i2), 0);
                        return;
                    }
                    return;
                }
            }
            C4214 c4214Mo1278 = mo1278(2);
            C4214 c4214Mo12782 = mo1278(4);
            C4214 c4214Mo12783 = mo1278(3);
            C4214 c4214Mo12784 = mo1278(5);
            boolean z2 = true;
            if ((c4214Mo1278 == null || !c4214Mo1278.m9147()) && (c4214Mo12782 == null || !c4214Mo12782.m9147())) {
                m6370(2, c2622, 2, 0);
                m6370(4, c2622, 4, 0);
                z = true;
            } else {
                z = false;
            }
            if ((c4214Mo12783 == null || !c4214Mo12783.m9147()) && (c4214Mo12784 == null || !c4214Mo12784.m9147())) {
                m6370(3, c2622, 3, 0);
                m6370(5, c2622, 5, 0);
            } else {
                z2 = false;
            }
            if (z && z2) {
                mo1278(7).m9152(c2622.mo1278(7), 0);
                return;
            } else if (z) {
                mo1278(8).m9152(c2622.mo1278(8), 0);
                return;
            } else {
                if (z2) {
                    mo1278(9).m9152(c2622.mo1278(9), 0);
                    return;
                }
                return;
            }
        }
        if (i == 8 && (i2 == 2 || i2 == 4)) {
            C4214 c4214Mo12785 = mo1278(2);
            C4214 c4214Mo12786 = c2622.mo1278(i2);
            C4214 c4214Mo12787 = mo1278(4);
            c4214Mo12785.m9152(c4214Mo12786, 0);
            c4214Mo12787.m9152(c4214Mo12786, 0);
            mo1278(8).m9152(c4214Mo12786, 0);
            return;
        }
        if (i == 9 && (i2 == 3 || i2 == 5)) {
            C4214 c4214Mo12788 = c2622.mo1278(i2);
            mo1278(3).m9152(c4214Mo12788, 0);
            mo1278(5).m9152(c4214Mo12788, 0);
            mo1278(9).m9152(c4214Mo12788, 0);
            return;
        }
        if (i == 8 && i2 == 8) {
            mo1278(2).m9152(c2622.mo1278(2), 0);
            mo1278(4).m9152(c2622.mo1278(4), 0);
            mo1278(8).m9152(c2622.mo1278(i2), 0);
            return;
        }
        if (i == 9 && i2 == 9) {
            mo1278(3).m9152(c2622.mo1278(3), 0);
            mo1278(5).m9152(c2622.mo1278(5), 0);
            mo1278(9).m9152(c2622.mo1278(i2), 0);
            return;
        }
        C4214 c4214Mo12789 = mo1278(i);
        C4214 c4214Mo127810 = c2622.mo1278(i2);
        if (c4214Mo12789.m9156(c4214Mo127810)) {
            if (i == 6) {
                C4214 c4214Mo127811 = mo1278(3);
                C4214 c4214Mo127812 = mo1278(5);
                if (c4214Mo127811 != null) {
                    c4214Mo127811.m9151();
                }
                if (c4214Mo127812 != null) {
                    c4214Mo127812.m9151();
                }
            } else if (i == 3 || i == 5) {
                C4214 c4214Mo127813 = mo1278(6);
                if (c4214Mo127813 != null) {
                    c4214Mo127813.m9151();
                }
                C4214 c4214Mo127814 = mo1278(7);
                if (c4214Mo127814.f16036 != c4214Mo127810) {
                    c4214Mo127814.m9151();
                }
                C4214 c4214M9157 = mo1278(i).m9157();
                C4214 c4214Mo127815 = mo1278(9);
                if (c4214Mo127815.m9147()) {
                    c4214M9157.m9151();
                    c4214Mo127815.m9151();
                }
            } else if (i == 2 || i == 4) {
                C4214 c4214Mo127816 = mo1278(7);
                if (c4214Mo127816.f16036 != c4214Mo127810) {
                    c4214Mo127816.m9151();
                }
                C4214 c4214M91572 = mo1278(i).m9157();
                C4214 c4214Mo127817 = mo1278(8);
                if (c4214Mo127817.m9147()) {
                    c4214M91572.m9151();
                    c4214Mo127817.m9151();
                }
            }
            c4214Mo12789.m9152(c4214Mo127810, i3);
        }
    }

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public final boolean m6371() {
        C4214 c4214 = this.f10149;
        C4214 c42142 = c4214.f16036;
        if (c42142 != null && c42142.f16036 == c4214) {
            return true;
        }
        C4214 c42143 = this.f10161;
        C4214 c42144 = c42143.f16036;
        return c42144 != null && c42144.f16036 == c42143;
    }

    /* JADX INFO: renamed from: ᵮᵣᵗˈ, reason: contains not printable characters */
    public final C2622 m6372(int i) {
        C4214 c4214;
        C4214 c42142;
        if (i != 0) {
            if (i == 1 && (c42142 = (c4214 = this.f10161).f16036) != null && c42142.f16036 == c4214) {
                return c42142.f16034;
            }
            return null;
        }
        C4214 c42143 = this.f10164;
        C4214 c42144 = c42143.f16036;
        if (c42144 == null || c42144.f16036 != c42143) {
            return null;
        }
        return c42144.f16034;
    }

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public final boolean m6373() {
        return this.f10204 && this.f10174 != 8;
    }

    /* JADX INFO: renamed from: ᵱʡˏ, reason: contains not printable characters */
    public final int m6374() {
        if (this.f10174 == 8) {
            return 0;
        }
        return this.f10150;
    }

    /* JADX INFO: renamed from: ᵱᵽʡᵚ, reason: contains not printable characters */
    public final int m6375(int i) {
        int[] iArr = this.f10196;
        if (i == 0) {
            return iArr[0];
        }
        if (i == 1) {
            return iArr[1];
        }
        return 0;
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final void m6376(C3100 c3100, C1873 c1873, HashSet hashSet, int i, boolean z) {
        if (z) {
            if (!hashSet.contains(this)) {
                return;
            }
            ᵬʕˎʽ.ʽˈˋ(c3100, c1873, this);
            hashSet.remove(this);
            mo1271(c1873, c3100.m7196(64));
        }
        if (i == 0) {
            HashSet hashSet2 = this.f10151.f16032;
            if (hashSet2 != null) {
                Iterator it = hashSet2.iterator();
                while (it.hasNext()) {
                    ((C4214) it.next()).f16034.m6376(c3100, c1873, hashSet, i, true);
                }
            }
            HashSet hashSet3 = this.f10164.f16032;
            if (hashSet3 != null) {
                Iterator it2 = hashSet3.iterator();
                while (it2.hasNext()) {
                    ((C4214) it2.next()).f16034.m6376(c3100, c1873, hashSet, i, true);
                }
                return;
            }
            return;
        }
        HashSet hashSet4 = this.f10149.f16032;
        if (hashSet4 != null) {
            Iterator it3 = hashSet4.iterator();
            while (it3.hasNext()) {
                ((C4214) it3.next()).f16034.m6376(c3100, c1873, hashSet, i, true);
            }
        }
        HashSet hashSet5 = this.f10161.f16032;
        if (hashSet5 != null) {
            Iterator it4 = hashSet5.iterator();
            while (it4.hasNext()) {
                ((C4214) it4.next()).f16034.m6376(c3100, c1873, hashSet, i, true);
            }
        }
        HashSet hashSet6 = this.f10181.f16032;
        if (hashSet6 != null) {
            Iterator it5 = hashSet6.iterator();
            while (it5.hasNext()) {
                ((C4214) it5.next()).f16034.m6376(c3100, c1873, hashSet, i, true);
            }
        }
    }

    /* JADX INFO: renamed from: ᵵᵬᵽ, reason: contains not printable characters */
    public final void m6377(int i) {
        this.f10196[1] = i;
    }

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public final void m6378(C1873 c1873) {
        c1873.m5103(this.f10151);
        c1873.m5103(this.f10149);
        c1873.m5103(this.f10164);
        c1873.m5103(this.f10161);
        if (this.f10189 > 0) {
            c1873.m5103(this.f10181);
        }
    }

    /* JADX INFO: renamed from: ᵶˇᵱ */
    public boolean mo1277() {
        if (this.f10206) {
            return true;
        }
        return this.f10151.f16030 && this.f10164.f16030;
    }

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public final int m6379() {
        if (this.f10174 == 8) {
            return 0;
        }
        return this.f10148;
    }

    /* JADX WARN: Removed duplicated region for block: B:217:0x03bc A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:220:0x03c5  */
    /* JADX WARN: Removed duplicated region for block: B:222:0x03c9  */
    /* JADX WARN: Removed duplicated region for block: B:231:0x0402  */
    /* JADX WARN: Removed duplicated region for block: B:240:0x041f  */
    /* JADX WARN: Removed duplicated region for block: B:257:0x0452  */
    /* JADX WARN: Removed duplicated region for block: B:259:0x0458  */
    /* JADX WARN: Removed duplicated region for block: B:287:0x0493 A[PHI: r0
      0x0493: PHI (r0v15 int) = (r0v14 int), (r0v19 int), (r0v19 int), (r0v19 int) binds: [B:280:0x0483, B:282:0x0489, B:283:0x048b, B:285:0x048f] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARN: Removed duplicated region for block: B:290:0x04a5  */
    /* JADX WARN: Removed duplicated region for block: B:303:0x04c6  */
    /* JADX WARN: Removed duplicated region for block: B:308:0x04d4 A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:337:0x0521  */
    /* JADX WARN: Removed duplicated region for block: B:345:? A[ADDED_TO_REGION, RETURN, SYNTHETIC] */
    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void m6380(C1873 c1873, boolean z, boolean z2, boolean z3, boolean z4, C4996 c4996, C4996 c49962, int i, boolean z5, C4214 c4214, C4214 c42142, int i2, int i3, int i4, int i5, float f, boolean z6, boolean z7, boolean z8, boolean z9, boolean z10, int i6, int i7, int i8, int i9, float f2, boolean z11) {
        boolean z12;
        boolean z13;
        int iMin;
        boolean z14;
        boolean z15;
        int i10;
        int i11;
        boolean z16;
        C4996 c4996M5103;
        C4996 c4996M51032;
        C4214 c42143;
        C4996 c49963;
        boolean z17;
        int i12;
        C4996 c49964;
        C4996 c49965;
        C4996 c49966;
        C4996 c49967;
        int i13;
        int i14;
        int i15;
        boolean z18;
        boolean z19;
        boolean z20;
        boolean z21;
        C2622 c2622;
        int i16;
        int i17;
        C4214 c42144;
        boolean z22;
        int iMin2;
        boolean z23;
        int i18;
        HashSet hashSet;
        boolean z24;
        int i19;
        int i20;
        int i21;
        int i22;
        int i23;
        boolean z25;
        boolean z26;
        int i24;
        C1873 c18732 = c1873;
        int i25 = i8;
        int i26 = i9;
        C4996 c4996M51033 = c18732.m5103(c4214);
        C4996 c4996M51034 = c18732.m5103(c42142);
        C4996 c4996M51035 = c18732.m5103(c4214.f16036);
        C4996 c4996M51036 = c18732.m5103(c42142.f16036);
        boolean zM9147 = c4214.m9147();
        boolean zM91472 = c42142.m9147();
        boolean zM91473 = this.f10145.m9147();
        int i27 = zM91472 ? (zM9147 ? 1 : 0) + 1 : zM9147 ? 1 : 0;
        if (zM91473) {
            i27++;
        }
        int i28 = i27;
        int i29 = z6 ? 3 : i6;
        int iM8218 = AbstractC3653.m8218(i);
        boolean z27 = (iM8218 == 0 || iM8218 == 1 || iM8218 != 2 || i29 == 4) ? false : true;
        int i30 = this.f10163;
        if (i30 == -1 || !z) {
            i30 = i3;
            z12 = z27;
        } else {
            this.f10163 = -1;
            z12 = false;
        }
        int i31 = this.f10210;
        if (i31 == -1 || z) {
            z13 = z12;
        } else {
            this.f10210 = -1;
            i30 = i31;
            z13 = false;
        }
        boolean z28 = z13;
        if (this.f10174 == 8) {
            z14 = false;
            iMin = 0;
        } else {
            iMin = i30;
            z14 = z28;
        }
        if (z11) {
            if (!zM9147 && !zM91472 && !zM91473) {
                c18732.m5104(c4996M51033, i2);
            } else if (zM9147 && !zM91472) {
                z15 = z14;
                i10 = 8;
                c18732.m5096(c4996M51033, c4996M51035, c4214.m9149(), 8);
            }
            z15 = z14;
            i10 = 8;
        } else {
            z15 = z14;
            i10 = 8;
        }
        if (z15) {
            if (i28 == 2 || z6 || !(i29 == 1 || i29 == 0)) {
                if (i25 == -2) {
                    i25 = iMin;
                }
                if (i26 == -2) {
                    i26 = iMin;
                }
                if (iMin > 0 && i29 != 1) {
                    iMin = 0;
                }
                if (i25 > 0) {
                    c18732.m5106(c4996M51034, c4996M51033, i25, 8);
                    iMin = Math.max(iMin, i25);
                }
                if (i26 > 0) {
                    if (!z2 || i29 != 1) {
                        c18732.m5102(c4996M51034, c4996M51033, i26, 8);
                    }
                    iMin = Math.min(iMin, i26);
                }
                if (i29 == 1) {
                    if (z2) {
                        c18732.m5096(c4996M51034, c4996M51033, iMin, 8);
                    } else if (z8) {
                        c18732.m5096(c4996M51034, c4996M51033, iMin, 5);
                        c18732.m5102(c4996M51034, c4996M51033, iMin, 8);
                    } else {
                        c18732.m5096(c4996M51034, c4996M51033, iMin, 5);
                        c18732.m5102(c4996M51034, c4996M51033, iMin, 8);
                    }
                } else if (i29 == 2) {
                    int i32 = c4214.f16031;
                    if (i32 == 3 || i32 == 5) {
                        c4996M5103 = c18732.m5103(this.f10159.mo1278(3));
                        c4996M51032 = c18732.m5103(this.f10159.mo1278(5));
                    } else {
                        c4996M5103 = c18732.m5103(this.f10159.mo1278(2));
                        c4996M51032 = c18732.m5103(this.f10159.mo1278(4));
                    }
                    C5184 c5184M5098 = c18732.m5098();
                    int i33 = i25;
                    c5184M5098.f19516.m9928(c4996M51034, -1.0f);
                    c5184M5098.f19516.m9928(c4996M51033, 1.0f);
                    c5184M5098.f19516.m9928(c4996M51032, f2);
                    c5184M5098.f19516.m9928(c4996M5103, -f2);
                    c18732.m5093(c5184M5098);
                    if (z2) {
                        z15 = false;
                    }
                    z16 = z4;
                    i11 = i33;
                } else {
                    i11 = i25;
                    z16 = true;
                }
            } else {
                int iMax = Math.max(i25, iMin);
                if (i26 > 0) {
                    iMax = Math.min(i26, iMax);
                }
                c18732.m5096(c4996M51034, c4996M51033, iMax, 8);
                z16 = z4;
                i11 = i25;
                z15 = false;
            }
            if (z11 || z8) {
                boolean z29 = z16;
                if (i28 >= 2 && z2 && z29) {
                    c18732.m5106(c4996M51033, c4996, 0, 8);
                    C4214 c42145 = this.f10181;
                    boolean z30 = z || c42145.f16036 == null;
                    if (!z && (c42143 = c42145.f16036) != null) {
                        C2622 c26222 = c42143.f16034;
                        if (c26222.f10172 != 0.0f) {
                            int[] iArr = c26222.f10196;
                            z30 = iArr[0] == 3 && iArr[1] == 3;
                        }
                    }
                    if (z30) {
                        c18732.m5106(c49962, c4996M51034, 0, 8);
                        return;
                    }
                    return;
                }
                return;
            }
            if (!zM9147 && !zM91472 && !zM91473) {
                c42144 = c42142;
                c49966 = c4996M51034;
                z17 = z16;
                c49963 = c4996M51036;
            } else if (!zM9147 || zM91472) {
                if (zM9147 || !zM91472) {
                    c49963 = c4996M51036;
                    if (zM9147 && zM91472) {
                        C2622 c26223 = c4214.f16036.f16034;
                        C2622 c26224 = c42142.f16036.f16034;
                        z17 = z16;
                        C2622 c26225 = this.f10159;
                        int i34 = 6;
                        if (z15) {
                            if (i29 == 0) {
                                if (i26 != 0 || i11 != 0) {
                                    i22 = 5;
                                    i23 = 5;
                                    z25 = true;
                                    z26 = false;
                                    z19 = true;
                                } else if (c4996M51035.f18941 && c49963.f18941) {
                                    c18732.m5096(c4996M51033, c4996M51035, c4214.m9149(), 8);
                                    c18732.m5096(c4996M51034, c49963, -c42142.m9149(), 8);
                                    return;
                                } else {
                                    i22 = 8;
                                    i23 = 8;
                                    z25 = false;
                                    z26 = true;
                                    z19 = false;
                                }
                                if ((c26223 instanceof C3556) || (c26224 instanceof C3556)) {
                                    c18732 = c1873;
                                    i12 = i29;
                                    c49965 = c4996M51033;
                                    c49966 = c4996M51034;
                                    z20 = z26;
                                    c49964 = c49962;
                                    i14 = i22;
                                    c49967 = c4996M51035;
                                    i13 = 6;
                                    z18 = z25;
                                    i15 = 4;
                                    if (z19 || c49967 != c49963 || c26223 == c26225) {
                                        z21 = true;
                                    } else {
                                        z19 = false;
                                        z21 = false;
                                    }
                                    if (z18) {
                                        c2622 = c26224;
                                        i16 = i11;
                                        i17 = i12;
                                        c42144 = c42142;
                                        z22 = z2;
                                    } else {
                                        if (z15 || z7 || z9 || c49967 != c4996 || c49963 != c49964) {
                                            z22 = z2;
                                            z24 = z21;
                                            i19 = i14;
                                        } else {
                                            i13 = 8;
                                            z22 = false;
                                            i19 = 8;
                                            z24 = false;
                                        }
                                        C4996 c49968 = c49967;
                                        i16 = i11;
                                        i17 = i12;
                                        c2622 = c26224;
                                        c42144 = c42142;
                                        c18732.m5088(c49965, c49968, c4214.m9149(), f, c49963, c49966, c42142.m9149(), i13);
                                        c49967 = c49968;
                                        i14 = i19;
                                        z21 = z24;
                                    }
                                    if (this.f10174 != 8 && ((hashSet = c42144.f16032) == null || hashSet.size() <= 0)) {
                                        return;
                                    }
                                    if (z19) {
                                        if (z22 && c49967 != c49963 && !z15 && ((c26223 instanceof C3556) || (c2622 instanceof C3556))) {
                                            i14 = 6;
                                        }
                                        c18732.m5106(c49965, c49967, c4214.m9149(), i14);
                                        c18732.m5102(c49966, c49963, -c42144.m9149(), i14);
                                    }
                                    if (z22 || !z10 || (c26223 instanceof C3556) || (c2622 instanceof C3556) || c2622 == c26225) {
                                        iMin2 = i15;
                                        z23 = z21;
                                    } else {
                                        iMin2 = 6;
                                        i14 = 6;
                                        z23 = true;
                                    }
                                    if (z23) {
                                        if (z20 && (!z9 || z3)) {
                                            if (c26223 != c26225 && c2622 != c26225) {
                                                i34 = iMin2;
                                            }
                                            if ((c26223 instanceof C0148) || (c2622 instanceof C0148)) {
                                                i34 = 5;
                                            }
                                            if ((c26223 instanceof C3556) || (c2622 instanceof C3556)) {
                                                i34 = 5;
                                            }
                                            iMin2 = Math.max(z9 ? 5 : i34, iMin2);
                                        }
                                        if (z22) {
                                            iMin2 = Math.min(i14, iMin2);
                                            int i35 = (z6 && !z9 && (c26223 == c26225 || c2622 == c26225)) ? 4 : iMin2;
                                            c18732.m5096(c49965, c49967, c4214.m9149(), i35);
                                            c18732.m5096(c49966, c49963, -c42144.m9149(), i35);
                                        }
                                    }
                                    if (z22) {
                                        int iM9149 = c4996 == c49967 ? c4214.m9149() : 0;
                                        if (c49967 != c4996) {
                                            c18732.m5106(c49965, c4996, iM9149, 5);
                                        }
                                    }
                                    if (z22 || !z15 || i4 != 0 || i16 != 0) {
                                        i18 = 5;
                                        i24 = i18;
                                    } else if (z15 && i17 == 3) {
                                        c18732.m5106(c49966, c49965, 0, 8);
                                        i18 = 5;
                                        i24 = i18;
                                    } else {
                                        i18 = 5;
                                        c18732.m5106(c49966, c49965, 0, 5);
                                        i24 = i18;
                                    }
                                } else {
                                    c18732 = c1873;
                                    c49965 = c4996M51033;
                                    c49966 = c4996M51034;
                                    z20 = z26;
                                    i14 = i22;
                                    c49967 = c4996M51035;
                                    i13 = 6;
                                    z18 = z25;
                                    i15 = i23;
                                    i12 = i29;
                                    c49964 = c49962;
                                    if (z19) {
                                        z21 = true;
                                        if (z18) {
                                        }
                                        if (this.f10174 != 8) {
                                        }
                                        if (z19) {
                                        }
                                        if (z22) {
                                            iMin2 = i15;
                                            z23 = z21;
                                            if (z23) {
                                            }
                                            if (z22) {
                                            }
                                            if (z22) {
                                                i18 = 5;
                                                i24 = i18;
                                            }
                                        }
                                    }
                                }
                            } else {
                                if (i29 == 2) {
                                    if ((c26223 instanceof C3556) || (c26224 instanceof C3556)) {
                                        c18732 = c1873;
                                        i12 = i29;
                                        c49965 = c4996M51033;
                                        c49966 = c4996M51034;
                                        c49967 = c4996M51035;
                                        i13 = 6;
                                        i14 = 5;
                                    } else {
                                        c18732 = c1873;
                                        i12 = i29;
                                        c49965 = c4996M51033;
                                        c49966 = c4996M51034;
                                        c49967 = c4996M51035;
                                        i13 = 6;
                                        i14 = 5;
                                        i15 = 5;
                                        z18 = true;
                                        z19 = true;
                                        z20 = false;
                                        c49964 = c49962;
                                        if (z19) {
                                        }
                                    }
                                } else if (i29 == 1) {
                                    c18732 = c1873;
                                    i12 = i29;
                                    c49965 = c4996M51033;
                                    c49966 = c4996M51034;
                                    c49967 = c4996M51035;
                                    i13 = 6;
                                    i14 = 8;
                                } else if (i29 == 3) {
                                    i12 = i29;
                                    if (this.f10205 != -1) {
                                        if (z6) {
                                            if (i7 == 2 || i7 == 1) {
                                                i20 = 5;
                                                i21 = 4;
                                            } else {
                                                i20 = 8;
                                                i21 = 5;
                                            }
                                            i15 = i21;
                                            c49965 = c4996M51033;
                                            c49966 = c4996M51034;
                                            c49967 = c4996M51035;
                                            i13 = 6;
                                            z18 = true;
                                            z19 = true;
                                            z20 = true;
                                            c49964 = c49962;
                                        } else if (i26 > 0) {
                                            c18732 = c1873;
                                            c49964 = c49962;
                                            c49965 = c4996M51033;
                                            c49966 = c4996M51034;
                                            c49967 = c4996M51035;
                                            i13 = 6;
                                            i14 = 5;
                                        } else {
                                            if (i26 != 0 || i11 != 0) {
                                                c18732 = c1873;
                                                c49964 = c49962;
                                                c49965 = c4996M51033;
                                                c49966 = c4996M51034;
                                                c49967 = c4996M51035;
                                                i13 = 6;
                                                i14 = 5;
                                                i15 = 4;
                                            } else if (z9) {
                                                i20 = (c26223 == c26225 || c26224 == c26225) ? 5 : 4;
                                                c49964 = c49962;
                                                c49965 = c4996M51033;
                                                c49966 = c4996M51034;
                                                c49967 = c4996M51035;
                                                i13 = 6;
                                                i15 = 4;
                                                z18 = true;
                                                z19 = true;
                                                z20 = true;
                                            } else {
                                                c18732 = c1873;
                                                c49964 = c49962;
                                                c49965 = c4996M51033;
                                                c49966 = c4996M51034;
                                                c49967 = c4996M51035;
                                                i13 = 6;
                                                i14 = 5;
                                                i15 = 8;
                                            }
                                            z18 = true;
                                            z19 = true;
                                            z20 = true;
                                            if (z19) {
                                            }
                                        }
                                        i14 = i20;
                                        c18732 = c1873;
                                        if (z19) {
                                        }
                                    } else if (z9) {
                                        c18732 = c1873;
                                        c49964 = c49962;
                                        c49965 = c4996M51033;
                                        c49966 = c4996M51034;
                                        c49967 = c4996M51035;
                                        i14 = 8;
                                        i13 = z2 ? 5 : 4;
                                    } else {
                                        c18732 = c1873;
                                        c49964 = c49962;
                                        c49965 = c4996M51033;
                                        c49966 = c4996M51034;
                                        c49967 = c4996M51035;
                                        i14 = 8;
                                        i13 = 8;
                                    }
                                    i15 = 5;
                                    z18 = true;
                                    z19 = true;
                                    z20 = true;
                                    if (z19) {
                                    }
                                } else {
                                    i12 = i29;
                                    c18732 = c1873;
                                    c49964 = c49962;
                                    c49965 = c4996M51033;
                                    c49966 = c4996M51034;
                                    c49967 = c4996M51035;
                                    i13 = 6;
                                    i14 = 5;
                                    i15 = 4;
                                    z18 = false;
                                    z19 = false;
                                }
                                i15 = 4;
                                z18 = true;
                                z19 = true;
                                z20 = false;
                                c49964 = c49962;
                                if (z19) {
                                }
                            }
                            if (z22 && z17) {
                                int iM91492 = c42144.f16036 != null ? c42144.m9149() : 0;
                                if (c49963 != c49962) {
                                    c18732.m5106(c49962, c49966, iM91492, i24);
                                    return;
                                }
                                return;
                            }
                            return;
                        }
                        i12 = i29;
                        if (c4996M51035.f18941 && c49963.f18941) {
                            c1873.m5088(c4996M51033, c4996M51035, c4214.m9149(), f, c49963, c4996M51034, c42142.m9149(), 8);
                            if (z2 && z17) {
                                int iM91493 = c42142.f16036 != null ? c42142.m9149() : 0;
                                if (c49963 != c49962) {
                                    c1873.m5106(c49962, c4996M51034, iM91493, 5);
                                    return;
                                }
                                return;
                            }
                            return;
                        }
                        c18732 = c1873;
                        c49964 = c49962;
                        c49965 = c4996M51033;
                        c49966 = c4996M51034;
                        c49967 = c4996M51035;
                        i13 = 6;
                        i14 = 5;
                        i15 = 4;
                        z18 = true;
                        z19 = true;
                        z20 = false;
                        if (z19) {
                        }
                        if (z22) {
                            return;
                        } else {
                            return;
                        }
                    }
                } else {
                    c49963 = c4996M51036;
                    c18732.m5096(c4996M51034, c49963, -c42142.m9149(), 8);
                    if (z2) {
                        c18732.m5106(c4996M51033, c4996, 0, 5);
                        c42144 = c42142;
                        i18 = 5;
                        c49966 = c4996M51034;
                        z17 = z16;
                        z22 = z2;
                        i24 = i18;
                        if (z22) {
                        }
                    }
                }
                c42144 = c42142;
                c49966 = c4996M51034;
                z17 = z16;
            } else {
                c42144 = c42142;
                c49966 = c4996M51034;
                z17 = z16;
                c49963 = c4996M51036;
                z22 = z2;
                i24 = (z2 && (c4214.f16036.f16034 instanceof C3556)) ? 8 : 5;
                if (z22) {
                }
            }
            i18 = 5;
            z22 = z2;
            i24 = i18;
            if (z22) {
            }
        } else if (z5) {
            c18732.m5096(c4996M51034, c4996M51033, 0, 3);
            if (i4 > 0) {
                c18732.m5106(c4996M51034, c4996M51033, i4, i10);
            }
            if (i5 < Integer.MAX_VALUE) {
                c18732.m5102(c4996M51034, c4996M51033, i5, i10);
            }
        } else {
            c18732.m5096(c4996M51034, c4996M51033, iMin, i10);
        }
        z16 = z4;
        i11 = i25;
        if (z11) {
        }
        boolean z292 = z16;
        if (i28 >= 2) {
        }
    }

    /* JADX INFO: renamed from: ᵸˆˁ, reason: contains not printable characters */
    public final void m6381() {
        C2622 c2622 = this.f10159;
        if (c2622 != null && (c2622 instanceof C3100)) {
            ((C3100) c2622).getClass();
        }
        ArrayList arrayList = this.f10190;
        int size = arrayList.size();
        for (int i = 0; i < size; i++) {
            ((C4214) arrayList.get(i)).m9151();
        }
    }

    /* JADX INFO: renamed from: ᵻʽᵯ */
    public C4214 mo1278(int i) {
        switch (AbstractC3653.m8218(i)) {
            case 0:
                return null;
            case 1:
                return this.f10151;
            case 2:
                return this.f10149;
            case 3:
                return this.f10164;
            case 4:
                return this.f10161;
            case 5:
                return this.f10181;
            case C5224.STRING_SET_FIELD_NUMBER /* 6 */:
                return this.f10145;
            case C5224.DOUBLE_FIELD_NUMBER /* 7 */:
                return this.f10202;
            case C5224.BYTES_FIELD_NUMBER /* 8 */:
                return this.f10175;
            default:
                throw new AssertionError(AbstractC3589.m8099(i));
        }
    }

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public final void m6382(C4214 c4214, C4214 c42142, int i) {
        if (c4214.f16034 == this) {
            m6370(c4214.f16031, c42142.f16034, c42142.f16031, i);
        }
    }
}
