.class final Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder; .super Landroidx/datastore/preferences/protobuf/CodedInputStream; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/datastore/preferences/protobuf/CodedInputStream; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "StreamDecoder" .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder$RefillCallback;, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder$SkippedDataSink; } .end annotation # instance fields .field private final buffer:[B .field private bufferSize:I .field private bufferSizeAfterLimit:I .field private currentLimit:I .field private final input:Ljava/io/InputStream; .field private lastTag:I .field private pos:I .field private refillCallback:Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder$RefillCallback; .field private totalBytesRetired:I # direct methods .method private constructor (Ljava/io/InputStream;I)V .locals 2 const/4 v0, 0x0 .line 2048 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream;->(Landroidx/datastore/preferences/protobuf/CodedInputStream$1;)V const v1, 0x7fffffff iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I iput-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillCallback:Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder$RefillCallback; const-string v0, "input" .line 2049 invoke-static {p1, v0}, Landroidx/datastore/preferences/protobuf/Internal;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; iput-object p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; .line 2051 new-array p1, p2, [B iput-object p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B const/4 p1, 0x0 iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I return-void .end method .method public synthetic constructor (Ljava/io/InputStream;ILandroidx/datastore/preferences/protobuf/CodedInputStream$1;)V .locals 0 .line 2027 invoke-direct {p0, p1, p2}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->(Ljava/io/InputStream;I)V return-void .end method .method public static synthetic access$500(Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;)I .locals 0 .line 2027 iget p0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return p0 .end method .method public static synthetic access$600(Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;)[B .locals 0 .line 2027 iget-object p0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B return-object p0 .end method .method private readBytesSlowPath(I)Landroidx/datastore/preferences/protobuf/ByteString; .locals 5 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2974 invoke-direct {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPathOneChunk(I)[B move-result-object v0 if-eqz v0, :cond_0 .line 2978 invoke-static {v0}, Landroidx/datastore/preferences/protobuf/ByteString;->copyFrom([B)Landroidx/datastore/preferences/protobuf/ByteString; move-result-object p1 return-object p1 :cond_0 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int v2, v1, v0 iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v3, v1 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I const/4 v1, 0x0 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int v3, p1, v2 .line 2994 invoke-direct {p0, v3}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPathRemainingChunks(I)Ljava/util/List; move-result-object v3 .line 2997 new-array p1, p1, [B iget-object v4, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B .line 3000 invoke-static {v4, v0, p1, v1, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V .line 3004 invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object v0 :goto_0 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v3 if-eqz v3, :cond_1 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v3 check-cast v3, [B .line 3005 array-length v4, v3 invoke-static {v3, v1, p1, v2, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V .line 3006 array-length v3, v3 add-int/2addr v2, v3 goto :goto_0 .line 3009 :cond_1 invoke-static {p1}, Landroidx/datastore/preferences/protobuf/ByteString;->wrap([B)Landroidx/datastore/preferences/protobuf/ByteString; move-result-object p1 return-object p1 .end method .method private readRawBytesSlowPath(IZ)[B .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2839 invoke-direct {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPathOneChunk(I)[B move-result-object v0 if-eqz v0, :cond_1 if-eqz p2, :cond_0 .line 2841 invoke-virtual {v0}, [B->clone()Ljava/lang/Object; move-result-object p1 move-object v0, p1 check-cast v0, [B :cond_0 return-object v0 :cond_1 iget p2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int v1, v0, p2 iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v2, v0 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I const/4 v0, 0x0 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int v2, p1, v1 .line 2857 invoke-direct {p0, v2}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPathRemainingChunks(I)Ljava/util/List; move-result-object v2 .line 2860 new-array p1, p1, [B iget-object v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B .line 2863 invoke-static {v3, p2, p1, v0, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V .line 2867 invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object p2 :goto_0 invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z move-result v2 if-eqz v2, :cond_2 invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v2 check-cast v2, [B .line 2868 array-length v3, v2 invoke-static {v2, v0, p1, v1, v3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V .line 2869 array-length v2, v2 add-int/2addr v1, v2 goto :goto_0 :cond_2 return-object p1 .end method .method private readRawBytesSlowPathOneChunk(I)[B .locals 5 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation if-nez p1, :cond_0 .line 2884 sget-object p1, Landroidx/datastore/preferences/protobuf/Internal;->EMPTY_BYTE_ARRAY:[B return-object p1 :cond_0 if-ltz p1, :cond_7 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int v2, v0, v1 add-int/2addr v2, p1 iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->sizeLimit:I sub-int v3, v2, v3 if-gtz v3, :cond_6 iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I if-gt v2, v3, :cond_5 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int/2addr v0, v1 sub-int v1, p1, v0 const/16 v2, 0x1000 if-lt v1, v2, :cond_2 iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; .line 2907 invoke-virtual {v2}, Ljava/io/InputStream;->available()I move-result v2 if-gt v1, v2, :cond_1 goto :goto_0 :cond_1 const/4 p1, 0x0 return-object p1 .line 2910 :cond_2 :goto_0 new-array v1, p1, [B iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I const/4 v4, 0x0 .line 2913 invoke-static {v2, v3, v1, v4, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I add-int/2addr v2, v3 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iput v4, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iput v4, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I :goto_1 if-ge v0, p1, :cond_4 iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; sub-int v3, p1, v0 .line 2921 invoke-virtual {v2, v1, v0, v3}, Ljava/io/InputStream;->read([BII)I move-result v2 const/4 v3, -0x1 if-eq v2, v3, :cond_3 iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v3, v2 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v0, v2 goto :goto_1 .line 2923 :cond_3 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->truncatedMessage()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 :cond_4 return-object v1 :cond_5 sub-int/2addr v3, v0 sub-int/2addr v3, v1 .line 2899 invoke-virtual {p0, v3}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawBytes(I)V .line 2900 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->truncatedMessage()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 2893 :cond_6 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->sizeLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 2887 :cond_7 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->negativeSize()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method private readRawBytesSlowPathRemainingChunks(I)Ljava/util/List; .locals 6 .annotation system Ldalvik/annotation/Signature; value = { "(I)", "Ljava/util/List<", "[B>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2948 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V :goto_0 if-lez p1, :cond_2 const/16 v1, 0x1000 .line 2952 invoke-static {p1, v1}, Ljava/lang/Math;->min(II)I move-result v1 new-array v2, v1, [B const/4 v3, 0x0 :goto_1 if-ge v3, v1, :cond_1 iget-object v4, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; sub-int v5, v1, v3 .line 2955 invoke-virtual {v4, v2, v3, v5}, Ljava/io/InputStream;->read([BII)I move-result v4 const/4 v5, -0x1 if-eq v4, v5, :cond_0 iget v5, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v5, v4 iput v5, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v3, v4 goto :goto_1 .line 2957 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->truncatedMessage()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 :cond_1 sub-int/2addr p1, v1 .line 2963 invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z goto :goto_0 :cond_2 return-object v0 .end method .method private recomputeBufferSizeAfterLimit()V .locals 3 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSizeAfterLimit:I add-int/2addr v0, v1 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v1, v0 iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I if-le v1, v2, :cond_0 sub-int/2addr v1, v2 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSizeAfterLimit:I sub-int/2addr v0, v1 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I goto :goto_0 :cond_0 const/4 v0, 0x0 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSizeAfterLimit:I :goto_0 return-void .end method .method private refillBuffer(I)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2731 invoke-direct {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->tryRefillBuffer(I)Z move-result v0 if-nez v0, :cond_1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->sizeLimit:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I sub-int/2addr v0, v1 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int/2addr v0, v1 if-le p1, v0, :cond_0 .line 2735 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->sizeLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 2737 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->truncatedMessage()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 :cond_1 return-void .end method .method private skipRawBytesSlowPath(I)V .locals 8 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation if-ltz p1, :cond_7 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int v2, v0, v1 add-int/2addr v2, p1 iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I if-gt v2, v3, :cond_6 iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillCallback:Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder$RefillCallback; const/4 v3, 0x0 if-nez v2, :cond_3 add-int/2addr v0, v1 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int/2addr v0, v1 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I move v3, v0 :goto_0 if-ge v3, p1, :cond_2 sub-int v0, p1, v3 :try_start_0 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; int-to-long v4, v0 .line 3049 invoke-virtual {v1, v4, v5}, Ljava/io/InputStream;->skip(J)J move-result-wide v0 const-wide/16 v6, 0x0 cmp-long v2, v0, v6 if-ltz v2, :cond_1 cmp-long v4, v0, v4 if-gtz v4, :cond_1 if-nez v2, :cond_0 goto :goto_1 :cond_0 long-to-int v0, v0 add-int/2addr v3, v0 goto :goto_0 .line 3051 :cond_1 new-instance p1, Ljava/lang/IllegalStateException; new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V iget-object v4, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; .line 3052 invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v4 invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v4, "#skip returned invalid result: " invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; const-string v0, "\nThe InputStream implementation is buggy." invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 :catchall_0 move-exception p1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v0, v3 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I .line 3067 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->recomputeBufferSizeAfterLimit()V .line 3068 throw p1 :cond_2 :goto_1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v0, v3 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I .line 3067 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->recomputeBufferSizeAfterLimit()V :cond_3 if-ge v3, p1, :cond_5 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int v1, v0, v1 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I const/4 v0, 0x1 .line 3077 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillBuffer(I)V :goto_2 sub-int v2, p1, v1 iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-le v2, v3, :cond_4 add-int/2addr v1, v3 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I .line 3081 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillBuffer(I)V goto :goto_2 :cond_4 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I :cond_5 return-void :cond_6 sub-int/2addr v3, v0 sub-int/2addr v3, v1 .line 3033 invoke-virtual {p0, v3}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawBytes(I)V .line 3035 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->truncatedMessage()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 3028 :cond_7 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->negativeSize()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method private skipRawVarint()V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int/2addr v0, v1 const/16 v1, 0xa if-lt v0, v1, :cond_0 .line 2501 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawVarintFastPath()V goto :goto_0 .line 2503 :cond_0 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawVarintSlowPath()V :goto_0 return-void .end method .method private skipRawVarintFastPath()V .locals 4 .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 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/lit8 v3, v2, 0x1 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I .line 2509 aget-byte v1, v1, v2 if-ltz v1, :cond_0 return-void :cond_0 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 2513 :cond_1 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->malformedVarint()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method private skipRawVarintSlowPath()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 2518 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawByte()B move-result v1 if-ltz v1, :cond_0 return-void :cond_0 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 2522 :cond_1 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->malformedVarint()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object v0 throw v0 .end method .method private tryRefillBuffer(I)Z .locals 7 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int v1, v0, p1 iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-le v1, v2, :cond_8 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->sizeLimit:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I sub-int/2addr v1, v2 sub-int/2addr v1, v0 const/4 v3, 0x0 if-le p1, v1, :cond_0 return v3 :cond_0 add-int/2addr v2, v0 add-int/2addr v2, p1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I if-le v2, v0, :cond_1 return v3 :cond_1 iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillCallback:Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder$RefillCallback; if-eqz v0, :cond_2 .line 2770 invoke-interface {v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder$RefillCallback;->onRefill()V :cond_2 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I if-lez v0, :cond_4 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-le v1, v0, :cond_3 iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B sub-int/2addr v1, v0 .line 2776 invoke-static {v2, v0, v2, v3, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V :cond_3 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I add-int/2addr v1, v0 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int/2addr v1, v0 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I :cond_4 iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I .line 2784 array-length v4, v1 sub-int/2addr v4, v2 iget v5, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->sizeLimit:I iget v6, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I sub-int/2addr v5, v6 sub-int/2addr v5, v2 .line 2788 invoke-static {v4, v5}, Ljava/lang/Math;->min(II)I move-result v4 .line 2785 invoke-virtual {v0, v1, v2, v4}, Ljava/io/InputStream;->read([BII)I move-result v0 if-eqz v0, :cond_7 const/4 v1, -0x1 if-lt v0, v1, :cond_7 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B .line 2793 array-length v1, v1 if-gt v0, v1, :cond_7 if-lez v0, :cond_6 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I add-int/2addr v1, v0 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I .line 2802 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->recomputeBufferSizeAfterLimit()V iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-lt v0, p1, :cond_5 const/4 p1, 0x1 goto :goto_0 .line 2803 :cond_5 invoke-direct {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->tryRefillBuffer(I)Z move-result p1 :goto_0 return p1 :cond_6 return v3 .line 2794 :cond_7 new-instance p1, Ljava/lang/IllegalStateException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->input:Ljava/io/InputStream; .line 2795 invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v2 invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v2, "#read(byte[]) returned invalid result: " invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v0, "\nThe InputStream implementation is buggy." invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 .line 2752 :cond_8 new-instance v0, Ljava/lang/IllegalStateException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "refillBuffer() called when " invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string p1, " bytes were already available in buffer" invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 .end method # virtual methods .method public checkLastTagWas(I)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->lastTag:I if-ne v0, p1, :cond_0 return-void .line 2076 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->invalidEndTag()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public enableAliasing(Z)V .locals 0 return-void .end method .method public getBytesUntilLimit()I .locals 3 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I const v1, 0x7fffffff if-ne v0, v1, :cond_0 const/4 v0, -0x1 return v0 :cond_0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v1, v2 sub-int/2addr v0, v1 return v0 .end method .method public getLastTag()I .locals 1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->lastTag:I return v0 .end method .method public getTotalBytesRead()I .locals 2 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v0, v1 return v0 .end method .method public isAtEnd()Z .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-ne v0, v1, :cond_0 const/4 v0, 0x1 .line 2708 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->tryRefillBuffer(I)Z move-result v1 if-nez v1, :cond_0 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, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I .line 2693 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->recomputeBufferSizeAfterLimit()V return-void .end method .method public pushLimit(I)I .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; } .end annotation if-ltz p1, :cond_1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v0, v1 add-int/2addr p1, v0 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I if-gt p1, v0, :cond_0 iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->currentLimit:I .line 2673 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->recomputeBufferSizeAfterLimit()V return v0 .line 2669 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->truncatedMessage()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .line 2664 :cond_1 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->negativeSize()Landroidx/datastore/preferences/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 2248 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2391 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int/2addr v1, v2 if-gt v0, v1, :cond_0 if-lez v0, :cond_0 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B add-int v3, v2, v0 .line 2395 invoke-static {v1, v2, v3}, Ljava/util/Arrays;->copyOfRange([BII)[B move-result-object v1 iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v2, v0 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return-object v1 :cond_0 const/4 v1, 0x0 .line 2401 invoke-direct {p0, v0, v1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPath(IZ)[B move-result-object v0 return-object v0 .end method .method public readByteBuffer()Ljava/nio/ByteBuffer; .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2407 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int/2addr v1, v2 if-gt v0, v1, :cond_0 if-lez v0, :cond_0 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B add-int v3, v2, v0 .line 2410 invoke-static {v1, v2, v3}, Ljava/util/Arrays;->copyOfRange([BII)[B move-result-object v1 invoke-static {v1}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer; move-result-object v1 iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v2, v0 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return-object v1 :cond_0 if-nez v0, :cond_1 .line 2415 sget-object v0, Landroidx/datastore/preferences/protobuf/Internal;->EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer; return-object v0 :cond_1 const/4 v1, 0x1 .line 2421 invoke-direct {p0, v0, v1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPath(IZ)[B move-result-object v0 invoke-static {v0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer; move-result-object v0 return-object v0 .end method .method public readBytes()Landroidx/datastore/preferences/protobuf/ByteString; .locals 3 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2375 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int/2addr v1, v2 if-gt v0, v1, :cond_0 if-lez v0, :cond_0 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B .line 2379 invoke-static {v1, v2, v0}, Landroidx/datastore/preferences/protobuf/ByteString;->copyFrom([BII)Landroidx/datastore/preferences/protobuf/ByteString; move-result-object v1 iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v2, v0 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return-object v1 :cond_0 if-nez v0, :cond_1 .line 2384 sget-object v0, Landroidx/datastore/preferences/protobuf/ByteString;->EMPTY:Landroidx/datastore/preferences/protobuf/ByteString; return-object v0 .line 2386 :cond_1 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readBytesSlowPath(I)Landroidx/datastore/preferences/protobuf/ByteString; move-result-object v0 return-object v0 .end method .method public readDouble()D .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2213 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2431 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2243 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2238 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2218 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawLittleEndian32()I move-result v0 invoke-static {v0}, Ljava/lang/Float;->intBitsToFloat(I)F move-result v0 return v0 .end method .method public readGroup(ILandroidx/datastore/preferences/protobuf/Parser;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)Landroidx/datastore/preferences/protobuf/MessageLite; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Landroidx/datastore/preferences/protobuf/Parser<", "TT;>;", "Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;", ")TT;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionLimit:I if-ge v0, v1, :cond_0 add-int/lit8 v0, v0, 0x1 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I .line 2327 invoke-interface {p2, p0, p3}, Landroidx/datastore/preferences/protobuf/Parser;->parsePartialFrom(Landroidx/datastore/preferences/protobuf/CodedInputStream;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)Ljava/lang/Object; move-result-object p2 check-cast p2, Landroidx/datastore/preferences/protobuf/MessageLite; const/4 p3, 0x4 .line 2328 invoke-static {p1, p3}, Landroidx/datastore/preferences/protobuf/WireFormat;->makeTag(II)I move-result p1 invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->checkLastTagWas(I)V iget p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p1, p1, -0x1 iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I return-object p2 .line 2324 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->recursionLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readGroup(ILandroidx/datastore/preferences/protobuf/MessageLite$Builder;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionLimit:I if-ge v0, v1, :cond_0 add-int/lit8 v0, v0, 0x1 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I .line 2311 invoke-interface {p2, p0, p3}, Landroidx/datastore/preferences/protobuf/MessageLite$Builder;->mergeFrom(Landroidx/datastore/preferences/protobuf/CodedInputStream;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)Landroidx/datastore/preferences/protobuf/MessageLite$Builder; const/4 p2, 0x4 .line 2312 invoke-static {p1, p2}, Landroidx/datastore/preferences/protobuf/WireFormat;->makeTag(II)I move-result p1 invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->checkLastTagWas(I)V iget p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p1, p1, -0x1 iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I return-void .line 2308 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->recursionLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readInt32()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2233 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2228 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint64()J move-result-wide v0 return-wide v0 .end method .method public readMessage(Landroidx/datastore/preferences/protobuf/Parser;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)Landroidx/datastore/preferences/protobuf/MessageLite; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/datastore/preferences/protobuf/Parser<", "TT;>;", "Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;", ")TT;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2360 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionLimit:I if-ge v1, v2, :cond_0 .line 2364 invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pushLimit(I)I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 v1, v1, 0x1 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I .line 2366 invoke-interface {p1, p0, p2}, Landroidx/datastore/preferences/protobuf/Parser;->parsePartialFrom(Landroidx/datastore/preferences/protobuf/CodedInputStream;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroidx/datastore/preferences/protobuf/MessageLite; const/4 p2, 0x0 .line 2367 invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->checkLastTagWas(I)V iget p2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p2, p2, -0x1 iput p2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I .line 2369 invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->popLimit(I)V return-object p1 .line 2362 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->recursionLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readMessage(Landroidx/datastore/preferences/protobuf/MessageLite$Builder;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)V .locals 3 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2344 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionLimit:I if-ge v1, v2, :cond_0 .line 2348 invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pushLimit(I)I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 v1, v1, 0x1 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I .line 2350 invoke-interface {p1, p0, p2}, Landroidx/datastore/preferences/protobuf/MessageLite$Builder;->mergeFrom(Landroidx/datastore/preferences/protobuf/CodedInputStream;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)Landroidx/datastore/preferences/protobuf/MessageLite$Builder; const/4 p1, 0x0 .line 2351 invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->checkLastTagWas(I)V iget p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I add-int/lit8 p1, p1, -0x1 iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream;->recursionDepth:I .line 2353 invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->popLimit(I)V return-void .line 2346 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->recursionLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException; move-result-object p1 throw p1 .end method .method public readRawByte()B .locals 3 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-ne v0, v1, :cond_0 const/4 v0, 0x1 .line 2812 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillBuffer(I)V :cond_0 iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/lit8 v2, v1, 0x1 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I .line 2814 aget-byte v0, v0, v1 return v0 .end method .method public readRawBytes(I)[B .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int/2addr v1, v0 if-gt p1, v1, :cond_0 if-lez p1, :cond_0 add-int/2addr p1, v0 iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B .line 2822 invoke-static {v1, v0, p1}, Ljava/util/Arrays;->copyOfRange([BII)[B move-result-object p1 return-object p1 :cond_0 const/4 v0, 0x0 .line 2825 invoke-direct {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPath(IZ)[B move-result-object p1 return-object p1 .end method .method public readRawLittleEndian32()I .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int/2addr v1, v0 const/4 v2, 0x4 if-ge v1, v2, :cond_0 .line 2616 invoke-direct {p0, v2}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillBuffer(I)V iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I :cond_0 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B add-int/lit8 v2, v0, 0x4 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I .line 2622 aget-byte v2, v1, v0 and-int/lit16 v2, v2, 0xff add-int/lit8 v3, v0, 0x1 aget-byte v3, v1, v3 and-int/lit16 v3, v3, 0xff shl-int/lit8 v3, v3, 0x8 or-int/2addr v2, v3 add-int/lit8 v3, v0, 0x2 aget-byte v3, v1, v3 and-int/lit16 v3, v3, 0xff shl-int/lit8 v3, v3, 0x10 or-int/2addr v2, v3 add-int/lit8 v0, v0, 0x3 aget-byte v0, v1, v0 and-int/lit16 v0, v0, 0xff shl-int/lit8 v0, v0, 0x18 or-int/2addr v0, v2 return v0 .end method .method public readRawLittleEndian64()J .locals 9 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int/2addr v1, v0 const/16 v2, 0x8 if-ge v1, v2, :cond_0 .line 2633 invoke-direct {p0, v2}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillBuffer(I)V iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I :cond_0 iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B add-int/lit8 v3, v0, 0x8 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I .line 2639 aget-byte v3, v1, v0 int-to-long v3, v3 const-wide/16 v5, 0xff and-long/2addr v3, v5 add-int/lit8 v7, v0, 0x1 aget-byte v7, v1, v7 int-to-long v7, v7 and-long/2addr v7, v5 shl-long/2addr v7, v2 or-long v2, v3, v7 add-int/lit8 v4, v0, 0x2 aget-byte v4, v1, v4 int-to-long v7, v4 and-long/2addr v7, v5 const/16 v4, 0x10 shl-long/2addr v7, v4 or-long/2addr v2, v7 add-int/lit8 v4, v0, 0x3 aget-byte v4, v1, v4 int-to-long v7, v4 and-long/2addr v7, v5 const/16 v4, 0x18 shl-long/2addr v7, v4 or-long/2addr v2, v7 add-int/lit8 v4, v0, 0x4 aget-byte v4, v1, v4 int-to-long v7, v4 and-long/2addr v7, v5 const/16 v4, 0x20 shl-long/2addr v7, v4 or-long/2addr v2, v7 add-int/lit8 v4, v0, 0x5 aget-byte v4, v1, v4 int-to-long v7, v4 and-long/2addr v7, v5 const/16 v4, 0x28 shl-long/2addr v7, v4 or-long/2addr v2, v7 add-int/lit8 v4, v0, 0x6 aget-byte v4, v1, v4 int-to-long v7, v4 and-long/2addr v7, v5 const/16 v4, 0x30 shl-long/2addr v7, v4 or-long/2addr v2, v7 add-int/lit8 v0, v0, 0x7 aget-byte v0, v1, v0 int-to-long v0, v0 and-long/2addr v0, v5 const/16 v4, 0x38 shl-long/2addr v0, v4 or-long/2addr v0, v2 return-wide v0 .end method .method public readRawVarint32()I .locals 7 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-ne v1, v0, :cond_0 goto :goto_2 :cond_0 iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B add-int/lit8 v3, v0, 0x1 .line 2469 aget-byte v4, v2, v0 if-ltz v4, :cond_1 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return v4 :cond_1 sub-int/2addr v1, v3 const/16 v5, 0x9 if-ge v1, v5, :cond_2 goto :goto_2 :cond_2 add-int/lit8 v1, v0, 0x2 .line 2474 aget-byte v3, v2, v3 shl-int/lit8 v3, v3, 0x7 xor-int/2addr v3, v4 if-gez v3, :cond_3 xor-int/lit8 v0, v3, -0x80 goto :goto_3 :cond_3 add-int/lit8 v4, v0, 0x3 .line 2476 aget-byte v1, v2, v1 shl-int/lit8 v1, v1, 0xe xor-int/2addr v1, v3 if-ltz v1, :cond_4 xor-int/lit16 v0, v1, 0x3f80 :goto_0 move v1, v4 goto :goto_3 :cond_4 add-int/lit8 v3, v0, 0x4 .line 2478 aget-byte v4, v2, v4 shl-int/lit8 v4, v4, 0x15 xor-int/2addr v1, v4 if-gez v1, :cond_5 const v0, -0x1fc080 xor-int/2addr v0, v1 :goto_1 move v1, v3 goto :goto_3 :cond_5 add-int/lit8 v4, v0, 0x5 .line 2481 aget-byte v3, v2, v3 shl-int/lit8 v5, v3, 0x1c xor-int/2addr v1, v5 const v5, 0xfe03f80 xor-int/2addr v1, v5 if-gez v3, :cond_7 add-int/lit8 v3, v0, 0x6 .line 2484 aget-byte v4, v2, v4 if-gez v4, :cond_8 add-int/lit8 v4, v0, 0x7 aget-byte v3, v2, v3 if-gez v3, :cond_7 add-int/lit8 v3, v0, 0x8 aget-byte v4, v2, v4 if-gez v4, :cond_8 add-int/lit8 v4, v0, 0x9 aget-byte v3, v2, v3 if-gez v3, :cond_7 add-int/lit8 v0, v0, 0xa aget-byte v2, v2, v4 if-gez v2, :cond_6 .line 2496 :goto_2 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint64SlowPath()J move-result-wide v0 long-to-int v0, v0 return v0 :cond_6 move v6, v1 move v1, v0 move v0, v6 goto :goto_3 :cond_7 move v0, v1 goto :goto_0 :cond_8 move v0, v1 goto :goto_1 :goto_3 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return v0 .end method .method public readRawVarint64()J .locals 12 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-ne v1, v0, :cond_0 goto/16 :goto_2 :cond_0 iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B add-int/lit8 v3, v0, 0x1 .line 2549 aget-byte v4, v2, v0 if-ltz v4, :cond_1 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I int-to-long v0, v4 return-wide v0 :cond_1 sub-int/2addr v1, v3 const/16 v5, 0x9 if-ge v1, v5, :cond_2 goto/16 :goto_2 :cond_2 add-int/lit8 v1, v0, 0x2 .line 2554 aget-byte v3, v2, v3 shl-int/lit8 v3, v3, 0x7 xor-int/2addr v3, v4 if-gez v3, :cond_3 xor-int/lit8 v0, v3, -0x80 int-to-long v2, v0 goto/16 :goto_3 :cond_3 add-int/lit8 v4, v0, 0x3 .line 2556 aget-byte v1, v2, v1 shl-int/lit8 v1, v1, 0xe xor-int/2addr v1, v3 if-ltz v1, :cond_4 xor-int/lit16 v0, v1, 0x3f80 int-to-long v2, v0 move v1, v4 goto/16 :goto_3 :cond_4 add-int/lit8 v3, v0, 0x4 .line 2558 aget-byte v4, v2, v4 shl-int/lit8 v4, v4, 0x15 xor-int/2addr v1, v4 if-gez v1, :cond_5 const v0, -0x1fc080 xor-int/2addr v0, v1 int-to-long v0, v0 move-wide v10, v0 move v1, v3 move-wide v2, v10 goto/16 :goto_3 :cond_5 int-to-long v4, v1 add-int/lit8 v1, v0, 0x5 .line 2560 aget-byte v3, v2, v3 int-to-long v6, v3 const/16 v3, 0x1c shl-long/2addr v6, v3 xor-long v3, v4, v6 const-wide/16 v5, 0x0 cmp-long v7, v3, v5 if-ltz v7, :cond_6 const-wide/32 v5, 0xfe03f80 :goto_0 xor-long v2, v3, v5 goto :goto_3 :cond_6 add-int/lit8 v7, v0, 0x6 .line 2562 aget-byte v1, v2, v1 int-to-long v8, v1 const/16 v1, 0x23 shl-long/2addr v8, v1 xor-long/2addr v3, v8 cmp-long v1, v3, v5 if-gez v1, :cond_7 const-wide v0, -0x7f01fc080L :goto_1 xor-long v2, v3, v0 move v1, v7 goto :goto_3 :cond_7 add-int/lit8 v1, v0, 0x7 .line 2564 aget-byte v7, v2, v7 int-to-long v7, v7 const/16 v9, 0x2a shl-long/2addr v7, v9 xor-long/2addr v3, v7 cmp-long v7, v3, v5 if-ltz v7, :cond_8 const-wide v5, 0x3f80fe03f80L goto :goto_0 :cond_8 add-int/lit8 v7, v0, 0x8 .line 2566 aget-byte v1, v2, v1 int-to-long v8, v1 const/16 v1, 0x31 shl-long/2addr v8, v1 xor-long/2addr v3, v8 cmp-long v1, v3, v5 if-gez v1, :cond_9 const-wide v0, -0x1fc07f01fc080L goto :goto_1 :cond_9 add-int/lit8 v1, v0, 0x9 .line 2576 aget-byte v7, v2, v7 int-to-long v7, v7 const/16 v9, 0x38 shl-long/2addr v7, v9 xor-long/2addr v3, v7 const-wide v7, 0xfe03f80fe03f80L xor-long/2addr v3, v7 cmp-long v7, v3, v5 if-gez v7, :cond_b add-int/lit8 v0, v0, 0xa .line 2587 aget-byte v1, v2, v1 int-to-long v1, v1 cmp-long v1, v1, v5 if-gez v1, :cond_a .line 2595 :goto_2 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint64SlowPath()J move-result-wide v0 return-wide v0 :cond_a move v1, v0 :cond_b move-wide v2, v3 :goto_3 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return-wide v2 .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 2602 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2608 :cond_1 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->malformedVarint()Landroidx/datastore/preferences/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 2436 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2441 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2446 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 invoke-static {v0}, Landroidx/datastore/preferences/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 2451 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint64()J move-result-wide v0 invoke-static {v0, v1}, Landroidx/datastore/preferences/protobuf/CodedInputStream;->decodeZigZag64(J)J move-result-wide v0 return-wide v0 .end method .method public readString()Ljava/lang/String; .locals 5 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2253 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 if-lez v0, :cond_0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int/2addr v1, v2 if-gt v0, v1, :cond_0 .line 2257 new-instance v1, Ljava/lang/String; iget-object v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B sget-object v4, Landroidx/datastore/preferences/protobuf/Internal;->UTF_8:Ljava/nio/charset/Charset; invoke-direct {v1, v3, v2, v0, v4}, Ljava/lang/String;->([BIILjava/nio/charset/Charset;)V iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v2, v0 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return-object v1 :cond_0 if-nez v0, :cond_1 const-string v0, "" return-object v0 :cond_1 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I if-gt v0, v1, :cond_2 .line 2265 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillBuffer(I)V .line 2266 new-instance v1, Ljava/lang/String; iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sget-object v4, Landroidx/datastore/preferences/protobuf/Internal;->UTF_8:Ljava/nio/charset/Charset; invoke-direct {v1, v2, v3, v0, v4}, Ljava/lang/String;->([BIILjava/nio/charset/Charset;)V iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I add-int/2addr v2, v0 iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I return-object v1 .line 2271 :cond_2 new-instance v1, Ljava/lang/String; const/4 v2, 0x0 invoke-direct {p0, v0, v2}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPath(IZ)[B move-result-object v0 sget-object v2, Landroidx/datastore/preferences/protobuf/Internal;->UTF_8:Ljava/nio/charset/Charset; invoke-direct {v1, v0, v2}, Ljava/lang/String;->([BLjava/nio/charset/Charset;)V return-object v1 .end method .method public readStringRequireUtf8()Ljava/lang/String; .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2276 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I sub-int v3, v2, v1 if-gt v0, v3, :cond_0 if-lez v0, :cond_0 iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B add-int v3, v1, v0 iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I goto :goto_0 :cond_0 if-nez v0, :cond_1 const-string v0, "" return-object v0 :cond_1 const/4 v1, 0x0 if-gt v0, v2, :cond_2 .line 2289 invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->refillBuffer(I)V iget-object v2, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->buffer:[B iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I goto :goto_0 .line 2295 :cond_2 invoke-direct {p0, v0, v1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawBytesSlowPath(IZ)[B move-result-object v2 .line 2298 :goto_0 invoke-static {v2, v1, v0}, Landroidx/datastore/preferences/protobuf/Utf8;->decodeUtf8([BII)Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public readTag()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2059 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->isAtEnd()Z move-result v0 if-eqz v0, :cond_0 const/4 v0, 0x0 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->lastTag:I return v0 .line 2064 :cond_0 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result v0 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->lastTag:I .line 2065 invoke-static {v0}, Landroidx/datastore/preferences/protobuf/WireFormat;->getTagFieldNumber(I)I move-result v0 if-eqz v0, :cond_1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->lastTag:I return v0 .line 2068 :cond_1 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->invalidTag()Landroidx/datastore/preferences/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 2426 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->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 2223 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint64()J move-result-wide v0 return-wide v0 .end method .method public readUnknownGroup(ILandroidx/datastore/preferences/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 2337 invoke-static {}, Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;->getEmptyRegistry()Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite; move-result-object v0 invoke-virtual {p0, p1, p2, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readGroup(ILandroidx/datastore/preferences/protobuf/MessageLite$Builder;Landroidx/datastore/preferences/protobuf/ExtensionRegistryLite;)V return-void .end method .method public resetSizeCounter()V .locals 1 iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I neg-int v0, v0 iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->totalBytesRetired:I return-void .end method .method public skipField(I)Z .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2087 invoke-static {p1}, Landroidx/datastore/preferences/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 2105 invoke-virtual {p0, v3}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawBytes(I)V return v1 .line 2108 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->invalidWireType()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException$InvalidWireTypeException; move-result-object p1 throw p1 :cond_1 const/4 p1, 0x0 return p1 .line 2098 :cond_2 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipMessage()V .line 2100 invoke-static {p1}, Landroidx/datastore/preferences/protobuf/WireFormat;->getTagFieldNumber(I)I move-result p1 invoke-static {p1, v3}, Landroidx/datastore/preferences/protobuf/WireFormat;->makeTag(II)I move-result p1 .line 2099 invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->checkLastTagWas(I)V return v1 .line 2095 :cond_3 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawVarint32()I move-result p1 invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawBytes(I)V return v1 :cond_4 const/16 p1, 0x8 .line 2092 invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawBytes(I)V return v1 .line 2089 :cond_5 invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawVarint()V return v1 .end method .method public skipField(ILandroidx/datastore/preferences/protobuf/CodedOutputStream;)Z .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2114 invoke-static {p1}, Landroidx/datastore/preferences/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 2153 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawLittleEndian32()I move-result v0 .line 2154 invoke-virtual {p2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeRawVarint32(I)V .line 2155 invoke-virtual {p2, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeFixed32NoTag(I)V return v1 .line 2159 :cond_0 invoke-static {}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->invalidWireType()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException$InvalidWireTypeException; move-result-object p1 throw p1 :cond_1 const/4 p1, 0x0 return p1 .line 2138 :cond_2 invoke-virtual {p2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeRawVarint32(I)V .line 2139 invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipMessage(Landroidx/datastore/preferences/protobuf/CodedOutputStream;)V .line 2142 invoke-static {p1}, Landroidx/datastore/preferences/protobuf/WireFormat;->getTagFieldNumber(I)I move-result p1 .line 2141 invoke-static {p1, v3}, Landroidx/datastore/preferences/protobuf/WireFormat;->makeTag(II)I move-result p1 .line 2143 invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->checkLastTagWas(I)V .line 2144 invoke-virtual {p2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeRawVarint32(I)V return v1 .line 2131 :cond_3 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readBytes()Landroidx/datastore/preferences/protobuf/ByteString; move-result-object v0 .line 2132 invoke-virtual {p2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeRawVarint32(I)V .line 2133 invoke-virtual {p2, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeBytesNoTag(Landroidx/datastore/preferences/protobuf/ByteString;)V return v1 .line 2124 :cond_4 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readRawLittleEndian64()J move-result-wide v2 .line 2125 invoke-virtual {p2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeRawVarint32(I)V .line 2126 invoke-virtual {p2, v2, v3}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeFixed64NoTag(J)V return v1 .line 2117 :cond_5 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readInt64()J move-result-wide v2 .line 2118 invoke-virtual {p2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->writeRawVarint32(I)V .line 2119 invoke-virtual {p2, v2, v3}, Landroidx/datastore/preferences/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 2166 :cond_0 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readTag()I move-result v0 if-eqz v0, :cond_1 .line 2167 invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipField(I)Z move-result v0 if-nez v0, :cond_0 :cond_1 return-void .end method .method public skipMessage(Landroidx/datastore/preferences/protobuf/CodedOutputStream;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 2176 :cond_0 invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->readTag()I move-result v0 if-eqz v0, :cond_1 .line 2177 invoke-virtual {p0, v0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipField(ILandroidx/datastore/preferences/protobuf/CodedOutputStream;)Z move-result v0 if-nez v0, :cond_0 :cond_1 return-void .end method .method public skipRawBytes(I)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->bufferSize:I iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I sub-int/2addr v0, v1 if-gt p1, v0, :cond_0 if-ltz p1, :cond_0 add-int/2addr v1, p1 iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->pos:I goto :goto_0 .line 3018 :cond_0 invoke-direct {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedInputStream$StreamDecoder;->skipRawBytesSlowPath(I)V :goto_0 return-void .end method