package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.vE, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2699vE extends AbstractC0745al0 {
    @Override // o.InterfaceC2755vr
    public final void a(InterfaceC2755vr interfaceC2755vr) {
        C0017Ar c0017Ar = this.h;
        if (c0017Ar.c && !c0017Ar.j) {
            c0017Ar.d((int) ((((C0017Ar) c0017Ar.l.get(0)).g * ((C2604uE) this.b).q0) + 0.5f));
        }
    }

    @Override // o.AbstractC0745al0
    public final void d() {
        C0530Ul c0530Ul = this.b;
        C2604uE c2604uE = (C2604uE) c0530Ul;
        int i = c2604uE.r0;
        int i2 = c2604uE.s0;
        int i3 = c2604uE.u0;
        C0017Ar c0017Ar = this.h;
        if (i3 == 1) {
            if (i != -1) {
                c0017Ar.l.add(c0530Ul.T.d.h);
                this.b.T.d.h.k.add(c0017Ar);
                c0017Ar.f = i;
            } else if (i2 != -1) {
                c0017Ar.l.add(c0530Ul.T.d.i);
                this.b.T.d.i.k.add(c0017Ar);
                c0017Ar.f = -i2;
            } else {
                c0017Ar.b = true;
                c0017Ar.l.add(c0530Ul.T.d.i);
                this.b.T.d.i.k.add(c0017Ar);
            }
            m(this.b.d.h);
            m(this.b.d.i);
            return;
        }
        if (i != -1) {
            c0017Ar.l.add(c0530Ul.T.e.h);
            this.b.T.e.h.k.add(c0017Ar);
            c0017Ar.f = i;
        } else if (i2 != -1) {
            c0017Ar.l.add(c0530Ul.T.e.i);
            this.b.T.e.i.k.add(c0017Ar);
            c0017Ar.f = -i2;
        } else {
            c0017Ar.b = true;
            c0017Ar.l.add(c0530Ul.T.e.i);
            this.b.T.e.i.k.add(c0017Ar);
        }
        m(this.b.e.h);
        m(this.b.e.i);
    }

    @Override // o.AbstractC0745al0
    public final void e() {
        C0530Ul c0530Ul = this.b;
        int i = ((C2604uE) c0530Ul).u0;
        C0017Ar c0017Ar = this.h;
        if (i == 1) {
            c0530Ul.Y = c0017Ar.g;
        } else {
            c0530Ul.Z = c0017Ar.g;
        }
    }

    @Override // o.AbstractC0745al0
    public final void f() {
        this.h.c();
    }

    @Override // o.AbstractC0745al0
    public final boolean k() {
        return false;
    }

    public final void m(C0017Ar c0017Ar) {
        C0017Ar c0017Ar2 = this.h;
        c0017Ar2.k.add(c0017Ar);
        c0017Ar.l.add(c0017Ar2);
    }
}
