.class public final Lcom/google/android/gms/internal/ads/l9;
.super Lcom/google/android/gms/internal/ads/o9;
.source ""


# instance fields
.field public n:Lz5/fu1;

.field public o:Lz5/hw1;


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Lcom/google/android/gms/internal/ads/o9;-><init>()V

    return-void
.end method


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

    invoke-super {p0, p1}, Lcom/google/android/gms/internal/ads/o9;->a(Z)V

    if-eqz p1, :cond_a

    const/4 p1, 0x0

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/l9;->n:Lz5/fu1;

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/l9;->o:Lz5/hw1;

    :cond_a
    return-void
.end method

.method public final b(Lz5/j7;)J
    .registers 7

    .line 1
    iget-object v0, p1, Lz5/j7;->b:[B

    const/4 v1, 0x0

    .line 2
    aget-byte v2, v0, v1

    const/4 v3, -0x1

    if-ne v2, v3, :cond_a

    const/4 v2, 0x1

    goto :goto_b

    :cond_a
    move v2, v1

    :goto_b
    if-eqz v2, :cond_2a

    const/4 v2, 0x2

    .line 3
    aget-byte v0, v0, v2

    and-int/lit16 v0, v0, 0xff

    const/4 v2, 0x4

    shr-int/2addr v0, v2

    const/4 v3, 0x6

    const/4 v4, 0x7

    if-eq v0, v3, :cond_1b

    if-ne v0, v4, :cond_21

    move v0, v4

    :cond_1b
    invoke-virtual {p1, v2}, Lz5/j7;->u(I)V

    invoke-virtual {p1}, Lz5/j7;->h()J

    :cond_21
    invoke-static {p1, v0}, Lcom/google/android/gms/internal/ads/d;->k(Lz5/j7;I)I

    move-result v0

    invoke-virtual {p1, v1}, Lz5/j7;->q(I)V

    int-to-long v0, v0

    return-wide v0

    :cond_2a
    const-wide/16 v0, -0x1

    return-wide v0
.end method

.method public final c(Lz5/j7;JLz5/ll0;)Z
    .registers 11
    .annotation runtime Lorg/checkerframework/checker/nullness/qual/EnsuresNonNullIf;
        expression = {
            "#3.format"
        }
        result = false
    .end annotation

    .line 1
    iget-object v0, p1, Lz5/j7;->b:[B

    .line 2
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/l9;->n:Lz5/fu1;

    const/4 v2, 0x1

    if-nez v1, :cond_22

    new-instance p2, Lz5/fu1;

    const/16 p3, 0x11

    invoke-direct {p2, v0, p3}, Lz5/fu1;-><init>([BI)V

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/l9;->n:Lz5/fu1;

    const/16 p3, 0x9

    invoke-virtual {p1}, Lz5/j7;->m()I

    move-result p1

    invoke-static {v0, p3, p1}, Ljava/util/Arrays;->copyOfRange([BII)[B

    move-result-object p1

    const/4 p3, 0x0

    invoke-virtual {p2, p1, p3}, Lz5/fu1;->c([BLz5/u4;)Lz5/x2;

    move-result-object p1

    iput-object p1, p4, Lz5/ll0;->s:Ljava/lang/Object;

    return v2

    :cond_22
    const/4 v3, 0x0

    aget-byte v4, v0, v3

    and-int/lit8 v4, v4, 0x7f

    const/4 v5, 0x3

    if-ne v4, v5, :cond_3c

    invoke-static {p1}, Lz5/s8;->f(Lz5/j7;)Lz5/n50;

    move-result-object p1

    invoke-virtual {v1, p1}, Lz5/fu1;->e(Lz5/n50;)Lz5/fu1;

    move-result-object p2

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/l9;->n:Lz5/fu1;

    new-instance p3, Lz5/hw1;

    invoke-direct {p3, p2, p1}, Lz5/hw1;-><init>(Lz5/fu1;Lz5/n50;)V

    iput-object p3, p0, Lcom/google/android/gms/internal/ads/l9;->o:Lz5/hw1;

    return v2

    .line 3
    :cond_3c
    aget-byte p1, v0, v3

    const/4 v0, -0x1

    if-ne p1, v0, :cond_43

    move p1, v2

    goto :goto_44

    :cond_43
    move p1, v3

    :goto_44
    if-eqz p1, :cond_56

    .line 4
    iget-object p1, p0, Lcom/google/android/gms/internal/ads/l9;->o:Lz5/hw1;

    if-eqz p1, :cond_4e

    .line 5
    iput-wide p2, p1, Lz5/hw1;->t:J

    .line 6
    iput-object p1, p4, Lz5/ll0;->t:Ljava/lang/Object;

    :cond_4e
    iget-object p1, p4, Lz5/ll0;->s:Ljava/lang/Object;

    check-cast p1, Lz5/x2;

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

    return v3

    :cond_56
    return v2
.end method
