package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.qV, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2242qV extends LP implements InterfaceC1851mK {
    public C2147pV z;

    @Override // o.InterfaceC1851mK
    public final InterfaceC2329rO a(InterfaceC2424sO interfaceC2424sO, InterfaceC1760lO interfaceC1760lO, long j) {
        float fA = this.z.a(interfaceC2424sO.getLayoutDirection());
        C2147pV c2147pV = this.z;
        float f = c2147pV.b;
        float fB = c2147pV.b(interfaceC2424sO.getLayoutDirection());
        float f2 = this.z.d;
        float f3 = 0;
        if (!((Float.compare(f2, f3) >= 0) & (Float.compare(fA, f3) >= 0) & (Float.compare(f, f3) >= 0) & (Float.compare(fB, f3) >= 0))) {
            AbstractC1943nH.a("Padding must be non-negative");
        }
        int iN = interfaceC2424sO.N(fA);
        int iN2 = interfaceC2424sO.N(fB) + iN;
        int iN3 = interfaceC2424sO.N(f);
        int iN4 = interfaceC2424sO.N(f2) + iN3;
        VW vwC = interfaceC1760lO.c(AbstractC0842bm.i(-iN2, -iN4, j));
        return interfaceC2424sO.H(AbstractC0842bm.g(vwC.l + iN2, j), AbstractC0842bm.f(vwC.m + iN4, j), C0358Nv.l, new PH(vwC, iN, iN3, 2));
    }
}
