.class public Lq3/a;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lq3/m;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lq3/a$b;,
        Lq3/a$c;,
        Lq3/a$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<Data:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Lq3/m<",
        "Landroid/net/Uri;",
        "TData;>;"
    }
.end annotation


# instance fields
.field public final a:Landroid/content/res/AssetManager;

.field public final b:Lq3/a$a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lq3/a$a<",
            "TData;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/res/AssetManager;Lq3/a$a;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/res/AssetManager;",
            "Lq3/a$a<",
            "TData;>;)V"
        }
    .end annotation

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

    iput-object p1, p0, Lq3/a;->a:Landroid/content/res/AssetManager;

    iput-object p2, p0, Lq3/a;->b:Lq3/a$a;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/Object;IILk3/e;)Lq3/m$a;
    .registers 6

    check-cast p1, Landroid/net/Uri;

    .line 1
    invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object p2

    const/16 p3, 0x16

    invoke-virtual {p2, p3}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p2

    new-instance p3, Lq3/m$a;

    new-instance p4, Lf4/b;

    invoke-direct {p4, p1}, Lf4/b;-><init>(Ljava/lang/Object;)V

    iget-object p1, p0, Lq3/a;->b:Lq3/a$a;

    iget-object v0, p0, Lq3/a;->a:Landroid/content/res/AssetManager;

    invoke-interface {p1, v0, p2}, Lq3/a$a;->b(Landroid/content/res/AssetManager;Ljava/lang/String;)Lcom/bumptech/glide/load/data/d;

    move-result-object p1

    invoke-direct {p3, p4, p1}, Lq3/m$a;-><init>(Lk3/c;Lcom/bumptech/glide/load/data/d;)V

    return-object p3
.end method

.method public b(Ljava/lang/Object;)Z
    .registers 4

    check-cast p1, Landroid/net/Uri;

    .line 1
    invoke-virtual {p1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v0

    const-string v1, "file"

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

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_2a

    invoke-virtual {p1}, Landroid/net/Uri;->getPathSegments()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_2a

    invoke-virtual {p1}, Landroid/net/Uri;->getPathSegments()Ljava/util/List;

    move-result-object p1

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

    move-result-object p1

    const-string v0, "android_asset"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_2a

    const/4 v1, 0x1

    :cond_2a
    return v1
.end method
