final class jdk.incubator.http.internal.hpack.IntegerWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.incubator.http.internal.hpack.IntegerWriter
  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_WRITTEN;
    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 payload;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

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

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

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

  public jdk.incubator.http.internal.hpack.IntegerWriter configure(int, int, int);
    descriptor: (III)Ljdk/incubator/http/internal/hpack/IntegerWriter;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // jdk.incubator.http.internal.hpack.IntegerWriter this
        start local 1 // int value
        start local 2 // int N
        start local 3 // int payload
         0: .line 55
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
            ifeq 2
         1: .line 56
            new java.lang.IllegalStateException
            dup
            ldc "Already configured"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 58
      StackMap locals:
      StackMap stack:
            iload 1 /* value */
            ifge 4
         3: .line 59
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "value >= 0: value="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* value */
            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
         4: .line 61
      StackMap locals:
      StackMap stack:
            iload 2 /* N */
            invokestatic jdk.incubator.http.internal.hpack.IntegerWriter.checkPrefix:(I)V
         5: .line 62
            aload 0 /* this */
            iload 1 /* value */
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
         6: .line 63
            aload 0 /* this */
            iload 2 /* N */
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.N:I
         7: .line 64
            aload 0 /* this */
            iload 3 /* payload */
            sipush 255
            iand
            iconst_m1
            iload 2 /* N */
            ishl
            iand
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.payload:I
         8: .line 65
            aload 0 /* this */
            iconst_1
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
         9: .line 66
            aload 0 /* this */
            areturn
        end local 3 // int payload
        end local 2 // int N
        end local 1 // int value
        end local 0 // jdk.incubator.http.internal.hpack.IntegerWriter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Ljdk/incubator/http/internal/hpack/IntegerWriter;
            0   10     1    value  I
            0   10     2        N  I
            0   10     3  payload  I
    MethodParameters:
         Name  Flags
      value    
      N        
      payload  

  public boolean write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // jdk.incubator.http.internal.hpack.IntegerWriter this
        start local 1 // java.nio.ByteBuffer output
         0: .line 70
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
            ifne 2
         1: .line 71
            new java.lang.IllegalStateException
            dup
            ldc "Configure first"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 73
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
            iconst_4
            if_icmpne 4
         3: .line 74
            iconst_1
            ireturn
         4: .line 77
      StackMap locals:
      StackMap stack:
            aload 1 /* output */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 6
         5: .line 78
            iconst_0
            ireturn
         6: .line 80
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
            iconst_1
            if_icmpne 15
         7: .line 81
            iconst_2
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.N:I
            iconst_1
            isub
            ishl
            iconst_1
            isub
            istore 2 /* max */
        start local 2 // int max
         8: .line 82
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            iload 2 /* max */
            if_icmpge 12
         9: .line 83
            aload 1 /* output */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.payload:I
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            ior
            i2b
            invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
            pop
        10: .line 84
            aload 0 /* this */
            iconst_4
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
        11: .line 85
            iconst_1
            ireturn
        12: .line 87
      StackMap locals: int
      StackMap stack:
            aload 1 /* output */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.payload:I
            iload 2 /* max */
            ior
            i2b
            invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
            pop
        13: .line 88
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            iload 2 /* max */
            isub
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
        14: .line 89
            aload 0 /* this */
            iconst_2
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
        end local 2 // int max
        15: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
            iconst_2
            if_icmpne 25
        16: .line 92
            goto 19
        17: .line 93
      StackMap locals:
      StackMap stack:
            aload 1 /* output */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            sipush 128
            irem
            sipush 128
            iadd
            i2b
            invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
            pop
        18: .line 94
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            sipush 128
            idiv
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
        19: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            sipush 128
            if_icmplt 20
            aload 1 /* output */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 17
        20: .line 96
      StackMap locals:
      StackMap stack:
            aload 1 /* output */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 22
        21: .line 97
            iconst_0
            ireturn
        22: .line 99
      StackMap locals:
      StackMap stack:
            aload 1 /* output */
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            i2b
            invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
            pop
        23: .line 100
            aload 0 /* this */
            iconst_4
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
        24: .line 101
            iconst_1
            ireturn
        25: .line 103
      StackMap locals:
      StackMap stack:
            new java.lang.InternalError
            dup
        26: .line 104
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.payload:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.N:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            aload 0 /* this */
            getfield jdk.incubator.http.internal.hpack.IntegerWriter.value:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        27: .line 103
            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 output
        end local 0 // jdk.incubator.http.internal.hpack.IntegerWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   28     0    this  Ljdk/incubator/http/internal/hpack/IntegerWriter;
            0   28     1  output  Ljava/nio/ByteBuffer;
            8   15     2     max  I
    MethodParameters:
        Name  Flags
      output  

  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 108
            iload 0 /* N */
            iconst_1
            if_icmplt 1
            iload 0 /* N */
            bipush 8
            if_icmple 2
         1: .line 109
      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 111
      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.IntegerWriter reset();
    descriptor: ()Ljdk/incubator/http/internal/hpack/IntegerWriter;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.hpack.IntegerWriter this
         0: .line 114
            aload 0 /* this */
            iconst_0
            putfield jdk.incubator.http.internal.hpack.IntegerWriter.state:I
         1: .line 115
            aload 0 /* this */
            areturn
        end local 0 // jdk.incubator.http.internal.hpack.IntegerWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/incubator/http/internal/hpack/IntegerWriter;
}
SourceFile: "IntegerWriter.java"