package defpackage;

/* renamed from: ʿˆ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0383 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public C0994 f2196;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public C0994 f2199;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public C0994 f2200;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public int f2202;

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

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public int f2204;

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

    /* renamed from: ᵸʓᵠ, reason: contains not printable characters */
    public final /* synthetic */ C4753 f2210;

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public int f2211;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public int f2212;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public C0994 f2213;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public C0425 f2208 = null;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public int f2201 = 0;

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public int f2198 = 0;

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public int f2206 = 0;

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public int f2205 = 0;

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

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

    public C0383(C4753 c4753, int i, C0994 c0994, C0994 c09942, C0994 c09943, C0994 c09944, int i2) {
        this.f2210 = c4753;
        this.f2204 = i;
        this.f2213 = c0994;
        this.f2196 = c09942;
        this.f2200 = c09943;
        this.f2199 = c09944;
        this.f2212 = c4753.f17624;
        this.f2202 = c4753.f17617;
        this.f2209 = c4753.f17647;
        this.f2211 = c4753.f17650;
        this.f2203 = i2;
    }

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final void m1832(int i) {
        C4753 c4753;
        int i2;
        int i3 = this.f2197;
        if (i3 == 0) {
            return;
        }
        int i4 = this.f2207;
        int i5 = i / i3;
        int i6 = 0;
        while (true) {
            c4753 = this.f2210;
            if (i6 >= i4 || (i2 = this.f2205 + i6) >= c4753.f17618) {
                break;
            }
            C0425 c0425 = c4753.f17626[i2];
            if (this.f2204 == 0) {
                if (c0425 != null) {
                    int[] iArr = c0425.f2382;
                    if (iArr[0] == 3 && c0425.f2410 == 0) {
                        c4753.m10037(1, i5, iArr[1], c0425.m2010(), c0425);
                    }
                }
            } else if (c0425 != null) {
                int[] iArr2 = c0425.f2382;
                if (iArr2[1] == 3 && c0425.f2381 == 0) {
                    int i7 = i5;
                    c4753.m10037(iArr2[0], c0425.m1994(), 1, i7, c0425);
                    i5 = i7;
                }
            }
            i6++;
        }
        this.f2198 = 0;
        this.f2206 = 0;
        this.f2208 = null;
        this.f2201 = 0;
        int i8 = this.f2207;
        for (int i9 = 0; i9 < i8; i9++) {
            int i10 = this.f2205 + i9;
            if (i10 >= c4753.f17618) {
                return;
            }
            C0425 c04252 = c4753.f17626[i10];
            if (this.f2204 == 0) {
                int iM1994 = c04252.m1994();
                int i11 = c4753.f17616;
                if (c04252.f2414 == 8) {
                    i11 = 0;
                }
                this.f2198 = iM1994 + i11 + this.f2198;
                int iM10036 = c4753.m10036(c04252, this.f2203);
                if (this.f2208 == null || this.f2201 < iM10036) {
                    this.f2208 = c04252;
                    this.f2201 = iM10036;
                    this.f2206 = iM10036;
                }
            } else {
                int iM10038 = c4753.m10038(c04252, this.f2203);
                int iM100362 = c4753.m10036(c04252, this.f2203);
                int i12 = c4753.f17631;
                if (c04252.f2414 == 8) {
                    i12 = 0;
                }
                this.f2206 = iM100362 + i12 + this.f2206;
                if (this.f2208 == null || this.f2201 < iM10038) {
                    this.f2208 = c04252;
                    this.f2201 = iM10038;
                    this.f2198 = iM10038;
                }
            }
        }
    }

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final void m1833(int i, C0994 c0994, C0994 c09942, C0994 c09943, C0994 c09944, int i2, int i3, int i4, int i5, int i6) {
        this.f2204 = i;
        this.f2213 = c0994;
        this.f2196 = c09942;
        this.f2200 = c09943;
        this.f2199 = c09944;
        this.f2212 = i2;
        this.f2202 = i3;
        this.f2209 = i4;
        this.f2211 = i5;
        this.f2203 = i6;
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final int m1834() {
        int i = this.f2204;
        int i2 = this.f2206;
        return i == 1 ? i2 - this.f2210.f17631 : i2;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m1835(C0425 c0425) {
        int i = this.f2204;
        int i2 = this.f2203;
        C4753 c4753 = this.f2210;
        if (i == 0) {
            int iM10038 = c4753.m10038(c0425, i2);
            if (c0425.f2382[0] == 3) {
                this.f2197++;
                iM10038 = 0;
            }
            this.f2198 = iM10038 + (c0425.f2414 != 8 ? c4753.f17616 : 0) + this.f2198;
            int iM10036 = c4753.m10036(c0425, this.f2203);
            if (this.f2208 == null || this.f2201 < iM10036) {
                this.f2208 = c0425;
                this.f2201 = iM10036;
                this.f2206 = iM10036;
            }
        } else {
            int iM100382 = c4753.m10038(c0425, i2);
            int iM100362 = c4753.m10036(c0425, this.f2203);
            if (c0425.f2382[1] == 3) {
                this.f2197++;
                iM100362 = 0;
            }
            this.f2206 = iM100362 + (c0425.f2414 != 8 ? c4753.f17631 : 0) + this.f2206;
            if (this.f2208 == null || this.f2201 < iM100382) {
                this.f2208 = c0425;
                this.f2201 = iM100382;
                this.f2198 = iM100382;
            }
        }
        this.f2207++;
    }

    /* JADX WARN: Removed duplicated region for block: B:89:0x0105 A[PHI: r5 r9
      0x0105: PHI (r5v25 int) = (r5v23 int), (r5v26 int) binds: [B:95:0x0115, B:88:0x0103] A[DONT_GENERATE, DONT_INLINE]
      0x0105: PHI (r9v24 float) = (r9v22 float), (r9v27 float) binds: [B:95:0x0115, B:88:0x0103] A[DONT_GENERATE, DONT_INLINE]] */
    /* 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 m1836(int r23, boolean r24, boolean r25) {
        /*
            Method dump skipped, instructions count: 724
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C0383.m1836(int, boolean, boolean):void");
    }

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final int m1837() {
        int i = this.f2204;
        int i2 = this.f2198;
        return i == 0 ? i2 - this.f2210.f17616 : i2;
    }
}
