.class public final Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder; .super Lcom/google/protobuf/CodedInputStream; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/protobuf/CodedInputStream; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "IterableDirectByteBufferDecoder" .end annotation # instance fields .field private bufferSizeAfterCurrentLimit:I .field private currentAddress:J .field private currentByteBuffer:Ljava/nio/ByteBuffer; .field private currentByteBufferLimit:J .field private currentByteBufferPos:J .field private currentByteBufferStartPos:J .field private currentLimit:I .field private enableAliasing:Z .field private final immutable:Z .field private final input:Ljava/lang/Iterable; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Iterable<", "Ljava/nio/ByteBuffer;", ">;" } .end annotation .end field .field private final iterator:Ljava/util/Iterator; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Iterator<", "Ljava/nio/ByteBuffer;", ">;" } .end annotation .end field .field private lastTag:I .field private startOffset:I .field private totalBufferSize:I .field private totalBytesRead:I # direct methods .method private constructor (Ljava/lang/Iterable;IZ)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "Ljava/nio/ByteBuffer;", ">;IZ)V" } .end annotation const/4 v0, 0x0 .line 3189 invoke-direct {p0, v0}, Lcom/google/protobuf/CodedInputStream;->(Lcom/google/protobuf/CodedInputStream$1;)V const v0, 0x7fffffff iput v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentLimit:I iput p2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBufferSize:I iput-object p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->input:Ljava/lang/Iterable; .line 3192 invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 iput-object p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->iterator:Ljava/util/Iterator; iput-boolean p3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->immutable:Z const/4 p1, 0x0 iput p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I iput p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->startOffset:I if-nez p2, :cond_0 .line 3196 sget-object p1, Lcom/google/protobuf/Internal;->EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer; iput-object p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; const-wide/16 p1, 0x0 iput-wide p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iput-wide p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J iput-wide p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iput-wide p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentAddress:J goto :goto_0 .line 3202 :cond_0 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->tryGetNextByteBuffer()V :goto_0 return-void .end method .method public synthetic constructor (Ljava/lang/Iterable;IZLcom/google/protobuf/CodedInputStream$1;)V .locals 0 .line 3140 invoke-direct {p0, p1, p2, p3}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->(Ljava/lang/Iterable;IZ)V return-void .end method .method private currentRemaining()J .locals 4 iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v0, v2 return-wide v0 .end method .method private getNextByteBuffer()V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Lcom/google/protobuf/InvalidProtocolBufferException; } .end annotation iget-object v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->iterator:Ljava/util/Iterator; .line 3208 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_0 .line 3211 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->tryGetNextByteBuffer()V return-void .line 3209 :cond_0 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method private readRawBytesTo([BII)V .locals 11 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation if-ltz p3, :cond_2 .line 3884 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->remaining()I move-result v0 if-gt p3, v0, :cond_2 move v0, p3 :goto_0 if-lez v0, :cond_1 .line 3887 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v1 const-wide/16 v3, 0x0 cmp-long v1, v1, v3 if-nez v1, :cond_0 .line 3888 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getNextByteBuffer()V .line 3890 :cond_0 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v1 long-to-int v1, v1 invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I move-result v1 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-int v4, p3, v0 add-int/2addr v4, p2 int-to-long v5, v4 int-to-long v9, v1 move-object v4, p1 move-wide v7, v9 .line 3891 invoke-static/range {v2 .. v8}, Lcom/google/protobuf/UnsafeUtil;->copyMemory(J[BJJ)V sub-int/2addr v0, v1 iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v1, v9 iput-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J goto :goto_0 :cond_1 return-void :cond_2 if-gtz p3, :cond_4 if-nez p3, :cond_3 return-void .line 3902 :cond_3 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 3905 :cond_4 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method private recomputeBufferSizeAfterLimit()V .locals 3 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBufferSize:I iget v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->bufferSizeAfterCurrentLimit:I add-int/2addr v0, v1 iput v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBufferSize:I iget v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->startOffset:I sub-int v1, v0, v1 iget v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentLimit:I if-le v1, v2, :cond_0 sub-int/2addr v1, v2 iput v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->bufferSizeAfterCurrentLimit:I sub-int/2addr v0, v1 iput v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBufferSize:I goto :goto_0 :cond_0 const/4 v0, 0x0 iput v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->bufferSizeAfterCurrentLimit:I :goto_0 return-void .end method .method private remaining()I .locals 4 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBufferSize:I iget v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I sub-int/2addr v0, v1 int-to-long v0, v0 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v0, v2 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J add-long/2addr v0, v2 long-to-int v0, v0 return v0 .end method .method private skipRawVarint()V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation const/4 v0, 0x0 :goto_0 const/16 v1, 0xa if-ge v0, v1, :cond_1 .line 3938 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 if-ltz v1, :cond_0 return-void :cond_0 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 3942 :cond_1 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->malformedVarint()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method private slice(II)Ljava/nio/ByteBuffer; .locals 3 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-object v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; .line 3965 invoke-virtual {v0}, Ljava/nio/Buffer;->position()I move-result v0 iget-object v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; .line 3966 invoke-virtual {v1}, Ljava/nio/Buffer;->limit()I move-result v1 iget-object v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; .line 3971 :try_start_0 invoke-virtual {v2, p1}, Ljava/nio/Buffer;->position(I)Ljava/nio/Buffer; .line 3972 invoke-virtual {v2, p2}, Ljava/nio/Buffer;->limit(I)Ljava/nio/Buffer; iget-object p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; .line 3973 invoke-virtual {p1}, Ljava/nio/ByteBuffer;->slice()Ljava/nio/ByteBuffer; move-result-object p1 :try_end_0 .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 3977 invoke-virtual {v2, v0}, Ljava/nio/Buffer;->position(I)Ljava/nio/Buffer; .line 3978 invoke-virtual {v2, v1}, Ljava/nio/Buffer;->limit(I)Ljava/nio/Buffer; return-object p1 :catchall_0 move-exception p1 goto :goto_0 .line 3975 :catch_0 :try_start_1 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 .line 3977 :goto_0 invoke-virtual {v2, v0}, Ljava/nio/Buffer;->position(I)Ljava/nio/Buffer; .line 3978 invoke-virtual {v2, v1}, Ljava/nio/Buffer;->limit(I)Ljava/nio/Buffer; .line 3979 throw p1 .end method .method private tryGetNextByteBuffer()V .locals 6 iget-object v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->iterator:Ljava/util/Iterator; .line 3215 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/nio/ByteBuffer; iput-object v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; iget v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iget-wide v4, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J sub-long/2addr v2, v4 long-to-int v2, v2 add-int/2addr v1, v2 iput v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I .line 3217 invoke-virtual {v0}, Ljava/nio/Buffer;->position()I move-result v0 int-to-long v0, v0 iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J iget-object v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; .line 3219 invoke-virtual {v0}, Ljava/nio/Buffer;->limit()I move-result v0 int-to-long v0, v0 iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iget-object v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; .line 3220 invoke-static {v0}, Lcom/google/protobuf/UnsafeUtil;->addressOffset(Ljava/nio/ByteBuffer;)J move-result-wide v0 iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentAddress:J iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v2, v0 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J add-long/2addr v2, v0 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J add-long/2addr v2, v0 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J return-void .end method # virtual methods .method public checkLastTagWas(I)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Lcom/google/protobuf/InvalidProtocolBufferException; } .end annotation iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->lastTag:I if-ne v0, p1, :cond_0 return-void .line 3245 :cond_0 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->invalidEndTag()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public enableAliasing(Z)V .locals 0 iput-boolean p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->enableAliasing:Z return-void .end method .method public getBytesUntilLimit()I .locals 2 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentLimit:I const v1, 0x7fffffff if-ne v0, v1, :cond_0 const/4 v0, -0x1 return v0 .line 3831 :cond_0 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getTotalBytesRead()I move-result v1 sub-int/2addr v0, v1 return v0 .end method .method public getLastTag()I .locals 1 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->lastTag:I return v0 .end method .method public getTotalBytesRead()I .locals 4 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I iget v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->startOffset:I sub-int/2addr v0, v1 int-to-long v0, v0 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v0, v2 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J sub-long/2addr v0, v2 long-to-int v0, v0 return v0 .end method .method public isAtEnd()Z .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I int-to-long v0, v0 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v0, v2 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J sub-long/2addr v0, v2 iget v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBufferSize:I int-to-long v2, v2 cmp-long v0, v0, v2 if-nez v0, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public popLimit(I)V .locals 0 iput p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentLimit:I .line 3822 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->recomputeBufferSizeAfterLimit()V return-void .end method .method public pushLimit(I)I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Lcom/google/protobuf/InvalidProtocolBufferException; } .end annotation if-ltz p1, :cond_1 .line 3795 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getTotalBytesRead()I move-result v0 add-int/2addr p1, v0 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentLimit:I if-gt p1, v0, :cond_0 iput p1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentLimit:I .line 3802 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->recomputeBufferSizeAfterLimit()V return v0 .line 3798 :cond_0 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 3793 :cond_1 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readBool()Z .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3391 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint64()J move-result-wide v0 const-wide/16 v2, 0x0 cmp-long v0, v0, v2 if-eqz v0, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public readByteArray()[B .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3562 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 invoke-virtual {p0, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawBytes(I)[B move-result-object v0 return-object v0 .end method .method public readByteBuffer()Ljava/nio/ByteBuffer; .locals 10 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3567 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 if-lez v0, :cond_1 int-to-long v8, v0 .line 3568 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v1 cmp-long v1, v8, v1 if-gtz v1, :cond_1 iget-boolean v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->immutable:Z if-nez v1, :cond_0 iget-boolean v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->enableAliasing:Z if-eqz v1, :cond_0 iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v0, v8 iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentAddress:J sub-long v4, v0, v2 sub-long/2addr v4, v8 long-to-int v4, v4 sub-long/2addr v0, v2 long-to-int v0, v0 .line 3571 invoke-direct {p0, v4, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->slice(II)Ljava/nio/ByteBuffer; move-result-object v0 return-object v0 .line 3575 :cond_0 new-array v0, v0, [B iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J const-wide/16 v4, 0x0 move-object v3, v0 move-wide v6, v8 .line 3576 invoke-static/range {v1 .. v7}, Lcom/google/protobuf/UnsafeUtil;->copyMemory(J[BJJ)V iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v1, v8 iput-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J .line 3578 invoke-static {v0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer; move-result-object v0 return-object v0 :cond_1 if-lez v0, :cond_2 .line 3580 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->remaining()I move-result v1 if-gt v0, v1, :cond_2 .line 3581 new-array v1, v0, [B const/4 v2, 0x0 .line 3582 invoke-direct {p0, v1, v2, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawBytesTo([BII)V .line 3583 invoke-static {v1}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer; move-result-object v0 return-object v0 :cond_2 if-nez v0, :cond_3 .line 3587 sget-object v0, Lcom/google/protobuf/Internal;->EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer; return-object v0 :cond_3 if-gez v0, :cond_4 .line 3590 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .line 3592 :cond_4 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method public readBytes()Lcom/google/protobuf/ByteString; .locals 10 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3516 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 if-lez v0, :cond_1 int-to-long v8, v0 iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iget-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v1, v3 cmp-long v1, v8, v1 if-gtz v1, :cond_1 iget-boolean v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->immutable:Z if-eqz v1, :cond_0 iget-boolean v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->enableAliasing:Z if-eqz v1, :cond_0 iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentAddress:J sub-long/2addr v3, v1 long-to-int v1, v3 add-int/2addr v0, v1 .line 3520 invoke-direct {p0, v1, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->slice(II)Ljava/nio/ByteBuffer; move-result-object v0 invoke-static {v0}, Lcom/google/protobuf/ByteString;->wrap(Ljava/nio/ByteBuffer;)Lcom/google/protobuf/ByteString; move-result-object v0 iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v1, v8 iput-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J return-object v0 .line 3524 :cond_0 new-array v0, v0, [B const-wide/16 v5, 0x0 move-wide v1, v3 move-object v3, v0 move-wide v4, v5 move-wide v6, v8 .line 3525 invoke-static/range {v1 .. v7}, Lcom/google/protobuf/UnsafeUtil;->copyMemory(J[BJJ)V iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v1, v8 iput-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J .line 3527 invoke-static {v0}, Lcom/google/protobuf/ByteString;->wrap([B)Lcom/google/protobuf/ByteString; move-result-object v0 return-object v0 :cond_1 if-lez v0, :cond_5 .line 3529 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->remaining()I move-result v1 if-gt v0, v1, :cond_5 iget-boolean v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->immutable:Z if-eqz v1, :cond_4 iget-boolean v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->enableAliasing:Z if-eqz v1, :cond_4 .line 3531 new-instance v1, Ljava/util/ArrayList; invoke-direct {v1}, Ljava/util/ArrayList;->()V :goto_0 if-lez v0, :cond_3 .line 3534 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v2 const-wide/16 v4, 0x0 cmp-long v2, v2, v4 if-nez v2, :cond_2 .line 3535 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getNextByteBuffer()V .line 3537 :cond_2 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v2 long-to-int v2, v2 invoke-static {v0, v2}, Ljava/lang/Math;->min(II)I move-result v2 iget-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iget-wide v5, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentAddress:J sub-long/2addr v3, v5 long-to-int v3, v3 add-int v4, v3, v2 .line 3539 invoke-direct {p0, v3, v4}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->slice(II)Ljava/nio/ByteBuffer; move-result-object v3 invoke-static {v3}, Lcom/google/protobuf/ByteString;->wrap(Ljava/nio/ByteBuffer;)Lcom/google/protobuf/ByteString; move-result-object v3 invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z sub-int/2addr v0, v2 iget-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J int-to-long v5, v2 add-long/2addr v3, v5 iput-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J goto :goto_0 .line 3543 :cond_3 invoke-static {v1}, Lcom/google/protobuf/ByteString;->copyFrom(Ljava/lang/Iterable;)Lcom/google/protobuf/ByteString; move-result-object v0 return-object v0 .line 3545 :cond_4 new-array v1, v0, [B const/4 v2, 0x0 .line 3546 invoke-direct {p0, v1, v2, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawBytesTo([BII)V .line 3547 invoke-static {v1}, Lcom/google/protobuf/ByteString;->wrap([B)Lcom/google/protobuf/ByteString; move-result-object v0 return-object v0 :cond_5 if-nez v0, :cond_6 .line 3552 sget-object v0, Lcom/google/protobuf/ByteString;->EMPTY:Lcom/google/protobuf/ByteString; return-object v0 :cond_6 if-gez v0, :cond_7 .line 3555 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .line 3557 :cond_7 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method public readDouble()D .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3356 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian64()J move-result-wide v0 invoke-static {v0, v1}, Ljava/lang/Double;->longBitsToDouble(J)D move-result-wide v0 return-wide v0 .end method .method public readEnum()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3602 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 return v0 .end method .method public readFixed32()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3386 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian32()I move-result v0 return v0 .end method .method public readFixed64()J .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3381 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian64()J move-result-wide v0 return-wide v0 .end method .method public readFloat()F .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3361 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian32()I move-result v0 invoke-static {v0}, Ljava/lang/Float;->intBitsToFloat(I)F move-result v0 return v0 .end method .method public readGroup(ILcom/google/protobuf/Parser;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/MessageLite; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Lcom/google/protobuf/Parser<", "TT;>;", "Lcom/google/protobuf/ExtensionRegistryLite;", ")TT;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3464 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream;->checkRecursionLimit()V iget v0, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 v0, v0, 0x1 iput v0, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I .line 3466 invoke-interface {p2, p0, p3}, Lcom/google/protobuf/Parser;->parsePartialFrom(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Ljava/lang/Object; move-result-object p2 check-cast p2, Lcom/google/protobuf/MessageLite; const/4 p3, 0x4 .line 3467 invoke-static {p1, p3}, Lcom/google/protobuf/WireFormat;->makeTag(II)I move-result p1 invoke-virtual {p0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->checkLastTagWas(I)V iget p1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p1, p1, -0x1 iput p1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I return-object p2 .end method .method public readGroup(ILcom/google/protobuf/MessageLite$Builder;Lcom/google/protobuf/ExtensionRegistryLite;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3450 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream;->checkRecursionLimit()V iget v0, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 v0, v0, 0x1 iput v0, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I .line 3452 invoke-interface {p2, p0, p3}, Lcom/google/protobuf/MessageLite$Builder;->mergeFrom(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/MessageLite$Builder; const/4 p2, 0x4 .line 3453 invoke-static {p1, p2}, Lcom/google/protobuf/WireFormat;->makeTag(II)I move-result p1 invoke-virtual {p0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->checkLastTagWas(I)V iget p1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p1, p1, -0x1 iput p1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I return-void .end method .method public readInt32()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3376 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 return v0 .end method .method public readInt64()J .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3371 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint64()J move-result-wide v0 return-wide v0 .end method .method public readMessage(Lcom/google/protobuf/Parser;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/MessageLite; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/protobuf/Parser<", "TT;>;", "Lcom/google/protobuf/ExtensionRegistryLite;", ")TT;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3500 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 .line 3501 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream;->checkRecursionLimit()V .line 3502 invoke-virtual {p0, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->pushLimit(I)I move-result v0 iget v1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 v1, v1, 0x1 iput v1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I .line 3504 invoke-interface {p1, p0, p2}, Lcom/google/protobuf/Parser;->parsePartialFrom(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/google/protobuf/MessageLite; const/4 p2, 0x0 .line 3505 invoke-virtual {p0, p2}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->checkLastTagWas(I)V iget p2, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p2, p2, -0x1 iput p2, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I .line 3507 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getBytesUntilLimit()I move-result p2 if-nez p2, :cond_0 .line 3510 invoke-virtual {p0, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->popLimit(I)V return-object p1 .line 3508 :cond_0 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readMessage(Lcom/google/protobuf/MessageLite$Builder;Lcom/google/protobuf/ExtensionRegistryLite;)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3483 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 .line 3484 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream;->checkRecursionLimit()V .line 3485 invoke-virtual {p0, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->pushLimit(I)I move-result v0 iget v1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 v1, v1, 0x1 iput v1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I .line 3487 invoke-interface {p1, p0, p2}, Lcom/google/protobuf/MessageLite$Builder;->mergeFrom(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/MessageLite$Builder; const/4 p1, 0x0 .line 3488 invoke-virtual {p0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->checkLastTagWas(I)V iget p1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p1, p1, -0x1 iput p1, p0, Lcom/google/protobuf/CodedInputStream;->recursionDepth:I .line 3490 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getBytesUntilLimit()I move-result p1 if-nez p1, :cond_0 .line 3493 invoke-virtual {p0, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->popLimit(I)V return-void .line 3491 :cond_0 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readRawByte()B .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3847 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v0 const-wide/16 v2, 0x0 cmp-long v0, v0, v2 if-nez v0, :cond_0 .line 3848 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getNextByteBuffer()V :cond_0 iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J const-wide/16 v2, 0x1 add-long/2addr v2, v0 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J .line 3850 invoke-static {v0, v1}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v0 return v0 .end method .method public readRawBytes(I)[B .locals 9 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation if-ltz p1, :cond_0 int-to-long v7, p1 .line 3855 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v0 cmp-long v0, v7, v0 if-gtz v0, :cond_0 .line 3856 new-array p1, p1, [B iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J const-wide/16 v3, 0x0 move-object v2, p1 move-wide v5, v7 .line 3857 invoke-static/range {v0 .. v6}, Lcom/google/protobuf/UnsafeUtil;->copyMemory(J[BJJ)V iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v0, v7 iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J return-object p1 :cond_0 if-ltz p1, :cond_1 .line 3861 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->remaining()I move-result v0 if-gt p1, v0, :cond_1 .line 3862 new-array v0, p1, [B const/4 v1, 0x0 .line 3863 invoke-direct {p0, v0, v1, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawBytesTo([BII)V return-object v0 :cond_1 if-gtz p1, :cond_3 if-nez p1, :cond_2 .line 3869 sget-object p1, Lcom/google/protobuf/Internal;->EMPTY_BYTE_ARRAY:[B return-object p1 .line 3871 :cond_2 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 3875 :cond_3 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readRawLittleEndian32()I .locals 5 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3742 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v0 const-wide/16 v2, 0x4 cmp-long v0, v0, v2 if-ltz v0, :cond_0 iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v2, v0 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J .line 3745 invoke-static {v0, v1}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v2 and-int/lit16 v2, v2, 0xff const-wide/16 v3, 0x1 add-long/2addr v3, v0 .line 3746 invoke-static {v3, v4}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v3 and-int/lit16 v3, v3, 0xff shl-int/lit8 v3, v3, 0x8 or-int/2addr v2, v3 const-wide/16 v3, 0x2 add-long/2addr v3, v0 .line 3747 invoke-static {v3, v4}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v3 and-int/lit16 v3, v3, 0xff shl-int/lit8 v3, v3, 0x10 or-int/2addr v2, v3 const-wide/16 v3, 0x3 add-long/2addr v0, v3 .line 3748 invoke-static {v0, v1}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v0 and-int/lit16 v0, v0, 0xff shl-int/lit8 v0, v0, 0x18 or-int/2addr v0, v2 return v0 .line 3750 :cond_0 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v0 and-int/lit16 v0, v0, 0xff .line 3751 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 and-int/lit16 v1, v1, 0xff shl-int/lit8 v1, v1, 0x8 or-int/2addr v0, v1 .line 3752 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 and-int/lit16 v1, v1, 0xff shl-int/lit8 v1, v1, 0x10 or-int/2addr v0, v1 .line 3753 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 and-int/lit16 v1, v1, 0xff shl-int/lit8 v1, v1, 0x18 or-int/2addr v0, v1 return v0 .end method .method public readRawLittleEndian64()J .locals 17 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation move-object/from16 v0, p0 .line 3758 invoke-direct/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v1 const-wide/16 v3, 0x8 cmp-long v1, v1, v3 const/16 v2, 0x38 const/16 v7, 0x20 const/16 v8, 0x18 const/16 v9, 0x10 const/16 v10, 0x8 const-wide/16 v11, 0xff if-ltz v1, :cond_0 iget-wide v13, v0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v3, v13 iput-wide v3, v0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J .line 3761 invoke-static {v13, v14}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 int-to-long v3, v1 and-long/2addr v3, v11 const-wide/16 v15, 0x1 add-long/2addr v15, v13 .line 3762 invoke-static/range {v15 .. v16}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v10 or-long/2addr v3, v5 const-wide/16 v5, 0x2 add-long/2addr v5, v13 .line 3763 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v9 or-long/2addr v3, v5 const-wide/16 v5, 0x3 add-long/2addr v5, v13 .line 3764 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v8 or-long/2addr v3, v5 const-wide/16 v5, 0x4 add-long/2addr v5, v13 .line 3765 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v7 or-long/2addr v3, v5 const-wide/16 v5, 0x5 add-long/2addr v5, v13 .line 3766 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 const/16 v1, 0x28 shl-long/2addr v5, v1 or-long/2addr v3, v5 const-wide/16 v5, 0x6 add-long/2addr v5, v13 .line 3767 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 const/16 v1, 0x30 shl-long/2addr v5, v1 or-long/2addr v3, v5 const-wide/16 v5, 0x7 add-long/2addr v13, v5 .line 3768 invoke-static {v13, v14}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v1 :goto_0 int-to-long v5, v1 and-long/2addr v5, v11 shl-long v1, v5, v2 or-long/2addr v1, v3 return-wide v1 .line 3770 :cond_0 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 int-to-long v3, v1 and-long/2addr v3, v11 .line 3771 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v10 or-long/2addr v3, v5 .line 3772 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v9 or-long/2addr v3, v5 .line 3773 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v8 or-long/2addr v3, v5 .line 3774 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 shl-long/2addr v5, v7 or-long/2addr v3, v5 .line 3775 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 const/16 v1, 0x28 shl-long/2addr v5, v1 or-long/2addr v3, v5 .line 3776 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 int-to-long v5, v1 and-long/2addr v5, v11 const/16 v1, 0x30 shl-long/2addr v5, v1 or-long/2addr v3, v5 .line 3777 invoke-virtual/range {p0 .. p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v1 goto :goto_0 .end method .method public readRawVarint32()I .locals 11 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J cmp-long v2, v2, v0 if-nez v2, :cond_0 goto/16 :goto_2 :cond_0 const-wide/16 v2, 0x1 add-long v4, v0, v2 .line 3636 invoke-static {v0, v1}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v6 if-ltz v6, :cond_1 iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v0, v2 iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J return v6 :cond_1 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iget-wide v7, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v2, v7 const-wide/16 v7, 0xa cmp-long v2, v2, v7 if-gez v2, :cond_2 goto/16 :goto_2 :cond_2 const-wide/16 v2, 0x2 add-long/2addr v2, v0 .line 3641 invoke-static {v4, v5}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v4 shl-int/lit8 v4, v4, 0x7 xor-int/2addr v4, v6 if-gez v4, :cond_3 xor-int/lit8 v0, v4, -0x80 goto/16 :goto_3 :cond_3 const-wide/16 v5, 0x3 add-long/2addr v5, v0 .line 3643 invoke-static {v2, v3}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v2 shl-int/lit8 v2, v2, 0xe xor-int/2addr v2, v4 if-ltz v2, :cond_4 xor-int/lit16 v0, v2, 0x3f80 :goto_0 move-wide v2, v5 goto :goto_3 :cond_4 const-wide/16 v3, 0x4 add-long/2addr v3, v0 .line 3645 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v5 shl-int/lit8 v5, v5, 0x15 xor-int/2addr v2, v5 if-gez v2, :cond_5 const v0, -0x1fc080 xor-int/2addr v0, v2 :goto_1 move-wide v2, v3 goto :goto_3 :cond_5 const-wide/16 v5, 0x5 add-long/2addr v5, v0 .line 3648 invoke-static {v3, v4}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v3 shl-int/lit8 v4, v3, 0x1c xor-int/2addr v2, v4 const v4, 0xfe03f80 xor-int/2addr v2, v4 if-gez v3, :cond_7 const-wide/16 v3, 0x6 add-long/2addr v3, v0 .line 3652 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v5 if-gez v5, :cond_8 const-wide/16 v5, 0x7 add-long/2addr v5, v0 .line 3653 invoke-static {v3, v4}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v3 if-gez v3, :cond_7 const-wide/16 v3, 0x8 add-long/2addr v3, v0 .line 3654 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v5 if-gez v5, :cond_8 const-wide/16 v5, 0x9 add-long/2addr v5, v0 .line 3655 invoke-static {v3, v4}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v3 if-gez v3, :cond_7 add-long/2addr v0, v7 .line 3656 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v3 if-gez v3, :cond_6 .line 3663 :goto_2 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint64SlowPath()J move-result-wide v0 long-to-int v0, v0 return v0 :cond_6 move-wide v9, v0 move v0, v2 move-wide v2, v9 goto :goto_3 :cond_7 move v0, v2 goto :goto_0 :cond_8 move v0, v2 goto :goto_1 :goto_3 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J return v0 .end method .method public readRawVarint64()J .locals 15 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J cmp-long v2, v2, v0 if-nez v2, :cond_0 goto/16 :goto_3 :cond_0 const-wide/16 v2, 0x1 add-long v4, v0, v2 .line 3678 invoke-static {v0, v1}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v6 if-ltz v6, :cond_1 iget-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v0, v2 iput-wide v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J int-to-long v0, v6 return-wide v0 :cond_1 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iget-wide v7, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v2, v7 const-wide/16 v7, 0xa cmp-long v2, v2, v7 if-gez v2, :cond_2 goto/16 :goto_3 :cond_2 const-wide/16 v2, 0x2 add-long/2addr v2, v0 .line 3683 invoke-static {v4, v5}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v4 shl-int/lit8 v4, v4, 0x7 xor-int/2addr v4, v6 if-gez v4, :cond_3 xor-int/lit8 v0, v4, -0x80 int-to-long v0, v0 goto/16 :goto_4 :cond_3 const-wide/16 v5, 0x3 add-long/2addr v5, v0 .line 3685 invoke-static {v2, v3}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v2 shl-int/lit8 v2, v2, 0xe xor-int/2addr v2, v4 if-ltz v2, :cond_4 xor-int/lit16 v0, v2, 0x3f80 int-to-long v0, v0 move-wide v2, v5 goto/16 :goto_4 :cond_4 const-wide/16 v3, 0x4 add-long/2addr v3, v0 .line 3687 invoke-static {v5, v6}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v5 shl-int/lit8 v5, v5, 0x15 xor-int/2addr v2, v5 if-gez v2, :cond_5 const v0, -0x1fc080 xor-int/2addr v0, v2 int-to-long v0, v0 move-wide v2, v3 goto/16 :goto_4 :cond_5 int-to-long v5, v2 const-wide/16 v9, 0x5 add-long/2addr v9, v0 .line 3689 invoke-static {v3, v4}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v2 int-to-long v2, v2 const/16 v4, 0x1c shl-long/2addr v2, v4 xor-long/2addr v2, v5 const-wide/16 v4, 0x0 cmp-long v6, v2, v4 if-ltz v6, :cond_6 const-wide/32 v0, 0xfe03f80 :goto_0 xor-long/2addr v0, v2 :goto_1 move-wide v2, v9 goto/16 :goto_4 :cond_6 const-wide/16 v11, 0x6 add-long/2addr v11, v0 .line 3691 invoke-static {v9, v10}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v6 int-to-long v9, v6 const/16 v6, 0x23 shl-long/2addr v9, v6 xor-long/2addr v2, v9 cmp-long v6, v2, v4 if-gez v6, :cond_7 const-wide v0, -0x7f01fc080L :goto_2 xor-long/2addr v0, v2 move-wide v2, v11 goto :goto_4 :cond_7 const-wide/16 v9, 0x7 add-long/2addr v9, v0 .line 3693 invoke-static {v11, v12}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v6 int-to-long v11, v6 const/16 v6, 0x2a shl-long/2addr v11, v6 xor-long/2addr v2, v11 cmp-long v6, v2, v4 if-ltz v6, :cond_8 const-wide v0, 0x3f80fe03f80L goto :goto_0 :cond_8 const-wide/16 v11, 0x8 add-long/2addr v11, v0 .line 3695 invoke-static {v9, v10}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v6 int-to-long v9, v6 const/16 v6, 0x31 shl-long/2addr v9, v6 xor-long/2addr v2, v9 cmp-long v6, v2, v4 if-gez v6, :cond_9 const-wide v0, -0x1fc07f01fc080L goto :goto_2 :cond_9 const-wide/16 v9, 0x9 add-long/2addr v9, v0 .line 3705 invoke-static {v11, v12}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v6 int-to-long v11, v6 const/16 v6, 0x38 shl-long/2addr v11, v6 xor-long/2addr v2, v11 const-wide v11, 0xfe03f80fe03f80L xor-long/2addr v2, v11 cmp-long v6, v2, v4 if-gez v6, :cond_b add-long/2addr v0, v7 .line 3716 invoke-static {v9, v10}, Lcom/google/protobuf/UnsafeUtil;->getByte(J)B move-result v6 int-to-long v6, v6 cmp-long v4, v6, v4 if-gez v4, :cond_a .line 3724 :goto_3 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint64SlowPath()J move-result-wide v0 return-wide v0 :cond_a move-wide v13, v0 move-wide v0, v2 move-wide v2, v13 goto :goto_4 :cond_b move-wide v0, v2 goto :goto_1 :goto_4 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J return-wide v0 .end method .method public readRawVarint64SlowPath()J .locals 6 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation const-wide/16 v0, 0x0 const/4 v2, 0x0 :goto_0 const/16 v3, 0x40 if-ge v2, v3, :cond_1 .line 3731 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawByte()B move-result v3 and-int/lit8 v4, v3, 0x7f int-to-long v4, v4 shl-long/2addr v4, v2 or-long/2addr v0, v4 and-int/lit16 v3, v3, 0x80 if-nez v3, :cond_0 return-wide v0 :cond_0 add-int/lit8 v2, v2, 0x7 goto :goto_0 .line 3737 :cond_1 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->malformedVarint()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method public readSFixed32()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3607 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian32()I move-result v0 return v0 .end method .method public readSFixed64()J .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3612 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian64()J move-result-wide v0 return-wide v0 .end method .method public readSInt32()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3617 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 invoke-static {v0}, Lcom/google/protobuf/CodedInputStream;->decodeZigZag32(I)I move-result v0 return v0 .end method .method public readSInt64()J .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3622 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint64()J move-result-wide v0 invoke-static {v0, v1}, Lcom/google/protobuf/CodedInputStream;->decodeZigZag64(J)J move-result-wide v0 return-wide v0 .end method .method public readString()Ljava/lang/String; .locals 10 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3396 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 if-lez v0, :cond_0 int-to-long v8, v0 iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iget-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v1, v3 cmp-long v1, v8, v1 if-gtz v1, :cond_0 .line 3398 new-array v0, v0, [B const-wide/16 v5, 0x0 move-wide v1, v3 move-object v3, v0 move-wide v4, v5 move-wide v6, v8 .line 3399 invoke-static/range {v1 .. v7}, Lcom/google/protobuf/UnsafeUtil;->copyMemory(J[BJJ)V .line 3400 new-instance v1, Ljava/lang/String; sget-object v2, Lcom/google/protobuf/Internal;->UTF_8:Ljava/nio/charset/Charset; invoke-direct {v1, v0, v2}, Ljava/lang/String;->([BLjava/nio/charset/Charset;)V iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v2, v8 iput-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J return-object v1 :cond_0 if-lez v0, :cond_1 .line 3403 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->remaining()I move-result v1 if-gt v0, v1, :cond_1 .line 3405 new-array v1, v0, [B const/4 v2, 0x0 .line 3406 invoke-direct {p0, v1, v2, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawBytesTo([BII)V .line 3407 new-instance v0, Ljava/lang/String; sget-object v2, Lcom/google/protobuf/Internal;->UTF_8:Ljava/nio/charset/Charset; invoke-direct {v0, v1, v2}, Ljava/lang/String;->([BLjava/nio/charset/Charset;)V return-object v0 :cond_1 if-nez v0, :cond_2 const-string v0, "" return-object v0 :cond_2 if-gez v0, :cond_3 .line 3415 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .line 3417 :cond_3 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method public readStringRequireUtf8()Ljava/lang/String; .locals 7 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3422 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 if-lez v0, :cond_0 int-to-long v1, v0 iget-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferLimit:J iget-wide v5, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v3, v5 cmp-long v3, v1, v3 if-gtz v3, :cond_0 iget-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J sub-long/2addr v5, v3 long-to-int v3, v5 iget-object v4, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBuffer:Ljava/nio/ByteBuffer; .line 3425 invoke-static {v4, v3, v0}, Lcom/google/protobuf/Utf8;->decodeUtf8(Ljava/nio/ByteBuffer;II)Ljava/lang/String; move-result-object v0 iget-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v3, v1 iput-wide v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J return-object v0 :cond_0 if-ltz v0, :cond_1 .line 3429 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->remaining()I move-result v1 if-gt v0, v1, :cond_1 .line 3430 new-array v1, v0, [B const/4 v2, 0x0 .line 3431 invoke-direct {p0, v1, v2, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawBytesTo([BII)V .line 3432 invoke-static {v1, v2, v0}, Lcom/google/protobuf/Utf8;->decodeUtf8([BII)Ljava/lang/String; move-result-object v0 return-object v0 :cond_1 if-nez v0, :cond_2 const-string v0, "" return-object v0 :cond_2 if-gtz v0, :cond_3 .line 3439 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .line 3441 :cond_3 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method public readTag()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3228 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->isAtEnd()Z move-result v0 if-eqz v0, :cond_0 const/4 v0, 0x0 iput v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->lastTag:I return v0 .line 3233 :cond_0 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 iput v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->lastTag:I .line 3234 invoke-static {v0}, Lcom/google/protobuf/WireFormat;->getTagFieldNumber(I)I move-result v0 if-eqz v0, :cond_1 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->lastTag:I return v0 .line 3237 :cond_1 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->invalidTag()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method public readUInt32()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3597 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result v0 return v0 .end method .method public readUInt64()J .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3366 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint64()J move-result-wide v0 return-wide v0 .end method .method public readUnknownGroup(ILcom/google/protobuf/MessageLite$Builder;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation .line 3476 invoke-static {}, Lcom/google/protobuf/ExtensionRegistryLite;->getEmptyRegistry()Lcom/google/protobuf/ExtensionRegistryLite; move-result-object v0 invoke-virtual {p0, p1, p2, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readGroup(ILcom/google/protobuf/MessageLite$Builder;Lcom/google/protobuf/ExtensionRegistryLite;)V return-void .end method .method public resetSizeCounter()V .locals 4 iget v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I int-to-long v0, v0 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J add-long/2addr v0, v2 iget-wide v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J sub-long/2addr v0, v2 long-to-int v0, v0 iput v0, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->startOffset:I return-void .end method .method public skipField(I)Z .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3256 invoke-static {p1}, Lcom/google/protobuf/WireFormat;->getTagWireType(I)I move-result v0 const/4 v1, 0x1 if-eqz v0, :cond_5 if-eq v0, v1, :cond_4 const/4 v2, 0x2 if-eq v0, v2, :cond_3 const/4 v2, 0x3 const/4 v3, 0x4 if-eq v0, v2, :cond_2 if-eq v0, v3, :cond_1 const/4 p1, 0x5 if-ne v0, p1, :cond_0 .line 3274 invoke-virtual {p0, v3}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipRawBytes(I)V return v1 .line 3277 :cond_0 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->invalidWireType()Lcom/google/protobuf/InvalidProtocolBufferException$InvalidWireTypeException; move-result-object p1 throw p1 :cond_1 const/4 p1, 0x0 return p1 .line 3267 :cond_2 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipMessage()V .line 3269 invoke-static {p1}, Lcom/google/protobuf/WireFormat;->getTagFieldNumber(I)I move-result p1 invoke-static {p1, v3}, Lcom/google/protobuf/WireFormat;->makeTag(II)I move-result p1 .line 3268 invoke-virtual {p0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->checkLastTagWas(I)V return v1 .line 3264 :cond_3 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawVarint32()I move-result p1 invoke-virtual {p0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipRawBytes(I)V return v1 :cond_4 const/16 p1, 0x8 .line 3261 invoke-virtual {p0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipRawBytes(I)V return v1 .line 3258 :cond_5 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipRawVarint()V return v1 .end method .method public skipField(ILcom/google/protobuf/CodedOutputStream;)Z .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3283 invoke-static {p1}, Lcom/google/protobuf/WireFormat;->getTagWireType(I)I move-result v0 const/4 v1, 0x1 if-eqz v0, :cond_5 if-eq v0, v1, :cond_4 const/4 v2, 0x2 if-eq v0, v2, :cond_3 const/4 v2, 0x3 const/4 v3, 0x4 if-eq v0, v2, :cond_2 if-eq v0, v3, :cond_1 const/4 v2, 0x5 if-ne v0, v2, :cond_0 .line 3322 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian32()I move-result v0 .line 3323 invoke-virtual {p2, p1}, Lcom/google/protobuf/CodedOutputStream;->writeUInt32NoTag(I)V .line 3324 invoke-virtual {p2, v0}, Lcom/google/protobuf/CodedOutputStream;->writeFixed32NoTag(I)V return v1 .line 3328 :cond_0 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->invalidWireType()Lcom/google/protobuf/InvalidProtocolBufferException$InvalidWireTypeException; move-result-object p1 throw p1 :cond_1 const/4 p1, 0x0 return p1 .line 3307 :cond_2 invoke-virtual {p2, p1}, Lcom/google/protobuf/CodedOutputStream;->writeUInt32NoTag(I)V .line 3308 invoke-virtual {p0, p2}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipMessage(Lcom/google/protobuf/CodedOutputStream;)V .line 3311 invoke-static {p1}, Lcom/google/protobuf/WireFormat;->getTagFieldNumber(I)I move-result p1 .line 3310 invoke-static {p1, v3}, Lcom/google/protobuf/WireFormat;->makeTag(II)I move-result p1 .line 3312 invoke-virtual {p0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->checkLastTagWas(I)V .line 3313 invoke-virtual {p2, p1}, Lcom/google/protobuf/CodedOutputStream;->writeUInt32NoTag(I)V return v1 .line 3300 :cond_3 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readBytes()Lcom/google/protobuf/ByteString; move-result-object v0 .line 3301 invoke-virtual {p2, p1}, Lcom/google/protobuf/CodedOutputStream;->writeUInt32NoTag(I)V .line 3302 invoke-virtual {p2, v0}, Lcom/google/protobuf/CodedOutputStream;->writeBytesNoTag(Lcom/google/protobuf/ByteString;)V return v1 .line 3293 :cond_4 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readRawLittleEndian64()J move-result-wide v2 .line 3294 invoke-virtual {p2, p1}, Lcom/google/protobuf/CodedOutputStream;->writeUInt32NoTag(I)V .line 3295 invoke-virtual {p2, v2, v3}, Lcom/google/protobuf/CodedOutputStream;->writeFixed64NoTag(J)V return v1 .line 3286 :cond_5 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readInt64()J move-result-wide v2 .line 3287 invoke-virtual {p2, p1}, Lcom/google/protobuf/CodedOutputStream;->writeUInt32NoTag(I)V .line 3288 invoke-virtual {p2, v2, v3}, Lcom/google/protobuf/CodedOutputStream;->writeUInt64NoTag(J)V return v1 .end method .method public skipMessage()V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3335 :cond_0 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readTag()I move-result v0 if-eqz v0, :cond_1 .line 3336 invoke-virtual {p0, v0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipField(I)Z move-result v0 if-nez v0, :cond_0 :cond_1 return-void .end method .method public skipMessage(Lcom/google/protobuf/CodedOutputStream;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 3345 :cond_0 invoke-virtual {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->readTag()I move-result v0 if-eqz v0, :cond_1 .line 3346 invoke-virtual {p0, v0, p1}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->skipField(ILcom/google/protobuf/CodedOutputStream;)Z move-result v0 if-nez v0, :cond_0 :cond_1 return-void .end method .method public skipRawBytes(I)V .locals 6 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation if-ltz p1, :cond_2 int-to-long v0, p1 iget v2, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBufferSize:I iget v3, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->totalBytesRead:I sub-int/2addr v2, v3 int-to-long v2, v2 iget-wide v4, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J sub-long/2addr v2, v4 iget-wide v4, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferStartPos:J add-long/2addr v2, v4 cmp-long v0, v0, v2 if-gtz v0, :cond_2 :goto_0 if-lez p1, :cond_1 .line 3919 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v0 const-wide/16 v2, 0x0 cmp-long v0, v0, v2 if-nez v0, :cond_0 .line 3920 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->getNextByteBuffer()V .line 3922 :cond_0 invoke-direct {p0}, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentRemaining()J move-result-wide v0 long-to-int v0, v0 invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I move-result v0 sub-int/2addr p1, v0 iget-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J int-to-long v3, v0 add-long/2addr v1, v3 iput-wide v1, p0, Lcom/google/protobuf/CodedInputStream$IterableDirectByteBufferDecoder;->currentByteBufferPos:J goto :goto_0 :cond_1 return-void :cond_2 if-gez p1, :cond_3 .line 3930 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->negativeSize()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 3932 :cond_3 invoke-static {}, Lcom/google/protobuf/InvalidProtocolBufferException;->truncatedMessage()Lcom/google/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method