n$a.smali
.class public final Lcom/bumptech/glide/load/engine/n$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/bumptech/glide/load/engine/n;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "a"
.end annotation
# instance fields
.field public final a:Lcom/bumptech/glide/request/i;
.field public final synthetic b:Lcom/bumptech/glide/load/engine/n;
# direct methods
.method public constructor <init>(Lcom/bumptech/glide/load/engine/n;Lcom/bumptech/glide/request/i;)V
.registers 3
.line 1
iput-object p1, p0, Lcom/bumptech/glide/load/engine/n$a;->b:Lcom/bumptech/glide/load/engine/n;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p2, p0, Lcom/bumptech/glide/load/engine/n$a;->a:Lcom/bumptech/glide/request/i;
return-void
.end method
# virtual methods
.method public final run()V
.registers 8
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_c
const/4 v0, 0x1
goto :goto_d
:cond_c
const/4 v0, 0x0
:goto_d
if-eqz v0, :cond_18
const-string v1, "run"
const-string v2, "com/bumptech/glide/load/engine/EngineJob$CallLoadFailed"
const-string v3, "runnable"
invoke-static {v1, v2, v3}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.line 1
:cond_18
iget-object v1, p0, Lcom/bumptech/glide/load/engine/n$a;->a:Lcom/bumptech/glide/request/i;
invoke-interface {v1}, Lcom/bumptech/glide/request/i;->getLock()Ljava/lang/Object;
move-result-object v1
monitor-enter v1
.line 2
:try_start_1f
iget-object v2, p0, Lcom/bumptech/glide/load/engine/n$a;->b:Lcom/bumptech/glide/load/engine/n;
monitor-enter v2
:try_end_22
.catchall {:try_start_1f .. :try_end_22} :catchall_6c
.line 3
:try_start_22
iget-object v3, p0, Lcom/bumptech/glide/load/engine/n$a;->b:Lcom/bumptech/glide/load/engine/n;
iget-object v3, v3, Lcom/bumptech/glide/load/engine/n;->a:Lcom/bumptech/glide/load/engine/n$e;
iget-object v4, p0, Lcom/bumptech/glide/load/engine/n$a;->a:Lcom/bumptech/glide/request/i;
.line 4
iget-object v3, v3, Lcom/bumptech/glide/load/engine/n$e;->a:Ljava/util/List;
.line 5
new-instance v5, Lcom/bumptech/glide/load/engine/n$d;
sget-object v6, Lcom/bumptech/glide/util/f;->b:Lcom/bumptech/glide/util/f$b;
invoke-direct {v5, v4, v6}, Lcom/bumptech/glide/load/engine/n$d;-><init>(Lcom/bumptech/glide/request/i;Ljava/util/concurrent/Executor;)V
.line 6
invoke-interface {v3, v5}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_4b
.line 7
iget-object v3, p0, Lcom/bumptech/glide/load/engine/n$a;->b:Lcom/bumptech/glide/load/engine/n;
iget-object v4, p0, Lcom/bumptech/glide/load/engine/n$a;->a:Lcom/bumptech/glide/request/i;
invoke-static {v3}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_3e
.catchall {:try_start_22 .. :try_end_3e} :catchall_5e
.line 8
:try_start_3e
iget-object v3, v3, Lcom/bumptech/glide/load/engine/n;->t:Lcom/bumptech/glide/load/engine/r;
invoke-interface {v4, v3}, Lcom/bumptech/glide/request/i;->onLoadFailed(Lcom/bumptech/glide/load/engine/r;)V
:try_end_43
.catchall {:try_start_3e .. :try_end_43} :catchall_44
goto :goto_4b
:catchall_44
move-exception v3
.line 9
:try_start_45
new-instance v4, Lcom/bumptech/glide/load/engine/d;
invoke-direct {v4, v3}, Lcom/bumptech/glide/load/engine/d;-><init>(Ljava/lang/Throwable;)V
throw v4
.line 10
:cond_4b
:goto_4b
iget-object v3, p0, Lcom/bumptech/glide/load/engine/n$a;->b:Lcom/bumptech/glide/load/engine/n;
invoke-virtual {v3}, Lcom/bumptech/glide/load/engine/n;->f()V
.line 11
monitor-exit v2
:try_end_51
.catchall {:try_start_45 .. :try_end_51} :catchall_5e
.line 12
:try_start_51
monitor-exit v1
:try_end_52
.catchall {:try_start_51 .. :try_end_52} :catchall_6c
if-eqz v0, :cond_5d
const-string v0, "run"
const-string v1, "com/bumptech/glide/load/engine/EngineJob$CallLoadFailed"
const-string v2, "runnable"
.line 13
invoke-static {v0, v1, v2}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_5d
return-void
:catchall_5e
move-exception v3
.line 14
:try_start_5f
monitor-exit v2
:try_end_60
.catchall {:try_start_5f .. :try_end_60} :catchall_5e
if-eqz v0, :cond_6b
:try_start_62
const-string v2, "run"
const-string v4, "com/bumptech/glide/load/engine/EngineJob$CallLoadFailed"
const-string v5, "runnable"
invoke-static {v2, v4, v5}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_6b
throw v3
:catchall_6c
move-exception v2
.line 15
monitor-exit v1
:try_end_6e
.catchall {:try_start_62 .. :try_end_6e} :catchall_6c
if-eqz v0, :cond_79
const-string v0, "run"
const-string v1, "com/bumptech/glide/load/engine/EngineJob$CallLoadFailed"
const-string v3, "runnable"
invoke-static {v0, v1, v3}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_79
throw v2
.end method