Rabbit-R1/android (non root)/java/sources/androidx/compose/ui/window/AndroidPopup_androidKt$Popup$5.java
2024-05-21 17:08:36 -04:00

134 lines
6.9 KiB
Java

package androidx.compose.ui.window;
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.Function2;
import kotlinx.coroutines.CoroutineScope;
/* JADX INFO: Access modifiers changed from: package-private */
/* compiled from: AndroidPopup.android.kt */
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u008a@"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {1, 8, 0}, xi = 48)
@DebugMetadata(c = "androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5", f = "AndroidPopup.android.kt", i = {0}, l = {301}, m = "invokeSuspend", n = {"$this$LaunchedEffect"}, s = {"L$0"})
/* loaded from: classes.dex */
public final class AndroidPopup_androidKt$Popup$5 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
final /* synthetic */ PopupLayout $popupLayout;
private /* synthetic */ Object L$0;
int label;
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AndroidPopup_androidKt$Popup$5(PopupLayout popupLayout, Continuation<? super AndroidPopup_androidKt$Popup$5> continuation) {
super(2, continuation);
this.$popupLayout = popupLayout;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
AndroidPopup_androidKt$Popup$5 androidPopup_androidKt$Popup$5 = new AndroidPopup_androidKt$Popup$5(this.$popupLayout, continuation);
androidPopup_androidKt$Popup$5.L$0 = obj;
return androidPopup_androidKt$Popup$5;
}
@Override // kotlin.jvm.functions.Function2
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
return ((AndroidPopup_androidKt$Popup$5) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
}
/* JADX WARN: Removed duplicated region for block: B:12:0x0041 */
/* JADX WARN: Removed duplicated region for block: B:8:0x0029 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:9:0x0038 -> B:5:0x003b). 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 r5) {
/*
r4 = this;
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
int r1 = r4.label
r2 = 1
if (r1 == 0) goto L1b
if (r1 != r2) goto L13
java.lang.Object r1 = r4.L$0
kotlinx.coroutines.CoroutineScope r1 = (kotlinx.coroutines.CoroutineScope) r1
kotlin.ResultKt.throwOnFailure(r5)
goto L3b
L13:
java.lang.IllegalStateException r4 = new java.lang.IllegalStateException
java.lang.String r5 = "call to 'resume' before 'invoke' with coroutine"
r4.<init>(r5)
throw r4
L1b:
kotlin.ResultKt.throwOnFailure(r5)
java.lang.Object r5 = r4.L$0
kotlinx.coroutines.CoroutineScope r5 = (kotlinx.coroutines.CoroutineScope) r5
r1 = r5
L23:
boolean r5 = kotlinx.coroutines.CoroutineScopeKt.isActive(r1)
if (r5 == 0) goto L41
androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5$1 r5 = new kotlin.jvm.functions.Function1<java.lang.Long, kotlin.Unit>() { // from class: androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5.1
static {
/*
androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5$1 r0 = new androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5$1
r0.<init>()
// error: 0x0005: SPUT (r0 I:androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5$1) androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5.1.INSTANCE androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5$1
return
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5.AnonymousClass1.<clinit>():void");
}
{
/*
r1 = this;
r0 = 1
r1.<init>(r0)
return
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5.AnonymousClass1.<init>():void");
}
public final void invoke(long r1) {
/*
r0 = this;
return
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5.AnonymousClass1.invoke(long):void");
}
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ kotlin.Unit invoke(java.lang.Long r3) {
/*
r2 = this;
java.lang.Number r3 = (java.lang.Number) r3
long r0 = r3.longValue()
r2.invoke(r0)
kotlin.Unit r2 = kotlin.Unit.INSTANCE
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5.AnonymousClass1.invoke(java.lang.Object):java.lang.Object");
}
}
kotlin.jvm.functions.Function1 r5 = (kotlin.jvm.functions.Function1) r5
r3 = r4
kotlin.coroutines.Continuation r3 = (kotlin.coroutines.Continuation) r3
r4.L$0 = r1
r4.label = r2
java.lang.Object r5 = androidx.compose.ui.platform.InfiniteAnimationPolicyKt.withInfiniteAnimationFrameNanos(r5, r3)
if (r5 != r0) goto L3b
return r0
L3b:
androidx.compose.ui.window.PopupLayout r5 = r4.$popupLayout
r5.pollForLocationOnScreenChange()
goto L23
L41:
kotlin.Unit r4 = kotlin.Unit.INSTANCE
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.window.AndroidPopup_androidKt$Popup$5.invokeSuspend(java.lang.Object):java.lang.Object");
}
}