apkfuckery/com.discord/smali_classes2/t/a/c.smali
2019-12-13 03:35:12 +01:00

92 lines
1.7 KiB
Smali

.class public final Lt/a/c;
.super Lt/a/a;
.source "Builders.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lt/a/a<",
"TT;>;"
}
.end annotation
# instance fields
.field public final g:Ljava/lang/Thread;
.field public final h:Lt/a/r0;
# direct methods
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Thread;Lt/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}, Lt/a/a;-><init>(Lkotlin/coroutines/CoroutineContext;Z)V
iput-object p2, p0, Lt/a/c;->g:Ljava/lang/Thread;
iput-object p3, p0, Lt/a/c;->h:Lt/a/r0;
return-void
:cond_0
const-string p1, "blockedThread"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "parentContext"
invoke-static {p1}, Ls/u/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, Lt/a/c;->g:Ljava/lang/Thread;
invoke-static {p1, p2}, Ls/u/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, Lt/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