apkfuckery/com.discord/smali_classes2/z/a/m1.smali

62 lines
1.3 KiB
Smali
Raw Normal View History

2020-11-14 03:19:56 +00:00
.class public final Lz/a/m1;
2020-11-13 19:18:44 +00:00
.super Ljava/lang/Object;
.source "EventLoop.common.kt"
2020-11-12 02:11:44 +00:00
# static fields
2020-11-13 19:18:44 +00:00
.field public static final a:Ljava/lang/ThreadLocal;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ThreadLocal<",
2020-11-14 03:19:56 +00:00
"Lz/a/l0;",
2020-11-13 19:18:44 +00:00
">;"
}
.end annotation
.end field
2020-11-14 03:19:56 +00:00
.field public static final b:Lz/a/m1;
2020-11-12 02:11:44 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 1
2020-11-13 19:18:44 +00:00
new-instance v0, Ljava/lang/ThreadLocal;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
sput-object v0, Lz/a/m1;->a:Ljava/lang/ThreadLocal;
2020-11-12 02:11:44 +00:00
return-void
.end method
2020-11-14 03:19:56 +00:00
.method public static final a()Lz/a/l0;
.locals 3
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
sget-object v0, Lz/a/m1;->a:Ljava/lang/ThreadLocal;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
check-cast v1, Lz/a/l0;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
if-eqz v1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
:cond_0
2020-11-14 03:19:56 +00:00
new-instance v1, Lz/a/c;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v2
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-direct {v1, v2}, Lz/a/c;-><init>(Ljava/lang/Thread;)V
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
:goto_0
2020-11-14 03:19:56 +00:00
return-object v1
2020-11-12 02:11:44 +00:00
.end method