.class public final Lz4/k;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lw4/f;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Lw4/f<",
        "TT;>;"
    }
.end annotation


# instance fields
.field public final a:Lz4/i;

.field public final b:Ljava/lang/String;

.field public final c:Lw4/b;

.field public final d:Lw4/e;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lw4/e<",
            "TT;[B>;"
        }
    .end annotation
.end field

.field public final e:Lz4/l;


# direct methods
.method public constructor <init>(Lz4/i;Ljava/lang/String;Lw4/b;Lw4/e;Lz4/l;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz4/i;",
            "Ljava/lang/String;",
            "Lw4/b;",
            "Lw4/e<",
            "TT;[B>;",
            "Lz4/l;",
            ")V"
        }
    .end annotation

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

    iput-object p1, p0, Lz4/k;->a:Lz4/i;

    iput-object p2, p0, Lz4/k;->b:Ljava/lang/String;

    iput-object p3, p0, Lz4/k;->c:Lw4/b;

    iput-object p4, p0, Lz4/k;->d:Lw4/e;

    iput-object p5, p0, Lz4/k;->e:Lz4/l;

    return-void
.end method


# virtual methods
.method public a(Lw4/c;)V
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lw4/c<",
            "TT;>;)V"
        }
    .end annotation

    sget-object v0, Lv7/v;->a:Lv7/v;

    .line 1
    iget-object v1, p0, Lz4/k;->e:Lz4/l;

    iget-object v2, p0, Lz4/k;->a:Lz4/i;

    const-string v3, "Null transportContext"

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

    .line 3
    iget-object v3, p0, Lz4/k;->b:Ljava/lang/String;

    const-string v4, "Null transportName"

    .line 4
    invoke-static {v3, v4}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 5
    iget-object v4, p0, Lz4/k;->d:Lw4/e;

    const-string v5, "Null transformer"

    .line 6
    invoke-static {v4, v5}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 7
    iget-object v5, p0, Lz4/k;->c:Lw4/b;

    const-string v6, "Null encoding"

    .line 8
    invoke-static {v5, v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 9
    check-cast v1, Lz4/m;

    .line 10
    iget-object v6, v1, Lz4/m;->c:Lc5/d;

    check-cast p1, Lw4/a;

    .line 11
    iget-object v7, p1, Lw4/a;->b:Lw4/d;

    .line 12
    invoke-static {}, Lz4/i;->a()Lz4/i$a;

    move-result-object v8

    invoke-virtual {v2}, Lz4/i;->b()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Lz4/i$a;->b(Ljava/lang/String;)Lz4/i$a;

    invoke-virtual {v8, v7}, Lz4/i$a;->c(Lw4/d;)Lz4/i$a;

    invoke-virtual {v2}, Lz4/i;->c()[B

    move-result-object v2

    check-cast v8, Lz4/b$b;

    .line 13
    iput-object v2, v8, Lz4/b$b;->b:[B

    .line 14
    invoke-virtual {v8}, Lz4/b$b;->a()Lz4/i;

    move-result-object v2

    .line 15
    new-instance v7, Lz4/a$b;

    invoke-direct {v7}, Lz4/a$b;-><init>()V

    new-instance v8, Ljava/util/HashMap;

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

    .line 16
    iput-object v8, v7, Lz4/a$b;->f:Ljava/util/Map;

    .line 17
    iget-object v8, v1, Lz4/m;->a:Lg5/a;

    invoke-interface {v8}, Lg5/a;->a()J

    move-result-wide v8

    invoke-virtual {v7, v8, v9}, Lz4/a$b;->e(J)Lz4/f$a;

    iget-object v1, v1, Lz4/m;->b:Lg5/a;

    invoke-interface {v1}, Lg5/a;->a()J

    move-result-wide v8

    invoke-virtual {v7, v8, v9}, Lz4/a$b;->g(J)Lz4/f$a;

    invoke-virtual {v7, v3}, Lz4/a$b;->f(Ljava/lang/String;)Lz4/f$a;

    new-instance v1, Lz4/e;

    .line 18
    iget-object p1, p1, Lw4/a;->a:Ljava/lang/Object;

    .line 19
    check-cast v4, Lk8/s;

    .line 20
    check-cast p1, Ll8/b;

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

    .line 21
    sget-object v3, Lf6/d;->a:Landroidx/fragment/app/k0;

    new-instance v4, Ljava/io/ByteArrayOutputStream;

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

    :try_start_75
    invoke-virtual {v3, p1, v4}, Landroidx/fragment/app/k0;->u(Ljava/lang/Object;Ljava/io/OutputStream;)V
    :try_end_78
    .catch Ljava/io/IOException; {:try_start_75 .. :try_end_78} :catch_78

    :catch_78
    invoke-virtual {v4}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B

    move-result-object p1

    .line 22
    invoke-direct {v1, v5, p1}, Lz4/e;-><init>(Lw4/b;[B)V

    invoke-virtual {v7, v1}, Lz4/a$b;->d(Lz4/e;)Lz4/f$a;

    const/4 p1, 0x0

    .line 23
    iput-object p1, v7, Lz4/a$b;->b:Ljava/lang/Integer;

    .line 24
    invoke-virtual {v7}, Lz4/a$b;->b()Lz4/f;

    move-result-object p1

    .line 25
    invoke-interface {v6, v2, p1, v0}, Lc5/d;->a(Lz4/i;Lz4/f;Lv7/v;)V

    return-void
.end method
