package androidx.compose.runtime; import java.util.List; import java.util.Set; import kotlin.Metadata; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.coroutines.jvm.internal.DebugMetadata; import kotlin.coroutines.jvm.internal.SuspendLambda; import kotlin.jvm.functions.Function3; import kotlinx.coroutines.CoroutineScope; /* JADX INFO: Access modifiers changed from: package-private */ /* compiled from: Recomposer.kt */ @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u008a@"}, d2 = {"", "", "Lkotlinx/coroutines/CoroutineScope;", "parentFrameClock", "Landroidx/compose/runtime/MonotonicFrameClock;"}, k = 3, mv = {1, 8, 0}, xi = 48) @DebugMetadata(c = "androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2", f = "Recomposer.kt", i = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1}, l = {526, 537}, m = "invokeSuspend", n = {"parentFrameClock", "toRecompose", "toInsert", "toApply", "toLateApply", "toComplete", "parentFrameClock", "toRecompose", "toInsert", "toApply", "toLateApply", "toComplete"}, s = {"L$0", "L$1", "L$2", "L$3", "L$4", "L$5", "L$0", "L$1", "L$2", "L$3", "L$4", "L$5"}) /* loaded from: classes.dex */ public final class Recomposer$runRecomposeAndApplyChanges$2 extends SuspendLambda implements Function3, Object> { /* synthetic */ Object L$0; Object L$1; Object L$2; Object L$3; Object L$4; Object L$5; int label; final /* synthetic */ Recomposer this$0; /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public Recomposer$runRecomposeAndApplyChanges$2(Recomposer recomposer, Continuation continuation) { super(3, continuation); this.this$0 = recomposer; } @Override // kotlin.jvm.functions.Function3 public final Object invoke(CoroutineScope coroutineScope, MonotonicFrameClock monotonicFrameClock, Continuation continuation) { Recomposer$runRecomposeAndApplyChanges$2 recomposer$runRecomposeAndApplyChanges$2 = new Recomposer$runRecomposeAndApplyChanges$2(this.this$0, continuation); recomposer$runRecomposeAndApplyChanges$2.L$0 = monotonicFrameClock; return recomposer$runRecomposeAndApplyChanges$2.invokeSuspend(Unit.INSTANCE); } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Removed duplicated region for block: B:16:0x00bf */ /* JADX WARN: Removed duplicated region for block: B:20:0x00f8 */ /* JADX WARN: Removed duplicated region for block: B:21:0x00fe */ /* JADX WARN: Removed duplicated region for block: B:9:0x0098 */ /* JADX WARN: Type inference failed for: r2v10, types: [java.util.Set] */ /* JADX WARN: Type inference failed for: r2v7, types: [java.util.Set] */ /* JADX WARN: Type inference failed for: r5v13, types: [java.util.Set] */ /* JADX WARN: Type inference failed for: r5v15, types: [java.util.Set] */ /* JADX WARN: Type inference failed for: r6v10, types: [java.util.List] */ /* JADX WARN: Type inference failed for: r6v12, types: [java.util.List] */ /* JADX WARN: Type inference failed for: r7v10, types: [java.util.List] */ /* JADX WARN: Type inference failed for: r7v8, types: [java.util.List] */ /* JADX WARN: Type inference failed for: r8v10, types: [java.util.List] */ /* JADX WARN: Type inference failed for: r8v8, types: [java.util.List] */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:19:0x00ee -> B:6:0x00f2). Please report as a decompilation issue!!! */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:20:0x00f8 -> B:7:0x0090). Please report as a decompilation issue!!! */ @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final java.lang.Object invokeSuspend(java.lang.Object r21) { /* Method dump skipped, instructions count: 257 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2.invokeSuspend(java.lang.Object):java.lang.Object"); } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$clearRecompositionState(List list, List list2, List list3, Set set, Set set2) { list.clear(); list2.clear(); list3.clear(); set.clear(); set2.clear(); } /* JADX INFO: Access modifiers changed from: private */ public static final void invokeSuspend$fillToInsert(List list, Recomposer recomposer) { List list2; List list3; list.clear(); synchronized (recomposer.stateLock) { list2 = recomposer.compositionValuesAwaitingInsert; int size = list2.size(); for (int i = 0; i < size; i++) { list.add((MovableContentStateReference) list2.get(i)); } list3 = recomposer.compositionValuesAwaitingInsert; list3.clear(); Unit unit = Unit.INSTANCE; } } }