package androidx.compose.foundation.layout;

import o.C2147pV;
import o.MP;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public abstract class b {
    public static final C2147pV a(float f, float f2, float f3, float f4) {
        return new C2147pV(f, f2, f3, f4);
    }

    public static C2147pV b(float f) {
        return new C2147pV(0, 0, 0, f);
    }

    public static MP c(MP mp, float f) {
        return mp.g(new OffsetElement(0, f));
    }

    public static final MP d(MP mp, C2147pV c2147pV) {
        return mp.g(new PaddingValuesElement(c2147pV));
    }

    public static final MP e(MP mp, float f) {
        return mp.g(new PaddingElement(f, f, f, f));
    }

    public static final MP f(MP mp, float f, float f2) {
        return mp.g(new PaddingElement(f, f2, f, f2));
    }

    public static MP g(MP mp, float f, float f2, int i) {
        if ((i & 1) != 0) {
            f = 0;
        }
        if ((i & 2) != 0) {
            f2 = 0;
        }
        return f(mp, f, f2);
    }

    public static final MP h(MP mp, float f, float f2, float f3, float f4) {
        return mp.g(new PaddingElement(f, f2, f3, f4));
    }

    public static MP i(MP mp, float f, float f2, float f3, float f4, int i) {
        if ((i & 1) != 0) {
            f = 0;
        }
        if ((i & 2) != 0) {
            f2 = 0;
        }
        if ((i & 4) != 0) {
            f3 = 0;
        }
        if ((i & 8) != 0) {
            f4 = 0;
        }
        return h(mp, f, f2, f3, f4);
    }

    public static final MP j(MP mp) {
        return mp.g(new IntrinsicWidthElement());
    }
}
