class io.undertow.conduits.ChunkReader<T extends org.xnio.conduits.Conduit>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: io.undertow.conduits.ChunkReader
  super_class: java.lang.Object
{
  private static final long FLAG_FINISHED;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4611686018427387904

  private static final long FLAG_READING_LENGTH;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2305843009213693952

  private static final long FLAG_READING_TILL_END_OF_LINE;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1152921504606846976

  private static final long FLAG_READING_NEWLINE;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 576460752303423488

  private static final long FLAG_READING_AFTER_LAST;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 288230376151711744

  private static final long MASK_COUNT;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final long LIMIT;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 576460752303423487

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

  private final io.undertow.util.Attachable attachable;
    descriptor: Lio/undertow/util/Attachable;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.undertow.util.AttachmentKey<io.undertow.util.HeaderMap> trailerAttachmentKey;
    descriptor: Lio/undertow/util/AttachmentKey;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lio/undertow/util/AttachmentKey<Lio/undertow/util/HeaderMap;>;

  private io.undertow.conduits.ChunkReader<T>.TrailerParser trailerParser;
    descriptor: Lio/undertow/conduits/ChunkReader$TrailerParser;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/undertow/conduits/ChunkReader<TT;>.TrailerParser;

  private final T conduit;
    descriptor: Lorg/xnio/conduits/Conduit;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: TT;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 48
            iconst_0
            bipush 56
            invokestatic org.xnio.Bits.longBitMask:(II)J
            putstatic io.undertow.conduits.ChunkReader.MASK_COUNT:J
         1: .line 50
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(io.undertow.util.Attachable, io.undertow.util.AttachmentKey<io.undertow.util.HeaderMap>, );
    descriptor: (Lio/undertow/util/Attachable;Lio/undertow/util/AttachmentKey;Lorg/xnio/conduits/Conduit;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // io.undertow.conduits.ChunkReader this
        start local 1 // io.undertow.util.Attachable attachable
        start local 2 // io.undertow.util.AttachmentKey trailerAttachmentKey
        start local 3 // org.xnio.conduits.Conduit conduit
         0: .line 63
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 64
            aload 0 /* this */
            aload 1 /* attachable */
            putfield io.undertow.conduits.ChunkReader.attachable:Lio/undertow/util/Attachable;
         2: .line 65
            aload 0 /* this */
            aload 2 /* trailerAttachmentKey */
            putfield io.undertow.conduits.ChunkReader.trailerAttachmentKey:Lio/undertow/util/AttachmentKey;
         3: .line 66
            aload 0 /* this */
            aload 3 /* conduit */
            putfield io.undertow.conduits.ChunkReader.conduit:Lorg/xnio/conduits/Conduit;
         4: .line 67
            aload 0 /* this */
            ldc 2305843009213693952
            putfield io.undertow.conduits.ChunkReader.state:J
         5: .line 68
            return
        end local 3 // org.xnio.conduits.Conduit conduit
        end local 2 // io.undertow.util.AttachmentKey trailerAttachmentKey
        end local 1 // io.undertow.util.Attachable attachable
        end local 0 // io.undertow.conduits.ChunkReader this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    6     0                  this  Lio/undertow/conduits/ChunkReader<TT;>;
            0    6     1            attachable  Lio/undertow/util/Attachable;
            0    6     2  trailerAttachmentKey  Lio/undertow/util/AttachmentKey<Lio/undertow/util/HeaderMap;>;
            0    6     3               conduit  TT;
    Signature: (Lio/undertow/util/Attachable;Lio/undertow/util/AttachmentKey<Lio/undertow/util/HeaderMap;>;TT;)V
    MethodParameters:
                      Name  Flags
      attachable            final
      trailerAttachmentKey  final
      conduit               

  public long readChunk(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=12, args_size=2
        start local 0 // io.undertow.conduits.ChunkReader this
        start local 1 // java.nio.ByteBuffer buf
         0: .line 71
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            lstore 2 /* oldVal */
        start local 2 // long oldVal
         1: .line 72
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            getstatic io.undertow.conduits.ChunkReader.MASK_COUNT:J
            land
            lstore 4 /* chunkRemaining */
        start local 4 // long chunkRemaining
         2: .line 74
            lload 4 /* chunkRemaining */
            lconst_0
            lcmp
            ifle 4
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            ldc 4323455642275676160
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifne 4
         3: .line 75
            lload 4 /* chunkRemaining */
            lreturn
         4: .line 77
      StackMap locals: long long
      StackMap stack:
            lload 2 /* oldVal */
            getstatic io.undertow.conduits.ChunkReader.MASK_COUNT:J
            ldc -1
            lxor
            land
            lstore 6 /* newVal */
        start local 6 // long newVal
         5: .line 79
            lload 2 /* oldVal */
            ldc 288230376151711744
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifeq 21
         6: .line 80
            aload 0 /* this */
            aload 1 /* buf */
            invokevirtual io.undertow.conduits.ChunkReader.handleChunkedRequestEnd:(Ljava/nio/ByteBuffer;)I
            istore 8 /* ret */
        start local 8 // int ret
         7: .line 81
            iload 8 /* ret */
            iconst_m1
            if_icmpne 11
         8: .line 82
            lload 6 /* newVal */
            ldc 4611686018427387904
            lor
            lstore 6 /* newVal */
         9: .line 147
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        10: .line 83
            ldc -1
            lreturn
        11: .line 147
      StackMap locals: long int
      StackMap stack:
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        12: .line 85
            lconst_0
            lreturn
        end local 8 // int ret
        13: .line 90
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.get:()B
            istore 8 /* b */
        start local 8 // byte b
        14: .line 91
            iload 8 /* b */
            bipush 10
            if_icmpne 17
        15: .line 92
            lload 6 /* newVal */
            ldc -576460752303423489
            land
            ldc 2305843009213693952
            lor
            lstore 6 /* newVal */
        16: .line 93
            goto 18
        end local 8 // byte b
        17: .line 89
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 13
        18: .line 96
      StackMap locals:
      StackMap stack:
            lload 6 /* newVal */
            ldc 576460752303423488
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifeq 21
        19: .line 147
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        20: .line 97
            lconst_0
            lreturn
        21: .line 88
      StackMap locals:
      StackMap stack:
            lload 6 /* newVal */
            ldc 576460752303423488
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifne 17
        22: .line 101
            goto 41
        23: .line 103
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.get:()B
            istore 8 /* b */
        start local 8 // byte b
        24: .line 104
            iload 8 /* b */
            bipush 48
            if_icmplt 25
            iload 8 /* b */
            bipush 57
            if_icmple 27
      StackMap locals: int
      StackMap stack:
        25: iload 8 /* b */
            bipush 97
            if_icmplt 26
            iload 8 /* b */
            bipush 102
            if_icmple 27
      StackMap locals:
      StackMap stack:
        26: iload 8 /* b */
            bipush 65
            if_icmplt 32
            iload 8 /* b */
            bipush 70
            if_icmpgt 32
        27: .line 105
      StackMap locals:
      StackMap stack:
            lload 4 /* chunkRemaining */
            ldc 576460752303423487
            lcmp
            ifle 29
        28: .line 106
            getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
            invokeinterface io.undertow.UndertowMessages.chunkSizeTooLarge:()Ljava/io/IOException;
            athrow
        29: .line 108
      StackMap locals:
      StackMap stack:
            lload 4 /* chunkRemaining */
            iconst_4
            lshl
            lstore 4 /* chunkRemaining */
        30: .line 109
            lload 4 /* chunkRemaining */
            iload 8 /* b */
            i2c
            bipush 16
            invokestatic java.lang.Character.digit:(CI)I
            i2l
            ladd
            lstore 4 /* chunkRemaining */
        31: .line 110
            goto 37
        32: .line 111
      StackMap locals:
      StackMap stack:
            iload 8 /* b */
            bipush 10
            if_icmpne 35
        33: .line 112
            lload 6 /* newVal */
            ldc -2305843009213693953
            land
            lstore 6 /* newVal */
        34: .line 113
            goto 38
        35: .line 114
      StackMap locals:
      StackMap stack:
            lload 6 /* newVal */
            ldc -2305843009213693953
            land
            ldc 1152921504606846976
            lor
            lstore 6 /* newVal */
        36: .line 116
            goto 38
        end local 8 // byte b
        37: .line 102
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 23
        38: .line 119
      StackMap locals:
      StackMap stack:
            lload 6 /* newVal */
            ldc 2305843009213693952
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifeq 41
        39: .line 147
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        40: .line 120
            lconst_0
            lreturn
        41: .line 101
      StackMap locals:
      StackMap stack:
            lload 6 /* newVal */
            ldc 2305843009213693952
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifne 37
        42: .line 123
            goto 50
        43: .line 125
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.get:()B
            bipush 10
            if_icmpne 46
        44: .line 126
            lload 6 /* newVal */
            ldc -1152921504606846977
            land
            lstore 6 /* newVal */
        45: .line 127
            goto 47
        46: .line 124
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 43
        47: .line 130
      StackMap locals:
      StackMap stack:
            lload 6 /* newVal */
            ldc 1152921504606846976
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifeq 50
        48: .line 147
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        49: .line 131
            lconst_0
            lreturn
        50: .line 123
      StackMap locals:
      StackMap stack:
            lload 6 /* newVal */
            ldc 1152921504606846976
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifne 46
        51: .line 136
            lload 6 /* newVal */
            ldc 4035225266123964416
            invokestatic org.xnio.Bits.allAreClear:(JJ)Z
            ifeq 60
            lload 4 /* chunkRemaining */
            lconst_0
            lcmp
            ifne 60
        52: .line 137
            lload 6 /* newVal */
            ldc 288230376151711744
            lor
            lstore 6 /* newVal */
        53: .line 138
            aload 0 /* this */
            aload 1 /* buf */
            invokevirtual io.undertow.conduits.ChunkReader.handleChunkedRequestEnd:(Ljava/nio/ByteBuffer;)I
            istore 8 /* ret */
        start local 8 // int ret
        54: .line 139
            iload 8 /* ret */
            iconst_m1
            if_icmpne 58
        55: .line 140
            lload 6 /* newVal */
            ldc 4611686018427387904
            lor
            lstore 6 /* newVal */
        56: .line 147
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        57: .line 141
            ldc -1
            lreturn
        58: .line 147
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        59: .line 143
            lconst_0
            lreturn
        end local 8 // int ret
        60: .line 145
      StackMap locals:
      StackMap stack:
            lload 4 /* chunkRemaining */
            lstore 10
        61: .line 147
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        62: .line 145
            lload 10
            lreturn
        63: .line 146
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 9
        64: .line 147
            aload 0 /* this */
            lload 6 /* newVal */
            lload 4 /* chunkRemaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
        65: .line 148
            aload 9
            athrow
        end local 6 // long newVal
        end local 4 // long chunkRemaining
        end local 2 // long oldVal
        end local 1 // java.nio.ByteBuffer buf
        end local 0 // io.undertow.conduits.ChunkReader this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   66     0            this  Lio/undertow/conduits/ChunkReader<TT;>;
            0   66     1             buf  Ljava/nio/ByteBuffer;
            1   66     2          oldVal  J
            2   66     4  chunkRemaining  J
            5   66     6          newVal  J
            7   13     8             ret  I
           14   17     8               b  B
           24   37     8               b  B
           54   60     8             ret  I
      Exception table:
        from    to  target  type
           5     9      63  any
          13    19      63  any
          21    39      63  any
          41    48      63  any
          50    56      63  any
          60    61      63  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   final

  public long getChunkRemaining();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.undertow.conduits.ChunkReader this
         0: .line 152
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            ldc 4611686018427387904
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifeq 2
         1: .line 153
            ldc -1
            lreturn
         2: .line 155
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            ldc 4323455642275676160
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifeq 4
         3: .line 156
            lconst_0
            lreturn
         4: .line 158
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            getstatic io.undertow.conduits.ChunkReader.MASK_COUNT:J
            land
            lreturn
        end local 0 // io.undertow.conduits.ChunkReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/undertow/conduits/ChunkReader<TT;>;

  public void setChunkRemaining(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=7, args_size=2
        start local 0 // io.undertow.conduits.ChunkReader this
        start local 1 // long remaining
         0: .line 162
            lload 1 /* remaining */
            lconst_0
            lcmp
            iflt 1
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            ldc 4323455642275676160
            invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
            ifeq 2
         1: .line 163
      StackMap locals:
      StackMap stack:
            return
         2: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.state:J
            lstore 3 /* old */
        start local 3 // long old
         3: .line 166
            lload 3 /* old */
            getstatic io.undertow.conduits.ChunkReader.MASK_COUNT:J
            land
            lstore 5 /* oldRemaining */
        start local 5 // long oldRemaining
         4: .line 167
            lload 1 /* remaining */
            lconst_0
            lcmp
            ifne 6
            lload 5 /* oldRemaining */
            lconst_0
            lcmp
            ifeq 6
         5: .line 170
            lload 3 /* old */
            ldc 576460752303423488
            lor
            lstore 3 /* old */
         6: .line 172
      StackMap locals: long long
      StackMap stack:
            aload 0 /* this */
            lload 3 /* old */
            getstatic io.undertow.conduits.ChunkReader.MASK_COUNT:J
            ldc -1
            lxor
            land
            lload 1 /* remaining */
            lor
            putfield io.undertow.conduits.ChunkReader.state:J
         7: .line 173
            return
        end local 5 // long oldRemaining
        end local 3 // long old
        end local 1 // long remaining
        end local 0 // io.undertow.conduits.ChunkReader this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Lio/undertow/conduits/ChunkReader<TT;>;
            0    8     1     remaining  J
            3    8     3           old  J
            4    8     5  oldRemaining  J
    MethodParameters:
           Name  Flags
      remaining  final

  private int handleChunkedRequestEnd(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // io.undertow.conduits.ChunkReader this
        start local 1 // java.nio.ByteBuffer buffer
         0: .line 176
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.trailerParser:Lio/undertow/conduits/ChunkReader$TrailerParser;
            ifnull 9
         1: .line 177
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.trailerParser:Lio/undertow/conduits/ChunkReader$TrailerParser;
            aload 1 /* buffer */
            invokevirtual io.undertow.conduits.ChunkReader$TrailerParser.handle:(Ljava/nio/ByteBuffer;)I
            ireturn
         2: .line 180
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.get:()B
            istore 2 /* b */
        start local 2 // byte b
         3: .line 181
            iload 2 /* b */
            bipush 10
            if_icmpne 5
         4: .line 182
            iconst_m1
            ireturn
         5: .line 183
      StackMap locals: int
      StackMap stack:
            iload 2 /* b */
            bipush 13
            if_icmpeq 9
         6: .line 184
            aload 1 /* buffer */
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.position:()I
            iconst_1
            isub
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         7: .line 185
            aload 0 /* this */
            new io.undertow.conduits.ChunkReader$TrailerParser
            dup
            aload 0 /* this */
            invokespecial io.undertow.conduits.ChunkReader$TrailerParser.<init>:(Lio/undertow/conduits/ChunkReader;)V
            putfield io.undertow.conduits.ChunkReader.trailerParser:Lio/undertow/conduits/ChunkReader$TrailerParser;
         8: .line 186
            aload 0 /* this */
            getfield io.undertow.conduits.ChunkReader.trailerParser:Lio/undertow/conduits/ChunkReader$TrailerParser;
            aload 1 /* buffer */
            invokevirtual io.undertow.conduits.ChunkReader$TrailerParser.handle:(Ljava/nio/ByteBuffer;)I
            ireturn
        end local 2 // byte b
         9: .line 179
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 2
        10: .line 189
            iconst_0
            ireturn
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // io.undertow.conduits.ChunkReader this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Lio/undertow/conduits/ChunkReader<TT;>;
            0   11     1  buffer  Ljava/nio/ByteBuffer;
            3    9     2       b  B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      buffer  
}
Signature: <T::Lorg/xnio/conduits/Conduit;>Ljava/lang/Object;
SourceFile: "ChunkReader.java"
NestMembers:
  io.undertow.conduits.ChunkReader$TrailerParser
InnerClasses:
  private final TrailerParser = io.undertow.conduits.ChunkReader$TrailerParser of io.undertow.conduits.ChunkReader