package androidx.compose.foundation.lazy.grid; import androidx.compose.foundation.layout.Arrangement; import androidx.compose.foundation.layout.PaddingKt; import androidx.compose.foundation.layout.PaddingValues; import androidx.compose.runtime.Composer; import androidx.compose.runtime.ComposerKt; import androidx.compose.runtime.internal.ComposableLambdaKt; import androidx.compose.ui.unit.Constraints; import androidx.compose.ui.unit.Density; import androidx.compose.ui.unit.Dp; import androidx.compose.ui.unit.LayoutDirection; import androidx.exifinterface.media.ExifInterface; import io.sentry.protocol.SentryThread; import java.util.ArrayList; import java.util.List; import kotlin.Metadata; import kotlin.Unit; import kotlin.collections.CollectionsKt; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.functions.Function3; import kotlin.jvm.functions.Function4; import kotlin.jvm.functions.Function5; import kotlin.jvm.internal.Intrinsics; /* compiled from: LazyGridDsl.kt */ @Metadata(d1 = {"\u0000\u009e\u0001\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010 \n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0011\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\u001a~\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\t2\b\b\u0002\u0010\n\u001a\u00020\u000b2\b\b\u0002\u0010\f\u001a\u00020\r2\b\b\u0002\u0010\u000e\u001a\u00020\u000f2\b\b\u0002\u0010\u0010\u001a\u00020\u00112\b\b\u0002\u0010\u0012\u001a\u00020\u000b2\u0017\u0010\u0013\u001a\u0013\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\u00010\u0014¢\u0006\u0002\b\u0016H\u0007¢\u0006\u0002\u0010\u0017\u001a~\u0010\u0018\u001a\u00020\u00012\u0006\u0010\u0019\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\t2\b\b\u0002\u0010\n\u001a\u00020\u000b2\b\b\u0002\u0010\u000e\u001a\u00020\u000f2\b\b\u0002\u0010\f\u001a\u00020\r2\b\b\u0002\u0010\u0010\u001a\u00020\u00112\b\b\u0002\u0010\u0012\u001a\u00020\u000b2\u0017\u0010\u0013\u001a\u0013\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\u00010\u0014¢\u0006\u0002\b\u0016H\u0007¢\u0006\u0002\u0010\u001a\u001a&\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u001d0\u001c2\u0006\u0010\u001e\u001a\u00020\u001d2\u0006\u0010\u001f\u001a\u00020\u001d2\u0006\u0010 \u001a\u00020\u001dH\u0002\u001a?\u0010!\u001a\u0019\u0012\u0004\u0012\u00020#\u0012\u0004\u0012\u00020$\u0012\u0004\u0012\u00020%0\"¢\u0006\u0002\b\u00162\u0006\u0010\u0019\u001a\u00020\u00032\u0006\u0010\f\u001a\u00020\r2\u0006\u0010\b\u001a\u00020\tH\u0003ø\u0001\u0000¢\u0006\u0002\u0010&\u001a?\u0010'\u001a\u0019\u0012\u0004\u0012\u00020#\u0012\u0004\u0012\u00020$\u0012\u0004\u0012\u00020%0\"¢\u0006\u0002\b\u00162\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\b\u001a\u00020\tH\u0003ø\u0001\u0000¢\u0006\u0002\u0010(\u001aá\u0001\u0010)\u001a\u00020\u0001\"\u0004\b\u0000\u0010**\u00020\u00152\f\u0010)\u001a\b\u0012\u0004\u0012\u0002H*0+2%\b\n\u0010,\u001a\u001f\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000200\u0018\u00010\u001420\b\n\u00101\u001a*\u0012\u0004\u0012\u000202\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000203\u0018\u00010\"¢\u0006\u0002\b\u00162%\b\n\u00104\u001a\u001f\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0006\u0012\u0004\u0018\u0001000\u001423\b\u0004\u00105\u001a-\u0012\u0004\u0012\u000206\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u00020\u00010\"¢\u0006\u0002\b7¢\u0006\u0002\b\u0016H\u0086\bø\u0001\u0001ø\u0001\u0000¢\u0006\u0002\u00108\u001aá\u0001\u0010)\u001a\u00020\u0001\"\u0004\b\u0000\u0010**\u00020\u00152\f\u0010)\u001a\b\u0012\u0004\u0012\u0002H*0\u001c2%\b\n\u0010,\u001a\u001f\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000200\u0018\u00010\u001420\b\n\u00101\u001a*\u0012\u0004\u0012\u000202\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000203\u0018\u00010\"¢\u0006\u0002\b\u00162%\b\n\u00104\u001a\u001f\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0006\u0012\u0004\u0018\u0001000\u001423\b\u0004\u00105\u001a-\u0012\u0004\u0012\u000206\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u00020\u00010\"¢\u0006\u0002\b7¢\u0006\u0002\b\u0016H\u0086\bø\u0001\u0001ø\u0001\u0000¢\u0006\u0002\u00109\u001aµ\u0002\u0010:\u001a\u00020\u0001\"\u0004\b\u0000\u0010**\u00020\u00152\f\u0010)\u001a\b\u0012\u0004\u0012\u0002H*0+2:\b\n\u0010,\u001a4\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000200\u0018\u00010\"2E\b\n\u00101\u001a?\u0012\u0004\u0012\u000202\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000203\u0018\u00010<¢\u0006\u0002\b\u00162:\b\u0006\u00104\u001a4\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0006\u0012\u0004\u0018\u0001000\"2H\b\u0004\u00105\u001aB\u0012\u0004\u0012\u000206\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u00020\u00010<¢\u0006\u0002\b7¢\u0006\u0002\b\u0016H\u0086\bø\u0001\u0001ø\u0001\u0000¢\u0006\u0002\u0010=\u001aµ\u0002\u0010:\u001a\u00020\u0001\"\u0004\b\u0000\u0010**\u00020\u00152\f\u0010)\u001a\b\u0012\u0004\u0012\u0002H*0\u001c2:\b\n\u0010,\u001a4\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000200\u0018\u00010\"2E\b\n\u00101\u001a?\u0012\u0004\u0012\u000202\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u000203\u0018\u00010<¢\u0006\u0002\b\u00162:\b\u0006\u00104\u001a4\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0006\u0012\u0004\u0018\u0001000\"2H\b\u0004\u00105\u001aB\u0012\u0004\u0012\u000206\u0012\u0013\u0012\u00110\u001d¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(;\u0012\u0013\u0012\u0011H*¢\u0006\f\b-\u0012\b\b.\u0012\u0004\b\b(/\u0012\u0004\u0012\u00020\u00010<¢\u0006\u0002\b7¢\u0006\u0002\b\u0016H\u0086\bø\u0001\u0001ø\u0001\u0000¢\u0006\u0002\u0010>\u0082\u0002\u000b\n\u0002\b\u0019\n\u0005\b\u009920\u0001¨\u0006?"}, d2 = {"LazyHorizontalGrid", "", "rows", "Landroidx/compose/foundation/lazy/grid/GridCells;", "modifier", "Landroidx/compose/ui/Modifier;", SentryThread.JsonKeys.STATE, "Landroidx/compose/foundation/lazy/grid/LazyGridState;", "contentPadding", "Landroidx/compose/foundation/layout/PaddingValues;", "reverseLayout", "", "horizontalArrangement", "Landroidx/compose/foundation/layout/Arrangement$Horizontal;", "verticalArrangement", "Landroidx/compose/foundation/layout/Arrangement$Vertical;", "flingBehavior", "Landroidx/compose/foundation/gestures/FlingBehavior;", "userScrollEnabled", "content", "Lkotlin/Function1;", "Landroidx/compose/foundation/lazy/grid/LazyGridScope;", "Lkotlin/ExtensionFunctionType;", "(Landroidx/compose/foundation/lazy/grid/GridCells;Landroidx/compose/ui/Modifier;Landroidx/compose/foundation/lazy/grid/LazyGridState;Landroidx/compose/foundation/layout/PaddingValues;ZLandroidx/compose/foundation/layout/Arrangement$Horizontal;Landroidx/compose/foundation/layout/Arrangement$Vertical;Landroidx/compose/foundation/gestures/FlingBehavior;ZLkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)V", "LazyVerticalGrid", "columns", "(Landroidx/compose/foundation/lazy/grid/GridCells;Landroidx/compose/ui/Modifier;Landroidx/compose/foundation/lazy/grid/LazyGridState;Landroidx/compose/foundation/layout/PaddingValues;ZLandroidx/compose/foundation/layout/Arrangement$Vertical;Landroidx/compose/foundation/layout/Arrangement$Horizontal;Landroidx/compose/foundation/gestures/FlingBehavior;ZLkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)V", "calculateCellsCrossAxisSizeImpl", "", "", "gridSize", "slotCount", "spacing", "rememberColumnWidthSums", "Lkotlin/Function2;", "Landroidx/compose/ui/unit/Density;", "Landroidx/compose/ui/unit/Constraints;", "Landroidx/compose/foundation/lazy/grid/LazyGridSlots;", "(Landroidx/compose/foundation/lazy/grid/GridCells;Landroidx/compose/foundation/layout/Arrangement$Horizontal;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/runtime/Composer;I)Lkotlin/jvm/functions/Function2;", "rememberRowHeightSums", "(Landroidx/compose/foundation/lazy/grid/GridCells;Landroidx/compose/foundation/layout/Arrangement$Vertical;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/runtime/Composer;I)Lkotlin/jvm/functions/Function2;", "items", ExifInterface.GPS_DIRECTION_TRUE, "", "key", "Lkotlin/ParameterName;", "name", "item", "", "span", "Landroidx/compose/foundation/lazy/grid/LazyGridItemSpanScope;", "Landroidx/compose/foundation/lazy/grid/GridItemSpan;", "contentType", "itemContent", "Landroidx/compose/foundation/lazy/grid/LazyGridItemScope;", "Landroidx/compose/runtime/Composable;", "(Landroidx/compose/foundation/lazy/grid/LazyGridScope;[Ljava/lang/Object;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;)V", "(Landroidx/compose/foundation/lazy/grid/LazyGridScope;Ljava/util/List;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;)V", "itemsIndexed", "index", "Lkotlin/Function3;", "(Landroidx/compose/foundation/lazy/grid/LazyGridScope;[Ljava/lang/Object;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function5;)V", "(Landroidx/compose/foundation/lazy/grid/LazyGridScope;Ljava/util/List;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function5;)V", "foundation_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class LazyGridDslKt { /* JADX WARN: Removed duplicated region for block: B:101:0x01e4 */ /* JADX WARN: Removed duplicated region for block: B:103:0x01f4 */ /* JADX WARN: Removed duplicated region for block: B:105:0x01f8 */ /* JADX WARN: Removed duplicated region for block: B:106:0x01f0 */ /* JADX WARN: Removed duplicated region for block: B:107:0x01df */ /* JADX WARN: Removed duplicated region for block: B:109:0x01d5 */ /* JADX WARN: Removed duplicated region for block: B:10:0x0057 */ /* JADX WARN: Removed duplicated region for block: B:110:0x01ba */ /* JADX WARN: Removed duplicated region for block: B:111:0x01ad */ /* JADX WARN: Removed duplicated region for block: B:112:0x019e */ /* JADX WARN: Removed duplicated region for block: B:113:0x012e */ /* JADX WARN: Removed duplicated region for block: B:119:0x0111 */ /* JADX WARN: Removed duplicated region for block: B:128:0x0102 */ /* JADX WARN: Removed duplicated region for block: B:129:0x00d3 */ /* JADX WARN: Removed duplicated region for block: B:138:0x00c4 */ /* JADX WARN: Removed duplicated region for block: B:139:0x0094 */ /* JADX WARN: Removed duplicated region for block: B:146:0x0075 */ /* JADX WARN: Removed duplicated region for block: B:155:0x006c */ /* JADX WARN: Removed duplicated region for block: B:18:0x0072 */ /* JADX WARN: Removed duplicated region for block: B:22:0x0091 */ /* JADX WARN: Removed duplicated region for block: B:26:0x00ae */ /* JADX WARN: Removed duplicated region for block: B:34:0x00cc */ /* JADX WARN: Removed duplicated region for block: B:37:0x00ec */ /* JADX WARN: Removed duplicated region for block: B:45:0x010a */ /* JADX WARN: Removed duplicated region for block: B:48:0x012a */ /* JADX WARN: Removed duplicated region for block: B:52:0x0147 */ /* JADX WARN: Removed duplicated region for block: B:57:0x0289 */ /* JADX WARN: Removed duplicated region for block: B:60:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:63:0x016a */ /* JADX WARN: Removed duplicated region for block: B:77:0x020d */ /* JADX WARN: Removed duplicated region for block: B:80:0x0270 */ /* JADX WARN: Removed duplicated region for block: B:83:0x0199 */ /* JADX WARN: Removed duplicated region for block: B:86:0x01a5 */ /* JADX WARN: Removed duplicated region for block: B:88:0x01b0 */ /* JADX WARN: Removed duplicated region for block: B:90:0x01be */ /* JADX WARN: Removed duplicated region for block: B:93:0x01c3 */ /* JADX WARN: Removed duplicated region for block: B:98:0x01d8 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void LazyVerticalGrid(final androidx.compose.foundation.lazy.grid.GridCells r27, androidx.compose.ui.Modifier r28, androidx.compose.foundation.lazy.grid.LazyGridState r29, androidx.compose.foundation.layout.PaddingValues r30, boolean r31, androidx.compose.foundation.layout.Arrangement.Vertical r32, androidx.compose.foundation.layout.Arrangement.Horizontal r33, androidx.compose.foundation.gestures.FlingBehavior r34, boolean r35, final kotlin.jvm.functions.Function1 r36, androidx.compose.runtime.Composer r37, final int r38, final int r39) { /* Method dump skipped, instructions count: 669 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.lazy.grid.LazyGridDslKt.LazyVerticalGrid(androidx.compose.foundation.lazy.grid.GridCells, androidx.compose.ui.Modifier, androidx.compose.foundation.lazy.grid.LazyGridState, androidx.compose.foundation.layout.PaddingValues, boolean, androidx.compose.foundation.layout.Arrangement$Vertical, androidx.compose.foundation.layout.Arrangement$Horizontal, androidx.compose.foundation.gestures.FlingBehavior, boolean, kotlin.jvm.functions.Function1, androidx.compose.runtime.Composer, int, int):void"); } /* JADX WARN: Removed duplicated region for block: B:101:0x01e4 */ /* JADX WARN: Removed duplicated region for block: B:103:0x01f4 */ /* JADX WARN: Removed duplicated region for block: B:105:0x01f8 */ /* JADX WARN: Removed duplicated region for block: B:106:0x01f0 */ /* JADX WARN: Removed duplicated region for block: B:107:0x01df */ /* JADX WARN: Removed duplicated region for block: B:109:0x01d5 */ /* JADX WARN: Removed duplicated region for block: B:10:0x0057 */ /* JADX WARN: Removed duplicated region for block: B:110:0x01ba */ /* JADX WARN: Removed duplicated region for block: B:111:0x01ad */ /* JADX WARN: Removed duplicated region for block: B:112:0x019e */ /* JADX WARN: Removed duplicated region for block: B:113:0x012e */ /* JADX WARN: Removed duplicated region for block: B:119:0x0111 */ /* JADX WARN: Removed duplicated region for block: B:128:0x0102 */ /* JADX WARN: Removed duplicated region for block: B:129:0x00d3 */ /* JADX WARN: Removed duplicated region for block: B:138:0x00c4 */ /* JADX WARN: Removed duplicated region for block: B:139:0x0094 */ /* JADX WARN: Removed duplicated region for block: B:146:0x0075 */ /* JADX WARN: Removed duplicated region for block: B:155:0x006c */ /* JADX WARN: Removed duplicated region for block: B:18:0x0072 */ /* JADX WARN: Removed duplicated region for block: B:22:0x0091 */ /* JADX WARN: Removed duplicated region for block: B:26:0x00ae */ /* JADX WARN: Removed duplicated region for block: B:34:0x00cc */ /* JADX WARN: Removed duplicated region for block: B:37:0x00ec */ /* JADX WARN: Removed duplicated region for block: B:45:0x010a */ /* JADX WARN: Removed duplicated region for block: B:48:0x012a */ /* JADX WARN: Removed duplicated region for block: B:52:0x0147 */ /* JADX WARN: Removed duplicated region for block: B:57:0x028c */ /* JADX WARN: Removed duplicated region for block: B:60:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:63:0x016a */ /* JADX WARN: Removed duplicated region for block: B:77:0x020d */ /* JADX WARN: Removed duplicated region for block: B:80:0x0273 */ /* JADX WARN: Removed duplicated region for block: B:83:0x0199 */ /* JADX WARN: Removed duplicated region for block: B:86:0x01a5 */ /* JADX WARN: Removed duplicated region for block: B:88:0x01b0 */ /* JADX WARN: Removed duplicated region for block: B:90:0x01be */ /* JADX WARN: Removed duplicated region for block: B:93:0x01c3 */ /* JADX WARN: Removed duplicated region for block: B:98:0x01d8 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static final void LazyHorizontalGrid(final androidx.compose.foundation.lazy.grid.GridCells r27, androidx.compose.ui.Modifier r28, androidx.compose.foundation.lazy.grid.LazyGridState r29, androidx.compose.foundation.layout.PaddingValues r30, boolean r31, androidx.compose.foundation.layout.Arrangement.Horizontal r32, androidx.compose.foundation.layout.Arrangement.Vertical r33, androidx.compose.foundation.gestures.FlingBehavior r34, boolean r35, final kotlin.jvm.functions.Function1 r36, androidx.compose.runtime.Composer r37, final int r38, final int r39) { /* Method dump skipped, instructions count: 672 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.lazy.grid.LazyGridDslKt.LazyHorizontalGrid(androidx.compose.foundation.lazy.grid.GridCells, androidx.compose.ui.Modifier, androidx.compose.foundation.lazy.grid.LazyGridState, androidx.compose.foundation.layout.PaddingValues, boolean, androidx.compose.foundation.layout.Arrangement$Horizontal, androidx.compose.foundation.layout.Arrangement$Vertical, androidx.compose.foundation.gestures.FlingBehavior, boolean, kotlin.jvm.functions.Function1, androidx.compose.runtime.Composer, int, int):void"); } private static final Function2 rememberColumnWidthSums(final GridCells gridCells, final Arrangement.Horizontal horizontal, final PaddingValues paddingValues, Composer composer, int i) { composer.startReplaceableGroup(-1355301804); ComposerKt.sourceInformation(composer, "C(rememberColumnWidthSums)P(!1,2)148@6622L992:LazyGridDsl.kt#7791vq"); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventStart(-1355301804, i, -1, "androidx.compose.foundation.lazy.grid.rememberColumnWidthSums (LazyGridDsl.kt:144)"); } composer.startReplaceableGroup(1618982084); ComposerKt.sourceInformation(composer, "CC(remember)P(1,2,3):Composables.kt#9igjgp"); boolean changed = composer.changed(gridCells) | composer.changed(horizontal) | composer.changed(paddingValues); GridSlotCache rememberedValue = composer.rememberedValue(); if (changed || rememberedValue == Composer.INSTANCE.getEmpty()) { rememberedValue = new GridSlotCache(new Function2() { // from class: androidx.compose.foundation.lazy.grid.LazyGridDslKt$rememberColumnWidthSums$1$1 /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(2); } @Override // kotlin.jvm.functions.Function2 public /* bridge */ /* synthetic */ LazyGridSlots invoke(Density density, Constraints constraints) { return m618invoke0kLqBqw(density, constraints.getValue()); } /* renamed from: invoke-0kLqBqw, reason: not valid java name */ public final LazyGridSlots m618invoke0kLqBqw(Density $receiver, long j) { Intrinsics.checkNotNullParameter($receiver, "$this$$receiver"); if (Constraints.m4839getMaxWidthimpl(j) == Integer.MAX_VALUE) { throw new IllegalArgumentException("LazyVerticalGrid's width should be bound by parent.".toString()); } int m4839getMaxWidthimpl = Constraints.m4839getMaxWidthimpl(j) - $receiver.mo329roundToPx0680j_4(Dp.m4883constructorimpl(PaddingKt.calculateStartPadding(PaddingValues.this, LayoutDirection.Ltr) + PaddingKt.calculateEndPadding(PaddingValues.this, LayoutDirection.Ltr))); GridCells gridCells2 = gridCells; Arrangement.Horizontal horizontal2 = horizontal; int[] intArray = CollectionsKt.toIntArray(gridCells2.calculateCrossAxisCellSizes($receiver, m4839getMaxWidthimpl, $receiver.mo329roundToPx0680j_4(horizontal2.getSpacing()))); int[] iArr = new int[intArray.length]; horizontal2.arrange($receiver, m4839getMaxWidthimpl, intArray, LayoutDirection.Ltr, iArr); return new LazyGridSlots(intArray, iArr); } }); composer.updateRememberedValue(rememberedValue); } composer.endReplaceableGroup(); Function2 function2 = (Function2) rememberedValue; if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventEnd(); } composer.endReplaceableGroup(); return function2; } private static final Function2 rememberRowHeightSums(final GridCells gridCells, final Arrangement.Vertical vertical, final PaddingValues paddingValues, Composer composer, int i) { composer.startReplaceableGroup(239683573); ComposerKt.sourceInformation(composer, "C(rememberRowHeightSums)P(1,2)181@7812L926:LazyGridDsl.kt#7791vq"); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventStart(239683573, i, -1, "androidx.compose.foundation.lazy.grid.rememberRowHeightSums (LazyGridDsl.kt:177)"); } composer.startReplaceableGroup(1618982084); ComposerKt.sourceInformation(composer, "CC(remember)P(1,2,3):Composables.kt#9igjgp"); boolean changed = composer.changed(gridCells) | composer.changed(vertical) | composer.changed(paddingValues); GridSlotCache rememberedValue = composer.rememberedValue(); if (changed || rememberedValue == Composer.INSTANCE.getEmpty()) { rememberedValue = new GridSlotCache(new Function2() { // from class: androidx.compose.foundation.lazy.grid.LazyGridDslKt$rememberRowHeightSums$1$1 /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(2); } @Override // kotlin.jvm.functions.Function2 public /* bridge */ /* synthetic */ LazyGridSlots invoke(Density density, Constraints constraints) { return m619invoke0kLqBqw(density, constraints.getValue()); } /* renamed from: invoke-0kLqBqw, reason: not valid java name */ public final LazyGridSlots m619invoke0kLqBqw(Density $receiver, long j) { Intrinsics.checkNotNullParameter($receiver, "$this$$receiver"); if (Constraints.m4838getMaxHeightimpl(j) == Integer.MAX_VALUE) { throw new IllegalArgumentException("LazyHorizontalGrid's height should be bound by parent.".toString()); } int m4838getMaxHeightimpl = Constraints.m4838getMaxHeightimpl(j) - $receiver.mo329roundToPx0680j_4(Dp.m4883constructorimpl(PaddingValues.this.getTop() + PaddingValues.this.getBottom())); GridCells gridCells2 = gridCells; Arrangement.Vertical vertical2 = vertical; int[] intArray = CollectionsKt.toIntArray(gridCells2.calculateCrossAxisCellSizes($receiver, m4838getMaxHeightimpl, $receiver.mo329roundToPx0680j_4(vertical2.getSpacing()))); int[] iArr = new int[intArray.length]; vertical2.arrange($receiver, m4838getMaxHeightimpl, intArray, iArr); return new LazyGridSlots(intArray, iArr); } }); composer.updateRememberedValue(rememberedValue); } composer.endReplaceableGroup(); Function2 function2 = (Function2) rememberedValue; if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventEnd(); } composer.endReplaceableGroup(); return function2; } /* JADX INFO: Access modifiers changed from: private */ public static final List calculateCellsCrossAxisSizeImpl(int i, int i2, int i3) { int i4 = i - (i3 * (i2 - 1)); int i5 = i4 / i2; int i6 = i4 % i2; ArrayList arrayList = new ArrayList(i2); int i7 = 0; while (i7 < i2) { arrayList.add(Integer.valueOf((i7 < i6 ? 1 : 0) + i5)); i7++; } return arrayList; } public static /* synthetic */ void items$default(LazyGridScope lazyGridScope, List items, Function1 function1, Function2 function2, Function1 contentType, Function4 itemContent, int i, Object obj) { if ((i & 2) != 0) { function1 = null; } if ((i & 4) != 0) { function2 = null; } if ((i & 8) != 0) { contentType = new Function1() { // from class: androidx.compose.foundation.lazy.grid.LazyGridDslKt$items$1 @Override // kotlin.jvm.functions.Function1 public final Void invoke(T t) { return null; } @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Object invoke(Object obj2) { return invoke((LazyGridDslKt$items$1) obj2); } }; } Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.size(), function1 != null ? new LazyGridDslKt$items$2(function1, items) : null, function2 != null ? new LazyGridDslKt$items$3(function2, items) : null, new LazyGridDslKt$items$4(contentType, items), ComposableLambdaKt.composableLambdaInstance(699646206, true, new LazyGridDslKt$items$5(itemContent, items))); } public static final void items(LazyGridScope lazyGridScope, List items, Function1 function1, Function2 function2, Function1 contentType, Function4 itemContent) { Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.size(), function1 != null ? new LazyGridDslKt$items$2(function1, items) : null, function2 != null ? new LazyGridDslKt$items$3(function2, items) : null, new LazyGridDslKt$items$4(contentType, items), ComposableLambdaKt.composableLambdaInstance(699646206, true, new LazyGridDslKt$items$5(itemContent, items))); } public static /* synthetic */ void itemsIndexed$default(LazyGridScope lazyGridScope, List items, Function2 function2, Function3 function3, Function2 contentType, Function5 itemContent, int i, Object obj) { if ((i & 2) != 0) { function2 = null; } if ((i & 4) != 0) { function3 = null; } if ((i & 8) != 0) { contentType = new Function2() { // from class: androidx.compose.foundation.lazy.grid.LazyGridDslKt$itemsIndexed$1 public final Void invoke(int i2, T t) { return null; } @Override // kotlin.jvm.functions.Function2 public /* bridge */ /* synthetic */ Object invoke(Object obj2, Object obj3) { return invoke(((Number) obj2).intValue(), (int) obj3); } }; } Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.size(), function2 != null ? new LazyGridDslKt$itemsIndexed$2(function2, items) : null, function3 != null ? new LazyGridDslKt$itemsIndexed$3(function3, items) : null, new LazyGridDslKt$itemsIndexed$4(contentType, items), ComposableLambdaKt.composableLambdaInstance(1229287273, true, new LazyGridDslKt$itemsIndexed$5(itemContent, items))); } public static final void itemsIndexed(LazyGridScope lazyGridScope, List items, Function2 function2, Function3 function3, Function2 contentType, Function5 itemContent) { Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.size(), function2 != null ? new LazyGridDslKt$itemsIndexed$2(function2, items) : null, function3 != null ? new LazyGridDslKt$itemsIndexed$3(function3, items) : null, new LazyGridDslKt$itemsIndexed$4(contentType, items), ComposableLambdaKt.composableLambdaInstance(1229287273, true, new LazyGridDslKt$itemsIndexed$5(itemContent, items))); } public static /* synthetic */ void items$default(LazyGridScope lazyGridScope, Object[] items, Function1 function1, Function2 function2, Function1 contentType, Function4 itemContent, int i, Object obj) { if ((i & 2) != 0) { function1 = null; } if ((i & 4) != 0) { function2 = null; } if ((i & 8) != 0) { contentType = new Function1() { // from class: androidx.compose.foundation.lazy.grid.LazyGridDslKt$items$6 @Override // kotlin.jvm.functions.Function1 public final Void invoke(T t) { return null; } @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Object invoke(Object obj2) { return invoke((LazyGridDslKt$items$6) obj2); } }; } Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.length, function1 != null ? new LazyGridDslKt$items$7(function1, items) : null, function2 != null ? new LazyGridDslKt$items$8(function2, items) : null, new LazyGridDslKt$items$9(contentType, items), ComposableLambdaKt.composableLambdaInstance(407562193, true, new LazyGridDslKt$items$10(itemContent, items))); } public static final void items(LazyGridScope lazyGridScope, T[] items, Function1 function1, Function2 function2, Function1 contentType, Function4 itemContent) { Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.length, function1 != null ? new LazyGridDslKt$items$7(function1, items) : null, function2 != null ? new LazyGridDslKt$items$8(function2, items) : null, new LazyGridDslKt$items$9(contentType, items), ComposableLambdaKt.composableLambdaInstance(407562193, true, new LazyGridDslKt$items$10(itemContent, items))); } public static /* synthetic */ void itemsIndexed$default(LazyGridScope lazyGridScope, Object[] items, Function2 function2, Function3 function3, Function2 contentType, Function5 itemContent, int i, Object obj) { if ((i & 2) != 0) { function2 = null; } if ((i & 4) != 0) { function3 = null; } if ((i & 8) != 0) { contentType = new Function2() { // from class: androidx.compose.foundation.lazy.grid.LazyGridDslKt$itemsIndexed$6 public final Void invoke(int i2, T t) { return null; } @Override // kotlin.jvm.functions.Function2 public /* bridge */ /* synthetic */ Object invoke(Object obj2, Object obj3) { return invoke(((Number) obj2).intValue(), (int) obj3); } }; } Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.length, function2 != null ? new LazyGridDslKt$itemsIndexed$7(function2, items) : null, function3 != null ? new LazyGridDslKt$itemsIndexed$8(function3, items) : null, new LazyGridDslKt$itemsIndexed$9(contentType, items), ComposableLambdaKt.composableLambdaInstance(-911455938, true, new LazyGridDslKt$itemsIndexed$10(itemContent, items))); } public static final void itemsIndexed(LazyGridScope lazyGridScope, T[] items, Function2 function2, Function3 function3, Function2 contentType, Function5 itemContent) { Intrinsics.checkNotNullParameter(lazyGridScope, ""); Intrinsics.checkNotNullParameter(items, "items"); Intrinsics.checkNotNullParameter(contentType, "contentType"); Intrinsics.checkNotNullParameter(itemContent, "itemContent"); lazyGridScope.items(items.length, function2 != null ? new LazyGridDslKt$itemsIndexed$7(function2, items) : null, function3 != null ? new LazyGridDslKt$itemsIndexed$8(function3, items) : null, new LazyGridDslKt$itemsIndexed$9(contentType, items), ComposableLambdaKt.composableLambdaInstance(-911455938, true, new LazyGridDslKt$itemsIndexed$10(itemContent, items))); } }