b.smali

.class public Lcom/bumptech/glide/b;
.super Ljava/lang/Object;
.source "Glide.java"

# interfaces
.implements Landroid/content/ComponentCallbacks2;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/bumptech/glide/b$a;
    }
.end annotation


# static fields
.field private static volatile a:Lcom/bumptech/glide/b;

.field private static volatile b:Z


# instance fields
.field private final c:Lcom/bumptech/glide/load/engine/r;

.field private final d:Lcom/bumptech/glide/load/engine/a/e;

.field private final e:Lcom/bumptech/glide/load/engine/b/i;

.field private final f:Lcom/bumptech/glide/e;

.field private final g:Lcom/bumptech/glide/Registry;

.field private final h:Lcom/bumptech/glide/load/engine/a/b;

.field private final i:Lcom/bumptech/glide/manager/m;

.field private final j:Lcom/bumptech/glide/manager/d;

.field private final k:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/bumptech/glide/j;",
            ">;"
        }
    .end annotation
.end field

.field private final l:Lcom/bumptech/glide/b$a;

.field private m:Lcom/bumptech/glide/MemoryCategory;


# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/bumptech/glide/load/engine/r;Lcom/bumptech/glide/load/engine/b/i;Lcom/bumptech/glide/load/engine/a/e;Lcom/bumptech/glide/load/engine/a/b;Lcom/bumptech/glide/manager/m;Lcom/bumptech/glide/manager/d;ILcom/bumptech/glide/b$a;Ljava/util/Map;Ljava/util/List;ZZ)V
    .registers 34
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lcom/bumptech/glide/load/engine/r;",
            "Lcom/bumptech/glide/load/engine/b/i;",
            "Lcom/bumptech/glide/load/engine/a/e;",
            "Lcom/bumptech/glide/load/engine/a/b;",
            "Lcom/bumptech/glide/manager/m;",
            "Lcom/bumptech/glide/manager/d;",
            "I",
            "Lcom/bumptech/glide/b$a;",
            "Ljava/util/Map<",
            "Ljava/lang/Class<",
            "*>;",
            "Lcom/bumptech/glide/k<",
            "**>;>;",
            "Ljava/util/List<",
            "Lcom/bumptech/glide/request/e<",
            "Ljava/lang/Object;",
            ">;>;ZZ)V"
        }
    .end annotation

    move-object/from16 v0, p0

    move-object/from16 v2, p1

    move-object/from16 v1, p4

    move-object/from16 v3, p5

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

    .line 2
    new-instance v4, Ljava/util/ArrayList;

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

    iput-object v4, v0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

    .line 3
    sget-object v4, Lcom/bumptech/glide/MemoryCategory;->NORMAL:Lcom/bumptech/glide/MemoryCategory;

    iput-object v4, v0, Lcom/bumptech/glide/b;->m:Lcom/bumptech/glide/MemoryCategory;

    move-object/from16 v9, p2

    .line 4
    iput-object v9, v0, Lcom/bumptech/glide/b;->c:Lcom/bumptech/glide/load/engine/r;

    .line 5
    iput-object v1, v0, Lcom/bumptech/glide/b;->d:Lcom/bumptech/glide/load/engine/a/e;

    .line 6
    iput-object v3, v0, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/load/engine/a/b;

    move-object/from16 v4, p3

    .line 7
    iput-object v4, v0, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/load/engine/b/i;

    move-object/from16 v4, p6

    .line 8
    iput-object v4, v0, Lcom/bumptech/glide/b;->i:Lcom/bumptech/glide/manager/m;

    move-object/from16 v4, p7

    .line 9
    iput-object v4, v0, Lcom/bumptech/glide/b;->j:Lcom/bumptech/glide/manager/d;

    move-object/from16 v6, p9

    .line 10
    iput-object v6, v0, Lcom/bumptech/glide/b;->l:Lcom/bumptech/glide/b$a;

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

    move-result-object v4

    .line 12
    new-instance v5, Lcom/bumptech/glide/Registry;

    invoke-direct {v5}, Lcom/bumptech/glide/Registry;-><init>()V

    iput-object v5, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    .line 13
    iget-object v5, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    new-instance v7, Lcom/bumptech/glide/load/resource/bitmap/DefaultImageHeaderParser;

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

    invoke-virtual {v5, v7}, Lcom/bumptech/glide/Registry;->a(Lcom/bumptech/glide/load/ImageHeaderParser;)Lcom/bumptech/glide/Registry;

    .line 14
    sget v5, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v7, 0x1b

    if-lt v5, v7, :cond_53

    .line 15
    iget-object v5, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    new-instance v7, Lcom/bumptech/glide/load/resource/bitmap/q;

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

    invoke-virtual {v5, v7}, Lcom/bumptech/glide/Registry;->a(Lcom/bumptech/glide/load/ImageHeaderParser;)Lcom/bumptech/glide/Registry;

    .line 16
    :cond_53
    iget-object v5, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    invoke-virtual {v5}, Lcom/bumptech/glide/Registry;->a()Ljava/util/List;

    move-result-object v5

    .line 17
    new-instance v7, Lcom/bumptech/glide/load/resource/gif/a;

    invoke-direct {v7, v2, v5, v1, v3}, Lcom/bumptech/glide/load/resource/gif/a;-><init>(Landroid/content/Context;Ljava/util/List;Lcom/bumptech/glide/load/engine/a/e;Lcom/bumptech/glide/load/engine/a/b;)V

    .line 18
    invoke-static/range {p4 .. p4}, Lcom/bumptech/glide/load/resource/bitmap/D;->c(Lcom/bumptech/glide/load/engine/a/e;)Lcom/bumptech/glide/load/l;

    move-result-object v8

    .line 19
    new-instance v10, Lcom/bumptech/glide/load/resource/bitmap/m;

    iget-object v11, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    .line 20
    invoke-virtual {v11}, Lcom/bumptech/glide/Registry;->a()Ljava/util/List;

    move-result-object v11

    invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v12

    invoke-direct {v10, v11, v12, v1, v3}, Lcom/bumptech/glide/load/resource/bitmap/m;-><init>(Ljava/util/List;Landroid/util/DisplayMetrics;Lcom/bumptech/glide/load/engine/a/e;Lcom/bumptech/glide/load/engine/a/b;)V

    if-eqz p13, :cond_84

    .line 21
    sget v11, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v12, 0x1c

    if-lt v11, v12, :cond_84

    .line 22
    new-instance v11, Lcom/bumptech/glide/load/resource/bitmap/u;

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

    .line 23
    new-instance v12, Lcom/bumptech/glide/load/resource/bitmap/h;

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

    goto :goto_8e

    .line 24
    :cond_84
    new-instance v12, Lcom/bumptech/glide/load/resource/bitmap/g;

    invoke-direct {v12, v10}, Lcom/bumptech/glide/load/resource/bitmap/g;-><init>(Lcom/bumptech/glide/load/resource/bitmap/m;)V

    .line 25
    new-instance v11, Lcom/bumptech/glide/load/resource/bitmap/y;

    invoke-direct {v11, v10, v3}, Lcom/bumptech/glide/load/resource/bitmap/y;-><init>(Lcom/bumptech/glide/load/resource/bitmap/m;Lcom/bumptech/glide/load/engine/a/b;)V

    .line 26
    :goto_8e
    new-instance v13, Lcom/bumptech/glide/load/b/b/d;

    invoke-direct {v13, v2}, Lcom/bumptech/glide/load/b/b/d;-><init>(Landroid/content/Context;)V

    .line 27
    new-instance v14, Lcom/bumptech/glide/load/a/z$c;

    invoke-direct {v14, v4}, Lcom/bumptech/glide/load/a/z$c;-><init>(Landroid/content/res/Resources;)V

    .line 28
    new-instance v15, Lcom/bumptech/glide/load/a/z$d;

    invoke-direct {v15, v4}, Lcom/bumptech/glide/load/a/z$d;-><init>(Landroid/content/res/Resources;)V

    .line 29
    new-instance v6, Lcom/bumptech/glide/load/a/z$b;

    invoke-direct {v6, v4}, Lcom/bumptech/glide/load/a/z$b;-><init>(Landroid/content/res/Resources;)V

    .line 30
    new-instance v9, Lcom/bumptech/glide/load/a/z$a;

    invoke-direct {v9, v4}, Lcom/bumptech/glide/load/a/z$a;-><init>(Landroid/content/res/Resources;)V

    .line 31
    new-instance v2, Lcom/bumptech/glide/load/resource/bitmap/c;

    invoke-direct {v2, v3}, Lcom/bumptech/glide/load/resource/bitmap/c;-><init>(Lcom/bumptech/glide/load/engine/a/b;)V

    move-object/from16 p3, v9

    .line 32
    new-instance v9, Lcom/bumptech/glide/load/b/d/a;

    invoke-direct {v9}, Lcom/bumptech/glide/load/b/d/a;-><init>()V

    move-object/from16 p6, v9

    .line 33
    new-instance v9, Lcom/bumptech/glide/load/b/d/d;

    invoke-direct {v9}, Lcom/bumptech/glide/load/b/d/d;-><init>()V

    move-object/from16 p7, v9

    .line 34
    invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v9

    move-object/from16 p13, v9

    .line 35
    iget-object v9, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    move-object/from16 v16, v15

    const-class v15, Ljava/nio/ByteBuffer;

    move-object/from16 v17, v6

    new-instance v6, Lcom/bumptech/glide/load/a/e;

    invoke-direct {v6}, Lcom/bumptech/glide/load/a/e;-><init>()V

    .line 36
    invoke-virtual {v9, v15, v6}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/a;)Lcom/bumptech/glide/Registry;

    const-class v6, Ljava/io/InputStream;

    new-instance v15, Lcom/bumptech/glide/load/a/A;

    invoke-direct {v15, v3}, Lcom/bumptech/glide/load/a/A;-><init>(Lcom/bumptech/glide/load/engine/a/b;)V

    .line 37
    invoke-virtual {v9, v6, v15}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/a;)Lcom/bumptech/glide/Registry;

    const-class v6, Ljava/nio/ByteBuffer;

    const-class v15, Landroid/graphics/Bitmap;

    move-object/from16 v18, v14

    const-string v14, "Bitmap"

    .line 38
    invoke-virtual {v9, v14, v6, v15, v12}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v6, Ljava/io/InputStream;

    const-class v15, Landroid/graphics/Bitmap;

    .line 39
    invoke-virtual {v9, v14, v6, v15, v11}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    .line 40
    invoke-static {}, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder;->c()Z

    move-result v6

    if-eqz v6, :cond_105

    .line 41
    iget-object v6, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    const-class v9, Landroid/os/ParcelFileDescriptor;

    const-class v15, Landroid/graphics/Bitmap;

    move-object/from16 v19, v13

    new-instance v13, Lcom/bumptech/glide/load/resource/bitmap/w;

    invoke-direct {v13, v10}, Lcom/bumptech/glide/load/resource/bitmap/w;-><init>(Lcom/bumptech/glide/load/resource/bitmap/m;)V

    invoke-virtual {v6, v14, v9, v15, v13}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    goto :goto_107

    :cond_105
    move-object/from16 v19, v13

    .line 42
    :goto_107
    iget-object v6, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    const-class v9, Landroid/os/ParcelFileDescriptor;

    const-class v10, Landroid/graphics/Bitmap;

    .line 43
    invoke-virtual {v6, v14, v9, v10, v8}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v9, Landroid/content/res/AssetFileDescriptor;

    const-class v10, Landroid/graphics/Bitmap;

    .line 44
    invoke-static/range {p4 .. p4}, Lcom/bumptech/glide/load/resource/bitmap/D;->a(Lcom/bumptech/glide/load/engine/a/e;)Lcom/bumptech/glide/load/l;

    move-result-object v13

    .line 45
    invoke-virtual {v6, v14, v9, v10, v13}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v9, Landroid/graphics/Bitmap;

    const-class v10, Landroid/graphics/Bitmap;

    .line 46
    invoke-static {}, Lcom/bumptech/glide/load/a/C$a;->a()Lcom/bumptech/glide/load/a/C$a;

    move-result-object v13

    invoke-virtual {v6, v9, v10, v13}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v9, Landroid/graphics/Bitmap;

    const-class v10, Landroid/graphics/Bitmap;

    new-instance v13, Lcom/bumptech/glide/load/resource/bitmap/A;

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

    .line 47
    invoke-virtual {v6, v14, v9, v10, v13}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v9, Landroid/graphics/Bitmap;

    .line 48
    invoke-virtual {v6, v9, v2}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/m;)Lcom/bumptech/glide/Registry;

    const-class v9, Ljava/nio/ByteBuffer;

    const-class v10, Landroid/graphics/drawable/BitmapDrawable;

    new-instance v13, Lcom/bumptech/glide/load/resource/bitmap/a;

    invoke-direct {v13, v4, v12}, Lcom/bumptech/glide/load/resource/bitmap/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/l;)V

    const-string v12, "BitmapDrawable"

    .line 49
    invoke-virtual {v6, v12, v9, v10, v13}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v9, Ljava/io/InputStream;

    const-class v10, Landroid/graphics/drawable/BitmapDrawable;

    new-instance v13, Lcom/bumptech/glide/load/resource/bitmap/a;

    invoke-direct {v13, v4, v11}, Lcom/bumptech/glide/load/resource/bitmap/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/l;)V

    .line 50
    invoke-virtual {v6, v12, v9, v10, v13}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v9, Landroid/os/ParcelFileDescriptor;

    const-class v10, Landroid/graphics/drawable/BitmapDrawable;

    new-instance v11, Lcom/bumptech/glide/load/resource/bitmap/a;

    invoke-direct {v11, v4, v8}, Lcom/bumptech/glide/load/resource/bitmap/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/l;)V

    .line 51
    invoke-virtual {v6, v12, v9, v10, v11}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v8, Landroid/graphics/drawable/BitmapDrawable;

    new-instance v9, Lcom/bumptech/glide/load/resource/bitmap/b;

    invoke-direct {v9, v1, v2}, Lcom/bumptech/glide/load/resource/bitmap/b;-><init>(Lcom/bumptech/glide/load/engine/a/e;Lcom/bumptech/glide/load/m;)V

    .line 52
    invoke-virtual {v6, v8, v9}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/m;)Lcom/bumptech/glide/Registry;

    const-class v2, Ljava/io/InputStream;

    const-class v8, Lcom/bumptech/glide/load/resource/gif/GifDrawable;

    new-instance v9, Lcom/bumptech/glide/load/resource/gif/h;

    invoke-direct {v9, v5, v7, v3}, Lcom/bumptech/glide/load/resource/gif/h;-><init>(Ljava/util/List;Lcom/bumptech/glide/load/l;Lcom/bumptech/glide/load/engine/a/b;)V

    const-string v5, "Gif"

    .line 53
    invoke-virtual {v6, v5, v2, v8, v9}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v2, Ljava/nio/ByteBuffer;

    const-class v8, Lcom/bumptech/glide/load/resource/gif/GifDrawable;

    .line 54
    invoke-virtual {v6, v5, v2, v8, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v2, Lcom/bumptech/glide/load/resource/gif/GifDrawable;

    new-instance v5, Lcom/bumptech/glide/load/resource/gif/c;

    invoke-direct {v5}, Lcom/bumptech/glide/load/resource/gif/c;-><init>()V

    .line 55
    invoke-virtual {v6, v2, v5}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/m;)Lcom/bumptech/glide/Registry;

    const-class v2, Lcom/bumptech/glide/gifdecoder/a;

    const-class v5, Lcom/bumptech/glide/gifdecoder/a;

    .line 56
    invoke-static {}, Lcom/bumptech/glide/load/a/C$a;->a()Lcom/bumptech/glide/load/a/C$a;

    move-result-object v7

    .line 57
    invoke-virtual {v6, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v2, Lcom/bumptech/glide/gifdecoder/a;

    const-class v5, Landroid/graphics/Bitmap;

    new-instance v7, Lcom/bumptech/glide/load/resource/gif/f;

    invoke-direct {v7, v1}, Lcom/bumptech/glide/load/resource/gif/f;-><init>(Lcom/bumptech/glide/load/engine/a/e;)V

    .line 58
    invoke-virtual {v6, v14, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v2, Landroid/net/Uri;

    const-class v5, Landroid/graphics/drawable/Drawable;

    move-object/from16 v7, v19

    .line 59
    invoke-virtual {v6, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v2, Landroid/net/Uri;

    const-class v5, Landroid/graphics/Bitmap;

    new-instance v8, Lcom/bumptech/glide/load/resource/bitmap/x;

    invoke-direct {v8, v7, v1}, Lcom/bumptech/glide/load/resource/bitmap/x;-><init>(Lcom/bumptech/glide/load/b/b/d;Lcom/bumptech/glide/load/engine/a/e;)V

    .line 60
    invoke-virtual {v6, v2, v5, v8}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    new-instance v2, Lcom/bumptech/glide/load/b/a/a$a;

    invoke-direct {v2}, Lcom/bumptech/glide/load/b/a/a$a;-><init>()V

    .line 61
    invoke-virtual {v6, v2}, Lcom/bumptech/glide/Registry;->a(Lcom/bumptech/glide/load/data/e$a;)Lcom/bumptech/glide/Registry;

    const-class v2, Ljava/io/File;

    const-class v5, Ljava/nio/ByteBuffer;

    new-instance v7, Lcom/bumptech/glide/load/a/f$b;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/f$b;-><init>()V

    .line 62
    invoke-virtual {v6, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v2, Ljava/io/File;

    const-class v5, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/i$e;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/i$e;-><init>()V

    .line 63
    invoke-virtual {v6, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v2, Ljava/io/File;

    const-class v5, Ljava/io/File;

    new-instance v7, Lcom/bumptech/glide/load/b/c/a;

    invoke-direct {v7}, Lcom/bumptech/glide/load/b/c/a;-><init>()V

    .line 64
    invoke-virtual {v6, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v2, Ljava/io/File;

    const-class v5, Landroid/os/ParcelFileDescriptor;

    new-instance v7, Lcom/bumptech/glide/load/a/i$b;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/i$b;-><init>()V

    .line 65
    invoke-virtual {v6, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v2, Ljava/io/File;

    const-class v5, Ljava/io/File;

    .line 66
    invoke-static {}, Lcom/bumptech/glide/load/a/C$a;->a()Lcom/bumptech/glide/load/a/C$a;

    move-result-object v7

    invoke-virtual {v6, v2, v5, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    new-instance v2, Lcom/bumptech/glide/load/data/l$a;

    invoke-direct {v2, v3}, Lcom/bumptech/glide/load/data/l$a;-><init>(Lcom/bumptech/glide/load/engine/a/b;)V

    .line 67
    invoke-virtual {v6, v2}, Lcom/bumptech/glide/Registry;->a(Lcom/bumptech/glide/load/data/e$a;)Lcom/bumptech/glide/Registry;

    .line 68
    invoke-static {}, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder;->c()Z

    move-result v2

    if-eqz v2, :cond_20d

    .line 69
    iget-object v2, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    new-instance v5, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder$a;

    invoke-direct {v5}, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder$a;-><init>()V

    invoke-virtual {v2, v5}, Lcom/bumptech/glide/Registry;->a(Lcom/bumptech/glide/load/data/e$a;)Lcom/bumptech/glide/Registry;

    .line 70
    :cond_20d
    iget-object v2, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;

    const-class v6, Ljava/io/InputStream;

    move-object/from16 v7, v18

    .line 71
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;

    const-class v6, Landroid/os/ParcelFileDescriptor;

    move-object/from16 v8, v17

    .line 72
    invoke-virtual {v2, v5, v6, v8}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/Integer;

    const-class v6, Ljava/io/InputStream;

    .line 73
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/Integer;

    const-class v6, Landroid/os/ParcelFileDescriptor;

    .line 74
    invoke-virtual {v2, v5, v6, v8}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/Integer;

    const-class v6, Landroid/net/Uri;

    move-object/from16 v7, v16

    .line 75
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;

    const-class v6, Landroid/content/res/AssetFileDescriptor;

    move-object/from16 v8, p3

    .line 76
    invoke-virtual {v2, v5, v6, v8}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/Integer;

    const-class v6, Landroid/content/res/AssetFileDescriptor;

    .line 77
    invoke-virtual {v2, v5, v6, v8}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;

    const-class v6, Landroid/net/Uri;

    .line 78
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/String;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/g$c;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/g$c;-><init>()V

    .line 79
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/g$c;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/g$c;-><init>()V

    .line 80
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/String;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/B$c;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/B$c;-><init>()V

    .line 81
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/String;

    const-class v6, Landroid/os/ParcelFileDescriptor;

    new-instance v7, Lcom/bumptech/glide/load/a/B$b;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/B$b;-><init>()V

    .line 82
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/lang/String;

    const-class v6, Landroid/content/res/AssetFileDescriptor;

    new-instance v7, Lcom/bumptech/glide/load/a/B$a;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/B$a;-><init>()V

    .line 83
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/a/b$a;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/a/b$a;-><init>()V

    .line 84
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/a$c;

    .line 85
    invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;

    move-result-object v8

    invoke-direct {v7, v8}, Lcom/bumptech/glide/load/a/a$c;-><init>(Landroid/content/res/AssetManager;)V

    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Landroid/os/ParcelFileDescriptor;

    new-instance v7, Lcom/bumptech/glide/load/a/a$b;

    .line 86
    invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;

    move-result-object v8

    invoke-direct {v7, v8}, Lcom/bumptech/glide/load/a/a$b;-><init>(Landroid/content/res/AssetManager;)V

    .line 87
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/a/c$a;

    move-object/from16 v8, p1

    invoke-direct {v7, v8}, Lcom/bumptech/glide/load/a/a/c$a;-><init>(Landroid/content/Context;)V

    .line 88
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/a/d$a;

    invoke-direct {v7, v8}, Lcom/bumptech/glide/load/a/a/d$a;-><init>(Landroid/content/Context;)V

    .line 89
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    .line 90
    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v5, 0x1d

    if-lt v2, v5, :cond_2f3

    .line 91
    iget-object v2, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/a/e$c;

    invoke-direct {v7, v8}, Lcom/bumptech/glide/load/a/a/e$c;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    .line 92
    iget-object v2, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Landroid/os/ParcelFileDescriptor;

    new-instance v7, Lcom/bumptech/glide/load/a/a/e$b;

    invoke-direct {v7, v8}, Lcom/bumptech/glide/load/a/a/e$b;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    .line 93
    :cond_2f3
    iget-object v2, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/D$d;

    move-object/from16 v9, p13

    invoke-direct {v7, v9}, Lcom/bumptech/glide/load/a/D$d;-><init>(Landroid/content/ContentResolver;)V

    .line 94
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Landroid/os/ParcelFileDescriptor;

    new-instance v7, Lcom/bumptech/glide/load/a/D$b;

    invoke-direct {v7, v9}, Lcom/bumptech/glide/load/a/D$b;-><init>(Landroid/content/ContentResolver;)V

    .line 95
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Landroid/content/res/AssetFileDescriptor;

    new-instance v7, Lcom/bumptech/glide/load/a/D$a;

    invoke-direct {v7, v9}, Lcom/bumptech/glide/load/a/D$a;-><init>(Landroid/content/ContentResolver;)V

    .line 96
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/E$a;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/E$a;-><init>()V

    .line 97
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/net/URL;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/a/f$a;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/a/f$a;-><init>()V

    .line 98
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Ljava/io/File;

    new-instance v7, Lcom/bumptech/glide/load/a/q$a;

    invoke-direct {v7, v8}, Lcom/bumptech/glide/load/a/q$a;-><init>(Landroid/content/Context;)V

    .line 99
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Lcom/bumptech/glide/load/a/l;

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/a/a$a;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/a/a$a;-><init>()V

    .line 100
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, [B

    const-class v6, Ljava/nio/ByteBuffer;

    new-instance v7, Lcom/bumptech/glide/load/a/c$a;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/c$a;-><init>()V

    .line 101
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, [B

    const-class v6, Ljava/io/InputStream;

    new-instance v7, Lcom/bumptech/glide/load/a/c$d;

    invoke-direct {v7}, Lcom/bumptech/glide/load/a/c$d;-><init>()V

    .line 102
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/net/Uri;

    const-class v6, Landroid/net/Uri;

    .line 103
    invoke-static {}, Lcom/bumptech/glide/load/a/C$a;->a()Lcom/bumptech/glide/load/a/C$a;

    move-result-object v7

    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/graphics/drawable/Drawable;

    const-class v6, Landroid/graphics/drawable/Drawable;

    .line 104
    invoke-static {}, Lcom/bumptech/glide/load/a/C$a;->a()Lcom/bumptech/glide/load/a/C$a;

    move-result-object v7

    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/a/v;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/graphics/drawable/Drawable;

    const-class v6, Landroid/graphics/drawable/Drawable;

    new-instance v7, Lcom/bumptech/glide/load/b/b/e;

    invoke-direct {v7}, Lcom/bumptech/glide/load/b/b/e;-><init>()V

    .line 105
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/graphics/Bitmap;

    const-class v6, Landroid/graphics/drawable/BitmapDrawable;

    new-instance v7, Lcom/bumptech/glide/load/b/d/b;

    invoke-direct {v7, v4}, Lcom/bumptech/glide/load/b/d/b;-><init>(Landroid/content/res/Resources;)V

    .line 106
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/b/d/e;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/graphics/Bitmap;

    const-class v6, [B

    move-object/from16 v7, p6

    .line 107
    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/b/d/e;)Lcom/bumptech/glide/Registry;

    const-class v5, Landroid/graphics/drawable/Drawable;

    const-class v6, [B

    new-instance v9, Lcom/bumptech/glide/load/b/d/c;

    move-object/from16 v10, p7

    invoke-direct {v9, v1, v7, v10}, Lcom/bumptech/glide/load/b/d/c;-><init>(Lcom/bumptech/glide/load/engine/a/e;Lcom/bumptech/glide/load/b/d/e;Lcom/bumptech/glide/load/b/d/e;)V

    .line 108
    invoke-virtual {v2, v5, v6, v9}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/b/d/e;)Lcom/bumptech/glide/Registry;

    const-class v5, Lcom/bumptech/glide/load/resource/gif/GifDrawable;

    const-class v6, [B

    .line 109
    invoke-virtual {v2, v5, v6, v10}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/b/d/e;)Lcom/bumptech/glide/Registry;

    .line 110
    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v5, 0x17

    if-lt v2, v5, :cond_3d0

    .line 111
    invoke-static/range {p4 .. p4}, Lcom/bumptech/glide/load/resource/bitmap/D;->b(Lcom/bumptech/glide/load/engine/a/e;)Lcom/bumptech/glide/load/l;

    move-result-object v1

    .line 112
    iget-object v2, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/nio/ByteBuffer;

    const-class v6, Landroid/graphics/Bitmap;

    invoke-virtual {v2, v5, v6, v1}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    .line 113
    iget-object v2, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    const-class v5, Ljava/nio/ByteBuffer;

    const-class v6, Landroid/graphics/drawable/BitmapDrawable;

    new-instance v7, Lcom/bumptech/glide/load/resource/bitmap/a;

    invoke-direct {v7, v4, v1}, Lcom/bumptech/glide/load/resource/bitmap/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/l;)V

    invoke-virtual {v2, v5, v6, v7}, Lcom/bumptech/glide/Registry;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/Registry;

    .line 114
    :cond_3d0
    new-instance v5, Lcom/bumptech/glide/request/target/e;

    invoke-direct {v5}, Lcom/bumptech/glide/request/target/e;-><init>()V

    .line 115
    new-instance v12, Lcom/bumptech/glide/e;

    iget-object v4, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    move-object v1, v12

    move-object/from16 v2, p1

    move-object/from16 v3, p5

    move-object/from16 v6, p9

    move-object/from16 v7, p10

    move-object/from16 v8, p11

    move-object/from16 v9, p2

    move/from16 v10, p12

    move/from16 v11, p8

    invoke-direct/range {v1 .. v11}, Lcom/bumptech/glide/e;-><init>(Landroid/content/Context;Lcom/bumptech/glide/load/engine/a/b;Lcom/bumptech/glide/Registry;Lcom/bumptech/glide/request/target/e;Lcom/bumptech/glide/b$a;Ljava/util/Map;Ljava/util/List;Lcom/bumptech/glide/load/engine/r;ZI)V

    iput-object v12, v0, Lcom/bumptech/glide/b;->f:Lcom/bumptech/glide/e;

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/bumptech/glide/b;
    .registers 4

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

    if-nez v0, :cond_1b

    .line 2
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/bumptech/glide/b;->c(Landroid/content/Context;)Lcom/bumptech/glide/GeneratedAppGlideModule;

    move-result-object v0

    .line 3
    const-class v1, Lcom/bumptech/glide/b;

    monitor-enter v1

    .line 4
    :try_start_f
    sget-object v2, Lcom/bumptech/glide/b;->a:Lcom/bumptech/glide/b;

    if-nez v2, :cond_16

    .line 5
    invoke-static {p0, v0}, Lcom/bumptech/glide/b;->a(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V

    .line 6
    :cond_16
    monitor-exit v1

    goto :goto_1b

    :catchall_18
    move-exception p0

    monitor-exit v1
    :try_end_1a
    .catchall {:try_start_f .. :try_end_1a} :catchall_18

    throw p0

    .line 7
    :cond_1b
    :goto_1b
    sget-object p0, Lcom/bumptech/glide/b;->a:Lcom/bumptech/glide/b;

    return-object p0
.end method

.method public static a(Landroid/app/Activity;)Lcom/bumptech/glide/j;
    .registers 2

    .line 53
    invoke-static {p0}, Lcom/bumptech/glide/b;->d(Landroid/content/Context;)Lcom/bumptech/glide/manager/m;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/bumptech/glide/manager/m;->a(Landroid/app/Activity;)Lcom/bumptech/glide/j;

    move-result-object p0

    return-object p0
.end method

.method public static a(Landroid/view/View;)Lcom/bumptech/glide/j;
    .registers 2

    .line 56
    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/bumptech/glide/b;->d(Landroid/content/Context;)Lcom/bumptech/glide/manager/m;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/bumptech/glide/manager/m;->a(Landroid/view/View;)Lcom/bumptech/glide/j;

    move-result-object p0

    return-object p0
.end method

.method public static a(Landroidx/fragment/app/Fragment;)Lcom/bumptech/glide/j;
    .registers 2

    .line 55
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/bumptech/glide/b;->d(Landroid/content/Context;)Lcom/bumptech/glide/manager/m;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/bumptech/glide/manager/m;->a(Landroidx/fragment/app/Fragment;)Lcom/bumptech/glide/j;

    move-result-object p0

    return-object p0
.end method

.method public static a(Landroidx/fragment/app/FragmentActivity;)Lcom/bumptech/glide/j;
    .registers 2

    .line 54
    invoke-static {p0}, Lcom/bumptech/glide/b;->d(Landroid/content/Context;)Lcom/bumptech/glide/manager/m;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/bumptech/glide/manager/m;->a(Landroidx/fragment/app/FragmentActivity;)Lcom/bumptech/glide/j;

    move-result-object p0

    return-object p0
.end method

.method private static a(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
    .registers 3

    .line 8
    sget-boolean v0, Lcom/bumptech/glide/b;->b:Z

    if-nez v0, :cond_e

    const/4 v0, 0x1

    .line 9
    sput-boolean v0, Lcom/bumptech/glide/b;->b:Z

    .line 10
    invoke-static {p0, p1}, Lcom/bumptech/glide/b;->b(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V

    const/4 p0, 0x0

    .line 11
    sput-boolean p0, Lcom/bumptech/glide/b;->b:Z

    return-void

    .line 12
    :cond_e
    new-instance p0, Ljava/lang/IllegalStateException;

    const-string p1, "You cannot call Glide.get() in registerComponents(), use the provided Glide instance instead"

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

    throw p0
.end method

.method private static a(Landroid/content/Context;Lcom/bumptech/glide/d;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
    .registers 11

    .line 13
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    .line 14
    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object v0

    if-eqz p2, :cond_10

    .line 15
    invoke-virtual {p2}, Lcom/bumptech/glide/b/a;->isManifestParsingEnabled()Z

    move-result v1

    if-eqz v1, :cond_19

    .line 16
    :cond_10
    new-instance v0, Lcom/bumptech/glide/b/e;

    invoke-direct {v0, p0}, Lcom/bumptech/glide/b/e;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0}, Lcom/bumptech/glide/b/e;->a()Ljava/util/List;

    move-result-object v0

    :cond_19
    const/4 v1, 0x3

    const-string v2, "Glide"

    if-eqz p2, :cond_65

    .line 17
    invoke-virtual {p2}, Lcom/bumptech/glide/GeneratedAppGlideModule;->a()Ljava/util/Set;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/Set;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_65

    .line 18
    invoke-virtual {p2}, Lcom/bumptech/glide/GeneratedAppGlideModule;->a()Ljava/util/Set;

    move-result-object v3

    .line 19
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    .line 20
    :goto_30
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_65

    .line 21
    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/bumptech/glide/b/c;

    .line 22
    invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v6

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

    move-result v6

    if-nez v6, :cond_47

    goto :goto_30

    .line 23
    :cond_47
    invoke-static {v2, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z

    move-result v6

    if-eqz v6, :cond_61

    .line 24
    new-instance v6, Ljava/lang/StringBuilder;

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

    const-string v7, "AppGlideModule excludes manifest GlideModule: "

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

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

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

    move-result-object v5

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

    .line 25
    :cond_61
    invoke-interface {v4}, Ljava/util/Iterator;->remove()V

    goto :goto_30

    .line 26
    :cond_65
    invoke-static {v2, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z

    move-result v1

    if-eqz v1, :cond_94

    .line 27
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v3

    if-eqz v3, :cond_94

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

    move-result-object v3

    check-cast v3, Lcom/bumptech/glide/b/c;

    .line 28
    new-instance v4, Ljava/lang/StringBuilder;

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

    const-string v5, "Discovered GlideModule from manifest: "

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

    invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

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

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

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_6f

    :cond_94
    if-eqz p2, :cond_9b

    .line 29
    invoke-virtual {p2}, Lcom/bumptech/glide/GeneratedAppGlideModule;->b()Lcom/bumptech/glide/manager/m$a;

    move-result-object v1

    goto :goto_9c

    :cond_9b
    const/4 v1, 0x0

    .line 30
    :goto_9c
    invoke-virtual {p1, v1}, Lcom/bumptech/glide/d;->a(Lcom/bumptech/glide/manager/m$a;)V

    .line 31
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v2

    if-eqz v2, :cond_b3

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

    move-result-object v2

    check-cast v2, Lcom/bumptech/glide/b/c;

    .line 32
    invoke-interface {v2, p0, p1}, Lcom/bumptech/glide/b/c;->applyOptions(Landroid/content/Context;Lcom/bumptech/glide/d;)V

    goto :goto_a3

    :cond_b3
    if-eqz p2, :cond_b8

    .line 33
    invoke-virtual {p2, p0, p1}, Lcom/bumptech/glide/b/a;->applyOptions(Landroid/content/Context;Lcom/bumptech/glide/d;)V

    .line 34
    :cond_b8
    invoke-virtual {p1, p0}, Lcom/bumptech/glide/d;->a(Landroid/content/Context;)Lcom/bumptech/glide/b;

    move-result-object p1

    .line 35
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_f2

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

    move-result-object v1

    check-cast v1, Lcom/bumptech/glide/b/c;

    .line 36
    :try_start_cc
    iget-object v2, p1, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    invoke-interface {v1, p0, p1, v2}, Lcom/bumptech/glide/b/c;->registerComponents(Landroid/content/Context;Lcom/bumptech/glide/b;Lcom/bumptech/glide/Registry;)V
    :try_end_d1
    .catch Ljava/lang/AbstractMethodError; {:try_start_cc .. :try_end_d1} :catch_d2

    goto :goto_c0

    :catch_d2
    move-exception p0

    .line 37
    new-instance p1, Ljava/lang/IllegalStateException;

    new-instance p2, Ljava/lang/StringBuilder;

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

    const-string v0, "Attempting to register a Glide v3 module. If you see this, you or one of your dependencies may be including Glide v3 even though you\'re using Glide v4. You\'ll need to find and remove (or update) the offending dependency. The v3 module name is: "

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

    .line 38
    invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

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

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

    move-result-object p2

    invoke-direct {p1, p2, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw p1

    :cond_f2
    if-eqz p2, :cond_f9

    .line 39
    iget-object v0, p1, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    invoke-virtual {p2, p0, p1, v0}, Lcom/bumptech/glide/b/d;->registerComponents(Landroid/content/Context;Lcom/bumptech/glide/b;Lcom/bumptech/glide/Registry;)V

    .line 40
    :cond_f9
    invoke-virtual {p0, p1}, Landroid/content/Context;->registerComponentCallbacks(Landroid/content/ComponentCallbacks;)V

    .line 41
    sput-object p1, Lcom/bumptech/glide/b;->a:Lcom/bumptech/glide/b;

    return-void
.end method

.method private static a(Ljava/lang/Exception;)V
    .registers 3

    .line 42
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "GeneratedAppGlideModuleImpl is implemented incorrectly. If you\'ve manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation."

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

    throw v0
.end method

.method public static b(Landroid/content/Context;)Lcom/bumptech/glide/j;
    .registers 2

    .line 3
    invoke-static {p0}, Lcom/bumptech/glide/b;->d(Landroid/content/Context;)Lcom/bumptech/glide/manager/m;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/bumptech/glide/manager/m;->a(Landroid/content/Context;)Lcom/bumptech/glide/j;

    move-result-object p0

    return-object p0
.end method

.method private static b(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
    .registers 3

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

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

    invoke-static {p0, v0, p1}, Lcom/bumptech/glide/b;->a(Landroid/content/Context;Lcom/bumptech/glide/d;Lcom/bumptech/glide/GeneratedAppGlideModule;)V

    return-void
.end method

.method private static c(Landroid/content/Context;)Lcom/bumptech/glide/GeneratedAppGlideModule;
    .registers 7

    const-string v0, "com.bumptech.glide.GeneratedAppGlideModuleImpl"

    const/4 v1, 0x0

    .line 1
    :try_start_3
    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    const/4 v2, 0x1

    .line 2
    new-array v3, v2, [Ljava/lang/Class;

    const-class v4, Landroid/content/Context;

    const/4 v5, 0x0

    aput-object v4, v3, v5

    .line 3
    invoke-virtual {v0, v3}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;

    move-result-object v0

    new-array v2, v2, [Ljava/lang/Object;

    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    aput-object p0, v2, v5

    invoke-virtual {v0, v2}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/bumptech/glide/GeneratedAppGlideModule;
    :try_end_21
    .catch Ljava/lang/ClassNotFoundException; {:try_start_3 .. :try_end_21} :catch_36
    .catch Ljava/lang/InstantiationException; {:try_start_3 .. :try_end_21} :catch_31
    .catch Ljava/lang/IllegalAccessException; {:try_start_3 .. :try_end_21} :catch_2c
    .catch Ljava/lang/NoSuchMethodException; {:try_start_3 .. :try_end_21} :catch_27
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_3 .. :try_end_21} :catch_22

    goto :goto_46

    :catch_22
    move-exception p0

    .line 4
    invoke-static {p0}, Lcom/bumptech/glide/b;->a(Ljava/lang/Exception;)V

    throw v1

    :catch_27
    move-exception p0

    .line 5
    invoke-static {p0}, Lcom/bumptech/glide/b;->a(Ljava/lang/Exception;)V

    throw v1

    :catch_2c
    move-exception p0

    .line 6
    invoke-static {p0}, Lcom/bumptech/glide/b;->a(Ljava/lang/Exception;)V

    throw v1

    :catch_31
    move-exception p0

    .line 7
    invoke-static {p0}, Lcom/bumptech/glide/b;->a(Ljava/lang/Exception;)V

    throw v1

    :catch_36
    nop

    const/4 p0, 0x5

    const-string v0, "Glide"

    .line 8
    invoke-static {v0, p0}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z

    move-result p0

    if-eqz p0, :cond_45

    const-string p0, "Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored"

    .line 9
    invoke-static {v0, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    :cond_45
    move-object p0, v1

    :goto_46
    return-object p0
.end method

.method private static d(Landroid/content/Context;)Lcom/bumptech/glide/manager/m;
    .registers 2

    const-string v0, "You cannot start a load on a not yet attached View or a Fragment where getActivity() returns null (which usually occurs when getActivity() is called before the Fragment is attached or after the Fragment is destroyed)."

    .line 2
    invoke-static {p0, v0}, Lcom/bumptech/glide/e/l;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 3
    invoke-static {p0}, Lcom/bumptech/glide/b;->a(Landroid/content/Context;)Lcom/bumptech/glide/b;

    move-result-object p0

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

    move-result-object p0

    return-object p0
.end method


# virtual methods
.method public a()V
    .registers 2

    .line 43
    invoke-static {}, Lcom/bumptech/glide/e/n;->b()V

    .line 44
    iget-object v0, p0, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/load/engine/b/i;

    invoke-interface {v0}, Lcom/bumptech/glide/load/engine/b/i;->a()V

    .line 45
    iget-object v0, p0, Lcom/bumptech/glide/b;->d:Lcom/bumptech/glide/load/engine/a/e;

    invoke-interface {v0}, Lcom/bumptech/glide/load/engine/a/e;->a()V

    .line 46
    iget-object v0, p0, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/load/engine/a/b;

    invoke-interface {v0}, Lcom/bumptech/glide/load/engine/a/b;->a()V

    return-void
.end method

.method public a(I)V
    .registers 4

    .line 47
    invoke-static {}, Lcom/bumptech/glide/e/n;->b()V

    .line 48
    iget-object v0, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_19

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

    move-result-object v1

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

    .line 49
    invoke-virtual {v1, p1}, Lcom/bumptech/glide/j;->onTrimMemory(I)V

    goto :goto_9

    .line 50
    :cond_19
    iget-object v0, p0, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/load/engine/b/i;

    invoke-interface {v0, p1}, Lcom/bumptech/glide/load/engine/b/i;->a(I)V

    .line 51
    iget-object v0, p0, Lcom/bumptech/glide/b;->d:Lcom/bumptech/glide/load/engine/a/e;

    invoke-interface {v0, p1}, Lcom/bumptech/glide/load/engine/a/e;->a(I)V

    .line 52
    iget-object v0, p0, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/load/engine/a/b;

    invoke-interface {v0, p1}, Lcom/bumptech/glide/load/engine/a/b;->a(I)V

    return-void
.end method

.method a(Lcom/bumptech/glide/j;)V
    .registers 4

    .line 62
    iget-object v0, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

    monitor-enter v0

    .line 63
    :try_start_3
    iget-object v1, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

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

    move-result v1

    if-nez v1, :cond_12

    .line 64
    iget-object v1, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

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

    .line 65
    monitor-exit v0

    return-void

    .line 66
    :cond_12
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v1, "Cannot register already registered manager"

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

    throw p1

    :catchall_1a
    move-exception p1

    .line 67
    monitor-exit v0
    :try_end_1c
    .catchall {:try_start_3 .. :try_end_1c} :catchall_1a

    throw p1
.end method

.method a(Lcom/bumptech/glide/request/target/Target;)Z
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/bumptech/glide/request/target/Target<",
            "*>;)Z"
        }
    .end annotation

    .line 57
    iget-object v0, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

    monitor-enter v0

    .line 58
    :try_start_3
    iget-object v1, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v2

    if-eqz v2, :cond_1e

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

    move-result-object v2

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

    .line 59
    invoke-virtual {v2, p1}, Lcom/bumptech/glide/j;->b(Lcom/bumptech/glide/request/target/Target;)Z

    move-result v2

    if-eqz v2, :cond_9

    const/4 p1, 0x1

    .line 60
    monitor-exit v0

    return p1

    .line 61
    :cond_1e
    monitor-exit v0

    const/4 p1, 0x0

    return p1

    :catchall_21
    move-exception p1

    monitor-exit v0
    :try_end_23
    .catchall {:try_start_3 .. :try_end_23} :catchall_21

    goto :goto_25

    :goto_24
    throw p1

    :goto_25
    goto :goto_24
.end method

.method public b()Lcom/bumptech/glide/load/engine/a/b;
    .registers 2

    .line 2
    iget-object v0, p0, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/load/engine/a/b;

    return-object v0
.end method

.method b(Lcom/bumptech/glide/j;)V
    .registers 4

    .line 4
    iget-object v0, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

    monitor-enter v0

    .line 5
    :try_start_3
    iget-object v1, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

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

    move-result v1

    if-eqz v1, :cond_12

    .line 6
    iget-object v1, p0, Lcom/bumptech/glide/b;->k:Ljava/util/List;

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

    .line 7
    monitor-exit v0

    return-void

    .line 8
    :cond_12
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v1, "Cannot unregister not yet registered manager"

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

    throw p1

    :catchall_1a
    move-exception p1

    .line 9
    monitor-exit v0
    :try_end_1c
    .catchall {:try_start_3 .. :try_end_1c} :catchall_1a

    throw p1
.end method

.method public c()Lcom/bumptech/glide/load/engine/a/e;
    .registers 2

    .line 10
    iget-object v0, p0, Lcom/bumptech/glide/b;->d:Lcom/bumptech/glide/load/engine/a/e;

    return-object v0
.end method

.method d()Lcom/bumptech/glide/manager/d;
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/bumptech/glide/b;->j:Lcom/bumptech/glide/manager/d;

    return-object v0
.end method

.method public e()Landroid/content/Context;
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/bumptech/glide/b;->f:Lcom/bumptech/glide/e;

    invoke-virtual {v0}, Landroid/content/ContextWrapper;->getBaseContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method f()Lcom/bumptech/glide/e;
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/bumptech/glide/b;->f:Lcom/bumptech/glide/e;

    return-object v0
.end method

.method public g()Lcom/bumptech/glide/Registry;
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/Registry;

    return-object v0
.end method

.method public h()Lcom/bumptech/glide/manager/m;
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/bumptech/glide/b;->i:Lcom/bumptech/glide/manager/m;

    return-object v0
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .registers 2

    return-void
.end method

.method public onLowMemory()V
    .registers 1

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

    return-void
.end method

.method public onTrimMemory(I)V
    .registers 2

    .line 1
    invoke-virtual {p0, p1}, Lcom/bumptech/glide/b;->a(I)V

    return-void
.end method