apkfuckery/com.discord/smali_classes2/x/a/v0.smali

213 lines
4.1 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public abstract Lx/a/v0;
.super Lx/a/u0;
2019-12-06 03:29:40 +00:00
.source "Executors.kt"
# interfaces
2020-02-20 19:33:18 +00:00
.implements Lx/a/i0;
2019-12-06 03:29:40 +00:00
# instance fields
.field public d:Z
# direct methods
.method public constructor <init>()V
.locals 0
2020-02-20 19:33:18 +00:00
invoke-direct {p0}, Lx/a/u0;-><init>()V
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
2020-02-20 19:33:18 +00:00
.method public a(JLx/a/h;)V
2019-12-06 03:29:40 +00:00
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
2020-02-20 19:33:18 +00:00
"Lx/a/h<",
2019-12-06 03:29:40 +00:00
"-",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p3, :cond_3
2020-02-20 19:33:18 +00:00
iget-boolean v1, p0, Lx/a/v0;->d:Z
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_1
2020-02-20 19:33:18 +00:00
new-instance v1, Lx/a/q1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {v1, p0, p3}, Lx/a/q1;-><init>(Lx/a/x;Lx/a/h;)V
2019-12-06 03:29:40 +00:00
sget-object v2, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
:try_start_0
move-object v3, p0
2020-02-20 19:33:18 +00:00
check-cast v3, Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v3, v3, Lx/a/u1;->f:Ljava/util/concurrent/Executor;
2019-12-06 03:29:40 +00:00
instance-of v4, v3, Ljava/util/concurrent/ScheduledExecutorService;
if-nez v4, :cond_0
move-object v3, v0
:cond_0
check-cast v3, Ljava/util/concurrent/ScheduledExecutorService;
if-eqz v3, :cond_1
invoke-interface {v3, v1, p1, p2, v2}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
move-result-object v0
:try_end_0
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
nop
:cond_1
:goto_0
if-eqz v0, :cond_2
2020-02-20 19:33:18 +00:00
new-instance p1, Lx/a/e;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {p1, v0}, Lx/a/e;-><init>(Ljava/util/concurrent/Future;)V
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
check-cast p3, Lx/a/i;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p3, p1}, Lx/a/i;->a(Lkotlin/jvm/functions/Function1;)V
2019-12-06 03:29:40 +00:00
return-void
:cond_2
2020-02-20 19:33:18 +00:00
sget-object v0, Lx/a/f0;->j:Lx/a/f0;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0, p1, p2, p3}, Lx/a/s0;->a(JLx/a/h;)V
2019-12-06 03:29:40 +00:00
return-void
:cond_3
const-string p1, "continuation"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
:try_start_0
move-object p1, p0
2020-02-20 19:33:18 +00:00
check-cast p1, Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object p1, p1, Lx/a/u1;->f:Ljava/util/concurrent/Executor;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
sget-object v0, Lx/a/w1;->a:Lx/a/v1;
2019-12-06 03:29:40 +00:00
:try_end_0
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
2020-02-20 19:33:18 +00:00
check-cast v0, Lx/a/h0;
2019-12-06 03:29:40 +00:00
:try_start_1
2020-02-20 19:33:18 +00:00
invoke-virtual {v0, p2}, Lx/a/h0;->a(Ljava/lang/Runnable;)Ljava/lang/Runnable;
2019-12-06 03:29:40 +00:00
invoke-interface {p1, p2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
:try_end_1
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_1 .. :try_end_1} :catch_0
goto :goto_0
:catch_0
2020-02-20 19:33:18 +00:00
sget-object p1, Lx/a/w1;->a:Lx/a/v1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
check-cast p1, Lx/a/h0;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p1}, Lx/a/h0;->d()V
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
sget-object p1, Lx/a/f0;->j:Lx/a/f0;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p1, p2}, Lx/a/s0;->a(Ljava/lang/Runnable;)V
2019-12-06 03:29:40 +00:00
:goto_0
return-void
:cond_0
const-string p1, "block"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p1, "context"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 1
2020-02-20 19:33:18 +00:00
instance-of v0, p1, Lx/a/v0;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
check-cast p1, Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object p1, p1, Lx/a/u1;->f:Ljava/util/concurrent/Executor;
2019-12-06 03:29:40 +00:00
move-object v0, p0
2020-02-20 19:33:18 +00:00
check-cast v0, Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, v0, Lx/a/u1;->f:Ljava/util/concurrent/Executor;
2019-12-06 03:29:40 +00:00
if-ne p1, v0, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public hashCode()I
.locals 1
move-object v0, p0
2020-02-20 19:33:18 +00:00
check-cast v0, Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, v0, Lx/a/u1;->f:Ljava/util/concurrent/Executor;
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v0
return v0
.end method