.class public Lcom/bumptech/glide/h;
.super Lc4/a;
.source ""


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


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

.field public final S:Lcom/bumptech/glide/i;

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

.field public final U:Lcom/bumptech/glide/d;

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

.field public W:Ljava/lang/Object;

.field public X:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lc4/e<",
            "TTranscodeType;>;>;"
        }
    .end annotation
.end field

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

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

.field public a0:Z

.field public b0:Z

.field public c0:Z


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

    new-instance v0, Lc4/f;

    invoke-direct {v0}, Lc4/f;-><init>()V

    sget-object v1, Lm3/k;->b:Lm3/k;

    invoke-virtual {v0, v1}, Lc4/a;->d(Lm3/k;)Lc4/a;

    move-result-object v0

    check-cast v0, Lc4/f;

    sget-object v1, Lcom/bumptech/glide/f;->u:Lcom/bumptech/glide/f;

    invoke-virtual {v0, v1}, Lc4/a;->l(Lcom/bumptech/glide/f;)Lc4/a;

    move-result-object v0

    check-cast v0, Lc4/f;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lc4/a;->q(Z)Lc4/a;

    move-result-object v0

    check-cast v0, Lc4/f;

    return-void
.end method

.method public constructor <init>(Lcom/bumptech/glide/b;Lcom/bumptech/glide/i;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/i;",
            "Ljava/lang/Class<",
            "TTranscodeType;>;",
            "Landroid/content/Context;",
            ")V"
        }
    .end annotation

    invoke-direct {p0}, Lc4/a;-><init>()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/bumptech/glide/h;->a0:Z

    iput-object p2, p0, Lcom/bumptech/glide/h;->S:Lcom/bumptech/glide/i;

    iput-object p3, p0, Lcom/bumptech/glide/h;->T:Ljava/lang/Class;

    iput-object p4, p0, Lcom/bumptech/glide/h;->R:Landroid/content/Context;

    .line 1
    iget-object p4, p2, Lcom/bumptech/glide/i;->r:Lcom/bumptech/glide/b;

    .line 2
    iget-object p4, p4, Lcom/bumptech/glide/b;->t:Lcom/bumptech/glide/d;

    .line 3
    iget-object v0, p4, Lcom/bumptech/glide/d;->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/j;

    if-nez v0, :cond_43

    iget-object p4, p4, Lcom/bumptech/glide/d;->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;

    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

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

    move-result-object v0

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

    goto :goto_24

    :cond_43
    if-nez v0, :cond_47

    sget-object v0, Lcom/bumptech/glide/d;->k:Lcom/bumptech/glide/j;

    .line 4
    :cond_47
    iput-object v0, p0, Lcom/bumptech/glide/h;->V:Lcom/bumptech/glide/j;

    .line 5
    iget-object p1, p1, Lcom/bumptech/glide/b;->t:Lcom/bumptech/glide/d;

    .line 6
    iput-object p1, p0, Lcom/bumptech/glide/h;->U:Lcom/bumptech/glide/d;

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

    .line 8
    invoke-interface {p1}, Ljava/util/List;->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, Lc4/e;

    invoke-virtual {p0, p3}, Lcom/bumptech/glide/h;->v(Lc4/e;)Lcom/bumptech/glide/h;

    goto :goto_53

    .line 9
    :cond_63
    monitor-enter p2

    :try_start_64
    iget-object p1, p2, Lcom/bumptech/glide/i;->A:Lc4/f;
    :try_end_66
    .catchall {:try_start_64 .. :try_end_66} :catchall_6b

    monitor-exit p2

    .line 10
    invoke-virtual {p0, p1}, Lcom/bumptech/glide/h;->w(Lc4/a;)Lcom/bumptech/glide/h;

    return-void

    :catchall_6b
    move-exception p1

    .line 11
    monitor-exit p2

    throw p1
.end method


# virtual methods
.method public A(Ld4/g;)Ld4/g;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<Y::",
            "Ld4/g<",
            "TTranscodeType;>;>(TY;)TY;"
        }
    .end annotation

    sget-object v0, Lg4/e;->a:Ljava/util/concurrent/Executor;

    const/4 v1, 0x0

    .line 1
    invoke-virtual {p0, p1, v1, p0, v0}, Lcom/bumptech/glide/h;->B(Ld4/g;Lc4/e;Lc4/a;Ljava/util/concurrent/Executor;)Ld4/g;

    return-object p1
.end method

.method public final B(Ld4/g;Lc4/e;Lc4/a;Ljava/util/concurrent/Executor;)Ld4/g;
    .registers 19
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<Y::",
            "Ld4/g<",
            "TTranscodeType;>;>(TY;",
            "Lc4/e<",
            "TTranscodeType;>;",
            "Lc4/a<",
            "*>;",
            "Ljava/util/concurrent/Executor;",
            ")TY;"
        }
    .end annotation

    move-object v12, p0

    move-object v0, p1

    move-object/from16 v13, p3

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

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

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

    if-eqz v1, :cond_8f

    .line 3
    new-instance v2, Ljava/lang/Object;

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

    iget-object v6, v12, Lcom/bumptech/glide/h;->V:Lcom/bumptech/glide/j;

    .line 4
    iget-object v7, v13, Lc4/a;->u:Lcom/bumptech/glide/f;

    .line 5
    iget v8, v13, Lc4/a;->B:I

    .line 6
    iget v9, v13, Lc4/a;->A:I

    const/4 v5, 0x0

    move-object v1, p0

    move-object v3, p1

    move-object/from16 v4, p2

    move-object/from16 v10, p3

    move-object/from16 v11, p4

    .line 7
    invoke-virtual/range {v1 .. v11}, Lcom/bumptech/glide/h;->x(Ljava/lang/Object;Ld4/g;Lc4/e;Lc4/d;Lcom/bumptech/glide/j;Lcom/bumptech/glide/f;IILc4/a;Ljava/util/concurrent/Executor;)Lc4/c;

    move-result-object v1

    .line 8
    invoke-interface {p1}, Ld4/g;->g()Lc4/c;

    move-result-object v2

    invoke-interface {v1, v2}, Lc4/c;->b(Lc4/c;)Z

    move-result v3

    if-eqz v3, :cond_4f

    .line 9
    iget-boolean v3, v13, Lc4/a;->z:Z

    if-nez v3, :cond_3d

    .line 10
    invoke-interface {v2}, Lc4/c;->l()Z

    move-result v3

    if-eqz v3, :cond_3d

    const/4 v3, 0x1

    goto :goto_3e

    :cond_3d
    const/4 v3, 0x0

    :goto_3e
    if-nez v3, :cond_4f

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

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

    .line 12
    invoke-interface {v2}, Lc4/c;->isRunning()Z

    move-result v1

    if-nez v1, :cond_4e

    invoke-interface {v2}, Lc4/c;->k()V

    :cond_4e
    return-object v0

    :cond_4f
    iget-object v2, v12, Lcom/bumptech/glide/h;->S:Lcom/bumptech/glide/i;

    invoke-virtual {v2, p1}, Lcom/bumptech/glide/i;->k(Ld4/g;)V

    invoke-interface {p1, v1}, Ld4/g;->f(Lc4/c;)V

    iget-object v2, v12, Lcom/bumptech/glide/h;->S:Lcom/bumptech/glide/i;

    .line 13
    monitor-enter v2

    :try_start_5a
    iget-object v3, v2, Lcom/bumptech/glide/i;->w:Lz3/q;

    .line 14
    iget-object v3, v3, Lz3/q;->r:Ljava/util/Set;

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

    .line 15
    iget-object v3, v2, Lcom/bumptech/glide/i;->u:Lz3/o;

    .line 16
    iget-object v4, v3, Lz3/o;->s:Ljava/lang/Object;

    check-cast v4, Ljava/util/Set;

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

    iget-boolean v4, v3, Lz3/o;->u:Z

    if-nez v4, :cond_72

    invoke-interface {v1}, Lc4/c;->k()V

    goto :goto_8a

    :cond_72
    invoke-interface {v1}, Lc4/c;->clear()V

    const/4 v4, 0x2

    const-string v5, "RequestTracker"

    invoke-static {v5, v4}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z

    move-result v4

    if-eqz v4, :cond_83

    const-string v4, "Paused, delaying request"

    invoke-static {v5, v4}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    :cond_83
    iget-object v3, v3, Lz3/o;->t:Ljava/lang/Object;

    check-cast v3, Ljava/util/List;

    invoke-interface {v3, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_8a
    .catchall {:try_start_5a .. :try_end_8a} :catchall_8c

    .line 17
    :goto_8a
    monitor-exit v2

    return-object v0

    :catchall_8c
    move-exception v0

    monitor-exit v2

    throw v0

    .line 18
    :cond_8f
    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 C(Landroid/widget/ImageView;)Ld4/h;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/ImageView;",
            ")",
            "Ld4/h<",
            "Landroid/widget/ImageView;",
            "TTranscodeType;>;"
        }
    .end annotation

    invoke-static {}, Lg4/j;->a()V

    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
    iget v0, p0, Lc4/a;->r:I

    const/16 v1, 0x800

    invoke-static {v0, v1}, Lc4/a;->h(II)Z

    move-result v0

    if-nez v0, :cond_6d

    .line 3
    iget-boolean v0, p0, Lc4/a;->E:Z

    if-eqz v0, :cond_6d

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

    move-result-object v0

    if-eqz v0, :cond_6d

    sget-object v0, Lcom/bumptech/glide/h$a;->a:[I

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

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/ImageView$ScaleType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    const/4 v1, 0x1

    packed-switch v0, :pswitch_data_b6

    goto :goto_6d

    .line 5
    :pswitch_2d
    invoke-virtual {p0}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v0

    .line 6
    sget-object v2, Lt3/k;->b:Lt3/k;

    new-instance v3, Lt3/i;

    invoke-direct {v3}, Lt3/i;-><init>()V

    goto :goto_56

    .line 7
    :pswitch_39
    invoke-virtual {p0}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v0

    .line 8
    sget-object v2, Lt3/k;->a:Lt3/k;

    new-instance v3, Lt3/p;

    invoke-direct {v3}, Lt3/p;-><init>()V

    .line 9
    invoke-virtual {v0, v2, v3}, Lc4/a;->i(Lt3/k;Lk3/h;)Lc4/a;

    move-result-object v0

    iput-boolean v1, v0, Lc4/a;->P:Z

    goto :goto_6e

    .line 10
    :pswitch_4b
    invoke-virtual {p0}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v0

    .line 11
    sget-object v2, Lt3/k;->b:Lt3/k;

    new-instance v3, Lt3/i;

    invoke-direct {v3}, Lt3/i;-><init>()V

    .line 12
    :goto_56
    invoke-virtual {v0, v2, v3}, Lc4/a;->i(Lt3/k;Lk3/h;)Lc4/a;

    move-result-object v0

    iput-boolean v1, v0, Lc4/a;->P:Z

    goto :goto_6e

    .line 13
    :pswitch_5d
    invoke-virtual {p0}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v0

    .line 14
    sget-object v1, Lt3/k;->c:Lt3/k;

    new-instance v2, Lt3/h;

    invoke-direct {v2}, Lt3/h;-><init>()V

    invoke-virtual {v0, v1, v2}, Lc4/a;->i(Lt3/k;Lk3/h;)Lc4/a;

    move-result-object v0

    goto :goto_6e

    :cond_6d
    :goto_6d
    move-object v0, p0

    .line 15
    :goto_6e
    iget-object v1, p0, Lcom/bumptech/glide/h;->U:Lcom/bumptech/glide/d;

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

    .line 16
    iget-object v1, v1, Lcom/bumptech/glide/d;->c:Ly2/b;

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

    .line 17
    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_85

    new-instance v1, Ld4/b;

    invoke-direct {v1, p1}, Ld4/b;-><init>(Landroid/widget/ImageView;)V

    goto :goto_92

    :cond_85
    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_99

    new-instance v1, Ld4/d;

    invoke-direct {v1, p1}, Ld4/d;-><init>(Landroid/widget/ImageView;)V

    :goto_92
    const/4 p1, 0x0

    .line 18
    sget-object v2, Lg4/e;->a:Ljava/util/concurrent/Executor;

    invoke-virtual {p0, v1, p1, v0, v2}, Lcom/bumptech/glide/h;->B(Ld4/g;Lc4/e;Lc4/a;Ljava/util/concurrent/Executor;)Ld4/g;

    return-object v1

    .line 19
    :cond_99
    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_b6
    .packed-switch 0x1
        :pswitch_5d
        :pswitch_4b
        :pswitch_39
        :pswitch_39
        :pswitch_39
        :pswitch_2d
    .end packed-switch
.end method

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

    .line 1
    iget-boolean v0, p0, Lc4/a;->M:Z

    if-eqz v0, :cond_d

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

    move-result-object v0

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

    move-result-object p1

    return-object p1

    :cond_d
    iput-object p1, p0, Lcom/bumptech/glide/h;->W:Ljava/lang/Object;

    const/4 p1, 0x1

    iput-boolean p1, p0, Lcom/bumptech/glide/h;->b0:Z

    invoke-virtual {p0}, Lc4/a;->m()Lc4/a;

    move-object p1, p0

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

    return-object p1
.end method

.method public final E(Ljava/lang/Object;Ld4/g;Lc4/e;Lc4/a;Lc4/d;Lcom/bumptech/glide/j;Lcom/bumptech/glide/f;IILjava/util/concurrent/Executor;)Lc4/c;
    .registers 30
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            "Ld4/g<",
            "TTranscodeType;>;",
            "Lc4/e<",
            "TTranscodeType;>;",
            "Lc4/a<",
            "*>;",
            "Lc4/d;",
            "Lcom/bumptech/glide/j<",
            "*-TTranscodeType;>;",
            "Lcom/bumptech/glide/f;",
            "II",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lc4/c;"
        }
    .end annotation

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/bumptech/glide/h;->R:Landroid/content/Context;

    iget-object v3, v0, Lcom/bumptech/glide/h;->U:Lcom/bumptech/glide/d;

    iget-object v5, v0, Lcom/bumptech/glide/h;->W:Ljava/lang/Object;

    iget-object v6, v0, Lcom/bumptech/glide/h;->T:Ljava/lang/Class;

    iget-object v13, v0, Lcom/bumptech/glide/h;->X:Ljava/util/List;

    .line 1
    iget-object v15, v3, Lcom/bumptech/glide/d;->g:Lm3/l;

    move-object/from16 v1, p6

    .line 2
    iget-object v14, v1, Lcom/bumptech/glide/j;->r:Le4/e;

    .line 3
    new-instance v18, Lc4/h;

    move-object/from16 v1, v18

    move-object/from16 v4, p1

    move-object/from16 v7, p4

    move/from16 v8, p8

    move/from16 v9, p9

    move-object/from16 v10, p7

    move-object/from16 v11, p2

    move-object/from16 v12, p3

    move-object/from16 v16, v14

    move-object/from16 v14, p5

    move-object/from16 v17, p10

    invoke-direct/range {v1 .. v17}, Lc4/h;-><init>(Landroid/content/Context;Lcom/bumptech/glide/d;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;Lc4/a;IILcom/bumptech/glide/f;Ld4/g;Lc4/e;Ljava/util/List;Lc4/d;Lm3/l;Le4/e;Ljava/util/concurrent/Executor;)V

    return-object v18
.end method

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

    .line 1
    iget-boolean v0, p0, Lc4/a;->M:Z

    if-eqz v0, :cond_d

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

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/h;->F(Lcom/bumptech/glide/j;)Lcom/bumptech/glide/h;

    move-result-object p1

    return-object p1

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

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

    .line 4
    iput-object p1, p0, Lcom/bumptech/glide/h;->V:Lcom/bumptech/glide/j;

    const/4 p1, 0x0

    iput-boolean p1, p0, Lcom/bumptech/glide/h;->a0:Z

    invoke-virtual {p0}, Lc4/a;->m()Lc4/a;

    move-object p1, p0

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

    return-object p1
.end method

.method public bridge synthetic a(Lc4/a;)Lc4/a;
    .registers 2

    invoke-virtual {p0, p1}, Lcom/bumptech/glide/h;->w(Lc4/a;)Lcom/bumptech/glide/h;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic b()Lc4/a;
    .registers 2

    invoke-virtual {p0}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic clone()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v0

    return-object v0
.end method

.method public v(Lc4/e;)Lcom/bumptech/glide/h;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lc4/e<",
            "TTranscodeType;>;)",
            "Lcom/bumptech/glide/h<",
            "TTranscodeType;>;"
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Lc4/a;->M:Z

    if-eqz v0, :cond_d

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

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/h;->v(Lc4/e;)Lcom/bumptech/glide/h;

    move-result-object p1

    return-object p1

    :cond_d
    if-eqz p1, :cond_1f

    iget-object v0, p0, Lcom/bumptech/glide/h;->X:Ljava/util/List;

    if-nez v0, :cond_1a

    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lcom/bumptech/glide/h;->X:Ljava/util/List;

    :cond_1a
    iget-object v0, p0, Lcom/bumptech/glide/h;->X:Ljava/util/List;

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

    :cond_1f
    invoke-virtual {p0}, Lc4/a;->m()Lc4/a;

    move-object p1, p0

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

    return-object p1
.end method

.method public w(Lc4/a;)Lcom/bumptech/glide/h;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lc4/a<",
            "*>;)",
            "Lcom/bumptech/glide/h<",
            "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}, Lc4/a;->a(Lc4/a;)Lc4/a;

    move-result-object p1

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

    return-object p1
.end method

.method public final x(Ljava/lang/Object;Ld4/g;Lc4/e;Lc4/d;Lcom/bumptech/glide/j;Lcom/bumptech/glide/f;IILc4/a;Ljava/util/concurrent/Executor;)Lc4/c;
    .registers 30
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            "Ld4/g<",
            "TTranscodeType;>;",
            "Lc4/e<",
            "TTranscodeType;>;",
            "Lc4/d;",
            "Lcom/bumptech/glide/j<",
            "*-TTranscodeType;>;",
            "Lcom/bumptech/glide/f;",
            "II",
            "Lc4/a<",
            "*>;",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lc4/c;"
        }
    .end annotation

    move-object/from16 v11, p0

    move-object/from16 v12, p1

    move-object/from16 v13, p9

    iget-object v0, v11, Lcom/bumptech/glide/h;->Z:Lcom/bumptech/glide/h;

    if-eqz v0, :cond_14

    new-instance v0, Lc4/b;

    move-object/from16 v1, p4

    invoke-direct {v0, v12, v1}, Lc4/b;-><init>(Ljava/lang/Object;Lc4/d;)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 1
    :goto_19
    iget-object v0, v11, Lcom/bumptech/glide/h;->Y:Lcom/bumptech/glide/h;

    if-eqz v0, :cond_b2

    iget-boolean v1, v11, Lcom/bumptech/glide/h;->c0:Z

    if-nez v1, :cond_aa

    iget-object v1, v0, Lcom/bumptech/glide/h;->V:Lcom/bumptech/glide/j;

    iget-boolean v2, v0, Lcom/bumptech/glide/h;->a0:Z

    if-eqz v2, :cond_2a

    move-object/from16 v15, p5

    goto :goto_2b

    :cond_2a
    move-object v15, v1

    .line 2
    :goto_2b
    iget v0, v0, Lc4/a;->r:I

    const/16 v1, 0x8

    invoke-static {v0, v1}, Lc4/a;->h(II)Z

    move-result v0

    if-eqz v0, :cond_3c

    .line 3
    iget-object v0, v11, Lcom/bumptech/glide/h;->Y:Lcom/bumptech/glide/h;

    .line 4
    iget-object v0, v0, Lc4/a;->u:Lcom/bumptech/glide/f;

    move-object/from16 v7, p6

    goto :goto_42

    :cond_3c
    move-object/from16 v7, p6

    .line 5
    invoke-virtual {v11, v7}, Lcom/bumptech/glide/h;->z(Lcom/bumptech/glide/f;)Lcom/bumptech/glide/f;

    move-result-object v0

    :goto_42
    move-object/from16 v16, v0

    iget-object v0, v11, Lcom/bumptech/glide/h;->Y:Lcom/bumptech/glide/h;

    .line 6
    iget v1, v0, Lc4/a;->B:I

    .line 7
    iget v0, v0, Lc4/a;->A:I

    .line 8
    invoke-static/range {p7 .. p8}, Lg4/j;->j(II)Z

    move-result v2

    if-eqz v2, :cond_65

    iget-object v2, v11, Lcom/bumptech/glide/h;->Y:Lcom/bumptech/glide/h;

    .line 9
    iget v3, v2, Lc4/a;->B:I

    iget v2, v2, Lc4/a;->A:I

    invoke-static {v3, v2}, Lg4/j;->j(II)Z

    move-result v2

    if-nez v2, :cond_65

    .line 10
    iget v0, v13, Lc4/a;->B:I

    .line 11
    iget v1, v13, Lc4/a;->A:I

    move/from16 v17, v0

    move/from16 v18, v1

    goto :goto_69

    :cond_65
    move/from16 v18, v0

    move/from16 v17, v1

    .line 12
    :goto_69
    new-instance v10, Lc4/i;

    invoke-direct {v10, v12, v5}, Lc4/i;-><init>(Ljava/lang/Object;Lc4/d;)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

    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/h;->E(Ljava/lang/Object;Ld4/g;Lc4/e;Lc4/a;Lc4/d;Lcom/bumptech/glide/j;Lcom/bumptech/glide/f;IILjava/util/concurrent/Executor;)Lc4/c;

    move-result-object v10

    const/4 v0, 0x1

    iput-boolean v0, v11, Lcom/bumptech/glide/h;->c0:Z

    iget-object v9, v11, Lcom/bumptech/glide/h;->Y:Lcom/bumptech/glide/h;

    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

    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/h;->x(Ljava/lang/Object;Ld4/g;Lc4/e;Lc4/d;Lcom/bumptech/glide/j;Lcom/bumptech/glide/f;IILc4/a;Ljava/util/concurrent/Executor;)Lc4/c;

    move-result-object v0

    const/4 v1, 0x0

    iput-boolean v1, v11, Lcom/bumptech/glide/h;->c0:Z

    move-object/from16 v1, p4

    .line 13
    iput-object v15, v1, Lc4/i;->c:Lc4/c;

    iput-object v0, v1, Lc4/i;->d:Lc4/c;

    move-object v15, v1

    goto :goto_cb

    .line 14
    :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

    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/h;->E(Ljava/lang/Object;Ld4/g;Lc4/e;Lc4/a;Lc4/d;Lcom/bumptech/glide/j;Lcom/bumptech/glide/f;IILjava/util/concurrent/Executor;)Lc4/c;

    move-result-object v10

    move-object v15, v10

    :goto_cb
    if-nez v14, :cond_ce

    return-object v15

    .line 15
    :cond_ce
    iget-object v0, v11, Lcom/bumptech/glide/h;->Z:Lcom/bumptech/glide/h;

    .line 16
    iget v1, v0, Lc4/a;->B:I

    .line 17
    iget v0, v0, Lc4/a;->A:I

    .line 18
    invoke-static/range {p7 .. p8}, Lg4/j;->j(II)Z

    move-result v2

    if-eqz v2, :cond_ed

    iget-object v2, v11, Lcom/bumptech/glide/h;->Z:Lcom/bumptech/glide/h;

    .line 19
    iget v3, v2, Lc4/a;->B:I

    iget v2, v2, Lc4/a;->A:I

    invoke-static {v3, v2}, Lg4/j;->j(II)Z

    move-result v2

    if-nez v2, :cond_ed

    .line 20
    iget v0, v13, Lc4/a;->B:I

    .line 21
    iget v1, v13, Lc4/a;->A:I

    move v7, v0

    move v8, v1

    goto :goto_ef

    :cond_ed
    move v8, v0

    move v7, v1

    .line 22
    :goto_ef
    iget-object v9, v11, Lcom/bumptech/glide/h;->Z:Lcom/bumptech/glide/h;

    iget-object v5, v9, Lcom/bumptech/glide/h;->V:Lcom/bumptech/glide/j;

    .line 23
    iget-object v6, v9, Lc4/a;->u:Lcom/bumptech/glide/f;

    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 24
    invoke-virtual/range {v0 .. v10}, Lcom/bumptech/glide/h;->x(Ljava/lang/Object;Ld4/g;Lc4/e;Lc4/d;Lcom/bumptech/glide/j;Lcom/bumptech/glide/f;IILc4/a;Ljava/util/concurrent/Executor;)Lc4/c;

    move-result-object v0

    .line 25
    iput-object v15, v14, Lc4/b;->c:Lc4/c;

    iput-object v0, v14, Lc4/b;->d:Lc4/c;

    return-object v14
.end method

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

    invoke-super {p0}, Lc4/a;->b()Lc4/a;

    move-result-object v0

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

    iget-object v1, v0, Lcom/bumptech/glide/h;->V:Lcom/bumptech/glide/j;

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

    move-result-object v1

    iput-object v1, v0, Lcom/bumptech/glide/h;->V:Lcom/bumptech/glide/j;

    iget-object v1, v0, Lcom/bumptech/glide/h;->X:Ljava/util/List;

    if-eqz v1, :cond_1b

    new-instance v1, Ljava/util/ArrayList;

    iget-object v2, v0, Lcom/bumptech/glide/h;->X:Ljava/util/List;

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

    iput-object v1, v0, Lcom/bumptech/glide/h;->X:Ljava/util/List;

    :cond_1b
    iget-object v1, v0, Lcom/bumptech/glide/h;->Y:Lcom/bumptech/glide/h;

    if-eqz v1, :cond_25

    invoke-virtual {v1}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v1

    iput-object v1, v0, Lcom/bumptech/glide/h;->Y:Lcom/bumptech/glide/h;

    :cond_25
    iget-object v1, v0, Lcom/bumptech/glide/h;->Z:Lcom/bumptech/glide/h;

    if-eqz v1, :cond_2f

    invoke-virtual {v1}, Lcom/bumptech/glide/h;->y()Lcom/bumptech/glide/h;

    move-result-object v1

    iput-object v1, v0, Lcom/bumptech/glide/h;->Z:Lcom/bumptech/glide/h;

    :cond_2f
    return-object v0
.end method

.method public final z(Lcom/bumptech/glide/f;)Lcom/bumptech/glide/f;
    .registers 4

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

    move-result p1

    if-eqz p1, :cond_2a

    const/4 v0, 0x1

    if-eq p1, v0, :cond_2a

    const/4 v0, 0x2

    if-eq p1, v0, :cond_27

    const/4 v0, 0x3

    if-ne p1, v0, :cond_12

    sget-object p1, Lcom/bumptech/glide/f;->t:Lcom/bumptech/glide/f;

    return-object p1

    :cond_12
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "unknown priority: "

    invoke-static {v0}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 1
    iget-object v1, p0, Lc4/a;->u:Lcom/bumptech/glide/f;

    .line 2
    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

    :cond_27
    sget-object p1, Lcom/bumptech/glide/f;->s:Lcom/bumptech/glide/f;

    return-object p1

    :cond_2a
    sget-object p1, Lcom/bumptech/glide/f;->r:Lcom/bumptech/glide/f;

    return-object p1
.end method
