apkfuckery/com.discord/smali_classes2/n/a/c.smali
2019-12-12 09:58:10 +01:00

92 lines
1.7 KiB
Smali

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