apkfuckery/com.discord/smali/com/facebook/b/f$a.smali

626 lines
12 KiB
Smali
Raw Normal View History

2019-02-17 02:24:41 +00:00
.class final Lcom/facebook/b/f$a;
.super Lcom/facebook/b/a;
2019-02-04 20:29:01 +00:00
.source "FirstAvailableDataSourceSupplier.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-02-17 02:24:41 +00:00
value = Lcom/facebook/b/f;
2019-02-04 20:08:30 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "a"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-02-17 02:24:41 +00:00
Lcom/facebook/b/f$a$a;
2019-02-04 20:08:30 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/a<",
2019-02-04 20:08:30 +00:00
"TT;>;"
}
.end annotation
.annotation build Ljavax/annotation/concurrent/ThreadSafe;
.end annotation
# instance fields
2019-04-03 00:06:05 +00:00
.field private Fu:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/c<",
2019-02-04 20:08:30 +00:00
"TT;>;"
}
.end annotation
.end field
2019-04-03 00:06:05 +00:00
.field private Fv:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/c<",
2019-02-04 20:08:30 +00:00
"TT;>;"
}
.end annotation
.end field
2019-04-03 00:06:05 +00:00
.field final synthetic Fw:Lcom/facebook/b/f;
2019-02-04 20:08:30 +00:00
.field private mIndex:I
# direct methods
2019-02-17 02:24:41 +00:00
.method public constructor <init>(Lcom/facebook/b/f;)V
2019-02-04 20:08:30 +00:00
.locals 1
2019-04-03 00:06:05 +00:00
iput-object p1, p0, Lcom/facebook/b/f$a;->Fw:Lcom/facebook/b/f;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;-><init>()V
2019-02-04 20:08:30 +00:00
const/4 p1, 0x0
2019-02-17 02:24:41 +00:00
iput p1, p0, Lcom/facebook/b/f$a;->mIndex:I
2019-02-04 20:08:30 +00:00
const/4 p1, 0x0
2019-04-03 00:06:05 +00:00
iput-object p1, p0, Lcom/facebook/b/f$a;->Fu:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
2019-04-03 00:06:05 +00:00
iput-object p1, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-22 00:19:04 +00:00
2019-03-22 22:04:12 +00:00
invoke-direct {p0}, Lcom/facebook/b/f$a;->fG()Z
2019-02-04 20:08:30 +00:00
move-result p1
if-nez p1, :cond_0
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "No data source supplier or supplier returned null."
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1}, Lcom/facebook/b/f$a;->d(Ljava/lang/Throwable;)Z
2019-02-04 20:08:30 +00:00
:cond_0
return-void
.end method
2019-02-17 02:24:41 +00:00
.method static synthetic a(Lcom/facebook/b/f$a;Lcom/facebook/b/c;)V
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-17 02:24:41 +00:00
invoke-direct {p0, p1}, Lcom/facebook/b/f$a;->h(Lcom/facebook/b/c;)Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_1
2019-03-22 22:04:12 +00:00
invoke-direct {p0}, Lcom/facebook/b/f$a;->fI()Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
move-result-object v0
if-eq p1, v0, :cond_0
2019-02-17 02:24:41 +00:00
invoke-static {p1}, Lcom/facebook/b/f$a;->i(Lcom/facebook/b/c;)V
2019-02-04 20:08:30 +00:00
:cond_0
2019-03-22 22:04:12 +00:00
invoke-direct {p0}, Lcom/facebook/b/f$a;->fG()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-nez v0, :cond_1
2019-03-22 22:04:12 +00:00
invoke-interface {p1}, Lcom/facebook/b/c;->fB()Ljava/lang/Throwable;
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1}, Lcom/facebook/b/f$a;->d(Ljava/lang/Throwable;)Z
2019-02-04 20:08:30 +00:00
:cond_1
return-void
.end method
2019-02-17 02:24:41 +00:00
.method static synthetic b(Lcom/facebook/b/f$a;Lcom/facebook/b/c;)V
2019-02-04 20:08:30 +00:00
.locals 3
2019-02-17 02:24:41 +00:00
invoke-interface {p1}, Lcom/facebook/b/c;->isFinished()Z
2019-02-04 20:08:30 +00:00
move-result v0
monitor-enter p0
:try_start_0
2019-04-03 00:06:05 +00:00
iget-object v1, p0, Lcom/facebook/b/f$a;->Fu:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
if-ne p1, v1, :cond_3
2019-04-03 00:06:05 +00:00
iget-object v1, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
if-ne p1, v1, :cond_0
goto :goto_2
:cond_0
2019-04-03 00:06:05 +00:00
iget-object v1, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_2
if-eqz v0, :cond_1
goto :goto_0
:cond_1
move-object v0, v2
goto :goto_1
:cond_2
:goto_0
2019-04-03 00:06:05 +00:00
iget-object v0, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
2019-04-03 00:06:05 +00:00
iput-object p1, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
:goto_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-02-17 02:24:41 +00:00
invoke-static {v0}, Lcom/facebook/b/f$a;->i(Lcom/facebook/b/c;)V
2019-02-04 20:08:30 +00:00
goto :goto_3
:cond_3
:goto_2
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_3
2019-03-22 22:04:12 +00:00
invoke-direct {p0}, Lcom/facebook/b/f$a;->fI()Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
move-result-object v0
if-ne p1, v0, :cond_4
2019-02-17 02:24:41 +00:00
invoke-interface {p1}, Lcom/facebook/b/c;->isFinished()Z
2019-02-04 20:08:30 +00:00
move-result p1
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v2, p1}, Lcom/facebook/b/f$a;->a(Ljava/lang/Object;Z)Z
2019-02-04 20:08:30 +00:00
:cond_4
return-void
:catchall_0
move-exception p1
:try_start_2
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw p1
.end method
2019-03-22 22:04:12 +00:00
.method private fG()Z
2019-02-04 20:08:30 +00:00
.locals 3
2019-03-22 22:04:12 +00:00
invoke-direct {p0}, Lcom/facebook/b/f$a;->fH()Lcom/facebook/common/d/k;
2019-02-04 20:08:30 +00:00
move-result-object v0
if-eqz v0, :cond_0
invoke-interface {v0}, Lcom/facebook/common/d/k;->get()Ljava/lang/Object;
move-result-object v0
2019-02-17 02:24:41 +00:00
check-cast v0, Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
2019-02-17 02:24:41 +00:00
invoke-direct {p0, v0}, Lcom/facebook/b/f$a;->g(Lcom/facebook/b/c;)Z
2019-02-04 20:08:30 +00:00
move-result v1
const/4 v2, 0x0
if-eqz v1, :cond_1
if-eqz v0, :cond_1
2019-02-17 02:24:41 +00:00
new-instance v1, Lcom/facebook/b/f$a$a;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, p0, v2}, Lcom/facebook/b/f$a$a;-><init>(Lcom/facebook/b/f$a;B)V
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
invoke-static {}, Lcom/facebook/common/b/a;->fb()Lcom/facebook/common/b/a;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-17 02:24:41 +00:00
invoke-interface {v0, v1, v2}, Lcom/facebook/b/c;->a(Lcom/facebook/b/e;Ljava/util/concurrent/Executor;)V
2019-02-04 20:08:30 +00:00
const/4 v0, 0x1
return v0
:cond_1
2019-02-17 02:24:41 +00:00
invoke-static {v0}, Lcom/facebook/b/f$a;->i(Lcom/facebook/b/c;)V
2019-02-04 20:08:30 +00:00
return v2
.end method
2019-03-22 22:04:12 +00:00
.method private declared-synchronized fH()Lcom/facebook/common/d/k;
2019-02-04 20:08:30 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/d/k<",
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/c<",
2019-02-04 20:08:30 +00:00
"TT;>;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Lcom/facebook/b/f$a;->isClosed()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-nez v0, :cond_0
2019-02-17 02:24:41 +00:00
iget v0, p0, Lcom/facebook/b/f$a;->mIndex:I
2019-02-04 20:08:30 +00:00
2019-04-03 00:06:05 +00:00
iget-object v1, p0, Lcom/facebook/b/f$a;->Fw:Lcom/facebook/b/f;
2019-02-04 20:08:30 +00:00
2019-04-03 00:06:05 +00:00
iget-object v1, v1, Lcom/facebook/b/f;->Ft:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-ge v0, v1, :cond_0
2019-04-03 00:06:05 +00:00
iget-object v0, p0, Lcom/facebook/b/f$a;->Fw:Lcom/facebook/b/f;
2019-02-04 20:08:30 +00:00
2019-04-03 00:06:05 +00:00
iget-object v0, v0, Lcom/facebook/b/f;->Ft:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iget v1, p0, Lcom/facebook/b/f$a;->mIndex:I
2019-02-04 20:08:30 +00:00
add-int/lit8 v2, v1, 0x1
2019-02-17 02:24:41 +00:00
iput v2, p0, Lcom/facebook/b/f$a;->mIndex:I
2019-02-04 20:08:30 +00:00
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/common/d/k;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:cond_0
const/4 v0, 0x0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
2019-03-22 22:04:12 +00:00
.method private declared-synchronized fI()Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/c<",
2019-02-04 20:08:30 +00:00
"TT;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
2019-04-03 00:06:05 +00:00
iget-object v0, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
: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
2019-02-17 02:24:41 +00:00
.method private declared-synchronized g(Lcom/facebook/b/c;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/b/c<",
"TT;>;)Z"
}
.end annotation
monitor-enter p0
:try_start_0
invoke-virtual {p0}, Lcom/facebook/b/f$a;->isClosed()Z
move-result v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_0
const/4 p1, 0x0
monitor-exit p0
return p1
:cond_0
:try_start_1
2019-04-03 00:06:05 +00:00
iput-object p1, p0, Lcom/facebook/b/f$a;->Fu:Lcom/facebook/b/c;
2019-02-17 02:24:41 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
const/4 p1, 0x1
monitor-exit p0
return p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method private declared-synchronized h(Lcom/facebook/b/c;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/b/c<",
"TT;>;)Z"
}
.end annotation
monitor-enter p0
:try_start_0
invoke-virtual {p0}, Lcom/facebook/b/f$a;->isClosed()Z
move-result v0
if-nez v0, :cond_1
2019-04-03 00:06:05 +00:00
iget-object v0, p0, Lcom/facebook/b/f$a;->Fu:Lcom/facebook/b/c;
2019-02-17 02:24:41 +00:00
if-eq p1, v0, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
2019-04-03 00:06:05 +00:00
iput-object p1, p0, Lcom/facebook/b/f$a;->Fu:Lcom/facebook/b/c;
2019-02-17 02:24:41 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 p1, 0x1
monitor-exit p0
return p1
:cond_1
:goto_0
const/4 p1, 0x0
monitor-exit p0
return p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method private static i(Lcom/facebook/b/c;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/b/c<",
"TT;>;)V"
}
.end annotation
if-eqz p0, :cond_0
2019-03-22 22:04:12 +00:00
invoke-interface {p0}, Lcom/facebook/b/c;->fC()Z
2019-02-17 02:24:41 +00:00
:cond_0
return-void
.end method
2019-02-04 20:08:30 +00:00
# virtual methods
2019-03-22 22:04:12 +00:00
.method public final fC()Z
2019-02-04 20:32:01 +00:00
.locals 3
2019-02-04 20:08:30 +00:00
monitor-enter p0
:try_start_0
2019-03-22 22:04:12 +00:00
invoke-super {p0}, Lcom/facebook/b/a;->fC()Z
2019-02-04 20:08:30 +00:00
move-result v0
2019-02-04 20:32:01 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
monitor-exit p0
return v0
:cond_0
2019-04-03 00:06:05 +00:00
iget-object v0, p0, Lcom/facebook/b/f$a;->Fu:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-04-03 00:06:05 +00:00
iput-object v1, p0, Lcom/facebook/b/f$a;->Fu:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
2019-04-03 00:06:05 +00:00
iget-object v2, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-04 20:29:01 +00:00
2019-04-03 00:06:05 +00:00
iput-object v1, p0, Lcom/facebook/b/f$a;->Fv:Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lcom/facebook/b/f$a;->i(Lcom/facebook/b/c;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0}, Lcom/facebook/b/f$a;->i(Lcom/facebook/b/c;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
return v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:catchall_0
move-exception v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:try_start_1
2019-02-04 20:08:30 +00:00
monitor-exit p0
2019-02-04 20:32:01 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
throw v0
.end method
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
.method public final declared-synchronized fz()Z
2019-02-04 20:32:01 +00:00
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
monitor-enter p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:try_start_0
2019-03-22 22:04:12 +00:00
invoke-direct {p0}, Lcom/facebook/b/f$a;->fI()Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
move-result-object v0
if-eqz v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
invoke-interface {v0}, Lcom/facebook/b/c;->fz()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-02-04 20:32:01 +00:00
if-eqz v0, :cond_0
2019-02-04 20:08:30 +00:00
const/4 v0, 0x1
2019-02-04 20:32:01 +00:00
:goto_0
monitor-exit p0
2019-02-04 20:08:30 +00:00
return v0
2019-02-04 20:32:01 +00:00
:cond_0
const/4 v0, 0x0
goto :goto_0
2019-02-04 20:08:30 +00:00
:catchall_0
move-exception v0
monitor-exit p0
throw v0
2019-02-04 20:32:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
.method public final declared-synchronized getResult()Ljava/lang/Object;
.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-03-22 22:04:12 +00:00
invoke-direct {p0}, Lcom/facebook/b/f$a;->fI()Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
move-result-object v0
if-eqz v0, :cond_0
2019-02-17 02:24:41 +00:00
invoke-interface {v0}, Lcom/facebook/b/c;->getResult()Ljava/lang/Object;
2019-02-04 20:08:30 +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_0
const/4 v0, 0x0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method