package defpackage;

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

/* renamed from: ʿᵕʽ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public class C0425 {

    /* renamed from: ʽᵢˊ, reason: contains not printable characters */
    public int f2353;

    /* renamed from: ʾᵻᵭٴ, reason: contains not printable characters */
    public View f2354;

    /* renamed from: ˀˁᵨ, reason: contains not printable characters */
    public int f2355;

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public float f2356;

    /* renamed from: ˀᵗᵩ, reason: contains not printable characters */
    public final C0994[] f2357;

    /* renamed from: ˁˑᵰ, reason: contains not printable characters */
    public final C0994 f2358;

    /* renamed from: ˆᵴᵜˏ, reason: contains not printable characters */
    public int f2359;

    /* renamed from: ˆᵼᵷˊ, reason: contains not printable characters */
    public final ArrayList f2360;

    /* renamed from: ˊʽˎ, reason: contains not printable characters */
    public float f2362;

    /* renamed from: ˊʾˊ, reason: contains not printable characters */
    public int f2363;

    /* renamed from: ˊᵸˊ, reason: contains not printable characters */
    public final C0994 f2364;

    /* renamed from: ˌʾˀ, reason: contains not printable characters */
    public int f2365;

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public boolean f2366;

    /* renamed from: ˌᵪ, reason: contains not printable characters */
    public C0425 f2367;

    /* renamed from: ˌᵹᵨˑ, reason: contains not printable characters */
    public float f2368;

    /* renamed from: ˎˑː, reason: contains not printable characters */
    public boolean f2370;

    /* renamed from: ˎᵬˀ, reason: contains not printable characters */
    public int f2371;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public C0861 f2373;

    /* renamed from: ˑᵝﹳᵜ, reason: contains not printable characters */
    public final C0994 f2374;

    /* renamed from: ˑᵥˁ, reason: contains not printable characters */
    public float f2375;

    /* renamed from: ˑᵱ, reason: contains not printable characters */
    public int f2376;

    /* renamed from: ᐧﾞ, reason: contains not printable characters */
    public final C0994 f2377;

    /* renamed from: ᵙᵢᵨᵳ, reason: contains not printable characters */
    public final C0994 f2378;

    /* renamed from: ᵛˈᵤ, reason: contains not printable characters */
    public final boolean[] f2379;

    /* renamed from: ᵞʡ, reason: contains not printable characters */
    public int f2381;

    /* renamed from: ᵠᵪˀᵻ, reason: contains not printable characters */
    public final int[] f2382;

    /* renamed from: ᵠᵿː, reason: contains not printable characters */
    public float f2383;

    /* renamed from: ᵡʠ, reason: contains not printable characters */
    public int f2384;

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public final int[] f2385;

    /* renamed from: ᵡᵘˎʽ, reason: contains not printable characters */
    public final C0994 f2386;

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

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public int f2388;

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public float f2389;

    /* renamed from: ᵣᵟᵔ, reason: contains not printable characters */
    public final float[] f2390;

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public float f2391;

    /* renamed from: ᵤᵼˑʠ, reason: contains not printable characters */
    public String f2392;

    /* renamed from: ᵥʩᵩˑ, reason: contains not printable characters */
    public final C0425[] f2393;

    /* renamed from: ᵧـˌᵎ, reason: contains not printable characters */
    public int f2395;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public int f2396;

    /* renamed from: ᵨٴ, reason: contains not printable characters */
    public int f2397;

    /* renamed from: ᵨᵳʝ, reason: contains not printable characters */
    public final int[] f2398;

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public boolean f2399;

    /* renamed from: ᵫᵮʾ, reason: contains not printable characters */
    public int f2400;

    /* renamed from: ᵮᵠـˌ, reason: contains not printable characters */
    public boolean f2401;

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public boolean f2402;

    /* renamed from: ᵲᵟ, reason: contains not printable characters */
    public final C0425[] f2403;

    /* renamed from: ᵳٴᵶ, reason: contains not printable characters */
    public int f2404;

    /* renamed from: ᵳᵹᵺˋ, reason: contains not printable characters */
    public int f2405;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public C0861 f2406;

    /* renamed from: ᵶʔᵢˊ, reason: contains not printable characters */
    public final C0994 f2407;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public String f2408;

    /* renamed from: ᵷᵱ, reason: contains not printable characters */
    public int f2409;

    /* renamed from: ᵸʓᵠ, reason: contains not printable characters */
    public int f2410;

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public boolean f2411;

    /* renamed from: ᵺʙ, reason: contains not printable characters */
    public int f2413;

    /* renamed from: ᵺᵠ, reason: contains not printable characters */
    public int f2414;

    /* renamed from: ᵽʛ, reason: contains not printable characters */
    public int f2416;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public int f2417;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public int f2418;

    /* renamed from: ﹶـ, reason: contains not printable characters */
    public int f2419;

    /* renamed from: ﾞⁱ, reason: contains not printable characters */
    public final C0994 f2420;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public boolean f2394 = false;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public C0650 f2415 = null;

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public C2343 f2361 = null;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final boolean[] f2372 = {true, true};

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public boolean f2369 = true;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public int f2412 = -1;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public int f2380 = -1;

    public C0425() {
        new HashMap();
        this.f2411 = false;
        this.f2366 = false;
        this.f2402 = false;
        this.f2399 = false;
        this.f2404 = -1;
        this.f2365 = -1;
        this.f2384 = 0;
        this.f2410 = 0;
        this.f2381 = 0;
        this.f2398 = new int[2];
        this.f2376 = 0;
        this.f2396 = 0;
        this.f2389 = 1.0f;
        this.f2418 = 0;
        this.f2417 = 0;
        this.f2391 = 1.0f;
        this.f2388 = -1;
        this.f2356 = 1.0f;
        this.f2385 = new int[]{Integer.MAX_VALUE, Integer.MAX_VALUE};
        this.f2375 = Float.NaN;
        this.f2370 = false;
        this.f2401 = false;
        this.f2395 = 0;
        this.f2413 = 0;
        C0994 c0994 = new C0994(this, 2);
        this.f2377 = c0994;
        C0994 c09942 = new C0994(this, 3);
        this.f2407 = c09942;
        C0994 c09943 = new C0994(this, 4);
        this.f2358 = c09943;
        C0994 c09944 = new C0994(this, 5);
        this.f2420 = c09944;
        C0994 c09945 = new C0994(this, 6);
        this.f2378 = c09945;
        C0994 c09946 = new C0994(this, 8);
        this.f2386 = c09946;
        C0994 c09947 = new C0994(this, 9);
        this.f2374 = c09947;
        C0994 c09948 = new C0994(this, 7);
        this.f2364 = c09948;
        this.f2357 = new C0994[]{c0994, c09943, c09942, c09944, c09945, c09948};
        ArrayList arrayList = new ArrayList();
        this.f2360 = arrayList;
        this.f2379 = new boolean[2];
        this.f2382 = new int[]{1, 1};
        this.f2367 = null;
        this.f2405 = 0;
        this.f2387 = 0;
        this.f2362 = 0.0f;
        this.f2371 = -1;
        this.f2400 = 0;
        this.f2416 = 0;
        this.f2355 = 0;
        this.f2368 = 0.5f;
        this.f2383 = 0.5f;
        this.f2414 = 0;
        this.f2392 = null;
        this.f2359 = 0;
        this.f2419 = 0;
        this.f2390 = new float[]{-1.0f, -1.0f};
        this.f2393 = new C0425[]{null, null};
        this.f2403 = new C0425[]{null, null};
        this.f2397 = -1;
        this.f2353 = -1;
        arrayList.add(c0994);
        arrayList.add(c09942);
        arrayList.add(c09943);
        arrayList.add(c09944);
        arrayList.add(c09946);
        arrayList.add(c09947);
        arrayList.add(c09948);
        arrayList.add(c09945);
    }

    /* renamed from: ˌʾˀ, reason: contains not printable characters */
    public static void m1973(StringBuilder sb, String str, C0994 c0994) {
        if (c0994.f4392 == null) {
            return;
        }
        sb.append("    ");
        sb.append(str);
        sb.append(" : [ '");
        sb.append(c0994.f4392);
        sb.append("'");
        if (c0994.f4397 != Integer.MIN_VALUE || c0994.f4391 != 0) {
            sb.append(",");
            sb.append(c0994.f4391);
            if (c0994.f4397 != Integer.MIN_VALUE) {
                sb.append(",");
                sb.append(c0994.f4397);
                sb.append(",");
            }
        }
        sb.append(" ] ,\n");
    }

    /* renamed from: ᵧـˌᵎ, reason: contains not printable characters */
    public static void m1974(int i, int i2, String str, StringBuilder sb) {
        if (i == i2) {
            return;
        }
        sb.append(str);
        sb.append(" :   ");
        sb.append(i);
        sb.append(",\n");
    }

    /* renamed from: ᵳٴᵶ, reason: contains not printable characters */
    public static void m1975(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)) {
            AbstractC4486.m9560(sb, "      behavior", " :   ", str2, ",\n");
        }
        m1974(i, 0, "      size", sb);
        m1974(i2, 0, "      min", sb);
        m1974(i3, Integer.MAX_VALUE, "      max", sb);
        m1974(i4, 0, "      matchMin", sb);
        m1974(i5, 0, "      matchDef", sb);
        m1976(sb, "      matchPercent", f, 1.0f);
        sb.append("    },\n");
    }

    /* renamed from: ᵺʙ, reason: contains not printable characters */
    public static void m1976(StringBuilder sb, String str, float f, float f2) {
        if (f == f2) {
            return;
        }
        sb.append(str);
        sb.append(" :   ");
        sb.append(f);
        sb.append(",\n");
    }

    public String toString() {
        StringBuilder sbM4096 = AbstractC1327.m4096("");
        sbM4096.append(this.f2392 != null ? AbstractC1327.m4107(new StringBuilder("id: "), this.f2392, " ") : "");
        sbM4096.append("(");
        sbM4096.append(this.f2400);
        sbM4096.append(", ");
        sbM4096.append(this.f2416);
        sbM4096.append(") - (");
        sbM4096.append(this.f2405);
        sbM4096.append(" x ");
        return AbstractC4486.m9545(sbM4096, this.f2387, ")");
    }

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public boolean mo1977() {
        if (this.f2366) {
            return true;
        }
        return this.f2407.f4393 && this.f2420.f4393;
    }

    /* renamed from: ˀᵗᵩ, reason: contains not printable characters */
    public void mo1978(C1692 c1692, boolean z) {
        int i;
        int i2;
        C2343 c2343;
        C0650 c0650;
        c1692.getClass();
        int iM4865 = C1692.m4865(this.f2377);
        int iM48652 = C1692.m4865(this.f2407);
        int iM48653 = C1692.m4865(this.f2358);
        int iM48654 = C1692.m4865(this.f2420);
        if (z && (c0650 = this.f2415) != null) {
            C3563 c3563 = c0650.f10932;
            if (c3563.f13352) {
                C3563 c35632 = c0650.f10928;
                if (c35632.f13352) {
                    iM4865 = c3563.f13346;
                    iM48653 = c35632.f13346;
                }
            }
        }
        if (z && (c2343 = this.f2361) != null) {
            C3563 c35633 = c2343.f10932;
            if (c35633.f13352) {
                C3563 c35634 = c2343.f10928;
                if (c35634.f13352) {
                    iM48652 = c35633.f13346;
                    iM48654 = c35634.f13346;
                }
            }
        }
        int i3 = iM48654 - iM48652;
        if (iM48653 - iM4865 < 0 || i3 < 0 || iM4865 == Integer.MIN_VALUE || iM4865 == Integer.MAX_VALUE || iM48652 == Integer.MIN_VALUE || iM48652 == Integer.MAX_VALUE || iM48653 == Integer.MIN_VALUE || iM48653 == Integer.MAX_VALUE || iM48654 == Integer.MIN_VALUE || iM48654 == Integer.MAX_VALUE) {
            iM4865 = 0;
            iM48652 = 0;
            iM48653 = 0;
            iM48654 = 0;
        }
        int i4 = iM48653 - iM4865;
        int i5 = iM48654 - iM48652;
        this.f2400 = iM4865;
        this.f2416 = iM48652;
        if (this.f2414 == 8) {
            this.f2405 = 0;
            this.f2387 = 0;
            return;
        }
        int[] iArr = this.f2382;
        int i6 = iArr[0];
        if (i6 == 1 && i4 < (i2 = this.f2405)) {
            i4 = i2;
        }
        if (iArr[1] == 1 && i5 < (i = this.f2387)) {
            i5 = i;
        }
        this.f2405 = i4;
        this.f2387 = i5;
        int i7 = this.f2409;
        if (i5 < i7) {
            this.f2387 = i7;
        }
        int i8 = this.f2363;
        if (i4 < i8) {
            this.f2405 = i8;
        }
        int i9 = this.f2396;
        if (i9 > 0 && i6 == 3) {
            this.f2405 = Math.min(this.f2405, i9);
        }
        int i10 = this.f2417;
        if (i10 > 0 && iArr[1] == 3) {
            this.f2387 = Math.min(this.f2387, i10);
        }
        int i11 = this.f2405;
        if (i4 != i11) {
            this.f2412 = i11;
        }
        int i12 = this.f2387;
        if (i5 != i12) {
            this.f2380 = i12;
        }
    }

    /* renamed from: ˁˑᵰ, reason: contains not printable characters */
    public final void m1979(int i, int i2) {
        if (this.f2366) {
            return;
        }
        this.f2407.m3349(i);
        this.f2420.m3349(i2);
        this.f2416 = i;
        this.f2387 = i2 - i;
        if (this.f2370) {
            this.f2378.m3349(i + this.f2355);
        }
        this.f2366 = true;
    }

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final void m1980(int i, C0425 c0425, int i2, int i3) {
        boolean z;
        if (i == 7) {
            if (i2 != 7) {
                if (i2 == 2 || i2 == 4) {
                    m1980(2, c0425, i2, 0);
                    m1980(4, c0425, i2, 0);
                    mo1992(7).m3354(c0425.mo1992(i2), 0);
                    return;
                } else {
                    if (i2 == 3 || i2 == 5) {
                        m1980(3, c0425, i2, 0);
                        m1980(5, c0425, i2, 0);
                        mo1992(7).m3354(c0425.mo1992(i2), 0);
                        return;
                    }
                    return;
                }
            }
            C0994 c0994Mo1992 = mo1992(2);
            C0994 c0994Mo19922 = mo1992(4);
            C0994 c0994Mo19923 = mo1992(3);
            C0994 c0994Mo19924 = mo1992(5);
            boolean z2 = true;
            if ((c0994Mo1992 == null || !c0994Mo1992.m3358()) && (c0994Mo19922 == null || !c0994Mo19922.m3358())) {
                m1980(2, c0425, 2, 0);
                m1980(4, c0425, 4, 0);
                z = true;
            } else {
                z = false;
            }
            if ((c0994Mo19923 == null || !c0994Mo19923.m3358()) && (c0994Mo19924 == null || !c0994Mo19924.m3358())) {
                m1980(3, c0425, 3, 0);
                m1980(5, c0425, 5, 0);
            } else {
                z2 = false;
            }
            if (z && z2) {
                mo1992(7).m3354(c0425.mo1992(7), 0);
                return;
            } else if (z) {
                mo1992(8).m3354(c0425.mo1992(8), 0);
                return;
            } else {
                if (z2) {
                    mo1992(9).m3354(c0425.mo1992(9), 0);
                    return;
                }
                return;
            }
        }
        if (i == 8 && (i2 == 2 || i2 == 4)) {
            C0994 c0994Mo19925 = mo1992(2);
            C0994 c0994Mo19926 = c0425.mo1992(i2);
            C0994 c0994Mo19927 = mo1992(4);
            c0994Mo19925.m3354(c0994Mo19926, 0);
            c0994Mo19927.m3354(c0994Mo19926, 0);
            mo1992(8).m3354(c0994Mo19926, 0);
            return;
        }
        if (i == 9 && (i2 == 3 || i2 == 5)) {
            C0994 c0994Mo19928 = c0425.mo1992(i2);
            mo1992(3).m3354(c0994Mo19928, 0);
            mo1992(5).m3354(c0994Mo19928, 0);
            mo1992(9).m3354(c0994Mo19928, 0);
            return;
        }
        if (i == 8 && i2 == 8) {
            mo1992(2).m3354(c0425.mo1992(2), 0);
            mo1992(4).m3354(c0425.mo1992(4), 0);
            mo1992(8).m3354(c0425.mo1992(i2), 0);
            return;
        }
        if (i == 9 && i2 == 9) {
            mo1992(3).m3354(c0425.mo1992(3), 0);
            mo1992(5).m3354(c0425.mo1992(5), 0);
            mo1992(9).m3354(c0425.mo1992(i2), 0);
            return;
        }
        C0994 c0994Mo19929 = mo1992(i);
        C0994 c0994Mo199210 = c0425.mo1992(i2);
        if (c0994Mo19929.m3353(c0994Mo199210)) {
            if (i == 6) {
                C0994 c0994Mo199211 = mo1992(3);
                C0994 c0994Mo199212 = mo1992(5);
                if (c0994Mo199211 != null) {
                    c0994Mo199211.m3356();
                }
                if (c0994Mo199212 != null) {
                    c0994Mo199212.m3356();
                }
            } else if (i == 3 || i == 5) {
                C0994 c0994Mo199213 = mo1992(6);
                if (c0994Mo199213 != null) {
                    c0994Mo199213.m3356();
                }
                C0994 c0994Mo199214 = mo1992(7);
                if (c0994Mo199214.f4392 != c0994Mo199210) {
                    c0994Mo199214.m3356();
                }
                C0994 c0994M3351 = mo1992(i).m3351();
                C0994 c0994Mo199215 = mo1992(9);
                if (c0994Mo199215.m3358()) {
                    c0994M3351.m3356();
                    c0994Mo199215.m3356();
                }
            } else if (i == 2 || i == 4) {
                C0994 c0994Mo199216 = mo1992(7);
                if (c0994Mo199216.f4392 != c0994Mo199210) {
                    c0994Mo199216.m3356();
                }
                C0994 c0994M33512 = mo1992(i).m3351();
                C0994 c0994Mo199217 = mo1992(8);
                if (c0994Mo199217.m3358()) {
                    c0994M33512.m3356();
                    c0994Mo199217.m3356();
                }
            }
            c0994Mo19929.m3354(c0994Mo199210, i3);
        }
    }

    /* renamed from: ˊᵸˊ, reason: contains not printable characters */
    public void mo1981(boolean z, boolean z2) {
        int i;
        int i2;
        C0650 c0650 = this.f2415;
        boolean z3 = z & c0650.f10925;
        C2343 c2343 = this.f2361;
        boolean z4 = z2 & c2343.f10925;
        int i3 = c0650.f10932.f13346;
        int i4 = c2343.f10932.f13346;
        int i5 = c0650.f10928.f13346;
        int i6 = c2343.f10928.f13346;
        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.f2400 = i3;
        }
        if (z4) {
            this.f2416 = i4;
        }
        if (this.f2414 == 8) {
            this.f2405 = 0;
            this.f2387 = 0;
            return;
        }
        int[] iArr = this.f2382;
        if (z3) {
            if (iArr[0] == 1 && i8 < (i2 = this.f2405)) {
                i8 = i2;
            }
            this.f2405 = i8;
            int i10 = this.f2363;
            if (i8 < i10) {
                this.f2405 = i10;
            }
        }
        if (z4) {
            if (iArr[1] == 1 && i9 < (i = this.f2387)) {
                i9 = i;
            }
            this.f2387 = i9;
            int i11 = this.f2409;
            if (i9 < i11) {
                this.f2387 = i11;
            }
        }
    }

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public final C0425 m1982(int i) {
        C0994 c0994;
        C0994 c09942;
        if (i != 0) {
            if (i == 1 && (c09942 = (c0994 = this.f2420).f4392) != null && c09942.f4392 == c0994) {
                return c09942.f4398;
            }
            return null;
        }
        C0994 c09943 = this.f2358;
        C0994 c09944 = c09943.f4392;
        if (c09944 == null || c09944.f4392 != c09943) {
            return null;
        }
        return c09944.f4398;
    }

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public final void m1983(C1692 c1692) {
        c1692.m4882(this.f2377);
        c1692.m4882(this.f2407);
        c1692.m4882(this.f2358);
        c1692.m4882(this.f2420);
        if (this.f2355 > 0) {
            c1692.m4882(this.f2378);
        }
    }

    /* renamed from: ˎˑː, reason: contains not printable characters */
    public final void m1984() {
        this.f2411 = false;
        this.f2366 = false;
        this.f2402 = false;
        this.f2399 = false;
        ArrayList arrayList = this.f2360;
        int size = arrayList.size();
        for (int i = 0; i < size; i++) {
            C0994 c0994 = (C0994) arrayList.get(i);
            c0994.f4393 = false;
            c0994.f4396 = 0;
        }
    }

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final void m1985(C0994 c0994, C0994 c09942, int i) {
        if (c0994.f4398 == this) {
            m1980(c0994.f4390, c09942.f4398, c09942.f4390, i);
        }
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public boolean mo1986() {
        return this.f2414 != 8;
    }

    /* renamed from: ˑᵝﹳᵜ, reason: contains not printable characters */
    public final void m1987(int i) {
        this.f2405 = i;
        int i2 = this.f2363;
        if (i < i2) {
            this.f2405 = i2;
        }
    }

    /* renamed from: ˑᵥˁ, reason: contains not printable characters */
    public final void m1988() {
        C0425 c0425 = this.f2367;
        if (c0425 != null && (c0425 instanceof C1968)) {
            ((C1968) c0425).getClass();
        }
        ArrayList arrayList = this.f2360;
        int size = arrayList.size();
        for (int i = 0; i < size; i++) {
            ((C0994) arrayList.get(i)).m3356();
        }
    }

    /* renamed from: ˑᵱ, reason: contains not printable characters */
    public final boolean m1989(int i, int i2) {
        C0994 c0994;
        C0994 c09942;
        C0994 c09943;
        C0994 c09944;
        if (i == 0) {
            C0994 c09945 = this.f2377;
            C0994 c09946 = c09945.f4392;
            if (c09946 == null || !c09946.f4393 || (c09944 = (c09943 = this.f2358).f4392) == null || !c09944.f4393) {
                return false;
            }
            return (c09944.m3359() - c09943.m3348()) - (c09945.m3348() + c09945.f4392.m3359()) >= i2;
        }
        C0994 c09947 = this.f2407;
        C0994 c09948 = c09947.f4392;
        if (c09948 == null || !c09948.f4393 || (c09942 = (c0994 = this.f2420).f4392) == null || !c09942.f4393) {
            return false;
        }
        return (c09942.m3359() - c0994.m3348()) - (c09947.m3348() + c09947.f4392.m3359()) >= i2;
    }

    /* renamed from: ᐧﾞ, reason: contains not printable characters */
    public final void m1990(int i) {
        this.f2355 = i;
        this.f2370 = i > 0;
    }

    /* renamed from: ᵙᵢᵨᵳ, reason: contains not printable characters */
    public final void m1991(int i) {
        this.f2382[0] = i;
    }

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public C0994 mo1992(int i) {
        switch (AbstractC1327.m4088(i)) {
            case 0:
                return null;
            case 1:
                return this.f2377;
            case 2:
                return this.f2407;
            case 3:
                return this.f2358;
            case 4:
                return this.f2420;
            case 5:
                return this.f2378;
            case C1339.STRING_SET_FIELD_NUMBER /* 6 */:
                return this.f2364;
            case C1339.DOUBLE_FIELD_NUMBER /* 7 */:
                return this.f2386;
            case C1339.BYTES_FIELD_NUMBER /* 8 */:
                return this.f2374;
            default:
                throw new AssertionError(AbstractC4486.m9551(i));
        }
    }

    /* renamed from: ᵞʡ, reason: contains not printable characters */
    public final int m1993() {
        C0425 c0425 = this.f2367;
        return (c0425 == null || !(c0425 instanceof C1968)) ? this.f2416 : ((C1968) c0425).f7920 + this.f2416;
    }

    /* renamed from: ᵡʠ, reason: contains not printable characters */
    public final int m1994() {
        if (this.f2414 == 8) {
            return 0;
        }
        return this.f2405;
    }

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public void mo1995() {
        this.f2377.m3356();
        this.f2407.m3356();
        this.f2358.m3356();
        this.f2420.m3356();
        this.f2378.m3356();
        this.f2386.m3356();
        this.f2374.m3356();
        this.f2364.m3356();
        this.f2367 = null;
        this.f2375 = Float.NaN;
        this.f2405 = 0;
        this.f2387 = 0;
        this.f2362 = 0.0f;
        this.f2371 = -1;
        this.f2400 = 0;
        this.f2416 = 0;
        this.f2355 = 0;
        this.f2363 = 0;
        this.f2409 = 0;
        this.f2368 = 0.5f;
        this.f2383 = 0.5f;
        int[] iArr = this.f2382;
        iArr[0] = 1;
        iArr[1] = 1;
        this.f2354 = null;
        this.f2414 = 0;
        this.f2359 = 0;
        this.f2419 = 0;
        float[] fArr = this.f2390;
        fArr[0] = -1.0f;
        fArr[1] = -1.0f;
        this.f2404 = -1;
        this.f2365 = -1;
        int[] iArr2 = this.f2385;
        iArr2[0] = Integer.MAX_VALUE;
        iArr2[1] = Integer.MAX_VALUE;
        this.f2410 = 0;
        this.f2381 = 0;
        this.f2389 = 1.0f;
        this.f2391 = 1.0f;
        this.f2396 = Integer.MAX_VALUE;
        this.f2417 = Integer.MAX_VALUE;
        this.f2376 = 0;
        this.f2418 = 0;
        this.f2388 = -1;
        this.f2356 = 1.0f;
        boolean[] zArr = this.f2372;
        zArr[0] = true;
        zArr[1] = true;
        this.f2401 = false;
        boolean[] zArr2 = this.f2379;
        zArr2[0] = false;
        zArr2[1] = false;
        this.f2369 = true;
        int[] iArr3 = this.f2398;
        iArr3[0] = 0;
        iArr3[1] = 0;
        this.f2412 = -1;
        this.f2380 = -1;
    }

    /* renamed from: ᵡᵘˎʽ, reason: contains not printable characters */
    public final void m1996(int i) {
        this.f2382[1] = i;
    }

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public boolean mo1997() {
        if (this.f2411) {
            return true;
        }
        return this.f2377.f4393 && this.f2358.f4393;
    }

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final boolean m1998(int i) {
        C0994 c0994;
        C0994 c09942;
        int i2 = i * 2;
        C0994[] c0994Arr = this.f2357;
        C0994 c09943 = c0994Arr[i2];
        C0994 c09944 = c09943.f4392;
        return (c09944 == null || c09944.f4392 == c09943 || (c09942 = (c0994 = c0994Arr[i2 + 1]).f4392) == null || c09942.f4392 != c0994) ? false : true;
    }

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public final boolean m1999() {
        return this.f2369 && this.f2414 != 8;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m2000(C1968 c1968, C1692 c1692, HashSet hashSet, int i, boolean z) {
        if (z) {
            if (!hashSet.contains(this)) {
                return;
            }
            ˉᵜˆ.ˏᵙ(c1968, c1692, this);
            hashSet.remove(this);
            mo2006(c1692, c1968.m5474(64));
        }
        if (i == 0) {
            HashSet hashSet2 = this.f2377.f4395;
            if (hashSet2 != null) {
                Iterator it = hashSet2.iterator();
                while (it.hasNext()) {
                    ((C0994) it.next()).f4398.m2000(c1968, c1692, hashSet, i, true);
                }
            }
            HashSet hashSet3 = this.f2358.f4395;
            if (hashSet3 != null) {
                Iterator it2 = hashSet3.iterator();
                while (it2.hasNext()) {
                    ((C0994) it2.next()).f4398.m2000(c1968, c1692, hashSet, i, true);
                }
                return;
            }
            return;
        }
        HashSet hashSet4 = this.f2407.f4395;
        if (hashSet4 != null) {
            Iterator it3 = hashSet4.iterator();
            while (it3.hasNext()) {
                ((C0994) it3.next()).f4398.m2000(c1968, c1692, hashSet, i, true);
            }
        }
        HashSet hashSet5 = this.f2420.f4395;
        if (hashSet5 != null) {
            Iterator it4 = hashSet5.iterator();
            while (it4.hasNext()) {
                ((C0994) it4.next()).f4398.m2000(c1968, c1692, hashSet, i, true);
            }
        }
        HashSet hashSet6 = this.f2378.f4395;
        if (hashSet6 != null) {
            Iterator it5 = hashSet6.iterator();
            while (it5.hasNext()) {
                ((C0994) it5.next()).f4398.m2000(c1968, c1692, hashSet, i, true);
            }
        }
    }

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final void m2001(int i, int i2, int i3, int i4, C0425 c0425) {
        mo1992(i).m3355(c0425.mo1992(i2), i3, i4, true);
    }

    /* JADX WARN: Removed duplicated region for block: B:29:0x003a A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:30:0x003b A[RETURN] */
    /* renamed from: ᵨᵳʝ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final boolean m2002(int r5) {
        /*
            r4 = this;
            r0 = 2
            r1 = 0
            r2 = 1
            if (r5 != 0) goto L1b
            ˈʒʾ r5 = r4.f2377
            ˈʒʾ r5 = r5.f4392
            if (r5 == 0) goto Ld
            r5 = r2
            goto Le
        Ld:
            r5 = r1
        Le:
            ˈʒʾ r4 = r4.f2358
            ˈʒʾ r4 = r4.f4392
            if (r4 == 0) goto L16
            r4 = r2
            goto L17
        L16:
            r4 = r1
        L17:
            int r5 = r5 + r4
            if (r5 >= r0) goto L3b
            goto L3a
        L1b:
            ˈʒʾ r5 = r4.f2407
            ˈʒʾ r5 = r5.f4392
            if (r5 == 0) goto L23
            r5 = r2
            goto L24
        L23:
            r5 = r1
        L24:
            ˈʒʾ r3 = r4.f2420
            ˈʒʾ r3 = r3.f4392
            if (r3 == 0) goto L2c
            r3 = r2
            goto L2d
        L2c:
            r3 = r1
        L2d:
            int r5 = r5 + r3
            ˈʒʾ r4 = r4.f2378
            ˈʒʾ r4 = r4.f4392
            if (r4 == 0) goto L36
            r4 = r2
            goto L37
        L36:
            r4 = r1
        L37:
            int r5 = r5 + r4
            if (r5 >= r0) goto L3b
        L3a:
            return r2
        L3b:
            return r1
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0425.m2002(int):boolean");
    }

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public void mo2003(StringBuilder sb) {
        sb.append("  " + this.f2408 + ":{\n");
        StringBuilder sb2 = new StringBuilder("    actualWidth:");
        sb2.append(this.f2405);
        sb.append(sb2.toString());
        sb.append("\n");
        sb.append("    actualHeight:" + this.f2387);
        sb.append("\n");
        sb.append("    actualLeft:" + this.f2400);
        sb.append("\n");
        sb.append("    actualTop:" + this.f2416);
        sb.append("\n");
        m1973(sb, "left", this.f2377);
        m1973(sb, "top", this.f2407);
        m1973(sb, "right", this.f2358);
        m1973(sb, "bottom", this.f2420);
        m1973(sb, "baseline", this.f2378);
        m1973(sb, "centerX", this.f2386);
        m1973(sb, "centerY", this.f2374);
        int i = this.f2405;
        int i2 = this.f2363;
        int[] iArr = this.f2385;
        int i3 = iArr[0];
        int i4 = this.f2376;
        int i5 = this.f2410;
        float f = this.f2389;
        int[] iArr2 = this.f2382;
        int i6 = iArr2[0];
        float[] fArr = this.f2390;
        float f2 = fArr[0];
        m1975(sb, "    width", i, i2, i3, i4, i5, f, i6);
        int i7 = this.f2387;
        int i8 = this.f2409;
        int i9 = iArr[1];
        int i10 = this.f2418;
        int i11 = this.f2381;
        float f3 = this.f2391;
        int i12 = iArr2[1];
        float f4 = fArr[1];
        m1975(sb, "    height", i7, i8, i9, i10, i11, f3, i12);
        float f5 = this.f2362;
        int i13 = this.f2371;
        if (f5 != 0.0f) {
            sb.append("    dimensionRatio");
            sb.append(" :  [");
            sb.append(f5);
            sb.append(",");
            sb.append(i13);
            sb.append("");
            sb.append("],\n");
        }
        m1976(sb, "    horizontalBias", this.f2368, 0.5f);
        m1976(sb, "    verticalBias", this.f2383, 0.5f);
        m1974(this.f2359, 0, "    horizontalChainStyle", sb);
        m1974(this.f2419, 0, "    verticalChainStyle", sb);
        sb.append("  }");
    }

    /* renamed from: ᵮᵠـˌ, reason: contains not printable characters */
    public void mo2004(ᵧˉʙ r1) {
        this.f2377.m3357();
        this.f2407.m3357();
        this.f2358.m3357();
        this.f2420.m3357();
        this.f2378.m3357();
        this.f2364.m3357();
        this.f2386.m3357();
        this.f2374.m3357();
    }

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public final C0425 m2005(int i) {
        C0994 c0994;
        C0994 c09942;
        if (i != 0) {
            if (i == 1 && (c09942 = (c0994 = this.f2407).f4392) != null && c09942.f4392 == c0994) {
                return c09942.f4398;
            }
            return null;
        }
        C0994 c09943 = this.f2377;
        C0994 c09944 = c09943.f4392;
        if (c09944 == null || c09944.f4392 != c09943) {
            return null;
        }
        return c09944.f4398;
    }

    /* 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: r17v10, types: [boolean] */
    /* JADX WARN: Type inference failed for: r17v16 */
    /* JADX WARN: Type inference failed for: r17v17 */
    /* JADX WARN: Type inference failed for: r17v2 */
    /* JADX WARN: Type inference failed for: r17v20 */
    /* 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: r58v0, types: [ʿᵕʽ] */
    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void mo2006(defpackage.C1692 r59, boolean r60) {
        /*
            Method dump skipped, instructions count: 1910
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0425.mo2006(ˎˀᵡˎ, boolean):void");
    }

    /* renamed from: ᵶʔᵢˊ, reason: contains not printable characters */
    public final void m2007(int i, int i2) {
        if (this.f2411) {
            return;
        }
        this.f2377.m3349(i);
        this.f2358.m3349(i2);
        this.f2400 = i;
        this.f2405 = i2 - i;
        this.f2411 = true;
    }

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public final int m2008(int i) {
        int[] iArr = this.f2382;
        if (i == 0) {
            return iArr[0];
        }
        if (i == 1) {
            return iArr[1];
        }
        return 0;
    }

    /* renamed from: ᵸʓᵠ, reason: contains not printable characters */
    public final int m2009() {
        C0425 c0425 = this.f2367;
        return (c0425 == null || !(c0425 instanceof C1968)) ? this.f2400 : ((C1968) c0425).f7928 + this.f2400;
    }

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public final int m2010() {
        if (this.f2414 == 8) {
            return 0;
        }
        return this.f2387;
    }

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public final void m2011() {
        if (this.f2415 == null) {
            C0650 c0650 = new C0650(this);
            c0650.f10932.f13344 = 4;
            c0650.f10928.f13344 = 5;
            c0650.f10926 = 0;
            this.f2415 = c0650;
        }
        if (this.f2361 == null) {
            C2343 c2343 = new C2343(this);
            C3563 c3563 = new C3563(c2343);
            c2343.f9177 = c3563;
            c2343.f9176 = null;
            c2343.f10932.f13344 = 6;
            c2343.f10928.f13344 = 7;
            c3563.f13344 = 8;
            c2343.f10926 = 1;
            this.f2361 = c2343;
        }
    }

    /* 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] */
    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void m2012(defpackage.C1692 r30, boolean r31, boolean r32, boolean r33, boolean r34, defpackage.C0868 r35, defpackage.C0868 r36, int r37, boolean r38, defpackage.C0994 r39, defpackage.C0994 r40, int r41, int r42, int r43, int r44, float r45, boolean r46, boolean r47, boolean r48, boolean r49, boolean r50, int r51, int r52, int r53, int r54, float r55, boolean r56) {
        /*
            Method dump skipped, instructions count: 1323
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0425.m2012(ˎˀᵡˎ, boolean, boolean, boolean, boolean, ˆᵥ, ˆᵥ, int, boolean, ˈʒʾ, ˈʒʾ, int, int, int, int, float, boolean, boolean, boolean, boolean, boolean, int, int, int, int, float, boolean):void");
    }

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final boolean m2013() {
        C0994 c0994 = this.f2407;
        C0994 c09942 = c0994.f4392;
        if (c09942 != null && c09942.f4392 == c0994) {
            return true;
        }
        C0994 c09943 = this.f2420;
        C0994 c09944 = c09943.f4392;
        return c09944 != null && c09944.f4392 == c09943;
    }

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final boolean m2014() {
        C0994 c0994 = this.f2377;
        C0994 c09942 = c0994.f4392;
        if (c09942 != null && c09942.f4392 == c0994) {
            return true;
        }
        C0994 c09943 = this.f2358;
        C0994 c09944 = c09943.f4392;
        return c09944 != null && c09944.f4392 == c09943;
    }

    /* renamed from: ﾞⁱ, reason: contains not printable characters */
    public final void m2015(int i) {
        this.f2387 = i;
        int i2 = this.f2409;
        if (i < i2) {
            this.f2387 = i2;
        }
    }
}
