apkfuckery/com.discord/smali/com/facebook/imagepipeline/h/h$1.smali
2019-02-14 23:50:29 +01:00

275 lines
7.7 KiB
Smali

.class final Lcom/facebook/imagepipeline/h/h$1;
.super Lcom/facebook/imagepipeline/h/n;
.source "BitmapMemoryCacheProducer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/imagepipeline/h/h;->a(Lcom/facebook/imagepipeline/h/k;Lcom/facebook/cache/common/CacheKey;Z)Lcom/facebook/imagepipeline/h/k;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/imagepipeline/h/n<",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/f/c;",
">;",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/f/c;",
">;>;"
}
.end annotation
# instance fields
.field final synthetic Sg:Lcom/facebook/cache/common/CacheKey;
.field final synthetic Sh:Z
.field final synthetic Si:Lcom/facebook/imagepipeline/h/h;
# direct methods
.method constructor <init>(Lcom/facebook/imagepipeline/h/h;Lcom/facebook/imagepipeline/h/k;Lcom/facebook/cache/common/CacheKey;Z)V
.locals 0
iput-object p1, p0, Lcom/facebook/imagepipeline/h/h$1;->Si:Lcom/facebook/imagepipeline/h/h;
iput-object p3, p0, Lcom/facebook/imagepipeline/h/h$1;->Sg:Lcom/facebook/cache/common/CacheKey;
iput-boolean p4, p0, Lcom/facebook/imagepipeline/h/h$1;->Sh:Z
invoke-direct {p0, p2}, Lcom/facebook/imagepipeline/h/n;-><init>(Lcom/facebook/imagepipeline/h/k;)V
return-void
.end method
# virtual methods
.method public final synthetic a(Ljava/lang/Object;I)V
.locals 6
check-cast p1, Lcom/facebook/common/references/CloseableReference;
:try_start_0
invoke-static {}, Lcom/facebook/imagepipeline/i/b;->isTracing()Z
invoke-static {p2}, Lcom/facebook/imagepipeline/h/h$1;->av(I)Z
move-result v0
const/4 v1, 0x0
if-nez p1, :cond_1
if-eqz v0, :cond_0
iget-object p1, p0, Lcom/facebook/imagepipeline/h/n;->SA:Lcom/facebook/imagepipeline/h/k;
invoke-interface {p1, v1, p2}, Lcom/facebook/imagepipeline/h/k;->b(Ljava/lang/Object;I)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_2
:cond_0
invoke-static {}, Lcom/facebook/imagepipeline/i/b;->isTracing()Z
return-void
:cond_1
:try_start_1
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/facebook/imagepipeline/f/c;
invoke-virtual {v2}, Lcom/facebook/imagepipeline/f/c;->isStateful()Z
move-result v2
if-nez v2, :cond_9
const/16 v2, 0x8
invoke-static {p2, v2}, Lcom/facebook/imagepipeline/h/h$1;->p(II)Z
move-result v2
if-eqz v2, :cond_2
goto/16 :goto_2
:cond_2
if-nez v0, :cond_5
iget-object v2, p0, Lcom/facebook/imagepipeline/h/h$1;->Si:Lcom/facebook/imagepipeline/h/h;
iget-object v2, v2, Lcom/facebook/imagepipeline/h/h;->EA:Lcom/facebook/imagepipeline/cache/o;
iget-object v3, p0, Lcom/facebook/imagepipeline/h/h$1;->Sg:Lcom/facebook/cache/common/CacheKey;
invoke-interface {v2, v3}, Lcom/facebook/imagepipeline/cache/o;->J(Ljava/lang/Object;)Lcom/facebook/common/references/CloseableReference;
move-result-object v2
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_2
if-eqz v2, :cond_5
:try_start_2
invoke-virtual {p1}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/facebook/imagepipeline/f/c;
invoke-virtual {v3}, Lcom/facebook/imagepipeline/f/c;->if()Lcom/facebook/imagepipeline/f/h;
move-result-object v3
invoke-virtual {v2}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v4
check-cast v4, Lcom/facebook/imagepipeline/f/c;
invoke-virtual {v4}, Lcom/facebook/imagepipeline/f/c;->if()Lcom/facebook/imagepipeline/f/h;
move-result-object v4
invoke-interface {v4}, Lcom/facebook/imagepipeline/f/h;->is()Z
move-result v5
if-nez v5, :cond_4
invoke-interface {v4}, Lcom/facebook/imagepipeline/f/h;->getQuality()I
move-result v4
invoke-interface {v3}, Lcom/facebook/imagepipeline/f/h;->getQuality()I
move-result v3
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
if-lt v4, v3, :cond_3
goto :goto_0
:cond_3
:try_start_3
invoke-static {v2}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
goto :goto_1
:cond_4
:goto_0
:try_start_4
iget-object p1, p0, Lcom/facebook/imagepipeline/h/n;->SA:Lcom/facebook/imagepipeline/h/k;
invoke-interface {p1, v2, p2}, Lcom/facebook/imagepipeline/h/k;->b(Ljava/lang/Object;I)V
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
:try_start_5
invoke-static {v2}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_2
invoke-static {}, Lcom/facebook/imagepipeline/i/b;->isTracing()Z
return-void
:catchall_0
move-exception p1
:try_start_6
invoke-static {v2}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
throw p1
:cond_5
:goto_1
iget-boolean v2, p0, Lcom/facebook/imagepipeline/h/h$1;->Sh:Z
if-eqz v2, :cond_6
iget-object v1, p0, Lcom/facebook/imagepipeline/h/h$1;->Si:Lcom/facebook/imagepipeline/h/h;
iget-object v1, v1, Lcom/facebook/imagepipeline/h/h;->EA:Lcom/facebook/imagepipeline/cache/o;
iget-object v2, p0, Lcom/facebook/imagepipeline/h/h$1;->Sg:Lcom/facebook/cache/common/CacheKey;
invoke-interface {v1, v2, p1}, Lcom/facebook/imagepipeline/cache/o;->a(Ljava/lang/Object;Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
:try_end_6
.catchall {:try_start_6 .. :try_end_6} :catchall_2
:cond_6
if-eqz v0, :cond_7
:try_start_7
iget-object v0, p0, Lcom/facebook/imagepipeline/h/n;->SA:Lcom/facebook/imagepipeline/h/k;
const/high16 v2, 0x3f800000 # 1.0f
invoke-interface {v0, v2}, Lcom/facebook/imagepipeline/h/k;->m(F)V
:cond_7
iget-object v0, p0, Lcom/facebook/imagepipeline/h/n;->SA:Lcom/facebook/imagepipeline/h/k;
if-eqz v1, :cond_8
move-object p1, v1
:cond_8
invoke-interface {v0, p1, p2}, Lcom/facebook/imagepipeline/h/k;->b(Ljava/lang/Object;I)V
:try_end_7
.catchall {:try_start_7 .. :try_end_7} :catchall_1
:try_start_8
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
:try_end_8
.catchall {:try_start_8 .. :try_end_8} :catchall_2
invoke-static {}, Lcom/facebook/imagepipeline/i/b;->isTracing()Z
return-void
:catchall_1
move-exception p1
:try_start_9
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
throw p1
:cond_9
:goto_2
iget-object v0, p0, Lcom/facebook/imagepipeline/h/n;->SA:Lcom/facebook/imagepipeline/h/k;
invoke-interface {v0, p1, p2}, Lcom/facebook/imagepipeline/h/k;->b(Ljava/lang/Object;I)V
:try_end_9
.catchall {:try_start_9 .. :try_end_9} :catchall_2
invoke-static {}, Lcom/facebook/imagepipeline/i/b;->isTracing()Z
return-void
:catchall_2
move-exception p1
invoke-static {}, Lcom/facebook/imagepipeline/i/b;->isTracing()Z
throw p1
.end method