.class public final Lokio/m; .super Ljava/lang/Object; .source "Segment.java" # instance fields .field bsP:Z .field bsQ:Lokio/m; .field bsR:Lokio/m; .field public final data:[B .field public limit:I .field owner:Z .field pos:I # direct methods .method constructor ()V .locals 1 invoke-direct {p0}, Ljava/lang/Object;->()V const/16 v0, 0x2000 new-array v0, v0, [B iput-object v0, p0, Lokio/m;->data:[B const/4 v0, 0x1 iput-boolean v0, p0, Lokio/m;->owner:Z const/4 v0, 0x0 iput-boolean v0, p0, Lokio/m;->bsP:Z return-void .end method .method constructor ([BIIZZ)V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lokio/m;->data:[B iput p2, p0, Lokio/m;->pos:I iput p3, p0, Lokio/m;->limit:I iput-boolean p4, p0, Lokio/m;->bsP:Z iput-boolean p5, p0, Lokio/m;->owner:Z return-void .end method # virtual methods .method final Cp()Lokio/m; .locals 7 const/4 v0, 0x1 iput-boolean v0, p0, Lokio/m;->bsP:Z new-instance v0, Lokio/m; iget-object v2, p0, Lokio/m;->data:[B iget v3, p0, Lokio/m;->pos:I iget v4, p0, Lokio/m;->limit:I const/4 v5, 0x1 const/4 v6, 0x0 move-object v1, v0 invoke-direct/range {v1 .. v6}, Lokio/m;->([BIIZZ)V return-object v0 .end method .method final Cq()Lokio/m; .locals 7 new-instance v6, Lokio/m; iget-object v0, p0, Lokio/m;->data:[B invoke-virtual {v0}, [B->clone()Ljava/lang/Object; move-result-object v0 move-object v1, v0 check-cast v1, [B iget v2, p0, Lokio/m;->pos:I iget v3, p0, Lokio/m;->limit:I const/4 v4, 0x0 const/4 v5, 0x1 move-object v0, v6 invoke-direct/range {v0 .. v5}, Lokio/m;->([BIIZZ)V return-object v6 .end method .method public final Cr()Lokio/m; .locals 4 .annotation runtime Ljavax/annotation/Nullable; .end annotation iget-object v0, p0, Lokio/m;->bsQ:Lokio/m; const/4 v1, 0x0 if-eq v0, p0, :cond_0 goto :goto_0 :cond_0 move-object v0, v1 :goto_0 iget-object v2, p0, Lokio/m;->bsR:Lokio/m; iget-object v3, p0, Lokio/m;->bsQ:Lokio/m; iput-object v3, v2, Lokio/m;->bsQ:Lokio/m; iget-object v3, p0, Lokio/m;->bsQ:Lokio/m; iput-object v2, v3, Lokio/m;->bsR:Lokio/m; iput-object v1, p0, Lokio/m;->bsQ:Lokio/m; iput-object v1, p0, Lokio/m;->bsR:Lokio/m; return-object v0 .end method .method public final a(Lokio/m;)Lokio/m; .locals 1 iput-object p0, p1, Lokio/m;->bsR:Lokio/m; iget-object v0, p0, Lokio/m;->bsQ:Lokio/m; iput-object v0, p1, Lokio/m;->bsQ:Lokio/m; iget-object v0, p0, Lokio/m;->bsQ:Lokio/m; iput-object p1, v0, Lokio/m;->bsR:Lokio/m; iput-object p1, p0, Lokio/m;->bsQ:Lokio/m; return-object p1 .end method .method public final a(Lokio/m;I)V .locals 4 iget-boolean v0, p1, Lokio/m;->owner:Z if-eqz v0, :cond_3 iget v0, p1, Lokio/m;->limit:I add-int v1, v0, p2 const/16 v2, 0x2000 if-le v1, v2, :cond_2 iget-boolean v1, p1, Lokio/m;->bsP:Z if-nez v1, :cond_1 add-int v1, v0, p2 iget v3, p1, Lokio/m;->pos:I sub-int/2addr v1, v3 if-gt v1, v2, :cond_0 iget-object v1, p1, Lokio/m;->data:[B sub-int/2addr v0, v3 const/4 v2, 0x0 invoke-static {v1, v3, v1, v2, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V iget v0, p1, Lokio/m;->limit:I iget v1, p1, Lokio/m;->pos:I sub-int/2addr v0, v1 iput v0, p1, Lokio/m;->limit:I iput v2, p1, Lokio/m;->pos:I goto :goto_0 :cond_0 new-instance p1, Ljava/lang/IllegalArgumentException; invoke-direct {p1}, Ljava/lang/IllegalArgumentException;->()V throw p1 :cond_1 new-instance p1, Ljava/lang/IllegalArgumentException; invoke-direct {p1}, Ljava/lang/IllegalArgumentException;->()V throw p1 :cond_2 :goto_0 iget-object v0, p0, Lokio/m;->data:[B iget v1, p0, Lokio/m;->pos:I iget-object v2, p1, Lokio/m;->data:[B iget v3, p1, Lokio/m;->limit:I invoke-static {v0, v1, v2, v3, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V iget v0, p1, Lokio/m;->limit:I add-int/2addr v0, p2 iput v0, p1, Lokio/m;->limit:I iget p1, p0, Lokio/m;->pos:I add-int/2addr p1, p2 iput p1, p0, Lokio/m;->pos:I return-void :cond_3 new-instance p1, Ljava/lang/IllegalArgumentException; invoke-direct {p1}, Ljava/lang/IllegalArgumentException;->()V throw p1 .end method