package androidx.compose.foundation.relocation; import androidx.compose.runtime.collection.MutableVector; import kotlin.Metadata; /* JADX INFO: Access modifiers changed from: package-private */ /* compiled from: BringIntoViewRequester.kt */ @Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u001b\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u000bH\u0096@ø\u0001\u0000¢\u0006\u0002\u0010\fR\u0017\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\r"}, d2 = {"Landroidx/compose/foundation/relocation/BringIntoViewRequesterImpl;", "Landroidx/compose/foundation/relocation/BringIntoViewRequester;", "()V", "modifiers", "Landroidx/compose/runtime/collection/MutableVector;", "Landroidx/compose/foundation/relocation/BringIntoViewRequesterNode;", "getModifiers", "()Landroidx/compose/runtime/collection/MutableVector;", "bringIntoView", "", "rect", "Landroidx/compose/ui/geometry/Rect;", "(Landroidx/compose/ui/geometry/Rect;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class BringIntoViewRequesterImpl implements BringIntoViewRequester { private final MutableVector modifiers = new MutableVector<>(new BringIntoViewRequesterNode[16], 0); public final MutableVector getModifiers() { return this.modifiers; } /* JADX WARN: Code restructure failed: missing block: B:11:0x0069, code lost: if (r6 < r8) goto L17; */ /* JADX WARN: Removed duplicated region for block: B:20:0x0040 */ /* JADX WARN: Removed duplicated region for block: B:8:0x0024 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:13:0x0065 -> B:10:0x0068). Please report as a decompilation issue!!! */ @Override // androidx.compose.foundation.relocation.BringIntoViewRequester /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public java.lang.Object bringIntoView(androidx.compose.ui.geometry.Rect r7, kotlin.coroutines.Continuation r8) { /* r6 = this; boolean r0 = r8 instanceof androidx.compose.foundation.relocation.BringIntoViewRequesterImpl$bringIntoView$1 if (r0 == 0) goto L14 r0 = r8 androidx.compose.foundation.relocation.BringIntoViewRequesterImpl$bringIntoView$1 r0 = (androidx.compose.foundation.relocation.BringIntoViewRequesterImpl$bringIntoView$1) r0 int r1 = r0.label r2 = -2147483648(0xffffffff80000000, float:-0.0) r1 = r1 & r2 if (r1 == 0) goto L14 int r8 = r0.label int r8 = r8 - r2 r0.label = r8 goto L19 L14: androidx.compose.foundation.relocation.BringIntoViewRequesterImpl$bringIntoView$1 r0 = new androidx.compose.foundation.relocation.BringIntoViewRequesterImpl$bringIntoView$1 r0.(r6, r8) L19: java.lang.Object r8 = r0.result java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED() int r2 = r0.label r3 = 1 if (r2 == 0) goto L40 if (r2 != r3) goto L38 int r6 = r0.I$1 int r7 = r0.I$0 java.lang.Object r2 = r0.L$1 java.lang.Object[] r2 = (java.lang.Object[]) r2 java.lang.Object r4 = r0.L$0 androidx.compose.ui.geometry.Rect r4 = (androidx.compose.ui.geometry.Rect) r4 kotlin.ResultKt.throwOnFailure(r8) r8 = r7 r7 = r4 goto L68 L38: java.lang.IllegalStateException r6 = new java.lang.IllegalStateException java.lang.String r7 = "call to 'resume' before 'invoke' with coroutine" r6.(r7) throw r6 L40: kotlin.ResultKt.throwOnFailure(r8) androidx.compose.runtime.collection.MutableVector r6 = r6.modifiers int r8 = r6.getSize() if (r8 <= 0) goto L6b java.lang.Object[] r6 = r6.getContent() r2 = 0 r5 = r2 r2 = r6 r6 = r5 L53: r4 = r2[r6] androidx.compose.foundation.relocation.BringIntoViewRequesterNode r4 = (androidx.compose.foundation.relocation.BringIntoViewRequesterNode) r4 r0.L$0 = r7 r0.L$1 = r2 r0.I$0 = r8 r0.I$1 = r6 r0.label = r3 java.lang.Object r4 = r4.bringIntoView(r7, r0) if (r4 != r1) goto L68 return r1 L68: int r6 = r6 + r3 if (r6 < r8) goto L53 L6b: kotlin.Unit r6 = kotlin.Unit.INSTANCE return r6 */ throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.relocation.BringIntoViewRequesterImpl.bringIntoView(androidx.compose.ui.geometry.Rect, kotlin.coroutines.Continuation):java.lang.Object"); } }