.class public Lm3/d;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lm3/g;
.implements Lcom/bumptech/glide/load/data/d$a;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lm3/g;",
        "Lcom/bumptech/glide/load/data/d$a<",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation


# instance fields
.field public final r:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lk3/c;",
            ">;"
        }
    .end annotation
.end field

.field public final s:Lm3/h;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lm3/h<",
            "*>;"
        }
    .end annotation
.end field

.field public final t:Lm3/g$a;

.field public u:I

.field public v:Lk3/c;

.field public w:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lq3/m<",
            "Ljava/io/File;",
            "*>;>;"
        }
    .end annotation
.end field

.field public x:I

.field public volatile y:Lq3/m$a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lq3/m$a<",
            "*>;"
        }
    .end annotation
.end field

.field public z:Ljava/io/File;


# direct methods
.method public constructor <init>(Ljava/util/List;Lm3/h;Lm3/g$a;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lk3/c;",
            ">;",
            "Lm3/h<",
            "*>;",
            "Lm3/g$a;",
            ")V"
        }
    .end annotation

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, -0x1

    iput v0, p0, Lm3/d;->u:I

    iput-object p1, p0, Lm3/d;->r:Ljava/util/List;

    iput-object p2, p0, Lm3/d;->s:Lm3/h;

    iput-object p3, p0, Lm3/d;->t:Lm3/g$a;

    return-void
.end method

.method public constructor <init>(Lm3/h;Lm3/g$a;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lm3/h<",
            "*>;",
            "Lm3/g$a;",
            ")V"
        }
    .end annotation

    invoke-virtual {p1}, Lm3/h;->a()Ljava/util/List;

    move-result-object v0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v1, -0x1

    iput v1, p0, Lm3/d;->u:I

    iput-object v0, p0, Lm3/d;->r:Ljava/util/List;

    iput-object p1, p0, Lm3/d;->s:Lm3/h;

    iput-object p2, p0, Lm3/d;->t:Lm3/g$a;

    return-void
.end method


# virtual methods
.method public c(Ljava/lang/Exception;)V
    .registers 6

    iget-object v0, p0, Lm3/d;->t:Lm3/g$a;

    iget-object v1, p0, Lm3/d;->v:Lk3/c;

    iget-object v2, p0, Lm3/d;->y:Lq3/m$a;

    iget-object v2, v2, Lq3/m$a;->c:Lcom/bumptech/glide/load/data/d;

    sget-object v3, Lcom/bumptech/glide/load/a;->t:Lcom/bumptech/glide/load/a;

    invoke-interface {v0, v1, p1, v2, v3}, Lm3/g$a;->c(Lk3/c;Ljava/lang/Exception;Lcom/bumptech/glide/load/data/d;Lcom/bumptech/glide/load/a;)V

    return-void
.end method

.method public cancel()V
    .registers 2

    iget-object v0, p0, Lm3/d;->y:Lq3/m$a;

    if-eqz v0, :cond_9

    iget-object v0, v0, Lq3/m$a;->c:Lcom/bumptech/glide/load/data/d;

    invoke-interface {v0}, Lcom/bumptech/glide/load/data/d;->cancel()V

    :cond_9
    return-void
.end method

.method public d(Ljava/lang/Object;)V
    .registers 8

    iget-object v0, p0, Lm3/d;->t:Lm3/g$a;

    iget-object v1, p0, Lm3/d;->v:Lk3/c;

    iget-object v2, p0, Lm3/d;->y:Lq3/m$a;

    iget-object v3, v2, Lq3/m$a;->c:Lcom/bumptech/glide/load/data/d;

    sget-object v4, Lcom/bumptech/glide/load/a;->t:Lcom/bumptech/glide/load/a;

    iget-object v5, p0, Lm3/d;->v:Lk3/c;

    move-object v2, p1

    invoke-interface/range {v0 .. v5}, Lm3/g$a;->b(Lk3/c;Ljava/lang/Object;Lcom/bumptech/glide/load/data/d;Lcom/bumptech/glide/load/a;Lk3/c;)V

    return-void
.end method

.method public e()Z
    .registers 9

    :cond_0
    :goto_0
    iget-object v0, p0, Lm3/d;->w:Ljava/util/List;

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_69

    .line 1
    iget v3, p0, Lm3/d;->x:I

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v3, v0, :cond_10

    move v0, v2

    goto :goto_11

    :cond_10
    move v0, v1

    :goto_11
    if-nez v0, :cond_14

    goto :goto_69

    :cond_14
    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lm3/d;->y:Lq3/m$a;

    move v0, v1

    :cond_18
    :goto_18
    if-nez v0, :cond_68

    .line 3
    iget v3, p0, Lm3/d;->x:I

    iget-object v4, p0, Lm3/d;->w:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_26

    move v3, v2

    goto :goto_27

    :cond_26
    move v3, v1

    :goto_27
    if-eqz v3, :cond_68

    .line 4
    iget-object v3, p0, Lm3/d;->w:Ljava/util/List;

    iget v4, p0, Lm3/d;->x:I

    add-int/lit8 v5, v4, 0x1

    iput v5, p0, Lm3/d;->x:I

    invoke-interface {v3, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lq3/m;

    iget-object v4, p0, Lm3/d;->z:Ljava/io/File;

    iget-object v5, p0, Lm3/d;->s:Lm3/h;

    .line 5
    iget v6, v5, Lm3/h;->e:I

    .line 6
    iget v7, v5, Lm3/h;->f:I

    .line 7
    iget-object v5, v5, Lm3/h;->i:Lk3/e;

    .line 8
    invoke-interface {v3, v4, v6, v7, v5}, Lq3/m;->a(Ljava/lang/Object;IILk3/e;)Lq3/m$a;

    move-result-object v3

    iput-object v3, p0, Lm3/d;->y:Lq3/m$a;

    iget-object v3, p0, Lm3/d;->y:Lq3/m$a;

    if-eqz v3, :cond_18

    iget-object v3, p0, Lm3/d;->s:Lm3/h;

    iget-object v4, p0, Lm3/d;->y:Lq3/m$a;

    iget-object v4, v4, Lq3/m$a;->c:Lcom/bumptech/glide/load/data/d;

    invoke-interface {v4}, Lcom/bumptech/glide/load/data/d;->a()Ljava/lang/Class;

    move-result-object v4

    invoke-virtual {v3, v4}, Lm3/h;->g(Ljava/lang/Class;)Z

    move-result v3

    if-eqz v3, :cond_18

    iget-object v0, p0, Lm3/d;->y:Lq3/m$a;

    iget-object v0, v0, Lq3/m$a;->c:Lcom/bumptech/glide/load/data/d;

    iget-object v3, p0, Lm3/d;->s:Lm3/h;

    .line 9
    iget-object v3, v3, Lm3/h;->o:Lcom/bumptech/glide/f;

    .line 10
    invoke-interface {v0, v3, p0}, Lcom/bumptech/glide/load/data/d;->f(Lcom/bumptech/glide/f;Lcom/bumptech/glide/load/data/d$a;)V

    move v0, v2

    goto :goto_18

    :cond_68
    return v0

    :cond_69
    :goto_69
    iget v0, p0, Lm3/d;->u:I

    add-int/2addr v0, v2

    iput v0, p0, Lm3/d;->u:I

    iget-object v2, p0, Lm3/d;->r:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-lt v0, v2, :cond_77

    return v1

    :cond_77
    iget-object v0, p0, Lm3/d;->r:Ljava/util/List;

    iget v2, p0, Lm3/d;->u:I

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lk3/c;

    new-instance v2, Lm3/e;

    iget-object v3, p0, Lm3/d;->s:Lm3/h;

    .line 11
    iget-object v4, v3, Lm3/h;->n:Lk3/c;

    .line 12
    invoke-direct {v2, v0, v4}, Lm3/e;-><init>(Lk3/c;Lk3/c;)V

    invoke-virtual {v3}, Lm3/h;->b()Lo3/a;

    move-result-object v3

    invoke-interface {v3, v2}, Lo3/a;->b(Lk3/c;)Ljava/io/File;

    move-result-object v2

    iput-object v2, p0, Lm3/d;->z:Ljava/io/File;

    if-eqz v2, :cond_0

    iput-object v0, p0, Lm3/d;->v:Lk3/c;

    iget-object v0, p0, Lm3/d;->s:Lm3/h;

    .line 13
    iget-object v0, v0, Lm3/h;->c:Lcom/bumptech/glide/d;

    .line 14
    iget-object v0, v0, Lcom/bumptech/glide/d;->b:Lcom/bumptech/glide/g;

    .line 15
    invoke-virtual {v0, v2}, Lcom/bumptech/glide/g;->f(Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    .line 16
    iput-object v0, p0, Lm3/d;->w:Ljava/util/List;

    iput v1, p0, Lm3/d;->x:I

    goto/16 :goto_0
.end method
