apkfuckery/com.discord/smali_classes2/rx/d/a.smali

218 lines
4.4 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lrx/d/a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Schedulers.java"
2019-02-04 20:08:30 +00:00
# static fields
2019-03-16 01:04:31 +00:00
.field private static final bCv:Ljava/util/concurrent/atomic/AtomicReference;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lrx/d/a;",
">;"
}
.end annotation
.end field
# instance fields
2019-03-16 01:04:31 +00:00
.field private final bKF:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
.field private final bKG:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
.field private final bKH:Lrx/Scheduler;
2019-02-22 00:19:04 +00:00
2019-02-04 20:08:30 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
2019-03-16 01:04:31 +00:00
sput-object v0, Lrx/d/a;->bCv:Ljava/util/concurrent/atomic/AtomicReference;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method private constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-03-22 22:04:12 +00:00
invoke-static {}, Lrx/c/f;->ET()Lrx/c/f;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-03-22 22:04:12 +00:00
invoke-virtual {v0}, Lrx/c/f;->EY()Lrx/c/g;
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
invoke-static {}, Lrx/c/g;->EZ()Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lrx/d/a;->bKF:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
invoke-static {}, Lrx/c/g;->Fa()Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lrx/d/a;->bKG:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
invoke-static {}, Lrx/c/g;->Fb()Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lrx/d/a;->bKH:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-03-22 22:04:12 +00:00
.method private static Fe()Lrx/d/a;
2019-02-04 20:08:30 +00:00
.locals 3
:goto_0
2019-03-16 01:04:31 +00:00
sget-object v0, Lrx/d/a;->bCv:Ljava/util/concurrent/atomic/AtomicReference;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lrx/d/a;
if-eqz v0, :cond_0
return-object v0
:cond_0
new-instance v0, Lrx/d/a;
invoke-direct {v0}, Lrx/d/a;-><init>()V
2019-03-16 01:04:31 +00:00
sget-object v1, Lrx/d/a;->bCv:Ljava/util/concurrent/atomic/AtomicReference;
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
invoke-virtual {v1, v2, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
return-object v0
:cond_1
2019-03-22 22:04:12 +00:00
invoke-direct {v0}, Lrx/d/a;->Fi()V
2019-02-04 20:08:30 +00:00
goto :goto_0
.end method
2019-03-22 22:04:12 +00:00
.method public static Ff()Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
.locals 1
2019-03-16 01:04:31 +00:00
sget-object v0, Lrx/internal/c/m;->bIB:Lrx/internal/c/m;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-03-22 22:04:12 +00:00
.method public static Fg()Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
.locals 1
2019-03-22 22:04:12 +00:00
invoke-static {}, Lrx/d/a;->Fe()Lrx/d/a;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-03-16 01:04:31 +00:00
iget-object v0, v0, Lrx/d/a;->bKF:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Lrx/c/c;->d(Lrx/Scheduler;)Lrx/Scheduler;
move-result-object v0
return-object v0
.end method
2019-03-22 22:04:12 +00:00
.method public static Fh()Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
.locals 1
2019-03-22 22:04:12 +00:00
invoke-static {}, Lrx/d/a;->Fe()Lrx/d/a;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-03-16 01:04:31 +00:00
iget-object v0, v0, Lrx/d/a;->bKG:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Lrx/c/c;->e(Lrx/Scheduler;)Lrx/Scheduler;
move-result-object v0
return-object v0
.end method
2019-03-22 22:04:12 +00:00
.method private declared-synchronized Fi()V
2019-02-04 20:08:30 +00:00
.locals 1
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lrx/d/a;->bKF:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
instance-of v0, v0, Lrx/internal/c/k;
if-eqz v0, :cond_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lrx/d/a;->bKF:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
check-cast v0, Lrx/internal/c/k;
invoke-interface {v0}, Lrx/internal/c/k;->shutdown()V
:cond_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lrx/d/a;->bKG:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
instance-of v0, v0, Lrx/internal/c/k;
if-eqz v0, :cond_1
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lrx/d/a;->bKG:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
check-cast v0, Lrx/internal/c/k;
invoke-interface {v0}, Lrx/internal/c/k;->shutdown()V
:cond_1
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lrx/d/a;->bKH:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
instance-of v0, v0, Lrx/internal/c/k;
if-eqz v0, :cond_2
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lrx/d/a;->bKH:Lrx/Scheduler;
2019-02-04 20:08:30 +00:00
check-cast v0, Lrx/internal/c/k;
invoke-interface {v0}, Lrx/internal/c/k;->shutdown()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_2
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public static b(Ljava/util/concurrent/Executor;)Lrx/Scheduler;
.locals 1
new-instance v0, Lrx/internal/c/c;
invoke-direct {v0, p0}, Lrx/internal/c/c;-><init>(Ljava/util/concurrent/Executor;)V
return-object v0
.end method