m.smali

.class public final Lcom/bumptech/glide/m;
.super Lcom/bumptech/glide/request/a;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<TranscodeType:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/bumptech/glide/request/a<",
        "Lcom/bumptech/glide/m<",
        "TTranscodeType;>;>;"
    }
.end annotation


# instance fields
.field public final A:Landroid/content/Context;

.field public final B:Lcom/bumptech/glide/n;

.field public final C:Ljava/lang/Class;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Class<",
            "TTranscodeType;>;"
        }
    .end annotation
.end field

.field public final L:Lcom/bumptech/glide/e;

.field public M:Lcom/bumptech/glide/p;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/bumptech/glide/p<",
            "*-TTranscodeType;>;"
        }
    .end annotation
.end field

.field public N:Ljava/lang/Object;

.field public O:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/bumptech/glide/request/g<",
            "TTranscodeType;>;>;"
        }
    .end annotation
.end field

.field public P:Lcom/bumptech/glide/m;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation
.end field

.field public Q:Lcom/bumptech/glide/m;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation
.end field

.field public R:Z

.field public S:Z

.field public T:Z


# direct methods
.method public static constructor <clinit>()V
    .registers 2

    .line 1
    new-instance v0, Lcom/bumptech/glide/request/h;

    invoke-direct {v0}, Lcom/bumptech/glide/request/h;-><init>()V

    sget-object v1, Lcom/bumptech/glide/load/engine/l;->c:Lcom/bumptech/glide/load/engine/l$c;

    .line 2
    invoke-virtual {v0, v1}, Lcom/bumptech/glide/request/a;->d(Lcom/bumptech/glide/load/engine/l;)Lcom/bumptech/glide/request/a;

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/request/h;

    sget-object v1, Lcom/bumptech/glide/j;->LOW:Lcom/bumptech/glide/j;

    .line 3
    invoke-virtual {v0, v1}, Lcom/bumptech/glide/request/a;->q(Lcom/bumptech/glide/j;)Lcom/bumptech/glide/request/a;

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/request/h;

    const/4 v1, 0x1

    .line 4
    invoke-virtual {v0, v1}, Lcom/bumptech/glide/request/a;->u(Z)Lcom/bumptech/glide/request/a;

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/request/h;

    return-void
.end method

.method public constructor <init>(Lcom/bumptech/glide/b;Lcom/bumptech/glide/n;Ljava/lang/Class;Landroid/content/Context;)V
    .registers 8
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "CheckResult"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/b;",
            "Lcom/bumptech/glide/n;",
            "Ljava/lang/Class<",
            "TTranscodeType;>;",
            "Landroid/content/Context;",
            ")V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Lcom/bumptech/glide/request/a;-><init>()V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/bumptech/glide/m;->R:Z

    .line 3
    iput-object p2, p0, Lcom/bumptech/glide/m;->B:Lcom/bumptech/glide/n;

    .line 4
    iput-object p3, p0, Lcom/bumptech/glide/m;->C:Ljava/lang/Class;

    .line 5
    iput-object p4, p0, Lcom/bumptech/glide/m;->A:Landroid/content/Context;

    .line 6
    iget-object p4, p2, Lcom/bumptech/glide/n;->a:Lcom/bumptech/glide/b;

    .line 7
    iget-object p4, p4, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/e;

    .line 8
    iget-object v0, p4, Lcom/bumptech/glide/e;->f:Ljava/util/Map;

    invoke-interface {v0, p3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/p;

    if-nez v0, :cond_43

    .line 9
    iget-object p4, p4, Lcom/bumptech/glide/e;->f:Ljava/util/Map;

    invoke-interface {p4}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object p4

    invoke-interface {p4}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object p4

    :cond_24
    :goto_24
    invoke-interface {p4}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_43

    invoke-interface {p4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/Map$Entry;

    .line 10
    invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Class;

    invoke-virtual {v2, p3}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z

    move-result v2

    if-eqz v2, :cond_24

    .line 11
    invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/p;

    goto :goto_24

    :cond_43
    if-nez v0, :cond_47

    .line 12
    sget-object v0, Lcom/bumptech/glide/e;->l:Lcom/bumptech/glide/a;

    .line 13
    :cond_47
    iput-object v0, p0, Lcom/bumptech/glide/m;->M:Lcom/bumptech/glide/p;

    .line 14
    iget-object p1, p1, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/e;

    .line 15
    iput-object p1, p0, Lcom/bumptech/glide/m;->L:Lcom/bumptech/glide/e;

    .line 16
    iget-object p1, p2, Lcom/bumptech/glide/n;->i:Ljava/util/concurrent/CopyOnWriteArrayList;

    .line 17
    invoke-virtual {p1}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_53
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p3

    if-eqz p3, :cond_63

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lcom/bumptech/glide/request/g;

    .line 18
    invoke-virtual {p0, p3}, Lcom/bumptech/glide/m;->A(Lcom/bumptech/glide/request/g;)Lcom/bumptech/glide/m;

    goto :goto_53

    .line 19
    :cond_63
    monitor-enter p2

    .line 20
    :try_start_64
    iget-object p1, p2, Lcom/bumptech/glide/n;->j:Lcom/bumptech/glide/request/h;
    :try_end_66
    .catchall {:try_start_64 .. :try_end_66} :catchall_6b

    monitor-exit p2

    .line 21
    invoke-virtual {p0, p1}, Lcom/bumptech/glide/m;->B(Lcom/bumptech/glide/request/a;)Lcom/bumptech/glide/m;

    return-void

    :catchall_6b
    move-exception p1

    .line 22
    monitor-exit p2

    throw p1
.end method


# virtual methods
.method public final A(Lcom/bumptech/glide/request/g;)Lcom/bumptech/glide/m;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/request/g<",
            "TTranscodeType;>;)",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Lcom/bumptech/glide/request/a;->v:Z

    if-eqz v0, :cond_d

    .line 2
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/m;->A(Lcom/bumptech/glide/request/g;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1

    :cond_d
    if-eqz p1, :cond_1f

    .line 3
    iget-object v0, p0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    if-nez v0, :cond_1a

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    .line 5
    :cond_1a
    iget-object v0, p0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 6
    :cond_1f
    invoke-virtual {p0}, Lcom/bumptech/glide/request/a;->r()Lcom/bumptech/glide/request/a;

    return-object p0
.end method

.method public final B(Lcom/bumptech/glide/request/a;)Lcom/bumptech/glide/m;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/request/a<",
            "*>;)",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    const-string v0, "Argument must not be null"

    .line 1
    invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    invoke-super {p0, p1}, Lcom/bumptech/glide/request/a;->a(Lcom/bumptech/glide/request/a;)Lcom/bumptech/glide/request/a;

    move-result-object p1

    check-cast p1, Lcom/bumptech/glide/m;

    return-object p1
.end method

.method public final C(Ljava/lang/Object;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/p;Lcom/bumptech/glide/j;IILcom/bumptech/glide/request/a;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/d;
    .registers 30
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            "Lcom/bumptech/glide/request/target/i<",
            "TTranscodeType;>;",
            "Lcom/bumptech/glide/request/g<",
            "TTranscodeType;>;",
            "Lcom/bumptech/glide/request/e;",
            "Lcom/bumptech/glide/p<",
            "*-TTranscodeType;>;",
            "Lcom/bumptech/glide/j;",
            "II",
            "Lcom/bumptech/glide/request/a<",
            "*>;",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lcom/bumptech/glide/request/d;"
        }
    .end annotation

    move-object/from16 v11, p0

    move-object/from16 v12, p1

    move-object/from16 v13, p9

    .line 1
    iget-object v0, v11, Lcom/bumptech/glide/m;->Q:Lcom/bumptech/glide/m;

    if-eqz v0, :cond_14

    .line 2
    new-instance v0, Lcom/bumptech/glide/request/b;

    move-object/from16 v1, p4

    invoke-direct {v0, v12, v1}, Lcom/bumptech/glide/request/b;-><init>(Ljava/lang/Object;Lcom/bumptech/glide/request/e;)V

    move-object v5, v0

    move-object v14, v5

    goto :goto_19

    :cond_14
    move-object/from16 v1, p4

    const/4 v0, 0x0

    move-object v14, v0

    move-object v5, v1

    .line 3
    :goto_19
    iget-object v0, v11, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    if-eqz v0, :cond_b2

    .line 4
    iget-boolean v1, v11, Lcom/bumptech/glide/m;->T:Z

    if-nez v1, :cond_aa

    .line 5
    iget-object v1, v0, Lcom/bumptech/glide/m;->M:Lcom/bumptech/glide/p;

    .line 6
    iget-boolean v2, v0, Lcom/bumptech/glide/m;->R:Z

    if-eqz v2, :cond_2a

    move-object/from16 v15, p5

    goto :goto_2b

    :cond_2a
    move-object v15, v1

    .line 7
    :goto_2b
    iget v0, v0, Lcom/bumptech/glide/request/a;->a:I

    const/16 v1, 0x8

    invoke-static {v0, v1}, Lcom/bumptech/glide/request/a;->j(II)Z

    move-result v0

    if-eqz v0, :cond_3c

    .line 8
    iget-object v0, v11, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    .line 9
    iget-object v0, v0, Lcom/bumptech/glide/request/a;->d:Lcom/bumptech/glide/j;

    move-object/from16 v7, p6

    goto :goto_42

    :cond_3c
    move-object/from16 v7, p6

    .line 10
    invoke-virtual {v11, v7}, Lcom/bumptech/glide/m;->G(Lcom/bumptech/glide/j;)Lcom/bumptech/glide/j;

    move-result-object v0

    :goto_42
    move-object/from16 v16, v0

    .line 11
    iget-object v0, v11, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    .line 12
    iget v1, v0, Lcom/bumptech/glide/request/a;->k:I

    .line 13
    iget v0, v0, Lcom/bumptech/glide/request/a;->j:I

    .line 14
    invoke-static/range {p7 .. p8}, Lcom/bumptech/glide/util/m;->j(II)Z

    move-result v2

    if-eqz v2, :cond_65

    iget-object v2, v11, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    .line 15
    iget v3, v2, Lcom/bumptech/glide/request/a;->k:I

    iget v2, v2, Lcom/bumptech/glide/request/a;->j:I

    invoke-static {v3, v2}, Lcom/bumptech/glide/util/m;->j(II)Z

    move-result v2

    if-nez v2, :cond_65

    .line 16
    iget v0, v13, Lcom/bumptech/glide/request/a;->k:I

    .line 17
    iget v1, v13, Lcom/bumptech/glide/request/a;->j:I

    move/from16 v17, v0

    move/from16 v18, v1

    goto :goto_69

    :cond_65
    move/from16 v18, v0

    move/from16 v17, v1

    .line 18
    :goto_69
    new-instance v10, Lcom/bumptech/glide/request/j;

    invoke-direct {v10, v12, v5}, Lcom/bumptech/glide/request/j;-><init>(Ljava/lang/Object;Lcom/bumptech/glide/request/e;)V

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    move-object/from16 v3, p3

    move-object/from16 v4, p9

    move-object v5, v10

    move-object/from16 v6, p5

    move-object/from16 v7, p6

    move/from16 v8, p7

    move/from16 v9, p8

    move-object/from16 p4, v10

    move-object/from16 v10, p10

    .line 19
    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/m;->N(Ljava/lang/Object;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/a;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/p;Lcom/bumptech/glide/j;IILjava/util/concurrent/Executor;)Lcom/bumptech/glide/request/d;

    move-result-object v10

    const/4 v0, 0x1

    .line 20
    iput-boolean v0, v11, Lcom/bumptech/glide/m;->T:Z

    .line 21
    iget-object v9, v11, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    move-object v0, v9

    move-object/from16 v4, p4

    move-object v5, v15

    move-object/from16 v6, v16

    move/from16 v7, v17

    move/from16 v8, v18

    move-object v15, v10

    move-object/from16 v10, p10

    .line 22
    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/m;->C(Ljava/lang/Object;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/p;Lcom/bumptech/glide/j;IILcom/bumptech/glide/request/a;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/d;

    move-result-object v0

    const/4 v1, 0x0

    .line 23
    iput-boolean v1, v11, Lcom/bumptech/glide/m;->T:Z

    move-object/from16 v1, p4

    .line 24
    iput-object v15, v1, Lcom/bumptech/glide/request/j;->c:Lcom/bumptech/glide/request/d;

    .line 25
    iput-object v0, v1, Lcom/bumptech/glide/request/j;->d:Lcom/bumptech/glide/request/d;

    move-object v15, v1

    goto :goto_cb

    .line 26
    :cond_aa
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "You cannot use a request as both the main request and a thumbnail, consider using clone() on the request(s) passed to thumbnail()"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_b2
    move-object/from16 v7, p6

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    move-object/from16 v3, p3

    move-object/from16 v4, p9

    move-object/from16 v6, p5

    move/from16 v8, p7

    move/from16 v9, p8

    move-object/from16 v10, p10

    .line 27
    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/m;->N(Ljava/lang/Object;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/a;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/p;Lcom/bumptech/glide/j;IILjava/util/concurrent/Executor;)Lcom/bumptech/glide/request/d;

    move-result-object v10

    move-object v15, v10

    :goto_cb
    if-nez v14, :cond_ce

    return-object v15

    .line 28
    :cond_ce
    iget-object v0, v11, Lcom/bumptech/glide/m;->Q:Lcom/bumptech/glide/m;

    .line 29
    iget v1, v0, Lcom/bumptech/glide/request/a;->k:I

    .line 30
    iget v0, v0, Lcom/bumptech/glide/request/a;->j:I

    .line 31
    invoke-static/range {p7 .. p8}, Lcom/bumptech/glide/util/m;->j(II)Z

    move-result v2

    if-eqz v2, :cond_ed

    iget-object v2, v11, Lcom/bumptech/glide/m;->Q:Lcom/bumptech/glide/m;

    .line 32
    iget v3, v2, Lcom/bumptech/glide/request/a;->k:I

    iget v2, v2, Lcom/bumptech/glide/request/a;->j:I

    invoke-static {v3, v2}, Lcom/bumptech/glide/util/m;->j(II)Z

    move-result v2

    if-nez v2, :cond_ed

    .line 33
    iget v0, v13, Lcom/bumptech/glide/request/a;->k:I

    .line 34
    iget v1, v13, Lcom/bumptech/glide/request/a;->j:I

    move v7, v0

    move v8, v1

    goto :goto_ef

    :cond_ed
    move v8, v0

    move v7, v1

    .line 35
    :goto_ef
    iget-object v9, v11, Lcom/bumptech/glide/m;->Q:Lcom/bumptech/glide/m;

    iget-object v5, v9, Lcom/bumptech/glide/m;->M:Lcom/bumptech/glide/p;

    .line 36
    iget-object v6, v9, Lcom/bumptech/glide/request/a;->d:Lcom/bumptech/glide/j;

    move-object v0, v9

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    move-object/from16 v3, p3

    move-object v4, v14

    move-object/from16 v10, p10

    .line 37
    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/m;->C(Ljava/lang/Object;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/p;Lcom/bumptech/glide/j;IILcom/bumptech/glide/request/a;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/d;

    move-result-object v0

    .line 38
    iput-object v15, v14, Lcom/bumptech/glide/request/b;->c:Lcom/bumptech/glide/request/d;

    .line 39
    iput-object v0, v14, Lcom/bumptech/glide/request/b;->d:Lcom/bumptech/glide/request/d;

    return-object v14
.end method

.method public final D()Lcom/bumptech/glide/m;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    invoke-super {p0}, Lcom/bumptech/glide/request/a;->b()Lcom/bumptech/glide/request/a;

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/m;

    .line 2
    iget-object v1, v0, Lcom/bumptech/glide/m;->M:Lcom/bumptech/glide/p;

    invoke-virtual {v1}, Lcom/bumptech/glide/p;->a()Lcom/bumptech/glide/p;

    move-result-object v1

    iput-object v1, v0, Lcom/bumptech/glide/m;->M:Lcom/bumptech/glide/p;

    .line 3
    iget-object v1, v0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    if-eqz v1, :cond_1b

    .line 4
    new-instance v1, Ljava/util/ArrayList;

    iget-object v2, v0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    iput-object v1, v0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    .line 5
    :cond_1b
    iget-object v1, v0, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    if-eqz v1, :cond_25

    .line 6
    invoke-virtual {v1}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v1

    iput-object v1, v0, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    .line 7
    :cond_25
    iget-object v1, v0, Lcom/bumptech/glide/m;->Q:Lcom/bumptech/glide/m;

    if-eqz v1, :cond_2f

    .line 8
    invoke-virtual {v1}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v1

    iput-object v1, v0, Lcom/bumptech/glide/m;->Q:Lcom/bumptech/glide/m;

    :cond_2f
    return-object v0
.end method

.method public final E(Lcom/bumptech/glide/m;)Lcom/bumptech/glide/m;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;)",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Lcom/bumptech/glide/request/a;->v:Z

    if-eqz v0, :cond_d

    .line 2
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/m;->E(Lcom/bumptech/glide/m;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1

    .line 3
    :cond_d
    iput-object p1, p0, Lcom/bumptech/glide/m;->Q:Lcom/bumptech/glide/m;

    .line 4
    invoke-virtual {p0}, Lcom/bumptech/glide/request/a;->r()Lcom/bumptech/glide/request/a;

    return-object p0
.end method

.method public final F(Lcom/bumptech/glide/request/a;Ljava/lang/String;)Ljava/lang/Integer;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/request/a<",
            "*>;",
            "Ljava/lang/String;",
            ")",
            "Ljava/lang/Integer;"
        }
    .end annotation

    .line 1
    iget-object p1, p1, Lcom/bumptech/glide/request/a;->q:Lcom/bumptech/glide/load/l;

    .line 2
    invoke-static {p2}, Lcom/bumptech/glide/load/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/load/k;

    move-result-object p2

    invoke-virtual {p1, p2}, Lcom/bumptech/glide/load/l;->a(Lcom/bumptech/glide/load/k;)Ljava/lang/Object;

    move-result-object p1

    if-eqz p1, :cond_19

    .line 3
    :try_start_c
    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1
    :try_end_18
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_18} :catch_19

    return-object p1

    :catch_19
    :cond_19
    const/4 p1, 0x0

    return-object p1
.end method

.method public final G(Lcom/bumptech/glide/j;)Lcom/bumptech/glide/j;
    .registers 4

    .line 1
    sget-object v0, Lcom/bumptech/glide/m$a;->b:[I

    invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I

    move-result p1

    aget p1, v0, p1

    const/4 v0, 0x1

    if-eq p1, v0, :cond_30

    const/4 v0, 0x2

    if-eq p1, v0, :cond_2d

    const/4 v0, 0x3

    if-eq p1, v0, :cond_2a

    const/4 v0, 0x4

    if-ne p1, v0, :cond_15

    goto :goto_2a

    .line 2
    :cond_15
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "unknown priority: "

    .line 3
    invoke-static {v0}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 4
    iget-object v1, p0, Lcom/bumptech/glide/request/a;->d:Lcom/bumptech/glide/j;

    .line 5
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 6
    :cond_2a
    :goto_2a
    sget-object p1, Lcom/bumptech/glide/j;->IMMEDIATE:Lcom/bumptech/glide/j;

    return-object p1

    .line 7
    :cond_2d
    sget-object p1, Lcom/bumptech/glide/j;->HIGH:Lcom/bumptech/glide/j;

    return-object p1

    .line 8
    :cond_30
    sget-object p1, Lcom/bumptech/glide/j;->NORMAL:Lcom/bumptech/glide/j;

    return-object p1
.end method

.method public final H(Lcom/bumptech/glide/request/target/i;)Lcom/bumptech/glide/request/target/i;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<Y::",
            "Lcom/bumptech/glide/request/target/i<",
            "TTranscodeType;>;>(TY;)TY;"
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/bumptech/glide/util/f;->a:Lcom/bumptech/glide/util/f$a;

    const/4 v1, 0x0

    .line 2
    invoke-virtual {p0, p1, v1, p0, v0}, Lcom/bumptech/glide/m;->I(Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/a;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/target/i;

    return-object p1
.end method

.method public final I(Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/a;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/target/i;
    .registers 20
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<Y::",
            "Lcom/bumptech/glide/request/target/i<",
            "TTranscodeType;>;>(TY;",
            "Lcom/bumptech/glide/request/g<",
            "TTranscodeType;>;",
            "Lcom/bumptech/glide/request/a<",
            "*>;",
            "Ljava/util/concurrent/Executor;",
            ")TY;"
        }
    .end annotation

    move-object v12, p0

    move-object/from16 v0, p1

    move-object/from16 v13, p3

    const-string v1, "Argument must not be null"

    .line 1
    invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    iget-boolean v1, v12, Lcom/bumptech/glide/m;->S:Z

    if-eqz v1, :cond_b0

    .line 3
    sget-object v1, Lcom/bumptech/glide/o$a;->a:Lcom/bumptech/glide/o;

    .line 4
    iget-object v1, v1, Lcom/bumptech/glide/o;->a:Lcom/shopee/glide/service/b;

    .line 5
    instance-of v2, v0, Lcom/bumptech/glide/load/resource/gif/GifFrameLoader$DelayTarget;

    const/4 v14, 0x1

    if-nez v2, :cond_40

    if-eqz v1, :cond_40

    .line 6
    iget-object v2, v12, Lcom/bumptech/glide/m;->N:Ljava/lang/Object;

    if-eqz v2, :cond_40

    :try_start_1d
    const-string v2, "optimalWidth"

    .line 7
    invoke-virtual {p0, v13, v2}, Lcom/bumptech/glide/m;->F(Lcom/bumptech/glide/request/a;Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v2

    const-string v3, "optimalHeight"

    .line 8
    invoke-virtual {p0, v13, v3}, Lcom/bumptech/glide/m;->F(Lcom/bumptech/glide/request/a;Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v3

    if-eqz v2, :cond_40

    if-eqz v3, :cond_40

    .line 9
    iget-object v4, v12, Lcom/bumptech/glide/m;->N:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    invoke-interface {v1, v4, v2, v3}, Lcom/shopee/glide/service/b;->k(Ljava/lang/String;II)V
    :try_end_3e
    .catch Ljava/lang/Exception; {:try_start_1d .. :try_end_3e} :catch_3f

    goto :goto_40

    :catch_3f
    nop

    .line 10
    :cond_40
    :goto_40
    new-instance v2, Ljava/lang/Object;

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

    iget-object v6, v12, Lcom/bumptech/glide/m;->M:Lcom/bumptech/glide/p;

    .line 11
    iget-object v7, v13, Lcom/bumptech/glide/request/a;->d:Lcom/bumptech/glide/j;

    .line 12
    iget v8, v13, Lcom/bumptech/glide/request/a;->k:I

    .line 13
    iget v9, v13, Lcom/bumptech/glide/request/a;->j:I

    const/4 v5, 0x0

    move-object v1, p0

    move-object/from16 v3, p1

    move-object/from16 v4, p2

    move-object/from16 v10, p3

    move-object/from16 v11, p4

    .line 14
    invoke-virtual/range {v1 .. v11}, Lcom/bumptech/glide/m;->C(Ljava/lang/Object;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/p;Lcom/bumptech/glide/j;IILcom/bumptech/glide/request/a;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/d;

    move-result-object v1

    .line 15
    invoke-interface/range {p1 .. p1}, Lcom/bumptech/glide/request/target/i;->getRequest()Lcom/bumptech/glide/request/d;

    move-result-object v2

    .line 16
    invoke-interface {v1, v2}, Lcom/bumptech/glide/request/d;->isEquivalentTo(Lcom/bumptech/glide/request/d;)Z

    move-result v3

    if-eqz v3, :cond_82

    .line 17
    iget-boolean v3, v13, Lcom/bumptech/glide/request/a;->i:Z

    if-nez v3, :cond_70

    .line 18
    invoke-interface {v2}, Lcom/bumptech/glide/request/d;->isComplete()Z

    move-result v3

    if-eqz v3, :cond_70

    goto :goto_71

    :cond_70
    const/4 v14, 0x0

    :goto_71
    if-nez v14, :cond_82

    const-string v1, "Argument must not be null"

    .line 19
    invoke-static {v2, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 20
    invoke-interface {v2}, Lcom/bumptech/glide/request/d;->isRunning()Z

    move-result v1

    if-nez v1, :cond_81

    .line 21
    invoke-interface {v2}, Lcom/bumptech/glide/request/d;->begin()V

    :cond_81
    return-object v0

    .line 22
    :cond_82
    iget-object v2, v12, Lcom/bumptech/glide/m;->B:Lcom/bumptech/glide/n;

    invoke-virtual {v2, v0}, Lcom/bumptech/glide/n;->c(Lcom/bumptech/glide/request/target/i;)V

    .line 23
    invoke-interface {v0, v1}, Lcom/bumptech/glide/request/target/i;->setRequest(Lcom/bumptech/glide/request/d;)V

    .line 24
    iget-object v2, v12, Lcom/bumptech/glide/m;->B:Lcom/bumptech/glide/n;

    .line 25
    monitor-enter v2

    .line 26
    :try_start_8d
    iget-object v3, v2, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;

    .line 27
    iget-object v3, v3, Lcom/bumptech/glide/manager/r;->a:Ljava/util/Set;

    invoke-interface {v3, v0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 28
    iget-object v3, v2, Lcom/bumptech/glide/n;->d:Lcom/bumptech/glide/manager/n;

    .line 29
    iget-object v4, v3, Lcom/bumptech/glide/manager/n;->a:Ljava/util/Set;

    invoke-interface {v4, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 30
    iget-boolean v4, v3, Lcom/bumptech/glide/manager/n;->c:Z

    if-nez v4, :cond_a3

    .line 31
    invoke-interface {v1}, Lcom/bumptech/glide/request/d;->begin()V

    goto :goto_ab

    .line 32
    :cond_a3
    invoke-interface {v1}, Lcom/bumptech/glide/request/d;->clear()V

    .line 33
    iget-object v3, v3, Lcom/bumptech/glide/manager/n;->b:Ljava/util/HashSet;

    invoke-virtual {v3, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
    :try_end_ab
    .catchall {:try_start_8d .. :try_end_ab} :catchall_ad

    .line 34
    :goto_ab
    monitor-exit v2

    return-object v0

    :catchall_ad
    move-exception v0

    monitor-exit v2

    throw v0

    .line 35
    :cond_b0
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "You must call #load() before calling #into()"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public final J(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/target/j;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/ImageView;",
            ")",
            "Lcom/bumptech/glide/request/target/j<",
            "Landroid/widget/ImageView;",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    invoke-static {}, Lcom/bumptech/glide/util/m;->a()V

    const-string v0, "Argument must not be null"

    .line 2
    invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 3
    iget v0, p0, Lcom/bumptech/glide/request/a;->a:I

    const/16 v1, 0x800

    invoke-static {v0, v1}, Lcom/bumptech/glide/request/a;->j(II)Z

    move-result v0

    if-nez v0, :cond_73

    .line 4
    iget-boolean v0, p0, Lcom/bumptech/glide/request/a;->n:Z

    if-eqz v0, :cond_73

    .line 5
    invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleType()Landroid/widget/ImageView$ScaleType;

    move-result-object v0

    if-eqz v0, :cond_73

    .line 6
    sget-object v0, Lcom/bumptech/glide/m$a;->a:[I

    invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleType()Landroid/widget/ImageView$ScaleType;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I

    move-result v1

    aget v0, v0, v1

    const/4 v1, 0x1

    packed-switch v0, :pswitch_data_bc

    goto :goto_73

    .line 7
    :pswitch_2d
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    .line 8
    sget-object v2, Lcom/bumptech/glide/load/resource/bitmap/m;->b:Lcom/bumptech/glide/load/resource/bitmap/m$a;

    new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/k;

    invoke-direct {v3}, Lcom/bumptech/glide/load/resource/bitmap/k;-><init>()V

    .line 9
    invoke-virtual {v0, v2, v3}, Lcom/bumptech/glide/request/a;->m(Lcom/bumptech/glide/load/resource/bitmap/m;Lcom/bumptech/glide/load/p;)Lcom/bumptech/glide/request/a;

    move-result-object v0

    .line 10
    iput-boolean v1, v0, Lcom/bumptech/glide/request/a;->y:Z

    goto :goto_74

    .line 11
    :pswitch_3f
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    .line 12
    sget-object v2, Lcom/bumptech/glide/load/resource/bitmap/m;->a:Lcom/bumptech/glide/load/resource/bitmap/m$c;

    new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/r;

    invoke-direct {v3}, Lcom/bumptech/glide/load/resource/bitmap/r;-><init>()V

    .line 13
    invoke-virtual {v0, v2, v3}, Lcom/bumptech/glide/request/a;->m(Lcom/bumptech/glide/load/resource/bitmap/m;Lcom/bumptech/glide/load/p;)Lcom/bumptech/glide/request/a;

    move-result-object v0

    .line 14
    iput-boolean v1, v0, Lcom/bumptech/glide/request/a;->y:Z

    goto :goto_74

    .line 15
    :pswitch_51
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    .line 16
    sget-object v2, Lcom/bumptech/glide/load/resource/bitmap/m;->b:Lcom/bumptech/glide/load/resource/bitmap/m$a;

    new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/k;

    invoke-direct {v3}, Lcom/bumptech/glide/load/resource/bitmap/k;-><init>()V

    .line 17
    invoke-virtual {v0, v2, v3}, Lcom/bumptech/glide/request/a;->m(Lcom/bumptech/glide/load/resource/bitmap/m;Lcom/bumptech/glide/load/p;)Lcom/bumptech/glide/request/a;

    move-result-object v0

    .line 18
    iput-boolean v1, v0, Lcom/bumptech/glide/request/a;->y:Z

    goto :goto_74

    .line 19
    :pswitch_63
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    .line 20
    sget-object v1, Lcom/bumptech/glide/load/resource/bitmap/m;->c:Lcom/bumptech/glide/load/resource/bitmap/m$b;

    new-instance v2, Lcom/bumptech/glide/load/resource/bitmap/j;

    invoke-direct {v2}, Lcom/bumptech/glide/load/resource/bitmap/j;-><init>()V

    invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/request/a;->m(Lcom/bumptech/glide/load/resource/bitmap/m;Lcom/bumptech/glide/load/p;)Lcom/bumptech/glide/request/a;

    move-result-object v0

    goto :goto_74

    :cond_73
    :goto_73
    move-object v0, p0

    .line 21
    :goto_74
    iget-object v1, p0, Lcom/bumptech/glide/m;->L:Lcom/bumptech/glide/e;

    iget-object v2, p0, Lcom/bumptech/glide/m;->C:Ljava/lang/Class;

    .line 22
    iget-object v1, v1, Lcom/bumptech/glide/e;->c:Lcom/shopee/sdk/util/d;

    invoke-static {v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 23
    const-class v1, Landroid/graphics/Bitmap;

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8b

    .line 24
    new-instance v1, Lcom/bumptech/glide/request/target/b;

    invoke-direct {v1, p1}, Lcom/bumptech/glide/request/target/b;-><init>(Landroid/widget/ImageView;)V

    goto :goto_98

    .line 25
    :cond_8b
    const-class v1, Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1, v2}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z

    move-result v1

    if-eqz v1, :cond_9f

    .line 26
    new-instance v1, Lcom/bumptech/glide/request/target/e;

    invoke-direct {v1, p1}, Lcom/bumptech/glide/request/target/e;-><init>(Landroid/widget/ImageView;)V

    :goto_98
    const/4 p1, 0x0

    .line 27
    sget-object v2, Lcom/bumptech/glide/util/f;->a:Lcom/bumptech/glide/util/f$a;

    .line 28
    invoke-virtual {p0, v1, p1, v0, v2}, Lcom/bumptech/glide/m;->I(Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/a;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/target/i;

    return-object v1

    .line 29
    :cond_9f
    new-instance p1, Ljava/lang/IllegalArgumentException;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "Unhandled class: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, ", try .as*(Class).transcode(ResourceTranscoder)"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    nop

    :pswitch_data_bc
    .packed-switch 0x1
        :pswitch_63
        :pswitch_51
        :pswitch_3f
        :pswitch_3f
        :pswitch_3f
        :pswitch_2d
    .end packed-switch
.end method

.method public final K(Lcom/bumptech/glide/request/g;)Lcom/bumptech/glide/m;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/request/g<",
            "TTranscodeType;>;)",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Lcom/bumptech/glide/request/a;->v:Z

    if-eqz v0, :cond_d

    .line 2
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/m;->K(Lcom/bumptech/glide/request/g;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1

    :cond_d
    const/4 v0, 0x0

    .line 3
    iput-object v0, p0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    .line 4
    invoke-virtual {p0, p1}, Lcom/bumptech/glide/m;->A(Lcom/bumptech/glide/request/g;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1
.end method

.method public final L(Ljava/lang/Integer;)Lcom/bumptech/glide/m;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Integer;",
            ")",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    invoke-virtual {p0, p1}, Lcom/bumptech/glide/m;->M(Ljava/lang/Object;)Lcom/bumptech/glide/m;

    move-result-object p1

    iget-object v0, p0, Lcom/bumptech/glide/m;->A:Landroid/content/Context;

    .line 2
    sget-object v1, Lcom/bumptech/glide/signature/b;->a:Ljava/util/concurrent/ConcurrentHashMap;

    .line 3
    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    .line 4
    sget-object v2, Lcom/bumptech/glide/signature/b;->a:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v2, v1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/bumptech/glide/load/i;

    if-nez v2, :cond_4a

    .line 5
    :try_start_16
    invoke-virtual {v0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v2
    :try_end_23
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_16 .. :try_end_23} :catch_24

    goto :goto_28

    .line 6
    :catch_24
    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    const/4 v2, 0x0

    :goto_28
    if-eqz v2, :cond_31

    .line 7
    iget v2, v2, Landroid/content/pm/PackageInfo;->versionCode:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    goto :goto_39

    .line 8
    :cond_31
    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v2

    .line 9
    :goto_39
    new-instance v3, Lcom/bumptech/glide/signature/d;

    invoke-direct {v3, v2}, Lcom/bumptech/glide/signature/d;-><init>(Ljava/lang/Object;)V

    .line 10
    sget-object v2, Lcom/bumptech/glide/signature/b;->a:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v2, v1, v3}, Ljava/util/concurrent/ConcurrentHashMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    move-object v2, v1

    check-cast v2, Lcom/bumptech/glide/load/i;

    if-nez v2, :cond_4a

    move-object v2, v3

    .line 11
    :cond_4a
    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    iget v0, v0, Landroid/content/res/Configuration;->uiMode:I

    and-int/lit8 v0, v0, 0x30

    .line 12
    new-instance v1, Lcom/bumptech/glide/signature/a;

    invoke-direct {v1, v0, v2}, Lcom/bumptech/glide/signature/a;-><init>(ILcom/bumptech/glide/load/i;)V

    .line 13
    new-instance v0, Lcom/bumptech/glide/request/h;

    invoke-direct {v0}, Lcom/bumptech/glide/request/h;-><init>()V

    invoke-virtual {v0, v1}, Lcom/bumptech/glide/request/a;->t(Lcom/bumptech/glide/load/i;)Lcom/bumptech/glide/request/a;

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/request/h;

    .line 14
    invoke-virtual {p1, v0}, Lcom/bumptech/glide/m;->B(Lcom/bumptech/glide/request/a;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1
.end method

.method public final M(Ljava/lang/Object;)Lcom/bumptech/glide/m;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            ")",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Lcom/bumptech/glide/request/a;->v:Z

    if-eqz v0, :cond_d

    .line 2
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/m;->M(Ljava/lang/Object;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1

    .line 3
    :cond_d
    iput-object p1, p0, Lcom/bumptech/glide/m;->N:Ljava/lang/Object;

    const/4 p1, 0x1

    .line 4
    iput-boolean p1, p0, Lcom/bumptech/glide/m;->S:Z

    .line 5
    invoke-virtual {p0}, Lcom/bumptech/glide/request/a;->r()Lcom/bumptech/glide/request/a;

    return-object p0
.end method

.method public final N(Ljava/lang/Object;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Lcom/bumptech/glide/request/a;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/p;Lcom/bumptech/glide/j;IILjava/util/concurrent/Executor;)Lcom/bumptech/glide/request/d;
    .registers 28
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            "Lcom/bumptech/glide/request/target/i<",
            "TTranscodeType;>;",
            "Lcom/bumptech/glide/request/g<",
            "TTranscodeType;>;",
            "Lcom/bumptech/glide/request/a<",
            "*>;",
            "Lcom/bumptech/glide/request/e;",
            "Lcom/bumptech/glide/p<",
            "*-TTranscodeType;>;",
            "Lcom/bumptech/glide/j;",
            "II",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lcom/bumptech/glide/request/d;"
        }
    .end annotation

    move-object/from16 v0, p0

    .line 1
    iget-object v1, v0, Lcom/bumptech/glide/m;->A:Landroid/content/Context;

    iget-object v2, v0, Lcom/bumptech/glide/m;->L:Lcom/bumptech/glide/e;

    iget-object v4, v0, Lcom/bumptech/glide/m;->N:Ljava/lang/Object;

    iget-object v5, v0, Lcom/bumptech/glide/m;->C:Ljava/lang/Class;

    iget-object v12, v0, Lcom/bumptech/glide/m;->O:Ljava/util/ArrayList;

    .line 2
    iget-object v14, v2, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/load/engine/m;

    move-object/from16 v3, p6

    .line 3
    iget-object v15, v3, Lcom/bumptech/glide/p;->a:Lcom/bumptech/glide/request/transition/g;

    move-object/from16 v3, p1

    move-object/from16 v6, p4

    move/from16 v7, p8

    move/from16 v8, p9

    move-object/from16 v9, p7

    move-object/from16 v10, p2

    move-object/from16 v11, p3

    move-object/from16 v13, p5

    move-object/from16 v16, p10

    .line 4
    invoke-static/range {v1 .. v16}, Lcom/bumptech/glide/request/SingleRequest;->obtain(Landroid/content/Context;Lcom/bumptech/glide/e;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;Lcom/bumptech/glide/request/a;IILcom/bumptech/glide/j;Lcom/bumptech/glide/request/target/i;Lcom/bumptech/glide/request/g;Ljava/util/List;Lcom/bumptech/glide/request/e;Lcom/bumptech/glide/load/engine/m;Lcom/bumptech/glide/request/transition/g;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/SingleRequest;

    move-result-object v1

    return-object v1
.end method

.method public final O(Lcom/bumptech/glide/m;)Lcom/bumptech/glide/m;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;)",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Lcom/bumptech/glide/request/a;->v:Z

    if-eqz v0, :cond_d

    .line 2
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/m;->O(Lcom/bumptech/glide/m;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1

    .line 3
    :cond_d
    iput-object p1, p0, Lcom/bumptech/glide/m;->P:Lcom/bumptech/glide/m;

    .line 4
    invoke-virtual {p0}, Lcom/bumptech/glide/request/a;->r()Lcom/bumptech/glide/request/a;

    return-object p0
.end method

.method public final P(Lcom/bumptech/glide/p;)Lcom/bumptech/glide/m;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/p<",
            "*-TTranscodeType;>;)",
            "Lcom/bumptech/glide/m<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Lcom/bumptech/glide/request/a;->v:Z

    if-eqz v0, :cond_d

    .line 2
    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/m;->P(Lcom/bumptech/glide/p;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1

    .line 3
    :cond_d
    iput-object p1, p0, Lcom/bumptech/glide/m;->M:Lcom/bumptech/glide/p;

    const/4 p1, 0x0

    .line 4
    iput-boolean p1, p0, Lcom/bumptech/glide/m;->R:Z

    .line 5
    invoke-virtual {p0}, Lcom/bumptech/glide/request/a;->r()Lcom/bumptech/glide/request/a;

    return-object p0
.end method

.method public final bridge synthetic a(Lcom/bumptech/glide/request/a;)Lcom/bumptech/glide/request/a;
    .registers 2

    invoke-virtual {p0, p1}, Lcom/bumptech/glide/m;->B(Lcom/bumptech/glide/request/a;)Lcom/bumptech/glide/m;

    move-result-object p1

    return-object p1
.end method

.method public final bridge synthetic b()Lcom/bumptech/glide/request/a;
    .registers 2

    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    return-object v0
.end method

.method public final bridge synthetic clone()Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/CloneNotSupportedException;
        }
    .end annotation

    invoke-virtual {p0}, Lcom/bumptech/glide/m;->D()Lcom/bumptech/glide/m;

    move-result-object v0

    return-object v0
.end method