package androidx.compose.foundation.layout; import androidx.compose.runtime.Applier; import androidx.compose.runtime.ComposablesKt; import androidx.compose.runtime.Composer; import androidx.compose.runtime.ComposerKt; import androidx.compose.runtime.CompositionLocalMap; import androidx.compose.runtime.SkippableUpdater; import androidx.compose.runtime.Updater; import androidx.compose.ui.Modifier; import androidx.compose.ui.layout.LayoutKt; import androidx.compose.ui.node.ComposeUiNode; import kotlin.Metadata; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function2; import kotlin.jvm.functions.Function3; import kotlin.jvm.internal.Intrinsics; /* compiled from: Spacer.kt */ @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0015\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0007¢\u0006\u0002\u0010\u0004¨\u0006\u0005"}, d2 = {"Spacer", "", "modifier", "Landroidx/compose/ui/Modifier;", "(Landroidx/compose/ui/Modifier;Landroidx/compose/runtime/Composer;I)V", "foundation-layout_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class SpacerKt { public static final void Spacer(Modifier modifier, Composer composer, int i) { Intrinsics.checkNotNullParameter(modifier, "modifier"); composer.startReplaceableGroup(-72882467); ComposerKt.sourceInformation(composer, "C(Spacer)39@1433L68:Spacer.kt#2w3rfo"); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventStart(-72882467, i, -1, "androidx.compose.foundation.layout.Spacer (Spacer.kt:38)"); } SpacerMeasurePolicy spacerMeasurePolicy = SpacerMeasurePolicy.INSTANCE; composer.startReplaceableGroup(-1323940314); ComposerKt.sourceInformation(composer, "CC(Layout)P(!1,2)77@3132L23,79@3222L420:Layout.kt#80mrfh"); int currentCompositeKeyHash = ComposablesKt.getCurrentCompositeKeyHash(composer, 0); CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap(); Function0 constructor = ComposeUiNode.INSTANCE.getConstructor(); Function3, Composer, Integer, Unit> modifierMaterializerOf = LayoutKt.modifierMaterializerOf(modifier); int i2 = (((((i << 3) & 112) | 384) << 9) & 7168) | 6; if (!(composer.getApplier() instanceof Applier)) { ComposablesKt.invalidApplier(); } composer.startReusableNode(); if (composer.getInserting()) { composer.createNode(constructor); } else { composer.useNode(); } Composer m2273constructorimpl = Updater.m2273constructorimpl(composer); Updater.m2280setimpl(m2273constructorimpl, spacerMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy()); Updater.m2280setimpl(m2273constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals()); Function2 setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash(); if (m2273constructorimpl.getInserting() || !Intrinsics.areEqual(m2273constructorimpl.rememberedValue(), Integer.valueOf(currentCompositeKeyHash))) { m2273constructorimpl.updateRememberedValue(Integer.valueOf(currentCompositeKeyHash)); m2273constructorimpl.apply(Integer.valueOf(currentCompositeKeyHash), setCompositeKeyHash); } modifierMaterializerOf.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(composer)), composer, Integer.valueOf((i2 >> 3) & 112)); composer.startReplaceableGroup(2058660585); ComposerKt.sourceInformationMarkerStart(composer, 348366764, "C:Spacer.kt#2w3rfo"); ComposerKt.sourceInformationMarkerEnd(composer); composer.endReplaceableGroup(); composer.endNode(); composer.endReplaceableGroup(); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventEnd(); } composer.endReplaceableGroup(); } }