apkfuckery/com.discord/smali_classes2/z/a/c.smali
2020-05-17 12:40:10 +00:00

92 lines
1.7 KiB
Smali

.class public final Lz/a/c;
.super Lz/a/a;
.source "Builders.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lz/a/a<",
"TT;>;"
}
.end annotation
# instance fields
.field public final g:Ljava/lang/Thread;
.field public final h:Lz/a/r0;
# direct methods
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Thread;Lz/a/r0;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
const/4 v0, 0x1
invoke-direct {p0, p1, v0}, Lz/a/a;-><init>(Lkotlin/coroutines/CoroutineContext;Z)V
iput-object p2, p0, Lz/a/c;->g:Ljava/lang/Thread;
iput-object p3, p0, Lz/a/c;->h:Lz/a/r0;
return-void
:cond_0
const-string p1, "blockedThread"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "parentContext"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public a(Ljava/lang/Object;I)V
.locals 0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p1
iget-object p2, p0, Lz/a/c;->g:Ljava/lang/Thread;
invoke-static {p1, p2}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
xor-int/lit8 p1, p1, 0x1
if-eqz p1, :cond_0
iget-object p1, p0, Lz/a/c;->g:Ljava/lang/Thread;
invoke-static {p1}, Ljava/util/concurrent/locks/LockSupport;->unpark(Ljava/lang/Thread;)V
:cond_0
return-void
.end method
.method public d()Z
.locals 1
const/4 v0, 0x0
return v0
.end method