package o;

import android.graphics.Paint;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.vH, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2702vH extends AbstractC2239qS {
    public static final Ew0 b0;
    public final Bc0 Z;
    public C2607uH a0;

    static {
        Ew0 ew0B = AbstractC0662Zn.b();
        ew0B.f(C0190Hi.d);
        ((Paint) ew0B.b).setStrokeWidth(1.0f);
        ew0B.j(1);
        b0 = ew0B;
    }

    public C2702vH(C2420sK c2420sK) {
        super(c2420sK);
        Bc0 bc0 = new Bc0();
        bc0.f209o = 0;
        this.Z = bc0;
        bc0.s = this;
        this.a0 = c2420sK.r != null ? new C2607uH(this) : null;
    }

    @Override // o.AbstractC2239qS
    public final void K0() {
        if (this.a0 == null) {
            this.a0 = new C2607uH(this);
        }
    }

    @Override // o.AbstractC2239qS
    public final AbstractC0709aN N0() {
        return this.a0;
    }

    @Override // o.InterfaceC1760lO
    public final int O(int i) {
        C3040yr c3040yrR = this.z.r();
        InterfaceC2235qO interfaceC2235qOF = c3040yrR.f();
        C2420sK c2420sK = (C2420sK) c3040yrR.m;
        return interfaceC2235qOF.i((AbstractC2239qS) c2420sK.N.e, c2420sK.l(), i);
    }

    @Override // o.AbstractC2239qS
    public final LP P0() {
        return this.Z;
    }

    @Override // o.InterfaceC1760lO
    public final int U(int i) {
        C3040yr c3040yrR = this.z.r();
        InterfaceC2235qO interfaceC2235qOF = c3040yrR.f();
        C2420sK c2420sK = (C2420sK) c3040yrR.m;
        return interfaceC2235qOF.j((AbstractC2239qS) c2420sK.N.e, c2420sK.l(), i);
    }

    @Override // o.InterfaceC1760lO
    public final int V(int i) {
        C3040yr c3040yrR = this.z.r();
        InterfaceC2235qO interfaceC2235qOF = c3040yrR.f();
        C2420sK c2420sK = (C2420sK) c3040yrR.m;
        return interfaceC2235qOF.g((AbstractC2239qS) c2420sK.N.e, c2420sK.l(), i);
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:15:0x0040  */
    /* JADX WARN: Removed duplicated region for block: B:93:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Type inference failed for: r4v0 */
    /* JADX WARN: Type inference failed for: r4v1, types: [o.LP] */
    /* JADX WARN: Type inference failed for: r4v10 */
    /* JADX WARN: Type inference failed for: r4v11 */
    /* JADX WARN: Type inference failed for: r4v12 */
    /* JADX WARN: Type inference failed for: r4v4 */
    /* JADX WARN: Type inference failed for: r4v5, types: [o.LP] */
    /* JADX WARN: Type inference failed for: r4v6, types: [java.lang.Object] */
    /* JADX WARN: Type inference failed for: r4v7 */
    /* JADX WARN: Type inference failed for: r4v8 */
    /* JADX WARN: Type inference failed for: r4v9 */
    /* JADX WARN: Type inference failed for: r6v10, types: [o.iR] */
    /* JADX WARN: Type inference failed for: r6v11 */
    /* JADX WARN: Type inference failed for: r6v12 */
    /* JADX WARN: Type inference failed for: r6v13, types: [o.iR] */
    /* JADX WARN: Type inference failed for: r6v18 */
    /* JADX WARN: Type inference failed for: r6v19 */
    /* JADX WARN: Type inference failed for: r6v20 */
    /* JADX WARN: Type inference failed for: r6v21 */
    /* JADX WARN: Type inference failed for: r6v7 */
    /* JADX WARN: Type inference failed for: r6v8 */
    /* JADX WARN: Type inference failed for: r6v9 */
    @Override // o.AbstractC2239qS
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void V0(o.InterfaceC2049oS r18, long r19, o.C1275gF r21, int r22, boolean r23) {
        /*
            Method dump skipped, instructions count: 271
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2702vH.V0(o.oS, long, o.gF, int, boolean):void");
    }

    @Override // o.VW
    public final void a0(long j, float f, OC oc) {
        f1(j, f, oc);
        if (this.u) {
            return;
        }
        this.z.O.f773o.l0();
    }

    @Override // o.InterfaceC1760lO
    public final VW c(long j) {
        c0(j);
        C2420sK c2420sK = this.z;
        C1479iR c1479iRW = c2420sK.w();
        Object[] objArr = c1479iRW.l;
        int i = c1479iRW.n;
        for (int i2 = 0; i2 < i; i2++) {
            ((C2420sK) objArr[i2]).O.f773o.U = 3;
        }
        i1(c2420sK.G.a(this, c2420sK.l(), j));
        a1();
        return this;
    }

    @Override // o.InterfaceC1760lO
    public final int d(int i) {
        C3040yr c3040yrR = this.z.r();
        InterfaceC2235qO interfaceC2235qOF = c3040yrR.f();
        C2420sK c2420sK = (C2420sK) c3040yrR.m;
        return interfaceC2235qOF.c((AbstractC2239qS) c2420sK.N.e, c2420sK.l(), i);
    }

    @Override // o.AbstractC2239qS
    public final void e1(InterfaceC2923xg interfaceC2923xg, C1082eE c1082eE) {
        C2420sK c2420sK = this.z;
        InterfaceC1577jV interfaceC1577jVA = AbstractC2705vK.a(c2420sK);
        C1479iR c1479iRV = c2420sK.v();
        Object[] objArr = c1479iRV.l;
        int i = c1479iRV.n;
        for (int i2 = 0; i2 < i; i2++) {
            C2420sK c2420sK2 = (C2420sK) objArr[i2];
            if (c2420sK2.H()) {
                c2420sK2.i(interfaceC2923xg, c1082eE);
            }
        }
        if (((C2207q3) interfaceC1577jVA).getShowLayoutBounds()) {
            long j = this.n;
            interfaceC2923xg.l(0.5f, 0.5f, ((int) (j >> 32)) - 0.5f, ((int) (j & 4294967295L)) - 0.5f, b0);
        }
    }

    @Override // o.YM
    public final int f0(AbstractC2679v2 abstractC2679v2) {
        C2607uH c2607uH = this.a0;
        if (c2607uH != null) {
            return c2607uH.f0(abstractC2679v2);
        }
        C2140pO c2140pO = this.z.O.f773o;
        C2515tK c2515tK = c2140pO.G;
        if (c2140pO.q.c == 1) {
            c2515tK.d = true;
            if (c2515tK.b) {
                c2140pO.E = true;
                c2140pO.F = true;
            }
        } else {
            c2515tK.e = true;
        }
        c2140pO.n().v = true;
        c2140pO.s();
        c2140pO.n().v = false;
        Integer num = (Integer) c2515tK.g.get(abstractC2679v2);
        if (num != null) {
            return num.intValue();
        }
        return Integer.MIN_VALUE;
    }
}
