final class jdk.incubator.http.internal.hpack.IntegerReader
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.incubator.http.internal.hpack.IntegerReader
  super_class: java.lang.Object
{
  private static final int NEW;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private static final int CONFIGURED;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final int FIRST_BYTE_READ;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private static final int DONE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  private int state;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int N;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int maxValue;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int value;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private long r;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long b;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
         0: .line 33
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 40
            aload 0 /* this */
            iconst_0
            putfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
         2: .line 46
            aload 0 /* this */
            lconst_1
            putfield jdk.incubator.http.internal.hpack.IntegerReader.b:J
         3: .line 33
            return
        end local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/incubator/http/internal/hpack/IntegerReader;

  public jdk.incubator.http.internal.hpack.IntegerReader configure(int);
    descriptor: (I)Ljdk/incubator/http/internal/hpack/IntegerReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
        start local 1 // int N
         0: .line 49
            aload 0 /* this */
            iload 1 /* N */
            ldc 2147483647
            invokevirtual jdk.incubator.http.internal.hpack.IntegerReader.configure:(II)Ljdk/incubator/http/internal/hpack/IntegerReader;
            areturn
        end local 1 // int N
        end local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/hpack/IntegerReader;
            0    1     1     N  I
    MethodParameters:
      Name  Flags
      N     

  public jdk.incubator.http.internal.hpack.IntegerReader configure(int, int);
    descriptor: (II)Ljdk/incubator/http/internal/hpack/IntegerReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
        start local 1 // int N
        start local 2 // int maxValue
         0: .line 63
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
            ifeq 2
         1: .line 64
            new java.lang.IllegalStateException
            dup
            ldc "Already configured"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 66
      StackMap locals:
      StackMap stack:
            iload 1 /* N */
            invokestatic jdk.incubator.http.internal.hpack.IntegerReader.checkPrefix:(I)V
         3: .line 67
            iload 2 /* maxValue */
            ifge 7
         4: .line 68
            new java.lang.IllegalArgumentException
            dup
         5: .line 69
            new java.lang.StringBuilder
            dup
            ldc "maxValue >= 0: maxValue="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* maxValue */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         6: .line 68
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* maxValue */
            putfield jdk.incubator.http.internal.hpack.IntegerReader.maxValue:I
         8: .line 72
            aload 0 /* this */
            iload 1 /* N */
            putfield jdk.incubator.http.internal.hpack.IntegerReader.N:I
         9: .line 73
            aload 0 /* this */
            iconst_1
            putfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
        10: .line 74
            aload 0 /* this */
            areturn
        end local 2 // int maxValue
        end local 1 // int N
        end local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Ljdk/incubator/http/internal/hpack/IntegerReader;
            0   11     1         N  I
            0   11     2  maxValue  I
    MethodParameters:
          Name  Flags
      N         
      maxValue  

  public boolean read(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=10, locals=5, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
        start local 1 // java.nio.ByteBuffer input
         0: .line 78
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
            ifne 2
         1: .line 79
            new java.lang.IllegalStateException
            dup
            ldc "Configure first"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
            iconst_4
            if_icmpne 4
         3: .line 82
            iconst_1
            ireturn
         4: .line 84
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 6
         5: .line 85
            iconst_0
            ireturn
         6: .line 87
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
            iconst_1
            if_icmpne 15
         7: .line 88
            iconst_2
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.N:I
            iconst_1
            isub
            ishl
            iconst_1
            isub
            istore 2 /* max */
        start local 2 // int max
         8: .line 89
            aload 1 /* input */
            invokevirtual java.nio.ByteBuffer.get:()B
            iload 2 /* max */
            iand
            istore 3 /* n */
        start local 3 // int n
         9: .line 90
            iload 3 /* n */
            iload 2 /* max */
            if_icmpeq 13
        10: .line 91
            aload 0 /* this */
            iload 3 /* n */
            putfield jdk.incubator.http.internal.hpack.IntegerReader.value:I
        11: .line 92
            aload 0 /* this */
            iconst_4
            putfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
        12: .line 93
            iconst_1
            ireturn
        13: .line 95
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            iload 2 /* max */
            i2l
            putfield jdk.incubator.http.internal.hpack.IntegerReader.r:J
        14: .line 97
            aload 0 /* this */
            iconst_2
            putfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
        end local 3 // int n
        end local 2 // int max
        15: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
            iconst_2
            if_icmpne 31
        16: .line 103
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 18
        17: .line 104
            iconst_0
            ireturn
        18: .line 106
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            invokevirtual java.nio.ByteBuffer.get:()B
            istore 2 /* i */
        start local 2 // byte i
        19: .line 107
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.b:J
            iload 2 /* i */
            bipush 127
            iand
            i2l
            lmul
            lstore 3 /* increment */
        start local 3 // long increment
        20: .line 108
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.r:J
            lload 3 /* increment */
            ladd
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.maxValue:I
            i2l
            lcmp
            ifle 25
        21: .line 109
            new java.io.IOException
            dup
        22: .line 110
            ldc "Integer overflow: maxValue=%,d, value=%,d"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        23: .line 111
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.maxValue:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.r:J
            lload 3 /* increment */
            ladd
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
        24: .line 109
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        25: .line 113
      StackMap locals: int long
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.internal.hpack.IntegerReader.r:J
            lload 3 /* increment */
            ladd
            putfield jdk.incubator.http.internal.hpack.IntegerReader.r:J
        26: .line 114
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.internal.hpack.IntegerReader.b:J
            ldc 128
            lmul
            putfield jdk.incubator.http.internal.hpack.IntegerReader.b:J
        end local 3 // long increment
        27: .line 115
            sipush 128
            iload 2 /* i */
            iand
            sipush 128
            if_icmpeq 16
        28: .line 117
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.r:J
            l2i
            putfield jdk.incubator.http.internal.hpack.IntegerReader.value:I
        29: .line 118
            aload 0 /* this */
            iconst_4
            putfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
        30: .line 119
            iconst_1
            ireturn
        end local 2 // byte i
        31: .line 121
      StackMap locals:
      StackMap stack:
            new java.lang.InternalError
            dup
        32: .line 122
            bipush 6
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.N:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.maxValue:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.value:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.r:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_5
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.b:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
        33: .line 121
            invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.nio.ByteBuffer input
        end local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   34     0       this  Ljdk/incubator/http/internal/hpack/IntegerReader;
            0   34     1      input  Ljava/nio/ByteBuffer;
            8   15     2        max  I
            9   15     3          n  I
           19   31     2          i  B
           20   27     3  increment  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      input  

  public int get();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
         0: .line 126
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
            iconst_4
            if_icmpeq 2
         1: .line 127
            new java.lang.IllegalStateException
            dup
            ldc "Has not been fully read yet"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 129
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerReader.value:I
            ireturn
        end local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/internal/hpack/IntegerReader;
    Exceptions:
      throws java.lang.IllegalStateException

  private static void checkPrefix(int);
    descriptor: (I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // int N
         0: .line 133
            iload 0 /* N */
            iconst_1
            if_icmplt 1
            iload 0 /* N */
            bipush 8
            if_icmple 2
         1: .line 134
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "1 <= N <= 8: N= "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 0 /* N */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 136
      StackMap locals:
      StackMap stack:
            return
        end local 0 // int N
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     N  I
    MethodParameters:
      Name  Flags
      N     

  public jdk.incubator.http.internal.hpack.IntegerReader reset();
    descriptor: ()Ljdk/incubator/http/internal/hpack/IntegerReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
         0: .line 139
            aload 0 /* this */
            lconst_1
            putfield jdk.incubator.http.internal.hpack.IntegerReader.b:J
         1: .line 140
            aload 0 /* this */
            iconst_0
            putfield jdk.incubator.http.internal.hpack.IntegerReader.state:I
         2: .line 141
            aload 0 /* this */
            areturn
        end local 0 // jdk.incubator.http.internal.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/internal/hpack/IntegerReader;
}
SourceFile: "IntegerReader.java"