c.smali

.class public final Lcom/bumptech/glide/e/c;
.super Ljava/lang/Object;
.source "DataLoadProviderRegistry.java"


# static fields
.field private static final IG:Lcom/bumptech/glide/g/g;


# instance fields
.field private final Jg:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Lcom/bumptech/glide/g/g;",
            "Lcom/bumptech/glide/e/b",
            "<**>;>;"
        }
    .end annotation
.end field


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

    .prologue
    .line 13
    new-instance v0, Lcom/bumptech/glide/g/g;

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

    sput-object v0, Lcom/bumptech/glide/e/c;->IG:Lcom/bumptech/glide/g/g;

    return-void
.end method

.method public constructor <init>()V
    .registers 2

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

    .line 15
    new-instance v0, Ljava/util/HashMap;

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

    iput-object v0, p0, Lcom/bumptech/glide/e/c;->Jg:Ljava/util/Map;

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/e/b;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            "Z:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Class",
            "<TT;>;",
            "Ljava/lang/Class",
            "<TZ;>;",
            "Lcom/bumptech/glide/e/b",
            "<TT;TZ;>;)V"
        }
    .end annotation

    .prologue
    .line 30
    iget-object v0, p0, Lcom/bumptech/glide/e/c;->Jg:Ljava/util/Map;

    new-instance v1, Lcom/bumptech/glide/g/g;

    invoke-direct {v1, p1, p2}, Lcom/bumptech/glide/g/g;-><init>(Ljava/lang/Class;Ljava/lang/Class;)V

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

    .line 31
    return-void
.end method

.method public final e(Ljava/lang/Class;Ljava/lang/Class;)Lcom/bumptech/glide/e/b;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            "Z:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Class",
            "<TT;>;",
            "Ljava/lang/Class",
            "<TZ;>;)",
            "Lcom/bumptech/glide/e/b",
            "<TT;TZ;>;"
        }
    .end annotation

    .prologue
    .line 44
    sget-object v1, Lcom/bumptech/glide/e/c;->IG:Lcom/bumptech/glide/g/g;

    monitor-enter v1

    .line 45
    :try_start_3
    sget-object v0, Lcom/bumptech/glide/e/c;->IG:Lcom/bumptech/glide/g/g;

    invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/g/g;->f(Ljava/lang/Class;Ljava/lang/Class;)V

    .line 46
    iget-object v0, p0, Lcom/bumptech/glide/e/c;->Jg:Ljava/util/Map;

    sget-object v2, Lcom/bumptech/glide/e/c;->IG:Lcom/bumptech/glide/g/g;

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

    move-result-object v0

    check-cast v0, Lcom/bumptech/glide/e/b;

    .line 47
    monitor-exit v1
    :try_end_13
    .catchall {:try_start_3 .. :try_end_13} :catchall_1a

    .line 48
    if-nez v0, :cond_19

    .line 49
    invoke-static {}, Lcom/bumptech/glide/e/d;->ey()Lcom/bumptech/glide/e/b;

    move-result-object v0

    .line 51
    :cond_19
    return-object v0

    .line 47
    :catchall_1a
    move-exception v0

    :try_start_1b
    monitor-exit v1
    :try_end_1c
    .catchall {:try_start_1b .. :try_end_1c} :catchall_1a

    throw v0
.end method