package androidx.compose.foundation.layout; import androidx.compose.ui.Modifier; import androidx.compose.ui.platform.InspectableValueKt; import androidx.compose.ui.platform.InspectorInfo; import kotlin.Metadata; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.Intrinsics; /* compiled from: AspectRatio.kt */ @Metadata(d1 = {"\u0000\u0014\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0010\u000b\n\u0000\u001a\u001e\u0010\u0000\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005H\u0007ยจ\u0006\u0006"}, d2 = {"aspectRatio", "Landroidx/compose/ui/Modifier;", "ratio", "", "matchHeightConstraintsFirst", "", "foundation-layout_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class AspectRatioKt { public static /* synthetic */ Modifier aspectRatio$default(Modifier modifier, float f, boolean z, int i, Object obj) { if ((i & 2) != 0) { z = false; } return aspectRatio(modifier, f, z); } public static final Modifier aspectRatio(Modifier modifier, final float f, final boolean z) { Intrinsics.checkNotNullParameter(modifier, ""); return modifier.then(new AspectRatioElement(f, z, InspectableValueKt.isDebugInspectorInfoEnabled() ? new Function1() { // from class: androidx.compose.foundation.layout.AspectRatioKt$aspectRatio$$inlined$debugInspectorInfo$1 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(1); } @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(InspectorInfo inspectorInfo) { invoke2(inspectorInfo); return Unit.INSTANCE; } /* renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2(InspectorInfo inspectorInfo) { Intrinsics.checkNotNullParameter(inspectorInfo, "$this$null"); inspectorInfo.setName("aspectRatio"); inspectorInfo.getProperties().set("ratio", Float.valueOf(f)); inspectorInfo.getProperties().set("matchHeightConstraintsFirst", Boolean.valueOf(z)); } } : InspectableValueKt.getNoInspectorInfo())); } }