154 lines
4.6 KiB
Smali
154 lines
4.6 KiB
Smali
.class public final Lkotlinx/coroutines/sync/MutexImpl$c$a;
|
|
.super Lkotlinx/coroutines/internal/b0;
|
|
.source "Mutex.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lkotlinx/coroutines/sync/MutexImpl$c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x11
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0007\u0008\u0082\u0004\u0018\u00002\u00020\u0001B\u0013\u0012\n\u0010\t\u001a\u0006\u0012\u0002\u0008\u00030\u0005\u00a2\u0006\u0004\u0008\n\u0010\u000bJ\u0014\u0010\u0004\u001a\u0004\u0018\u00010\u00022\u0008\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0016R\u001e\u0010\t\u001a\u0006\u0012\u0002\u0008\u00030\u00058\u0016X\u0096\u0004\u00a2\u0006\u000c\n\u0004\u0008\u0006\u0010\u0007\u001a\u0004\u0008\u0006\u0010\u0008\u00a8\u0006\u000c"
|
|
}
|
|
d2 = {
|
|
"Lkotlinx/coroutines/sync/MutexImpl$c$a;",
|
|
"Lkotlinx/coroutines/internal/b0;",
|
|
"",
|
|
"affected",
|
|
"c",
|
|
"Lkotlinx/coroutines/internal/d;",
|
|
"a",
|
|
"Lkotlinx/coroutines/internal/d;",
|
|
"()Lkotlinx/coroutines/internal/d;",
|
|
"atomicOp",
|
|
"<init>",
|
|
"(Lkotlinx/coroutines/sync/MutexImpl$c;Lkotlinx/coroutines/internal/d;)V",
|
|
"kotlinx-coroutines-core"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lkotlinx/coroutines/internal/d;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlinx/coroutines/internal/d<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final synthetic b:Lkotlinx/coroutines/sync/MutexImpl$c;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlinx/coroutines/sync/MutexImpl$c;Lkotlinx/coroutines/internal/d;)V
|
|
.locals 0
|
|
.param p1 # Lkotlinx/coroutines/sync/MutexImpl$c;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlinx/coroutines/internal/d<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lkotlinx/coroutines/sync/MutexImpl$c$a;->b:Lkotlinx/coroutines/sync/MutexImpl$c;
|
|
|
|
invoke-direct {p0}, Lkotlinx/coroutines/internal/b0;-><init>()V
|
|
|
|
iput-object p2, p0, Lkotlinx/coroutines/sync/MutexImpl$c$a;->a:Lkotlinx/coroutines/internal/d;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lkotlinx/coroutines/internal/d;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlinx/coroutines/internal/d<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/sync/MutexImpl$c$a;->a:Lkotlinx/coroutines/internal/d;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 2
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/sync/MutexImpl$c$a;->a()Lkotlinx/coroutines/internal/d;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/internal/d;->h()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {}, Lkotlinx/coroutines/sync/MutexKt;->d()Lkotlinx/coroutines/sync/b;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/sync/MutexImpl$c$a;->a()Lkotlinx/coroutines/internal/d;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
const-string v1, "null cannot be cast to non-null type kotlinx.coroutines.sync.MutexImpl"
|
|
|
|
.line 2
|
|
invoke-static {p1, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
check-cast p1, Lkotlinx/coroutines/sync/MutexImpl;
|
|
|
|
sget-object v1, Lkotlinx/coroutines/sync/MutexImpl;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
invoke-virtual {v1, p1, p0, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|