package defpackage;

import java.nio.ByteBuffer;

/* renamed from: ᵭᵟᵔ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4134 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final boolean f15447;

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

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public final int f15449;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final int f15450;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final boolean f15451;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final boolean f15452;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final boolean f15453;

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public final byte f15454;

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public final byte f15455;

    /* renamed from: ᵳٴᵶ, reason: contains not printable characters */
    public final byte f15456;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final boolean f15457;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public final boolean f15458;

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

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public final boolean f15460;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final boolean f15461;

    public C4134(C2184 c2184) {
        int i = c2184.f8595;
        ByteBuffer byteBuffer = c2184.f8596;
        ᵛᵾˏ.ᵯٴᵦ(i == 1);
        int iRemaining = byteBuffer.remaining();
        byte[] bArr = new byte[iRemaining];
        byteBuffer.asReadOnlyBuffer().get(bArr);
        C4089 c4089 = new C4089(iRemaining, bArr);
        this.f15449 = c4089.m8966(3);
        c4089.m8965();
        boolean zM8964 = c4089.m8964();
        this.f15453 = zM8964;
        if (zM8964) {
            c4089.m8966(5);
            this.f15457 = false;
            this.f15460 = false;
        } else {
            if (c4089.m8964()) {
                c4089.m8956(64);
                if (c4089.m8964()) {
                    int i2 = 0;
                    while (!c4089.m8964()) {
                        i2++;
                    }
                    if (i2 < 32) {
                        c4089.m8956(i2);
                    }
                }
                boolean zM89642 = c4089.m8964();
                this.f15457 = zM89642;
                if (zM89642) {
                    c4089.m8956(47);
                }
            } else {
                this.f15457 = false;
            }
            this.f15460 = c4089.m8964();
            int iM8966 = c4089.m8966(5);
            for (int i3 = 0; i3 <= iM8966; i3++) {
                c4089.m8956(12);
                if (i3 == 0) {
                    if (c4089.m8966(5) > 7) {
                        c4089.m8964();
                    }
                } else if (c4089.m8966(5) > 7) {
                    c4089.m8965();
                }
                if (this.f15457) {
                    c4089.m8965();
                }
                if (this.f15460 && c4089.m8964()) {
                    if (i3 == 0) {
                        c4089.m8966(4);
                    } else {
                        c4089.m8956(4);
                    }
                }
            }
        }
        int iM89662 = c4089.m8966(4);
        int iM89663 = c4089.m8966(4);
        c4089.m8956(iM89662 + 1);
        c4089.m8956(iM89663 + 1);
        if (this.f15453) {
            this.f15451 = false;
        } else {
            this.f15451 = c4089.m8964();
        }
        if (this.f15451) {
            c4089.m8956(4);
            c4089.m8956(3);
        }
        c4089.m8956(3);
        if (this.f15453) {
            this.f15447 = true;
            this.f15461 = true;
            this.f15450 = 0;
        } else {
            c4089.m8956(4);
            boolean zM89643 = c4089.m8964();
            if (zM89643) {
                c4089.m8956(2);
            }
            if (c4089.m8964()) {
                this.f15461 = true;
            } else {
                this.f15461 = c4089.m8964();
            }
            if (!this.f15461 || c4089.m8964()) {
                this.f15447 = true;
            } else {
                this.f15447 = c4089.m8964();
            }
            if (zM89643) {
                this.f15450 = c4089.m8966(3) + 1;
            } else {
                this.f15450 = 0;
            }
        }
        c4089.m8956(3);
        boolean zM89644 = c4089.m8964();
        if (this.f15449 == 2 && zM89644) {
            this.f15452 = c4089.m8964();
        } else {
            this.f15452 = false;
        }
        if (this.f15449 != 1) {
            this.f15458 = c4089.m8964();
        } else {
            this.f15458 = false;
        }
        if (c4089.m8964()) {
            this.f15455 = (byte) c4089.m8966(8);
            this.f15454 = (byte) c4089.m8966(8);
            this.f15456 = (byte) c4089.m8966(8);
        } else {
            this.f15455 = (byte) 0;
            this.f15454 = (byte) 0;
            this.f15456 = (byte) 0;
        }
        if (this.f15458) {
            c4089.m8965();
            this.f15459 = false;
            this.f15448 = false;
        } else if (this.f15455 == 1 && this.f15454 == 13 && this.f15456 == 0) {
            this.f15459 = false;
            this.f15448 = false;
        } else {
            c4089.m8965();
            int i4 = this.f15449;
            if (i4 == 0) {
                this.f15459 = true;
                this.f15448 = true;
            } else if (i4 == 1) {
                this.f15459 = false;
                this.f15448 = false;
            } else if (this.f15452) {
                boolean zM89645 = c4089.m8964();
                this.f15459 = zM89645;
                if (zM89645) {
                    this.f15448 = c4089.m8964();
                } else {
                    this.f15448 = false;
                }
            } else {
                this.f15459 = true;
                this.f15448 = false;
            }
            if (this.f15459 && this.f15448) {
                c4089.m8966(2);
            }
        }
        c4089.m8965();
    }
}
