apkfuckery/com.discord/smali/com/facebook/c/g$a.smali

651 lines
13 KiB
Smali
Raw Normal View History

2019-10-07 23:23:22 +00:00
.class final Lcom/facebook/c/g$a;
.super Lcom/facebook/c/a;
2019-07-24 11:27:29 +00:00
.source "IncreasingQualityDataSourceSupplier.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-10-07 23:23:22 +00:00
value = Lcom/facebook/c/g;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "a"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-10-07 23:23:22 +00:00
Lcom/facebook/c/g$a$a;
2019-07-24 11:27:29 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2019-10-07 23:23:22 +00:00
"Lcom/facebook/c/a<",
2019-07-24 11:27:29 +00:00
"TT;>;"
}
.end annotation
# instance fields
2019-10-09 23:16:36 +00:00
.field private JG:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
2019-10-07 23:23:22 +00:00
"Lcom/facebook/c/c<",
2019-07-24 11:27:29 +00:00
"TT;>;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-10-09 23:16:36 +00:00
.field JH:I
2019-07-25 02:21:43 +00:00
2019-10-09 23:16:36 +00:00
.field private JI:I
2019-08-30 20:04:20 +00:00
2019-10-09 23:16:36 +00:00
.field private JJ:Ljava/util/concurrent/atomic/AtomicInteger;
2019-07-25 02:21:43 +00:00
2019-10-09 23:16:36 +00:00
.field private JK:Ljava/lang/Throwable;
2019-07-25 02:21:43 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-10-09 23:16:36 +00:00
.field final synthetic JL:Lcom/facebook/c/g;
2019-07-24 11:27:29 +00:00
# direct methods
2019-10-07 23:23:22 +00:00
.method public constructor <init>(Lcom/facebook/c/g;)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-10-09 23:16:36 +00:00
iput-object p1, p0, Lcom/facebook/c/g$a;->JL:Lcom/facebook/c/g;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-direct {p0}, Lcom/facebook/c/a;-><init>()V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-boolean p1, p1, Lcom/facebook/c/g;->JF:Z
2019-07-24 11:27:29 +00:00
if-nez p1, :cond_0
2019-10-09 23:16:36 +00:00
invoke-direct {p0}, Lcom/facebook/c/g$a;->gK()V
2019-07-24 11:27:29 +00:00
:cond_0
return-void
.end method
2019-10-07 23:23:22 +00:00
.method private declared-synchronized a(ILcom/facebook/c/c;)Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
2019-10-07 23:23:22 +00:00
"Lcom/facebook/c/c<",
2019-07-24 11:27:29 +00:00
"TT;>;)",
2019-10-07 23:23:22 +00:00
"Lcom/facebook/c/c<",
2019-07-24 11:27:29 +00:00
"TT;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lcom/facebook/c/g$a;->gJ()Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-ne p2, v0, :cond_0
const/4 p1, 0x0
monitor-exit p0
return-object p1
:cond_0
:try_start_1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0, p1}, Lcom/facebook/c/g$a;->H(I)Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
move-result-object v0
if-ne p2, v0, :cond_1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0, p1}, Lcom/facebook/c/g$a;->I(I)Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
move-result-object p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-object p1
:cond_1
monitor-exit p0
return-object p2
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
2019-10-07 23:23:22 +00:00
.method static synthetic a(Lcom/facebook/c/g$a;ILcom/facebook/c/c;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-07 23:23:22 +00:00
invoke-direct {p0, p1, p2}, Lcom/facebook/c/g$a;->a(ILcom/facebook/c/c;)Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-10-07 23:23:22 +00:00
invoke-static {v0}, Lcom/facebook/c/g$a;->h(Lcom/facebook/c/c;)V
2019-07-24 11:27:29 +00:00
if-nez p1, :cond_0
2019-10-09 23:16:36 +00:00
invoke-interface {p2}, Lcom/facebook/c/c;->gC()Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-10-09 23:16:36 +00:00
iput-object p1, p0, Lcom/facebook/c/g$a;->JK:Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
:cond_0
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lcom/facebook/c/g$a;->gL()V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-10-09 23:16:36 +00:00
.method private gK()V
2019-07-24 11:27:29 +00:00
.locals 5
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JJ:Ljava/util/concurrent/atomic/AtomicInteger;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
return-void
:cond_0
monitor-enter p0
:try_start_0
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JJ:Ljava/util/concurrent/atomic/AtomicInteger;
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_1
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
const/4 v1, 0x0
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
2019-10-09 23:16:36 +00:00
iput-object v0, p0, Lcom/facebook/c/g$a;->JJ:Ljava/util/concurrent/atomic/AtomicInteger;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JL:Lcom/facebook/c/g;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v0, v0, Lcom/facebook/c/g;->JA:Ljava/util/List;
2019-07-24 11:27:29 +00:00
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
2019-10-09 23:16:36 +00:00
iput v0, p0, Lcom/facebook/c/g$a;->JI:I
2019-08-22 06:13:42 +00:00
2019-10-09 23:16:36 +00:00
iput v0, p0, Lcom/facebook/c/g$a;->JH:I
2019-08-22 18:54:10 +00:00
2019-07-24 11:27:29 +00:00
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2, v0}, Ljava/util/ArrayList;-><init>(I)V
2019-10-09 23:16:36 +00:00
iput-object v2, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
:goto_0
if-ge v1, v0, :cond_1
2019-10-09 23:16:36 +00:00
iget-object v2, p0, Lcom/facebook/c/g$a;->JL:Lcom/facebook/c/g;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v2, v2, Lcom/facebook/c/g;->JA:Ljava/util/List;
2019-07-24 11:27:29 +00:00
invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
2019-10-07 23:23:22 +00:00
check-cast v2, Lcom/facebook/common/d/l;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-interface {v2}, Lcom/facebook/common/d/l;->get()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v2
2019-10-07 23:23:22 +00:00
check-cast v2, Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v3, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
invoke-virtual {v3, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
2019-10-07 23:23:22 +00:00
new-instance v3, Lcom/facebook/c/g$a$a;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-direct {v3, p0, v1}, Lcom/facebook/c/g$a$a;-><init>(Lcom/facebook/c/g$a;I)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {}, Lcom/facebook/common/b/a;->fY()Lcom/facebook/common/b/a;
2019-07-24 11:27:29 +00:00
move-result-object v4
2019-10-07 23:23:22 +00:00
invoke-interface {v2, v3, v4}, Lcom/facebook/c/c;->a(Lcom/facebook/c/e;Ljava/util/concurrent/Executor;)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-interface {v2}, Lcom/facebook/c/c;->gA()Z
2019-07-24 11:27:29 +00:00
move-result v2
if-nez v2, :cond_1
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_2
:goto_1
throw v0
:goto_2
goto :goto_1
.end method
2019-10-09 23:16:36 +00:00
.method static h(Lcom/facebook/c/c;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/c/c<",
"TT;>;)V"
}
.end annotation
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
if-eqz p0, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-interface {p0}, Lcom/facebook/c/c;->gD()Z
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
:cond_0
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
# virtual methods
.method declared-synchronized H(I)Lcom/facebook/c/c;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/c/c<",
"TT;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
:try_start_0
iget-object v0, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-ge p1, v0, :cond_0
iget-object v0, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/facebook/c/c;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
2019-07-24 11:27:29 +00:00
:cond_0
2019-10-09 23:16:36 +00:00
const/4 p1, 0x0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method declared-synchronized I(I)Lcom/facebook/c/c;
.locals 2
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-10-09 23:16:36 +00:00
"(I)",
2019-10-07 23:23:22 +00:00
"Lcom/facebook/c/c<",
2019-10-09 23:16:36 +00:00
"TT;>;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-10-09 23:16:36 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
const/4 v1, 0x0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-ge p1, v0, :cond_0
iget-object v0, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
invoke-virtual {v0, p1, v1}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
check-cast p1, Lcom/facebook/c/c;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
2019-07-24 11:27:29 +00:00
:cond_0
2019-10-09 23:16:36 +00:00
monitor-exit p0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return-object v1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized gA()Z
2019-07-24 11:27:29 +00:00
.locals 1
monitor-enter p0
:try_start_0
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JL:Lcom/facebook/c/g;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-boolean v0, v0, Lcom/facebook/c/g;->JF:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-10-09 23:16:36 +00:00
invoke-direct {p0}, Lcom/facebook/c/g$a;->gK()V
2019-07-24 11:27:29 +00:00
:cond_0
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lcom/facebook/c/g$a;->gJ()Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
move-result-object v0
if-eqz v0, :cond_1
2019-10-09 23:16:36 +00:00
invoke-interface {v0}, Lcom/facebook/c/c;->gA()Z
2019-07-24 11:27:29 +00:00
move-result v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_1
const/4 v0, 0x1
:goto_0
monitor-exit p0
return v0
:cond_1
const/4 v0, 0x0
goto :goto_0
:catchall_0
move-exception v0
monitor-exit p0
goto :goto_2
:goto_1
throw v0
:goto_2
goto :goto_1
.end method
2019-10-09 23:16:36 +00:00
.method public final gD()Z
2019-07-24 11:27:29 +00:00
.locals 3
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JL:Lcom/facebook/c/g;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-boolean v0, v0, Lcom/facebook/c/g;->JF:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-10-09 23:16:36 +00:00
invoke-direct {p0}, Lcom/facebook/c/g$a;->gK()V
2019-07-24 11:27:29 +00:00
:cond_0
monitor-enter p0
:try_start_0
2019-10-09 23:16:36 +00:00
invoke-super {p0}, Lcom/facebook/c/a;->gD()Z
2019-07-24 11:27:29 +00:00
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_1
monitor-exit p0
return v1
:cond_1
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
const/4 v2, 0x0
2019-10-09 23:16:36 +00:00
iput-object v2, p0, Lcom/facebook/c/g$a;->JG:Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_2
:goto_0
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v2
if-ge v1, v2, :cond_2
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v2
2019-10-07 23:23:22 +00:00
check-cast v2, Lcom/facebook/c/c;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-static {v2}, Lcom/facebook/c/g$a;->h(Lcom/facebook/c/c;)V
2019-07-24 11:27:29 +00:00
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_2
const/4 v0, 0x1
return v0
:catchall_0
move-exception v0
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_2
:goto_1
throw v0
:goto_2
goto :goto_1
.end method
2019-10-07 23:23:22 +00:00
2019-10-09 23:16:36 +00:00
.method declared-synchronized gJ()Lcom/facebook/c/c;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/c/c<",
"TT;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
iget v0, p0, Lcom/facebook/c/g$a;->JH:I
invoke-virtual {p0, v0}, Lcom/facebook/c/g$a;->H(I)Lcom/facebook/c/c;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method gL()V
.locals 2
iget-object v0, p0, Lcom/facebook/c/g$a;->JJ:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
move-result v0
iget v1, p0, Lcom/facebook/c/g$a;->JI:I
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/facebook/c/g$a;->JK:Ljava/lang/Throwable;
if-eqz v0, :cond_0
invoke-virtual {p0, v0}, Lcom/facebook/c/g$a;->e(Ljava/lang/Throwable;)Z
:cond_0
return-void
.end method
.method public final declared-synchronized o()Ljava/lang/Object;
2019-10-07 23:23:22 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lcom/facebook/c/g$a;->JL:Lcom/facebook/c/g;
2019-10-07 23:23:22 +00:00
2019-10-09 23:16:36 +00:00
iget-boolean v0, v0, Lcom/facebook/c/g;->JF:Z
2019-10-07 23:23:22 +00:00
if-eqz v0, :cond_0
2019-10-09 23:16:36 +00:00
invoke-direct {p0}, Lcom/facebook/c/g$a;->gK()V
2019-10-07 23:23:22 +00:00
:cond_0
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lcom/facebook/c/g$a;->gJ()Lcom/facebook/c/c;
2019-10-07 23:23:22 +00:00
move-result-object v0
if-eqz v0, :cond_1
2019-10-09 23:16:36 +00:00
invoke-interface {v0}, Lcom/facebook/c/c;->o()Ljava/lang/Object;
2019-10-07 23:23:22 +00:00
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:cond_1
const/4 v0, 0x0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method