package androidx.compose.ui.node; import androidx.compose.runtime.collection.MutableVector; import androidx.compose.ui.ActualKt; import androidx.compose.ui.CombinedModifier; import androidx.compose.ui.Modifier; import androidx.exifinterface.media.ExifInterface; import kotlin.Metadata; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.Intrinsics; import kotlin.ranges.RangesKt; /* compiled from: NodeChain.kt */ @Metadata(d1 = {"\u00007\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002*\u0001\u0005\u001a\u0018\u0010\u0007\u001a\u00020\u00012\u0006\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\tH\u0000\u001a \u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\t0\f*\u00020\r2\f\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\t0\fH\u0002\u001a$\u0010\u000f\u001a\u00020\u0010\"\b\b\u0000\u0010\u0011*\u00020\u0012*\b\u0012\u0004\u0012\u0002H\u00110\u00132\u0006\u0010\u0014\u001a\u00020\u0012H\u0002\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0002\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0003\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000\"\u0010\u0010\u0004\u001a\u00020\u0005X\u0082\u0004¢\u0006\u0004\n\u0002\u0010\u0006¨\u0006\u0015"}, d2 = {"ActionReplace", "", "ActionReuse", "ActionUpdate", "SentinelHead", "androidx/compose/ui/node/NodeChainKt$SentinelHead$1", "Landroidx/compose/ui/node/NodeChainKt$SentinelHead$1;", "actionForModifiers", "prev", "Landroidx/compose/ui/Modifier$Element;", "next", "fillVector", "Landroidx/compose/runtime/collection/MutableVector;", "Landroidx/compose/ui/Modifier;", "result", "updateUnsafe", "", ExifInterface.GPS_DIRECTION_TRUE, "Landroidx/compose/ui/Modifier$Node;", "Landroidx/compose/ui/node/ModifierNodeElement;", "node", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class NodeChainKt { private static final int ActionReplace = 0; private static final int ActionReuse = 2; private static final int ActionUpdate = 1; private static final NodeChainKt$SentinelHead$1 SentinelHead; public static final /* synthetic */ MutableVector access$fillVector(Modifier modifier, MutableVector mutableVector) { return fillVector(modifier, mutableVector); } public static final /* synthetic */ NodeChainKt$SentinelHead$1 access$getSentinelHead$p() { return SentinelHead; } public static final /* synthetic */ void access$updateUnsafe(ModifierNodeElement modifierNodeElement, Modifier.Node node) { updateUnsafe(modifierNodeElement, node); } /* JADX WARN: Type inference failed for: r0v0, types: [androidx.compose.ui.node.NodeChainKt$SentinelHead$1] */ static { ?? r0 = new Modifier.Node() { // from class: androidx.compose.ui.node.NodeChainKt$SentinelHead$1 public String toString() { return "
"; } }; r0.setAggregateChildKindSet$ui_release(-1); SentinelHead = r0; } public static final int actionForModifiers(Modifier.Element prev, Modifier.Element next) { Intrinsics.checkNotNullParameter(prev, "prev"); Intrinsics.checkNotNullParameter(next, "next"); if (Intrinsics.areEqual(prev, next)) { return 2; } return ActualKt.areObjectsOfSameType(prev, next) ? 1 : 0; } /* JADX WARN: Multi-variable type inference failed */ public static final