apkfuckery/com.discord/smali_classes2/l0/l/a/a1$c.smali

415 lines
7.2 KiB
Smali
Raw Normal View History

2020-09-17 00:45:48 +00:00
.class public final Ll0/l/a/a1$c;
2020-08-20 22:29:33 +00:00
.super Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
.source "OperatorMerge.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-17 00:45:48 +00:00
value = Ll0/l/a/a1;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2020-08-20 22:29:33 +00:00
"Lrx/Subscriber<",
"TT;>;"
2020-05-17 12:40:10 +00:00
}
.end annotation
# static fields
2020-08-20 22:29:33 +00:00
.field public static final i:I
2020-05-17 12:40:10 +00:00
# instance fields
2020-09-17 00:45:48 +00:00
.field public final d:Ll0/l/a/a1$e;
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-17 00:45:48 +00:00
"Ll0/l/a/a1$e<",
2020-05-17 12:40:10 +00:00
"TT;>;"
}
.end annotation
.end field
2020-08-20 22:29:33 +00:00
.field public final e:J
.field public volatile f:Z
2020-09-17 00:45:48 +00:00
.field public volatile g:Ll0/l/e/h;
2020-08-20 22:29:33 +00:00
.field public h:I
2020-05-17 12:40:10 +00:00
# direct methods
2020-08-20 22:29:33 +00:00
.method public static constructor <clinit>()V
.locals 1
2020-09-17 00:45:48 +00:00
sget v0, Ll0/l/e/h;->f:I
2020-08-20 22:29:33 +00:00
div-int/lit8 v0, v0, 0x4
2020-09-17 00:45:48 +00:00
sput v0, Ll0/l/a/a1$c;->i:I
2020-08-20 22:29:33 +00:00
return-void
.end method
2020-09-17 00:45:48 +00:00
.method public constructor <init>(Ll0/l/a/a1$e;J)V
2020-05-17 12:40:10 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-09-17 00:45:48 +00:00
"Ll0/l/a/a1$e<",
2020-08-20 22:29:33 +00:00
"TT;>;J)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-08-20 22:29:33 +00:00
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
2020-05-17 12:40:10 +00:00
2020-09-17 00:45:48 +00:00
iput-object p1, p0, Ll0/l/a/a1$c;->d:Ll0/l/a/a1$e;
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
iput-wide p2, p0, Ll0/l/a/a1$c;->e:J
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-08-20 22:29:33 +00:00
.method public a(J)V
.locals 1
2020-09-17 00:45:48 +00:00
iget v0, p0, Ll0/l/a/a1$c;->h:I
2020-08-20 22:29:33 +00:00
long-to-int p2, p1
sub-int/2addr v0, p2
2020-09-17 00:45:48 +00:00
sget p1, Ll0/l/a/a1$c;->i:I
2020-08-18 03:20:31 +00:00
2020-08-20 22:29:33 +00:00
if-le v0, p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-09-17 00:45:48 +00:00
iput v0, p0, Ll0/l/a/a1$c;->h:I
2020-05-17 12:40:10 +00:00
2020-08-20 22:29:33 +00:00
return-void
:cond_0
2020-09-17 00:45:48 +00:00
sget p1, Ll0/l/e/h;->f:I
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
iput p1, p0, Ll0/l/a/a1$c;->h:I
2020-08-20 22:29:33 +00:00
sub-int/2addr p1, v0
if-lez p1, :cond_1
int-to-long p1, p1
invoke-virtual {p0, p1, p2}, Lrx/Subscriber;->request(J)V
:cond_1
return-void
.end method
.method public onCompleted()V
.locals 1
const/4 v0, 0x1
2020-08-18 03:20:31 +00:00
2020-09-17 00:45:48 +00:00
iput-boolean v0, p0, Ll0/l/a/a1$c;->f:Z
2020-08-18 03:20:31 +00:00
2020-09-17 00:45:48 +00:00
iget-object v0, p0, Ll0/l/a/a1$c;->d:Ll0/l/a/a1$e;
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
invoke-virtual {v0}, Ll0/l/a/a1$e;->b()V
2020-08-20 22:29:33 +00:00
return-void
2020-05-17 12:40:10 +00:00
.end method
2020-08-20 22:29:33 +00:00
.method public onError(Ljava/lang/Throwable;)V
.locals 1
2020-05-17 12:40:10 +00:00
2020-09-17 00:45:48 +00:00
iget-object v0, p0, Ll0/l/a/a1$c;->d:Ll0/l/a/a1$e;
2020-05-17 12:40:10 +00:00
2020-09-17 00:45:48 +00:00
invoke-virtual {v0}, Ll0/l/a/a1$e;->d()Ljava/util/Queue;
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v0
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
const/4 p1, 0x1
2020-09-17 00:45:48 +00:00
iput-boolean p1, p0, Ll0/l/a/a1$c;->f:Z
2020-09-16 23:45:23 +00:00
2020-09-17 00:45:48 +00:00
iget-object p1, p0, Ll0/l/a/a1$c;->d:Ll0/l/a/a1$e;
2020-05-17 12:40:10 +00:00
2020-09-17 00:45:48 +00:00
invoke-virtual {p1}, Ll0/l/a/a1$e;->b()V
2020-05-17 12:40:10 +00:00
return-void
2020-08-20 22:29:33 +00:00
.end method
2020-05-17 12:40:10 +00:00
2020-08-20 22:29:33 +00:00
.method public onNext(Ljava/lang/Object;)V
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
2020-09-17 00:45:48 +00:00
iget-object v0, p0, Ll0/l/a/a1$c;->d:Ll0/l/a/a1$e;
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
iget-object v1, v0, Ll0/l/a/a1$e;->g:Ll0/l/a/a1$d;
2020-08-20 22:29:33 +00:00
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v1
const-wide/16 v3, 0x0
const/4 v5, 0x1
const/4 v6, 0x0
cmp-long v7, v1, v3
if-eqz v7, :cond_1
monitor-enter v0
:try_start_0
2020-09-17 00:45:48 +00:00
iget-object v1, v0, Ll0/l/a/a1$e;->g:Ll0/l/a/a1$d;
2020-08-20 22:29:33 +00:00
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v1
2020-05-17 12:40:10 +00:00
2020-09-17 00:45:48 +00:00
iget-boolean v7, v0, Ll0/l/a/a1$e;->l:Z
2020-08-18 03:20:31 +00:00
2020-08-20 22:29:33 +00:00
if-nez v7, :cond_0
cmp-long v7, v1, v3
if-eqz v7, :cond_0
2020-09-17 00:45:48 +00:00
iput-boolean v5, v0, Ll0/l/a/a1$e;->l:Z
2020-08-20 22:29:33 +00:00
const/4 v3, 0x1
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
goto :goto_0
2020-08-18 03:20:31 +00:00
2020-08-20 22:29:33 +00:00
:cond_0
const/4 v3, 0x0
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
:goto_0
2020-08-20 22:29:33 +00:00
monitor-exit v0
goto :goto_1
:catchall_0
move-exception p1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
:cond_1
const/4 v3, 0x0
:goto_1
if-eqz v3, :cond_a
2020-09-17 00:45:48 +00:00
iget-object v3, p0, Ll0/l/a/a1$c;->g:Ll0/l/e/h;
2020-08-20 22:29:33 +00:00
if-eqz v3, :cond_5
2020-09-17 00:45:48 +00:00
iget-object v3, v3, Ll0/l/e/h;->d:Ljava/util/Queue;
2020-08-20 22:29:33 +00:00
if-eqz v3, :cond_3
invoke-interface {v3}, Ljava/util/Queue;->isEmpty()Z
move-result v3
if-eqz v3, :cond_2
goto :goto_2
2020-05-17 12:40:10 +00:00
:cond_2
2020-08-20 22:29:33 +00:00
const/4 v3, 0x0
goto :goto_3
:cond_3
:goto_2
const/4 v3, 0x1
:goto_3
if-eqz v3, :cond_4
goto :goto_4
:cond_4
2020-09-17 00:45:48 +00:00
invoke-virtual {v0, p0, p1}, Ll0/l/a/a1$e;->f(Ll0/l/a/a1$c;Ljava/lang/Object;)V
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
invoke-virtual {v0}, Ll0/l/a/a1$e;->c()V
2020-08-20 22:29:33 +00:00
goto :goto_8
:cond_5
:goto_4
:try_start_1
2020-09-17 00:45:48 +00:00
iget-object v3, v0, Ll0/l/a/a1$e;->d:Lrx/Subscriber;
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
invoke-interface {v3, p1}, Ll0/g;->onNext(Ljava/lang/Object;)V
2020-08-20 22:29:33 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
goto :goto_5
:catchall_1
move-exception p1
:try_start_2
2020-09-17 00:45:48 +00:00
iget-boolean v3, v0, Ll0/l/a/a1$e;->e:Z
2020-08-20 22:29:33 +00:00
if-nez v3, :cond_6
2020-09-17 00:45:48 +00:00
invoke-static {p1}, Lc0/j/a;->X(Ljava/lang/Throwable;)V
2020-08-20 22:29:33 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_4
:try_start_3
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
2020-09-17 00:45:48 +00:00
invoke-virtual {p0, p1}, Ll0/l/a/a1$c;->onError(Ljava/lang/Throwable;)V
2020-08-20 22:29:33 +00:00
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
goto :goto_8
:catchall_2
move-exception p1
goto :goto_6
:cond_6
:try_start_4
2020-09-17 00:45:48 +00:00
invoke-virtual {v0}, Ll0/l/a/a1$e;->d()Ljava/util/Queue;
2020-08-20 22:29:33 +00:00
move-result-object v3
invoke-interface {v3, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
:goto_5
const-wide v3, 0x7fffffffffffffffL
cmp-long p1, v1, v3
if-eqz p1, :cond_7
2020-09-17 00:45:48 +00:00
iget-object p1, v0, Ll0/l/a/a1$e;->g:Ll0/l/a/a1$d;
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
invoke-virtual {p1, v5}, Ll0/l/a/a1$d;->a(I)J
2020-08-20 22:29:33 +00:00
:cond_7
const-wide/16 v1, 0x1
2020-09-17 00:45:48 +00:00
invoke-virtual {p0, v1, v2}, Ll0/l/a/a1$c;->a(J)V
2020-08-20 22:29:33 +00:00
monitor-enter v0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_4
2020-05-17 12:40:10 +00:00
2020-08-20 22:29:33 +00:00
:try_start_5
2020-09-17 00:45:48 +00:00
iget-boolean p1, v0, Ll0/l/a/a1$e;->m:Z
2020-05-17 12:40:10 +00:00
2020-08-20 22:29:33 +00:00
if-nez p1, :cond_8
2020-05-17 12:40:10 +00:00
2020-09-17 00:45:48 +00:00
iput-boolean v6, v0, Ll0/l/a/a1$e;->l:Z
2020-08-20 22:29:33 +00:00
monitor-exit v0
goto :goto_8
:cond_8
2020-09-17 00:45:48 +00:00
iput-boolean v6, v0, Ll0/l/a/a1$e;->m:Z
2020-08-20 22:29:33 +00:00
monitor-exit v0
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_3
2020-09-17 00:45:48 +00:00
invoke-virtual {v0}, Ll0/l/a/a1$e;->c()V
2020-08-20 22:29:33 +00:00
goto :goto_8
:catchall_3
move-exception p1
:try_start_6
monitor-exit v0
:try_end_6
.catchall {:try_start_6 .. :try_end_6} :catchall_3
:try_start_7
2020-05-17 12:40:10 +00:00
throw p1
2020-08-20 22:29:33 +00:00
:try_end_7
.catchall {:try_start_7 .. :try_end_7} :catchall_2
:catchall_4
move-exception p1
const/4 v5, 0x0
:goto_6
if-nez v5, :cond_9
monitor-enter v0
:try_start_8
2020-09-17 00:45:48 +00:00
iput-boolean v6, v0, Ll0/l/a/a1$e;->l:Z
2020-08-20 22:29:33 +00:00
monitor-exit v0
goto :goto_7
:catchall_5
move-exception p1
monitor-exit v0
:try_end_8
.catchall {:try_start_8 .. :try_end_8} :catchall_5
throw p1
:cond_9
:goto_7
throw p1
:cond_a
2020-09-17 00:45:48 +00:00
invoke-virtual {v0, p0, p1}, Ll0/l/a/a1$e;->f(Ll0/l/a/a1$c;Ljava/lang/Object;)V
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
invoke-virtual {v0}, Ll0/l/a/a1$e;->b()V
2020-08-20 22:29:33 +00:00
:goto_8
return-void
.end method
.method public onStart()V
.locals 2
2020-09-17 00:45:48 +00:00
sget v0, Ll0/l/e/h;->f:I
2020-08-20 22:29:33 +00:00
2020-09-17 00:45:48 +00:00
iput v0, p0, Ll0/l/a/a1$c;->h:I
2020-08-20 22:29:33 +00:00
int-to-long v0, v0
invoke-virtual {p0, v0, v1}, Lrx/Subscriber;->request(J)V
return-void
2020-05-17 12:40:10 +00:00
.end method