package androidx.compose.foundation.layout;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import h2.d0;
import h2.f0;
import h2.g0;
import h2.p0;
import j2.b0;
import kotlin.jvm.internal.v;
import l1.i;
import rm.n0;

/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class k extends i.c implements b0 {
    private float C;
    private float D;
    private boolean E;

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

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ p0 f1837q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ g0 f1838r;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(p0 p0Var, g0 g0Var) {
            super(1);
            this.f1837q = p0Var;
            this.f1838r = g0Var;
        }

        public final void a(p0.a aVar) {
            if (k.this.h2()) {
                p0.a.l(aVar, this.f1837q, this.f1838r.Z0(k.this.i2()), this.f1838r.Z0(k.this.j2()), BitmapDescriptorFactory.HUE_RED, 4, null);
            } else {
                p0.a.h(aVar, this.f1837q, this.f1838r.Z0(k.this.i2()), this.f1838r.Z0(k.this.j2()), BitmapDescriptorFactory.HUE_RED, 4, null);
            }
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            a((p0.a) obj);
            return n0.f34904a;
        }
    }

    public /* synthetic */ k(float f10, float f11, boolean z10, kotlin.jvm.internal.k kVar) {
        this(f10, f11, z10);
    }

    @Override // j2.b0
    public f0 h(g0 g0Var, d0 d0Var, long j10) {
        p0 Y = d0Var.Y(j10);
        return g0.j0(g0Var, Y.S0(), Y.F0(), null, new a(Y, g0Var), 4, null);
    }

    public final boolean h2() {
        return this.E;
    }

    public final float i2() {
        return this.C;
    }

    public final float j2() {
        return this.D;
    }

    public final void k2(boolean z10) {
        this.E = z10;
    }

    public final void l2(float f10) {
        this.C = f10;
    }

    public final void m2(float f10) {
        this.D = f10;
    }

    private k(float f10, float f11, boolean z10) {
        this.C = f10;
        this.D = f11;
        this.E = z10;
    }
}
