u.smali

.class public final Lf/b/b/b/k1/g0/u;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lf/b/b/b/k1/g0/o;


# instance fields
.field private final a:Lf/b/b/b/s1/y;

.field private final b:Lf/b/b/b/k1/r;

.field private final c:Ljava/lang/String;

.field private d:Ljava/lang/String;

.field private e:Lf/b/b/b/k1/v;

.field private f:I

.field private g:I

.field private h:Z

.field private i:Z

.field private j:J

.field private k:I

.field private l:J


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

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lf/b/b/b/k1/g0/u;-><init>(Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .registers 5

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

    const/4 v0, 0x0

    iput v0, p0, Lf/b/b/b/k1/g0/u;->f:I

    new-instance v1, Lf/b/b/b/s1/y;

    const/4 v2, 0x4

    invoke-direct {v1, v2}, Lf/b/b/b/s1/y;-><init>(I)V

    iput-object v1, p0, Lf/b/b/b/k1/g0/u;->a:Lf/b/b/b/s1/y;

    iget-object v1, v1, Lf/b/b/b/s1/y;->a:[B

    const/4 v2, -0x1

    aput-byte v2, v1, v0

    new-instance v0, Lf/b/b/b/k1/r;

    invoke-direct {v0}, Lf/b/b/b/k1/r;-><init>()V

    iput-object v0, p0, Lf/b/b/b/k1/g0/u;->b:Lf/b/b/b/k1/r;

    iput-object p1, p0, Lf/b/b/b/k1/g0/u;->c:Ljava/lang/String;

    return-void
.end method

.method private a(Lf/b/b/b/s1/y;)V
    .registers 10

    iget-object v0, p1, Lf/b/b/b/s1/y;->a:[B

    invoke-virtual {p1}, Lf/b/b/b/s1/y;->c()I

    move-result v1

    invoke-virtual {p1}, Lf/b/b/b/s1/y;->d()I

    move-result v2

    :goto_a
    if-ge v1, v2, :cond_42

    aget-byte v3, v0, v1

    const/16 v4, 0xff

    and-int/2addr v3, v4

    const/4 v5, 0x0

    const/4 v6, 0x1

    if-ne v3, v4, :cond_17

    const/4 v3, 0x1

    goto :goto_18

    :cond_17
    const/4 v3, 0x0

    :goto_18
    iget-boolean v4, p0, Lf/b/b/b/k1/g0/u;->i:Z

    if-eqz v4, :cond_25

    aget-byte v4, v0, v1

    const/16 v7, 0xe0

    and-int/2addr v4, v7

    if-ne v4, v7, :cond_25

    const/4 v4, 0x1

    goto :goto_26

    :cond_25
    const/4 v4, 0x0

    :goto_26
    iput-boolean v3, p0, Lf/b/b/b/k1/g0/u;->i:Z

    if-eqz v4, :cond_3f

    add-int/lit8 v2, v1, 0x1

    invoke-virtual {p1, v2}, Lf/b/b/b/s1/y;->N(I)V

    iput-boolean v5, p0, Lf/b/b/b/k1/g0/u;->i:Z

    iget-object p1, p0, Lf/b/b/b/k1/g0/u;->a:Lf/b/b/b/s1/y;

    iget-object p1, p1, Lf/b/b/b/s1/y;->a:[B

    aget-byte v0, v0, v1

    aput-byte v0, p1, v6

    const/4 p1, 0x2

    iput p1, p0, Lf/b/b/b/k1/g0/u;->g:I

    iput v6, p0, Lf/b/b/b/k1/g0/u;->f:I

    return-void

    :cond_3f
    add-int/lit8 v1, v1, 0x1

    goto :goto_a

    :cond_42
    invoke-virtual {p1, v2}, Lf/b/b/b/s1/y;->N(I)V

    return-void
.end method

.method private g(Lf/b/b/b/s1/y;)V
    .registers 9

    invoke-virtual {p1}, Lf/b/b/b/s1/y;->a()I

    move-result v0

    iget v1, p0, Lf/b/b/b/k1/g0/u;->k:I

    iget v2, p0, Lf/b/b/b/k1/g0/u;->g:I

    sub-int/2addr v1, v2

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    iget-object v1, p0, Lf/b/b/b/k1/g0/u;->e:Lf/b/b/b/k1/v;

    invoke-interface {v1, p1, v0}, Lf/b/b/b/k1/v;->b(Lf/b/b/b/s1/y;I)V

    iget p1, p0, Lf/b/b/b/k1/g0/u;->g:I

    add-int/2addr p1, v0

    iput p1, p0, Lf/b/b/b/k1/g0/u;->g:I

    iget v4, p0, Lf/b/b/b/k1/g0/u;->k:I

    if-ge p1, v4, :cond_1c

    return-void

    :cond_1c
    iget-object v0, p0, Lf/b/b/b/k1/g0/u;->e:Lf/b/b/b/k1/v;

    iget-wide v1, p0, Lf/b/b/b/k1/g0/u;->l:J

    const/4 v3, 0x1

    const/4 v5, 0x0

    const/4 v6, 0x0

    invoke-interface/range {v0 .. v6}, Lf/b/b/b/k1/v;->c(JIIILf/b/b/b/k1/v$a;)V

    iget-wide v0, p0, Lf/b/b/b/k1/g0/u;->l:J

    iget-wide v2, p0, Lf/b/b/b/k1/g0/u;->j:J

    add-long/2addr v0, v2

    iput-wide v0, p0, Lf/b/b/b/k1/g0/u;->l:J

    const/4 p1, 0x0

    iput p1, p0, Lf/b/b/b/k1/g0/u;->g:I

    iput p1, p0, Lf/b/b/b/k1/g0/u;->f:I

    return-void
.end method

.method private h(Lf/b/b/b/s1/y;)V
    .registers 22

    move-object/from16 v0, p0

    invoke-virtual/range {p1 .. p1}, Lf/b/b/b/s1/y;->a()I

    move-result v1

    iget v2, v0, Lf/b/b/b/k1/g0/u;->g:I

    const/4 v3, 0x4

    rsub-int/lit8 v2, v2, 0x4

    invoke-static {v1, v2}, Ljava/lang/Math;->min(II)I

    move-result v1

    iget-object v2, v0, Lf/b/b/b/k1/g0/u;->a:Lf/b/b/b/s1/y;

    iget-object v2, v2, Lf/b/b/b/s1/y;->a:[B

    iget v4, v0, Lf/b/b/b/k1/g0/u;->g:I

    move-object/from16 v5, p1

    invoke-virtual {v5, v2, v4, v1}, Lf/b/b/b/s1/y;->h([BII)V

    iget v2, v0, Lf/b/b/b/k1/g0/u;->g:I

    add-int/2addr v2, v1

    iput v2, v0, Lf/b/b/b/k1/g0/u;->g:I

    if-ge v2, v3, :cond_22

    return-void

    :cond_22
    iget-object v1, v0, Lf/b/b/b/k1/g0/u;->a:Lf/b/b/b/s1/y;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lf/b/b/b/s1/y;->N(I)V

    iget-object v1, v0, Lf/b/b/b/k1/g0/u;->a:Lf/b/b/b/s1/y;

    invoke-virtual {v1}, Lf/b/b/b/s1/y;->k()I

    move-result v1

    iget-object v4, v0, Lf/b/b/b/k1/g0/u;->b:Lf/b/b/b/k1/r;

    invoke-static {v1, v4}, Lf/b/b/b/k1/r;->e(ILf/b/b/b/k1/r;)Z

    move-result v1

    const/4 v4, 0x1

    if-nez v1, :cond_3c

    iput v2, v0, Lf/b/b/b/k1/g0/u;->g:I

    iput v4, v0, Lf/b/b/b/k1/g0/u;->f:I

    return-void

    :cond_3c
    iget-object v1, v0, Lf/b/b/b/k1/g0/u;->b:Lf/b/b/b/k1/r;

    iget v5, v1, Lf/b/b/b/k1/r;->c:I

    iput v5, v0, Lf/b/b/b/k1/g0/u;->k:I

    iget-boolean v5, v0, Lf/b/b/b/k1/g0/u;->h:Z

    if-nez v5, :cond_73

    const-wide/32 v5, 0xf4240

    iget v7, v1, Lf/b/b/b/k1/r;->g:I

    int-to-long v7, v7

    mul-long v7, v7, v5

    iget v15, v1, Lf/b/b/b/k1/r;->d:I

    int-to-long v5, v15

    div-long/2addr v7, v5

    iput-wide v7, v0, Lf/b/b/b/k1/g0/u;->j:J

    iget-object v9, v0, Lf/b/b/b/k1/g0/u;->d:Ljava/lang/String;

    iget-object v10, v1, Lf/b/b/b/k1/r;->b:Ljava/lang/String;

    const/4 v11, 0x0

    const/4 v12, -0x1

    const/16 v13, 0x1000

    iget v14, v1, Lf/b/b/b/k1/r;->e:I

    const/16 v16, 0x0

    const/16 v17, 0x0

    const/16 v18, 0x0

    iget-object v1, v0, Lf/b/b/b/k1/g0/u;->c:Ljava/lang/String;

    move-object/from16 v19, v1

    invoke-static/range {v9 .. v19}, Lf/b/b/b/f0;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIILjava/util/List;Lf/b/b/b/i1/n;ILjava/lang/String;)Lf/b/b/b/f0;

    move-result-object v1

    iget-object v5, v0, Lf/b/b/b/k1/g0/u;->e:Lf/b/b/b/k1/v;

    invoke-interface {v5, v1}, Lf/b/b/b/k1/v;->d(Lf/b/b/b/f0;)V

    iput-boolean v4, v0, Lf/b/b/b/k1/g0/u;->h:Z

    :cond_73
    iget-object v1, v0, Lf/b/b/b/k1/g0/u;->a:Lf/b/b/b/s1/y;

    invoke-virtual {v1, v2}, Lf/b/b/b/s1/y;->N(I)V

    iget-object v1, v0, Lf/b/b/b/k1/g0/u;->e:Lf/b/b/b/k1/v;

    iget-object v2, v0, Lf/b/b/b/k1/g0/u;->a:Lf/b/b/b/s1/y;

    invoke-interface {v1, v2, v3}, Lf/b/b/b/k1/v;->b(Lf/b/b/b/s1/y;I)V

    const/4 v1, 0x2

    iput v1, v0, Lf/b/b/b/k1/g0/u;->f:I

    return-void
.end method


# virtual methods
.method public b(Lf/b/b/b/s1/y;)V
    .registers 4

    :goto_0
    invoke-virtual {p1}, Lf/b/b/b/s1/y;->a()I

    move-result v0

    if-lez v0, :cond_22

    iget v0, p0, Lf/b/b/b/k1/g0/u;->f:I

    if-eqz v0, :cond_1e

    const/4 v1, 0x1

    if-eq v0, v1, :cond_1a

    const/4 v1, 0x2

    if-ne v0, v1, :cond_14

    invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/u;->g(Lf/b/b/b/s1/y;)V

    goto :goto_0

    :cond_14
    new-instance p1, Ljava/lang/IllegalStateException;

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

    throw p1

    :cond_1a
    invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/u;->h(Lf/b/b/b/s1/y;)V

    goto :goto_0

    :cond_1e
    invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/u;->a(Lf/b/b/b/s1/y;)V

    goto :goto_0

    :cond_22
    return-void
.end method

.method public c()V
    .registers 2

    const/4 v0, 0x0

    iput v0, p0, Lf/b/b/b/k1/g0/u;->f:I

    iput v0, p0, Lf/b/b/b/k1/g0/u;->g:I

    iput-boolean v0, p0, Lf/b/b/b/k1/g0/u;->i:Z

    return-void
.end method

.method public d()V
    .registers 1

    return-void
.end method

.method public e(Lf/b/b/b/k1/j;Lf/b/b/b/k1/g0/h0$d;)V
    .registers 4

    invoke-virtual {p2}, Lf/b/b/b/k1/g0/h0$d;->a()V

    invoke-virtual {p2}, Lf/b/b/b/k1/g0/h0$d;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lf/b/b/b/k1/g0/u;->d:Ljava/lang/String;

    invoke-virtual {p2}, Lf/b/b/b/k1/g0/h0$d;->c()I

    move-result p2

    const/4 v0, 0x1

    invoke-interface {p1, p2, v0}, Lf/b/b/b/k1/j;->a(II)Lf/b/b/b/k1/v;

    move-result-object p1

    iput-object p1, p0, Lf/b/b/b/k1/g0/u;->e:Lf/b/b/b/k1/v;

    return-void
.end method

.method public f(JI)V
    .registers 4

    iput-wide p1, p0, Lf/b/b/b/k1/g0/u;->l:J

    return-void
.end method