mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
272 lines
8.3 KiB
Smali
272 lines
8.3 KiB
Smali
|
.class final Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;
|
||
|
.super Lkotlin/coroutines/jvm/internal/SuspendLambda;
|
||
|
.source "RoomDatabaseExt.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2;->run()V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lkotlin/coroutines/jvm/internal/SuspendLambda;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"Lkotlinx/coroutines/CoroutineScope;",
|
||
|
"Lkotlin/coroutines/Continuation<",
|
||
|
"-",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;",
|
||
|
"Ljava/lang/Object;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/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 = 0x3
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x7,
|
||
|
0x1
|
||
|
}
|
||
|
xi = 0x30
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/coroutines/jvm/internal/DebugMetadata;
|
||
|
c = "androidx.room.RoomDatabaseKt$acquireTransactionThread$2$2$1"
|
||
|
f = "RoomDatabaseExt.kt"
|
||
|
i = {}
|
||
|
l = {
|
||
|
0x7d
|
||
|
}
|
||
|
m = "invokeSuspend"
|
||
|
n = {}
|
||
|
s = {}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic $continuation:Lkotlinx/coroutines/CancellableContinuation;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lkotlinx/coroutines/CancellableContinuation<",
|
||
|
"Lkotlin/coroutines/ContinuationInterceptor;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field final synthetic $controlJob:Lkotlinx/coroutines/Job;
|
||
|
|
||
|
.field private synthetic L$0:Ljava/lang/Object;
|
||
|
|
||
|
.field label:I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lkotlinx/coroutines/CancellableContinuation;Lkotlinx/coroutines/Job;Lkotlin/coroutines/Continuation;)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlinx/coroutines/CancellableContinuation<",
|
||
|
"-",
|
||
|
"Lkotlin/coroutines/ContinuationInterceptor;",
|
||
|
">;",
|
||
|
"Lkotlinx/coroutines/Job;",
|
||
|
"Lkotlin/coroutines/Continuation<",
|
||
|
"-",
|
||
|
"Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;",
|
||
|
">;)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation;
|
||
|
|
||
|
iput-object p2, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->$controlJob:Lkotlinx/coroutines/Job;
|
||
|
|
||
|
const/4 p1, 0x2
|
||
|
|
||
|
invoke-direct {p0, p1, p3}, Lkotlin/coroutines/jvm/internal/SuspendLambda;-><init>(ILkotlin/coroutines/Continuation;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/Object;",
|
||
|
"Lkotlin/coroutines/Continuation<",
|
||
|
"*>;)",
|
||
|
"Lkotlin/coroutines/Continuation<",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
new-instance v0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation;
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->$controlJob:Lkotlinx/coroutines/Job;
|
||
|
|
||
|
invoke-direct {v0, v1, p0, p2}, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;-><init>(Lkotlinx/coroutines/CancellableContinuation;Lkotlinx/coroutines/Job;Lkotlin/coroutines/Continuation;)V
|
||
|
|
||
|
iput-object p1, v0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->L$0:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Lkotlin/coroutines/Continuation;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
||
|
|
||
|
check-cast p2, Lkotlin/coroutines/Continuation;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->invoke(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final invoke(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlinx/coroutines/CoroutineScope;",
|
||
|
"Lkotlin/coroutines/Continuation<",
|
||
|
"-",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Object;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;
|
||
|
|
||
|
sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 4
|
||
|
|
||
|
invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget v1, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->label:I
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
if-ne v1, v2, :cond_0
|
||
|
|
||
|
.line 122
|
||
|
invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string p1, "call to \'resume\' before \'invoke\' with coroutine"
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
||
|
|
||
|
iget-object p1, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->L$0:Ljava/lang/Object;
|
||
|
|
||
|
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->$continuation:Lkotlinx/coroutines/CancellableContinuation;
|
||
|
|
||
|
.line 124
|
||
|
check-cast v1, Lkotlin/coroutines/Continuation;
|
||
|
|
||
|
sget-object v3, Lkotlin/Result;->Companion:Lkotlin/Result$Companion;
|
||
|
|
||
|
invoke-interface {p1}, Lkotlinx/coroutines/CoroutineScope;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
sget-object v3, Lkotlin/coroutines/ContinuationInterceptor;->Key:Lkotlin/coroutines/ContinuationInterceptor$Key;
|
||
|
|
||
|
check-cast v3, Lkotlin/coroutines/CoroutineContext$Key;
|
||
|
|
||
|
invoke-interface {p1, v3}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$Key;)Lkotlin/coroutines/CoroutineContext$Element;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
||
|
|
||
|
invoke-static {p1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-interface {v1, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
||
|
|
||
|
iget-object p1, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->$controlJob:Lkotlinx/coroutines/Job;
|
||
|
|
||
|
.line 125
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Lkotlin/coroutines/Continuation;
|
||
|
|
||
|
iput v2, p0, Landroidx/room/RoomDatabaseKt$acquireTransactionThread$2$2$1;->label:I
|
||
|
|
||
|
invoke-interface {p1, v1}, Lkotlinx/coroutines/Job;->join(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
if-ne p0, v0, :cond_2
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 126
|
||
|
:cond_2
|
||
|
:goto_0
|
||
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|