2020-09-02 04:07:20 +00:00
|
|
|
.class public final Lp0/s;
|
|
|
|
.super Ljava/lang/Object;
|
2020-09-09 19:21:20 +00:00
|
|
|
.source "Segment.kt"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final a:[B
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.field public b:I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.field public c:I
|
|
|
|
|
|
|
|
.field public d:Z
|
|
|
|
|
|
|
|
.field public e:Z
|
|
|
|
|
|
|
|
.field public f:Lp0/s;
|
|
|
|
|
|
|
|
.field public g:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public constructor <init>()V
|
2020-09-02 04:07:20 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const/16 v0, 0x2000
|
|
|
|
|
|
|
|
new-array v0, v0, [B
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object v0, p0, Lp0/s;->a:[B
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lp0/s;->e:Z
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lp0/s;->d:Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public constructor <init>([BIIZZ)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "data"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object p1, p0, Lp0/s;->a:[B
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput p2, p0, Lp0/s;->b:I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput p3, p0, Lp0/s;->c:I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-boolean p4, p0, Lp0/s;->d:Z
|
|
|
|
|
|
|
|
iput-boolean p5, p0, Lp0/s;->e:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public final a()Lp0/s;
|
|
|
|
.locals 4
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v0, p0, Lp0/s;->f:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eq v0, p0, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-09 19:21:20 +00:00
|
|
|
move-object v0, v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v2, p0, Lp0/s;->g:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eqz v2, :cond_2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v3, p0, Lp0/s;->f:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object v3, v2, Lp0/s;->f:Lp0/s;
|
|
|
|
|
|
|
|
iget-object v3, p0, Lp0/s;->f:Lp0/s;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
|
|
|
iput-object v2, v3, Lp0/s;->g:Lp0/s;
|
|
|
|
|
|
|
|
iput-object v1, p0, Lp0/s;->f:Lp0/s;
|
|
|
|
|
|
|
|
iput-object v1, p0, Lp0/s;->g:Lp0/s;
|
|
|
|
|
|
|
|
return-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
:cond_1
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {}, Lk0/n/c/i;->throwNpe()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
throw v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_2
|
|
|
|
invoke-static {}, Lk0/n/c/i;->throwNpe()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
throw v1
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public final b(Lp0/s;)Lp0/s;
|
|
|
|
.locals 1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string v0, "segment"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object p0, p1, Lp0/s;->g:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v0, p0, Lp0/s;->f:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object v0, p1, Lp0/s;->f:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v0, p0, Lp0/s;->f:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object p1, v0, Lp0/s;->g:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object p1, p0, Lp0/s;->f:Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
return-object p1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-static {}, Lk0/n/c/i;->throwNpe()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 p1, 0x0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
throw p1
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public final c()Lp0/s;
|
|
|
|
.locals 7
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v0, 0x1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-boolean v0, p0, Lp0/s;->d:Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
new-instance v0, Lp0/s;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v2, p0, Lp0/s;->a:[B
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget v3, p0, Lp0/s;->b:I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget v4, p0, Lp0/s;->c:I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v5, 0x1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v6, 0x0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-object v1, v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct/range {v1 .. v6}, Lp0/s;-><init>([BIIZZ)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
return-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public final d(Lp0/s;I)V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
const-string v0, "sink"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-boolean v0, p1, Lp0/s;->e:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
iget v5, p1, Lp0/s;->c:I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
add-int v0, v5, p2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/16 v1, 0x2000
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-le v0, v1, :cond_2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-boolean v0, p1, Lp0/s;->d:Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-nez v0, :cond_1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
add-int v0, v5, p2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget v4, p1, Lp0/s;->b:I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
sub-int/2addr v0, v4
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-gt v0, v1, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v2, p1, Lp0/s;->a:[B
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v3, 0x0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v6, 0x2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-object v1, v2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Lk0/i/f;->copyInto$default([B[BIIII)[B
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget v0, p1, Lp0/s;->c:I
|
|
|
|
|
|
|
|
iget v1, p1, Lp0/s;->b:I
|
|
|
|
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
|
|
|
|
iput v0, p1, Lp0/s;->c:I
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput v0, p1, Lp0/s;->b:I
|
|
|
|
|
|
|
|
goto :goto_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-09-09 19:21:20 +00:00
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
throw p1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
throw p1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_2
|
|
|
|
:goto_0
|
|
|
|
iget-object v0, p0, Lp0/s;->a:[B
|
|
|
|
|
|
|
|
iget-object v1, p1, Lp0/s;->a:[B
|
|
|
|
|
|
|
|
iget v2, p1, Lp0/s;->c:I
|
|
|
|
|
|
|
|
iget v3, p0, Lp0/s;->b:I
|
|
|
|
|
|
|
|
add-int v4, v3, p2
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v1, v2, v3, v4}, Lk0/i/f;->copyInto([B[BIII)[B
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
iget v0, p1, Lp0/s;->c:I
|
|
|
|
|
|
|
|
add-int/2addr v0, p2
|
|
|
|
|
|
|
|
iput v0, p1, Lp0/s;->c:I
|
|
|
|
|
|
|
|
iget p1, p0, Lp0/s;->b:I
|
|
|
|
|
|
|
|
add-int/2addr p1, p2
|
|
|
|
|
|
|
|
iput p1, p0, Lp0/s;->b:I
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string p2, "only owner can write"
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
2020-09-02 04:07:20 +00:00
|
|
|
.end method
|