apkfuckery/com.discord/smali_classes2/y/a/c.smali
2020-04-27 22:53:11 +02:00

92 lines
1.7 KiB
Smali

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