1237 lines
36 KiB
Smali
1237 lines
36 KiB
Smali
.class public final Lkotlinx/coroutines/internal/j;
|
|
.super Lkotlinx/coroutines/y0;
|
|
.source "DispatchedContinuation.kt"
|
|
|
|
# interfaces
|
|
.implements Lwi/c;
|
|
.implements Lkotlin/coroutines/c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lkotlinx/coroutines/y0<",
|
|
"TT;>;",
|
|
"Lwi/c;",
|
|
"Lkotlin/coroutines/c<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nDispatchedContinuation.kt\nKotlin\n*S Kotlin\n*F\n+ 1 DispatchedContinuation.kt\nkotlinx/coroutines/internal/DispatchedContinuation\n+ 2 AtomicFU.common.kt\nkotlinx/atomicfu/AtomicFU_commonKt\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 4 DispatchedContinuation.kt\nkotlinx/coroutines/internal/DispatchedContinuationKt\n+ 5 DispatchedTask.kt\nkotlinx/coroutines/DispatchedTaskKt\n+ 6 CoroutineContext.kt\nkotlinx/coroutines/CoroutineContextKt\n*L\n1#1,300:1\n226#1,8:368\n238#1:376\n239#1,2:380\n241#1:383\n92#2,2:301\n92#2,2:303\n92#2,2:305\n1#3:307\n1#3:312\n1#3:352\n281#4,4:308\n285#4,12:313\n297#4:347\n281#4,4:348\n285#4,12:353\n297#4:398\n199#5,3:325\n202#5,14:333\n199#5,3:365\n202#5,14:384\n43#6,5:328\n43#6,3:377\n47#6:382\n43#6,5:399\n*E\n*S KotlinDebug\n*F\n+ 1 DispatchedContinuation.kt\nkotlinx/coroutines/internal/DispatchedContinuation\n*L\n208#1,8:368\n209#1:376\n209#1,2:380\n209#1:383\n96#1,2:301\n131#1,2:303\n152#1,2:305\n186#1:312\n207#1:352\n186#1,4:308\n186#1,12:313\n186#1:347\n207#1,4:348\n207#1,12:353\n207#1:398\n186#1,3:325\n186#1,14:333\n207#1,3:365\n207#1,14:384\n187#1,5:328\n209#1,3:377\n209#1:382\n238#1,5:399\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000x\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0003\n\u0002\u0008\u0005\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u000b\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000e\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0008\u0012\u0008\u0000\u0018\u0000*\u0006\u0008\u0000\u0010\u0001 \u00002\u0008\u0012\u0004\u0012\u00028\u00000\u00022\u00060\u0003j\u0002`\u00042\u0008\u0012\u0004\u0012\u00028\u00000\u0005B\u001d\u0012\u0006\u0010@\u001a\u00020=\u0012\u000c\u0010\u0012\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0005\u00a2\u0006\u0004\u0008M\u0010NJ\u0017\u0010\u0008\u001a\n\u0018\u00010\u0006j\u0004\u0018\u0001`\u0007H\u0016\u00a2\u0006\u0004\u0008\u0008\u0010\tJ\u0019\u0010\r\u001a\u00020\u000c2\n\u0010\u000b\u001a\u0006\u0012\u0002\u0008\u00030\n\u00a2\u0006\u0004\u0008\r\u0010\u000eJ\u0015\u0010\u000f\u001a\n\u0012\u0004\u0012\u00028\u0000\u0018\u00010\n\u00a2\u0006\u0004\u0008\u000f\u0010\u0010J\u001b\u0010\u0014\u001a\u0004\u0018\u00010\u00132\n\u0010\u0012\u001a\u0006\u0012\u0002\u0008\u00030\u0011\u00a2\u0006\u0004\u0008\u0014\u0010\u0015J\u0015\u0010\u0017\u001a\u00020\u000c2\u0006\u0010\u0016\u001a\u00020\u0013\u00a2\u0006\u0004\u0008\u0017\u0010\u0018J\u0011\u0010\u001a\u001a\u0004\u0018\u00010\u0019H\u0010\u00a2\u0006\u0004\u0008\u001a\u0010\u001bJ \u0010\u001f\u001a\u00020\u001e2\u000c\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u001cH\u0016\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u001f\u0010 JH\u0010%\u001a\u00020\u001e2\u000c\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u001c2%\u0008\u0008\u0010$\u001a\u001f\u0012\u0013\u0012\u00110\u0013\u00a2\u0006\u000c\u0008\"\u0012\u0008\u0008#\u0012\u0004\u0008\u0008(\u0016\u0012\u0004\u0012\u00020\u001e\u0018\u00010!H\u0086\u0008\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008%\u0010&J!\u0010(\u001a\u00020\u001e2\u0008\u0010\'\u001a\u0004\u0018\u00010\u00192\u0006\u0010\u0016\u001a\u00020\u0013H\u0010\u00a2\u0006\u0004\u0008(\u0010)J\u001a\u0010+\u001a\u00020\u000c2\u0008\u0010*\u001a\u0004\u0018\u00010\u0019H\u0086\u0008\u00a2\u0006\u0004\u0008+\u0010,J!\u0010-\u001a\u00020\u001e2\u000c\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u001cH\u0086\u0008\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008-\u0010 J\u001f\u00101\u001a\u00020\u001e2\u0006\u0010/\u001a\u00020.2\u0006\u00100\u001a\u00028\u0000H\u0000\u00a2\u0006\u0004\u00081\u00102J\u000f\u00104\u001a\u000203H\u0016\u00a2\u0006\u0004\u00084\u00105R\u001e\u0010:\u001a\u0004\u0018\u00010\u00198\u0000@\u0000X\u0081\u000e\u00a2\u0006\u000c\n\u0004\u00086\u00107\u0012\u0004\u00088\u00109R\u0014\u0010<\u001a\u00020\u00198\u0000X\u0081\u0004\u00a2\u0006\u0006\n\u0004\u0008;\u00107R\u0014\u0010@\u001a\u00020=8\u0006X\u0087\u0004\u00a2\u0006\u0006\n\u0004\u0008>\u0010?R\u001a\u0010\u0012\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00058\u0006X\u0087\u0004\u00a2\u0006\u0006\n\u0004\u0008A\u0010BR\"\u0010C\u001a\n\u0018\u00010\u0003j\u0004\u0018\u0001`\u00048\u0016X\u0096\u0004\u00a2\u0006\u000c\n\u0004\u0008C\u0010D\u001a\u0004\u0008E\u0010FR\u0017\u0010H\u001a\u0008\u0012\u0002\u0008\u0003\u0018\u00010\n8F\u00a2\u0006\u0006\u001a\u0004\u0008G\u0010\u0010R\u001a\u0010J\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00058PX\u0090\u0004\u00a2\u0006\u0006\u001a\u0004\u00086\u0010IR\u0014\u0010/\u001a\u00020.8\u0016X\u0096\u0005\u00a2\u0006\u0006\u001a\u0004\u0008K\u0010L\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006O"
|
|
}
|
|
d2 = {
|
|
"Lkotlinx/coroutines/internal/j;",
|
|
"T",
|
|
"Lkotlinx/coroutines/y0;",
|
|
"Lwi/c;",
|
|
"Lkotlinx/coroutines/internal/CoroutineStackFrame;",
|
|
"Lkotlin/coroutines/c;",
|
|
"Ljava/lang/StackTraceElement;",
|
|
"Lkotlinx/coroutines/internal/StackTraceElement;",
|
|
"getStackTraceElement",
|
|
"()Ljava/lang/StackTraceElement;",
|
|
"Lkotlinx/coroutines/o;",
|
|
"requester",
|
|
"",
|
|
"t",
|
|
"(Lkotlinx/coroutines/o;)Z",
|
|
"o",
|
|
"()Lkotlinx/coroutines/o;",
|
|
"Lkotlinx/coroutines/n;",
|
|
"continuation",
|
|
"",
|
|
"m",
|
|
"(Lkotlinx/coroutines/n;)Ljava/lang/Throwable;",
|
|
"cause",
|
|
"u",
|
|
"(Ljava/lang/Throwable;)Z",
|
|
"",
|
|
"k",
|
|
"()Ljava/lang/Object;",
|
|
"Lkotlin/Result;",
|
|
"result",
|
|
"Lkotlin/d1;",
|
|
"resumeWith",
|
|
"(Ljava/lang/Object;)V",
|
|
"Lkotlin/Function1;",
|
|
"Lkotlin/ParameterName;",
|
|
"name",
|
|
"onCancellation",
|
|
"v",
|
|
"(Ljava/lang/Object;Lej/l;)V",
|
|
"takenState",
|
|
"c",
|
|
"(Ljava/lang/Object;Ljava/lang/Throwable;)V",
|
|
"state",
|
|
"w",
|
|
"(Ljava/lang/Object;)Z",
|
|
"z",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
"context",
|
|
"value",
|
|
"q",
|
|
"(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V",
|
|
"",
|
|
"toString",
|
|
"()Ljava/lang/String;",
|
|
"d",
|
|
"Ljava/lang/Object;",
|
|
"get_state$kotlinx_coroutines_core$annotations",
|
|
"()V",
|
|
"_state",
|
|
"f",
|
|
"countOrElement",
|
|
"Lkotlinx/coroutines/CoroutineDispatcher;",
|
|
"g",
|
|
"Lkotlinx/coroutines/CoroutineDispatcher;",
|
|
"dispatcher",
|
|
"h",
|
|
"Lkotlin/coroutines/c;",
|
|
"callerFrame",
|
|
"Lwi/c;",
|
|
"getCallerFrame",
|
|
"()Lwi/c;",
|
|
"r",
|
|
"reusableCancellableContinuation",
|
|
"()Lkotlin/coroutines/c;",
|
|
"delegate",
|
|
"getContext",
|
|
"()Lkotlin/coroutines/CoroutineContext;",
|
|
"<init>",
|
|
"(Lkotlinx/coroutines/CoroutineDispatcher;Lkotlin/coroutines/c;)V",
|
|
"kotlinx-coroutines-core"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final i:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
# instance fields
|
|
.field private volatile _reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
.field public d:Ljava/lang/Object;
|
|
.annotation build Lkotlin/jvm/JvmField;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:Lwi/c;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final f:Ljava/lang/Object;
|
|
.annotation build Lkotlin/jvm/JvmField;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
.annotation build Lkotlin/jvm/JvmField;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final h:Lkotlin/coroutines/c;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/coroutines/c<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/JvmField;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
const-class v0, Lkotlinx/coroutines/internal/j;
|
|
|
|
const-class v1, Ljava/lang/Object;
|
|
|
|
const-string v2, "_reusableCancellableContinuation"
|
|
|
|
invoke-static {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lkotlinx/coroutines/internal/j;->i:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lkotlinx/coroutines/CoroutineDispatcher;Lkotlin/coroutines/c;)V
|
|
.locals 1
|
|
.param p1 # Lkotlinx/coroutines/CoroutineDispatcher;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lkotlin/coroutines/c;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlinx/coroutines/CoroutineDispatcher;",
|
|
"Lkotlin/coroutines/c<",
|
|
"-TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 1
|
|
invoke-direct {p0, v0}, Lkotlinx/coroutines/y0;-><init>(I)V
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/internal/j;->g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
|
|
iput-object p2, p0, Lkotlinx/coroutines/internal/j;->h:Lkotlin/coroutines/c;
|
|
|
|
.line 2
|
|
invoke-static {}, Lkotlinx/coroutines/internal/k;->a()Lkotlinx/coroutines/internal/i0;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
.line 3
|
|
instance-of p1, p2, Lwi/c;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
move-object p2, v0
|
|
|
|
:cond_0
|
|
check-cast p2, Lwi/c;
|
|
|
|
iput-object p2, p0, Lkotlinx/coroutines/internal/j;->e:Lwi/c;
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlinx/coroutines/internal/ThreadContextKt;->b(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/internal/j;->f:Ljava/lang/Object;
|
|
|
|
.line 5
|
|
iput-object v0, p0, Lkotlinx/coroutines/internal/j;->_reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic s()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public c(Ljava/lang/Object;Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/Throwable;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
instance-of v0, p1, Lkotlinx/coroutines/c0;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
check-cast p1, Lkotlinx/coroutines/c0;
|
|
|
|
iget-object p1, p1, Lkotlinx/coroutines/c0;->b:Lej/l;
|
|
|
|
invoke-interface {p1, p2}, Lej/l;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()Lkotlin/coroutines/c;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlin/coroutines/c<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getCallerFrame()Lwi/c;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->e:Lwi/c;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getContext()Lkotlin/coroutines/CoroutineContext;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->h:Lkotlin/coroutines/c;
|
|
|
|
invoke-interface {v0}, Lkotlin/coroutines/c;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getStackTraceElement()Ljava/lang/StackTraceElement;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public k()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
invoke-static {}, Lkotlinx/coroutines/internal/k;->a()Lkotlinx/coroutines/internal/i0;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final m(Lkotlinx/coroutines/n;)Ljava/lang/Throwable;
|
|
.locals 3
|
|
.param p1 # Lkotlinx/coroutines/n;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlinx/coroutines/n<",
|
|
"*>;)",
|
|
"Ljava/lang/Throwable;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
:cond_0
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->_reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
sget-object v1, Lkotlinx/coroutines/internal/k;->b:Lkotlinx/coroutines/internal/i0;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
.line 3
|
|
sget-object v0, Lkotlinx/coroutines/internal/j;->i:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
invoke-virtual {v0, p0, v1, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object v2
|
|
|
|
:cond_1
|
|
if-nez v0, :cond_2
|
|
|
|
return-object v2
|
|
|
|
.line 4
|
|
:cond_2
|
|
instance-of p1, v0, Ljava/lang/Throwable;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 5
|
|
sget-object p1, Lkotlinx/coroutines/internal/j;->i:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
invoke-virtual {p1, p0, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 6
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
return-object v0
|
|
|
|
.line 7
|
|
:cond_3
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "Failed requirement."
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_4
|
|
const-string p1, "Inconsistent state "
|
|
|
|
.line 8
|
|
invoke-static {p1, v0}, Landroidx/databinding/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final o()Lkotlinx/coroutines/o;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlinx/coroutines/o<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
:cond_0
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->_reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2
|
|
sget-object v0, Lkotlinx/coroutines/internal/k;->b:Lkotlinx/coroutines/internal/i0;
|
|
|
|
iput-object v0, p0, Lkotlinx/coroutines/internal/j;->_reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 3
|
|
:cond_1
|
|
instance-of v1, v0, Lkotlinx/coroutines/o;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 4
|
|
sget-object v1, Lkotlinx/coroutines/internal/j;->i:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
sget-object v2, Lkotlinx/coroutines/internal/k;->b:Lkotlinx/coroutines/internal/i0;
|
|
|
|
invoke-virtual {v1, p0, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 5
|
|
check-cast v0, Lkotlinx/coroutines/o;
|
|
|
|
return-object v0
|
|
|
|
:cond_2
|
|
const-string v1, "Inconsistent state "
|
|
|
|
.line 6
|
|
invoke-static {v1, v0}, Landroidx/databinding/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final q(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
.locals 0
|
|
.param p1 # Lkotlin/coroutines/CoroutineContext;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
"TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p2, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 2
|
|
iput p2, p0, Lkotlinx/coroutines/y0;->c:I
|
|
|
|
.line 3
|
|
iget-object p2, p0, Lkotlinx/coroutines/internal/j;->g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
|
|
invoke-virtual {p2, p1, p0}, Lkotlinx/coroutines/CoroutineDispatcher;->dispatchYield(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final r()Lkotlinx/coroutines/o;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlinx/coroutines/o<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->_reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
instance-of v1, v0, Lkotlinx/coroutines/o;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:cond_0
|
|
check-cast v0, Lkotlinx/coroutines/o;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public resumeWith(Ljava/lang/Object;)V
|
|
.locals 6
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->h:Lkotlin/coroutines/c;
|
|
|
|
invoke-interface {v0}, Lkotlin/coroutines/c;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 2
|
|
invoke-static {p1, v1, v2, v1}, Lkotlinx/coroutines/g0;->d(Ljava/lang/Object;Lej/l;ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
.line 3
|
|
iget-object v4, p0, Lkotlinx/coroutines/internal/j;->g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
|
|
invoke-virtual {v4, v0}, Lkotlinx/coroutines/CoroutineDispatcher;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 4
|
|
iput-object v3, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
.line 5
|
|
iput v5, p0, Lkotlinx/coroutines/y0;->c:I
|
|
|
|
.line 6
|
|
iget-object p1, p0, Lkotlinx/coroutines/internal/j;->g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
|
|
invoke-virtual {p1, v0, p0}, Lkotlinx/coroutines/CoroutineDispatcher;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 7
|
|
:cond_0
|
|
sget-object v0, Lkotlinx/coroutines/d3;->b:Lkotlinx/coroutines/d3;
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/d3;->b()Lkotlinx/coroutines/i1;
|
|
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/i1;->P1()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 9
|
|
iput-object v3, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
.line 10
|
|
iput v5, p0, Lkotlinx/coroutines/y0;->c:I
|
|
|
|
.line 11
|
|
invoke-virtual {v0, p0}, Lkotlinx/coroutines/i1;->K1(Lkotlinx/coroutines/y0;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 12
|
|
:cond_1
|
|
invoke-virtual {v0, v2}, Lkotlinx/coroutines/i1;->M1(Z)V
|
|
|
|
.line 13
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v4, p0, Lkotlinx/coroutines/internal/j;->f:Ljava/lang/Object;
|
|
|
|
.line 14
|
|
invoke-static {v3, v4}, Lkotlinx/coroutines/internal/ThreadContextKt;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
.line 15
|
|
:try_start_1
|
|
iget-object v5, p0, Lkotlinx/coroutines/internal/j;->h:Lkotlin/coroutines/c;
|
|
|
|
invoke-interface {v5, p1}, Lkotlin/coroutines/c;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
.line 16
|
|
sget-object p1, Lkotlin/d1;->a:Lkotlin/d1;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 17
|
|
:try_start_2
|
|
invoke-static {v3, v4}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
.line 18
|
|
:cond_2
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/i1;->S1()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 19
|
|
invoke-static {v3, v4}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
.line 20
|
|
:try_start_3
|
|
invoke-virtual {p0, p1, v1}, Lkotlinx/coroutines/y0;->j(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
.line 21
|
|
:goto_0
|
|
invoke-virtual {v0, v2}, Lkotlinx/coroutines/i1;->H1(Z)V
|
|
|
|
:goto_1
|
|
return-void
|
|
|
|
:catchall_2
|
|
move-exception p1
|
|
|
|
invoke-virtual {v0, v2}, Lkotlinx/coroutines/i1;->H1(Z)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final t(Lkotlinx/coroutines/o;)Z
|
|
.locals 4
|
|
.param p1 # Lkotlinx/coroutines/o;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlinx/coroutines/o<",
|
|
"*>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->_reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2
|
|
instance-of v2, v0, Lkotlinx/coroutines/o;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
move v1, v3
|
|
|
|
:cond_0
|
|
return v1
|
|
|
|
:cond_1
|
|
return v3
|
|
|
|
:cond_2
|
|
return v1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "DispatchedContinuation["
|
|
|
|
.line 1
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lkotlinx/coroutines/internal/j;->g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lkotlinx/coroutines/internal/j;->h:Lkotlin/coroutines/c;
|
|
|
|
invoke-static {v1}, Lkotlinx/coroutines/r0;->c(Lkotlin/coroutines/c;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final u(Ljava/lang/Throwable;)Z
|
|
.locals 4
|
|
.param p1 # Ljava/lang/Throwable;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
:cond_0
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->_reusableCancellableContinuation:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
sget-object v1, Lkotlinx/coroutines/internal/k;->b:Lkotlinx/coroutines/internal/i0;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 3
|
|
sget-object v0, Lkotlinx/coroutines/internal/j;->i:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
invoke-virtual {v0, p0, v1, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v3
|
|
|
|
.line 4
|
|
:cond_1
|
|
instance-of v1, v0, Ljava/lang/Throwable;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
return v3
|
|
|
|
.line 5
|
|
:cond_2
|
|
sget-object v1, Lkotlinx/coroutines/internal/j;->i:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v1, p0, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final v(Ljava/lang/Object;Lej/l;)V
|
|
.locals 4
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lej/l;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Object;",
|
|
"Lej/l<",
|
|
"-",
|
|
"Ljava/lang/Throwable;",
|
|
"Lkotlin/d1;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p1, p2}, Lkotlinx/coroutines/g0;->b(Ljava/lang/Object;Lej/l;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/j;->g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lkotlinx/coroutines/CoroutineDispatcher;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
.line 4
|
|
iput v1, p0, Lkotlinx/coroutines/y0;->c:I
|
|
|
|
.line 5
|
|
iget-object p1, p0, Lkotlinx/coroutines/internal/j;->g:Lkotlinx/coroutines/CoroutineDispatcher;
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, p2, p0}, Lkotlinx/coroutines/CoroutineDispatcher;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto/16 :goto_3
|
|
|
|
.line 6
|
|
:cond_0
|
|
sget-object v0, Lkotlinx/coroutines/d3;->b:Lkotlinx/coroutines/d3;
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/d3;->b()Lkotlinx/coroutines/i1;
|
|
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/i1;->P1()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 8
|
|
iput-object p2, p0, Lkotlinx/coroutines/internal/j;->d:Ljava/lang/Object;
|
|
|
|
.line 9
|
|
iput v1, p0, Lkotlinx/coroutines/y0;->c:I
|
|
|
|
.line 10
|
|
invoke-virtual {v0, p0}, Lkotlinx/coroutines/i1;->K1(Lkotlinx/coroutines/y0;)V
|
|
|
|
goto :goto_3
|
|
|
|
.line 11
|
|
:cond_1
|
|
invoke-virtual {v0, v1}, Lkotlinx/coroutines/i1;->M1(Z)V
|
|
|
|
.line 12
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Lkotlinx/coroutines/y1;->q0:Lkotlinx/coroutines/y1$b;
|
|
|
|
invoke-interface {v2, v3}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lkotlinx/coroutines/y1;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 13
|
|
invoke-interface {v2}, Lkotlinx/coroutines/y1;->isActive()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
.line 14
|
|
invoke-interface {v2}, Lkotlinx/coroutines/y1;->G()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v2
|
|
|
|
.line 15
|
|
invoke-virtual {p0, p2, v2}, Lkotlinx/coroutines/internal/j;->c(Ljava/lang/Object;Ljava/lang/Throwable;)V
|
|
|
|
.line 16
|
|
sget-object p2, Lkotlin/Result;->Companion:Lkotlin/Result$a;
|
|
|
|
invoke-static {v2}, Lkotlin/d0;->a(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p2}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-interface {p0, p2}, Lkotlin/coroutines/c;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
move p2, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 p2, 0x0
|
|
|
|
:goto_0
|
|
if-nez p2, :cond_3
|
|
|
|
.line 17
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object v2, p0, Lkotlinx/coroutines/internal/j;->f:Ljava/lang/Object;
|
|
|
|
.line 18
|
|
invoke-static {p2, v2}, Lkotlinx/coroutines/internal/ThreadContextKt;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
.line 19
|
|
:try_start_1
|
|
iget-object v3, p0, Lkotlinx/coroutines/internal/j;->h:Lkotlin/coroutines/c;
|
|
|
|
invoke-interface {v3, p1}, Lkotlin/coroutines/c;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
.line 20
|
|
sget-object p1, Lkotlin/d1;->a:Lkotlin/d1;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->d(I)V
|
|
|
|
.line 21
|
|
invoke-static {p2, v2}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->c(I)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 22
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->d(I)V
|
|
|
|
.line 23
|
|
invoke-static {p2, v2}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->c(I)V
|
|
|
|
throw p1
|
|
|
|
.line 24
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/i1;->S1()Z
|
|
|
|
move-result p1
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
.line 25
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->d(I)V
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 26
|
|
:try_start_3
|
|
invoke-virtual {p0, p1, p2}, Lkotlinx/coroutines/y0;->j(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->d(I)V
|
|
|
|
.line 27
|
|
:goto_2
|
|
invoke-virtual {v0, v1}, Lkotlinx/coroutines/i1;->H1(Z)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->c(I)V
|
|
|
|
:goto_3
|
|
return-void
|
|
|
|
:catchall_2
|
|
move-exception p1
|
|
|
|
.line 28
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->d(I)V
|
|
|
|
.line 29
|
|
invoke-virtual {v0, v1}, Lkotlinx/coroutines/i1;->H1(Z)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/c0;->c(I)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final w(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lkotlinx/coroutines/y1;->q0:Lkotlinx/coroutines/y1$b;
|
|
|
|
invoke-interface {v0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lkotlinx/coroutines/y1;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {v0}, Lkotlinx/coroutines/y1;->isActive()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
invoke-interface {v0}, Lkotlinx/coroutines/y1;->G()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v0
|
|
|
|
.line 4
|
|
invoke-virtual {p0, p1, v0}, Lkotlinx/coroutines/internal/j;->c(Ljava/lang/Object;Ljava/lang/Throwable;)V
|
|
|
|
.line 5
|
|
sget-object p1, Lkotlin/Result;->Companion:Lkotlin/Result$a;
|
|
|
|
invoke-static {v0}, Lkotlin/d0;->a(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/c;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final z(Ljava/lang/Object;)V
|
|
.locals 4
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/j;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lkotlinx/coroutines/internal/j;->f:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
invoke-static {v0, v1}, Lkotlinx/coroutines/internal/ThreadContextKt;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 3
|
|
:try_start_0
|
|
iget-object v3, p0, Lkotlinx/coroutines/internal/j;->h:Lkotlin/coroutines/c;
|
|
|
|
invoke-interface {v3, p1}, Lkotlin/coroutines/c;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
.line 4
|
|
sget-object p1, Lkotlin/d1;->a:Lkotlin/d1;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/c0;->d(I)V
|
|
|
|
.line 5
|
|
invoke-static {v0, v1}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/c0;->c(I)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 6
|
|
invoke-static {v2}, Lkotlin/jvm/internal/c0;->d(I)V
|
|
|
|
.line 7
|
|
invoke-static {v0, v1}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/c0;->c(I)V
|
|
|
|
throw p1
|
|
.end method
|