package androidx.compose.foundation.layout;

import androidx.compose.ui.platform.t1;
import c3.t;
import e0.w;
import e0.x;
import kotlin.jvm.internal.v;
import rm.n0;

/* loaded from: classes.dex */
public abstract class l {

    /* loaded from: classes.dex */
    public static final class a extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1839p;

        /* renamed from: q */
        final /* synthetic */ float f1840q;

        /* renamed from: r */
        final /* synthetic */ float f1841r;

        /* renamed from: s */
        final /* synthetic */ float f1842s;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(float f10, float f11, float f12, float f13) {
            super(1);
            this.f1839p = f10;
            this.f1840q = f11;
            this.f1841r = f12;
            this.f1842s = f13;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class b extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1843p;

        /* renamed from: q */
        final /* synthetic */ float f1844q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        b(float f10, float f11) {
            super(1);
            this.f1843p = f10;
            this.f1844q = f11;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    public static final class c extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ float f1845p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(float f10) {
            super(1);
            this.f1845p = f10;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class d extends v implements dn.l {

        /* renamed from: p */
        final /* synthetic */ w f1846p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        d(w wVar) {
            super(1);
            this.f1846p = wVar;
        }

        public final void a(t1 t1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return n0.f34904a;
        }
    }

    public static final w a(float f10) {
        return new x(f10, f10, f10, f10, null);
    }

    public static final w b(float f10, float f11) {
        return new x(f10, f11, f10, f11, null);
    }

    public static /* synthetic */ w c(float f10, float f11, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.t(0);
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.t(0);
        }
        return b(f10, f11);
    }

    public static final w d(float f10, float f11, float f12, float f13) {
        return new x(f10, f11, f12, f13, null);
    }

    public static /* synthetic */ w e(float f10, float f11, float f12, float f13, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.t(0);
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.t(0);
        }
        if ((i10 & 4) != 0) {
            f12 = c3.h.t(0);
        }
        if ((i10 & 8) != 0) {
            f13 = c3.h.t(0);
        }
        return d(f10, f11, f12, f13);
    }

    public static final float f(w wVar, t tVar) {
        return tVar == t.Ltr ? wVar.d(tVar) : wVar.b(tVar);
    }

    public static final float g(w wVar, t tVar) {
        return tVar == t.Ltr ? wVar.b(tVar) : wVar.d(tVar);
    }

    public static final l1.i h(l1.i iVar, w wVar) {
        return iVar.f(new PaddingValuesElement(wVar, new d(wVar)));
    }

    public static final l1.i i(l1.i iVar, float f10) {
        return iVar.f(new PaddingElement(f10, f10, f10, f10, true, new c(f10), null));
    }

    public static final l1.i j(l1.i iVar, float f10, float f11) {
        return iVar.f(new PaddingElement(f10, f11, f10, f11, true, new b(f10, f11), null));
    }

    public static /* synthetic */ l1.i k(l1.i iVar, float f10, float f11, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.t(0);
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.t(0);
        }
        return j(iVar, f10, f11);
    }

    public static final l1.i l(l1.i iVar, float f10, float f11, float f12, float f13) {
        return iVar.f(new PaddingElement(f10, f11, f12, f13, true, new a(f10, f11, f12, f13), null));
    }

    public static /* synthetic */ l1.i m(l1.i iVar, float f10, float f11, float f12, float f13, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            f10 = c3.h.t(0);
        }
        if ((i10 & 2) != 0) {
            f11 = c3.h.t(0);
        }
        if ((i10 & 4) != 0) {
            f12 = c3.h.t(0);
        }
        if ((i10 & 8) != 0) {
            f13 = c3.h.t(0);
        }
        return l(iVar, f10, f11, f12, f13);
    }
}
