package defpackage;

import java.util.ArrayList;

/* renamed from: ᵲʔʾ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4454 extends C0425 {

    /* renamed from: ᵷᵦﹳ, reason: contains not printable characters */
    public boolean f16620;

    /* renamed from: ʿᵘˆ, reason: contains not printable characters */
    public float f16617 = -1.0f;

    /* renamed from: ᵰʖʢ, reason: contains not printable characters */
    public int f16619 = -1;

    /* renamed from: ʾˋˊᵽ, reason: contains not printable characters */
    public int f16616 = -1;

    /* renamed from: ᵺᵜᵰ, reason: contains not printable characters */
    public C0994 f16621 = this.f2407;

    /* renamed from: ᵎʾ, reason: contains not printable characters */
    public int f16618 = 0;

    public C4454() {
        this.f2360.clear();
        this.f2360.add(this.f16621);
        int length = this.f2357.length;
        for (int i = 0; i < length; i++) {
            this.f2357[i] = this.f16621;
        }
    }

    @Override // defpackage.C0425
    /* renamed from: ˀᵗᵝᵭ */
    public final boolean mo1977() {
        return this.f16620;
    }

    @Override // defpackage.C0425
    /* renamed from: ˀᵗᵩ */
    public final void mo1978(C1692 c1692, boolean z) {
        if (this.f2367 == null) {
            return;
        }
        C0994 c0994 = this.f16621;
        c1692.getClass();
        int iM4865 = C1692.m4865(c0994);
        if (this.f16618 == 1) {
            this.f2400 = iM4865;
            this.f2416 = 0;
            m2015(this.f2367.m2010());
            m1987(0);
            return;
        }
        this.f2400 = 0;
        this.f2416 = iM4865;
        m1987(this.f2367.m1994());
        m2015(0);
    }

    /* renamed from: ˆᵼᵷˊ, reason: contains not printable characters */
    public final void m9475(int i) {
        this.f16621.m3349(i);
        this.f16620 = true;
    }

    @Override // defpackage.C0425
    /* renamed from: ˏᵙ */
    public final boolean mo1986() {
        return true;
    }

    /* renamed from: ᵛˈᵤ, reason: contains not printable characters */
    public final void m9476(int i) {
        if (this.f16618 == i) {
            return;
        }
        this.f16618 = i;
        ArrayList arrayList = this.f2360;
        arrayList.clear();
        if (this.f16618 == 1) {
            this.f16621 = this.f2377;
        } else {
            this.f16621 = this.f2407;
        }
        arrayList.add(this.f16621);
        C0994[] c0994Arr = this.f2357;
        int length = c0994Arr.length;
        for (int i2 = 0; i2 < length; i2++) {
            c0994Arr[i2] = this.f16621;
        }
    }

    @Override // defpackage.C0425
    /* renamed from: ᵝᵵᵺ */
    public final C0994 mo1992(int i) {
        int iM4088 = AbstractC1327.m4088(i);
        if (iM4088 != 1) {
            if (iM4088 != 2) {
                if (iM4088 != 3) {
                    if (iM4088 != 4) {
                        return null;
                    }
                }
            }
            if (this.f16618 == 0) {
                return this.f16621;
            }
            return null;
        }
        if (this.f16618 == 1) {
            return this.f16621;
        }
        return null;
    }

    @Override // defpackage.C0425
    /* renamed from: ᵡⁱᵥ */
    public final boolean mo1997() {
        return this.f16620;
    }

    @Override // defpackage.C0425
    /* renamed from: ᵴᵳ */
    public final void mo2006(C1692 c1692, boolean z) {
        C1968 c1968 = (C1968) this.f2367;
        if (c1968 == null) {
            return;
        }
        Object objMo1992 = c1968.mo1992(2);
        Object objMo19922 = c1968.mo1992(4);
        C0425 c0425 = this.f2367;
        boolean z2 = c0425 != null && c0425.f2382[0] == 2;
        if (this.f16618 == 0) {
            objMo1992 = c1968.mo1992(3);
            objMo19922 = c1968.mo1992(5);
            C0425 c04252 = this.f2367;
            z2 = c04252 != null && c04252.f2382[1] == 2;
        }
        if (this.f16620) {
            C0994 c0994 = this.f16621;
            if (c0994.f4393) {
                C0868 c0868M4882 = c1692.m4882(c0994);
                c1692.m4884(c0868M4882, this.f16621.m3359());
                if (this.f16619 != -1) {
                    if (z2) {
                        c1692.m4870(c1692.m4882(objMo19922), c0868M4882, 0, 5);
                    }
                } else if (this.f16616 != -1 && z2) {
                    C0868 c0868M48822 = c1692.m4882(objMo19922);
                    c1692.m4870(c0868M4882, c1692.m4882(objMo1992), 0, 5);
                    c1692.m4870(c0868M48822, c0868M4882, 0, 5);
                }
                this.f16620 = false;
                return;
            }
        }
        if (this.f16619 != -1) {
            C0868 c0868M48823 = c1692.m4882(this.f16621);
            c1692.m4866(c0868M48823, c1692.m4882(objMo1992), this.f16619, 8);
            if (z2) {
                c1692.m4870(c1692.m4882(objMo19922), c0868M48823, 0, 5);
                return;
            }
            return;
        }
        if (this.f16616 != -1) {
            C0868 c0868M48824 = c1692.m4882(this.f16621);
            C0868 c0868M48825 = c1692.m4882(objMo19922);
            c1692.m4866(c0868M48824, c0868M48825, -this.f16616, 8);
            if (z2) {
                c1692.m4870(c0868M48824, c1692.m4882(objMo1992), 0, 5);
                c1692.m4870(c0868M48825, c0868M48824, 0, 5);
                return;
            }
            return;
        }
        if (this.f16617 != -1.0f) {
            C0868 c0868M48826 = c1692.m4882(this.f16621);
            C0868 c0868M48827 = c1692.m4882(objMo19922);
            float f = this.f16617;
            C5247 c5247M4868 = c1692.m4868();
            c5247M4868.f19650.m6684(c0868M48826, -1.0f);
            c5247M4868.f19650.m6684(c0868M48827, f);
            c1692.m4871(c5247M4868);
        }
    }
}
