.class public Lt3/v;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lk3/f;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lt3/v$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lk3/f<",
        "Ljava/io/InputStream;",
        "Landroid/graphics/Bitmap;",
        ">;"
    }
.end annotation


# instance fields
.field public final a:Lt3/l;

.field public final b:Ln3/b;


# direct methods
.method public constructor <init>(Lt3/l;Ln3/b;)V
    .registers 3

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

    iput-object p1, p0, Lt3/v;->a:Lt3/l;

    iput-object p2, p0, Lt3/v;->b:Ln3/b;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/Object;IILk3/e;)Lm3/w;
    .registers 15

    check-cast p1, Ljava/io/InputStream;

    .line 1
    instance-of v0, p1, Lt3/u;

    if-eqz v0, :cond_a

    check-cast p1, Lt3/u;

    const/4 v0, 0x0

    goto :goto_15

    :cond_a
    new-instance v0, Lt3/u;

    iget-object v1, p0, Lt3/v;->b:Ln3/b;

    invoke-direct {v0, p1, v1}, Lt3/u;-><init>(Ljava/io/InputStream;Ln3/b;)V

    const/4 p1, 0x1

    move-object v9, v0

    move v0, p1

    move-object p1, v9

    .line 2
    :goto_15
    sget-object v1, Lg4/d;->t:Ljava/util/Queue;

    monitor-enter v1

    :try_start_18
    move-object v2, v1

    check-cast v2, Ljava/util/ArrayDeque;

    invoke-virtual {v2}, Ljava/util/ArrayDeque;->poll()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lg4/d;

    monitor-exit v1
    :try_end_22
    .catchall {:try_start_18 .. :try_end_22} :catchall_51

    if-nez v2, :cond_29

    new-instance v2, Lg4/d;

    invoke-direct {v2}, Lg4/d;-><init>()V

    .line 3
    :cond_29
    iput-object p1, v2, Lg4/d;->r:Ljava/io/InputStream;

    .line 4
    new-instance v4, Lg4/h;

    invoke-direct {v4, v2}, Lg4/h;-><init>(Ljava/io/InputStream;)V

    new-instance v8, Lt3/v$a;

    invoke-direct {v8, p1, v2}, Lt3/v$a;-><init>(Lt3/u;Lg4/d;)V

    :try_start_35
    iget-object v3, p0, Lt3/v;->a:Lt3/l;

    move v5, p2

    move v6, p3

    move-object v7, p4

    invoke-virtual/range {v3 .. v8}, Lt3/l;->a(Ljava/io/InputStream;IILk3/e;Lt3/l$b;)Lm3/w;

    move-result-object p2
    :try_end_3e
    .catchall {:try_start_35 .. :try_end_3e} :catchall_47

    invoke-virtual {v2}, Lg4/d;->b()V

    if-eqz v0, :cond_46

    invoke-virtual {p1}, Lt3/u;->e()V

    :cond_46
    return-object p2

    :catchall_47
    move-exception p2

    invoke-virtual {v2}, Lg4/d;->b()V

    if-eqz v0, :cond_50

    invoke-virtual {p1}, Lt3/u;->e()V

    :cond_50
    throw p2

    :catchall_51
    move-exception p1

    .line 5
    :try_start_52
    monitor-exit v1
    :try_end_53
    .catchall {:try_start_52 .. :try_end_53} :catchall_51

    throw p1
.end method

.method public b(Ljava/lang/Object;Lk3/e;)Z
    .registers 3

    check-cast p1, Ljava/io/InputStream;

    .line 1
    iget-object p1, p0, Lt3/v;->a:Lt3/l;

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

    const/4 p1, 0x1

    return p1
.end method
