class jdk.internal.net.http.ResponseContent$ChunkedBodyParser implements jdk.internal.net.http.ResponseContent$BodyParser
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.net.http.ResponseContent$ChunkedBodyParser
  super_class: java.lang.Object
{
  final java.nio.ByteBuffer READMORE;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0010) ACC_FINAL

  final java.util.function.Consumer<java.lang.Throwable> onComplete;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/function/Consumer<Ljava/lang/Throwable;>;

  final jdk.internal.net.http.common.Logger debug;
    descriptor: Ljdk/internal/net/http/common/Logger;
    flags: (0x0010) ACC_FINAL

  final java.lang.String dbgTag;
    descriptor: Ljava/lang/String;
    flags: (0x0010) ACC_FINAL

  volatile java.lang.Throwable closedExceptionally;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0040) ACC_VOLATILE

  volatile int partialChunklen;
    descriptor: I
    flags: (0x0040) ACC_VOLATILE

  volatile int chunklen;
    descriptor: I
    flags: (0x0040) ACC_VOLATILE

  volatile int bytesremaining;
    descriptor: I
    flags: (0x0040) ACC_VOLATILE

  volatile boolean cr;
    descriptor: Z
    flags: (0x0040) ACC_VOLATILE

  volatile int bytesToConsume;
    descriptor: I
    flags: (0x0040) ACC_VOLATILE

  volatile jdk.internal.net.http.ResponseContent$ChunkState state;
    descriptor: Ljdk/internal/net/http/ResponseContent$ChunkState;
    flags: (0x0040) ACC_VOLATILE

  volatile jdk.internal.net.http.AbstractSubscription sub;
    descriptor: Ljdk/internal/net/http/AbstractSubscription;
    flags: (0x0040) ACC_VOLATILE

  final jdk.internal.net.http.ResponseContent this$0;
    descriptor: Ljdk/internal/net/http/ResponseContent;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 128
            ldc Ljdk/internal/net/http/ResponseContent;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.util.function.Consumer<java.lang.Throwable>);
    descriptor: (Ljdk/internal/net/http/ResponseContent;Ljava/util/function/Consumer;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 2 // java.util.function.Consumer onComplete
         0: .line 142
            aload 0 /* this */
            aload 1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 129
            aload 0 /* this */
            getstatic jdk.internal.net.http.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
         2: .line 131
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic get(Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/internal/net/http/ResponseContent$ChunkedBodyParser.dbgString()Ljava/lang/String; (5)
                  ()Ljava/lang/String;
            getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
            invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
         3: .line 132
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 1
            getfield jdk.internal.net.http.ResponseContent.dbgTag:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "/ChunkedBodyParser"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.dbgTag:Ljava/lang/String;
         4: .line 135
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
         5: .line 136
            aload 0 /* this */
            iconst_m1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
         6: .line 138
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
         7: .line 140
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
         8: .line 143
            aload 0 /* this */
            aload 2 /* onComplete */
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.onComplete:Ljava/util/function/Consumer;
         9: .line 144
            return
        end local 2 // java.util.function.Consumer onComplete
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0        this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0   10     2  onComplete  Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
    Signature: (Ljava/util/function/Consumer<Ljava/lang/Throwable;>;)V
    MethodParameters:
            Name  Flags
      this$0      final
      onComplete  

  java.lang.String dbgString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
         0: .line 147
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.dbgTag:Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;

  public void onSubscribe(jdk.internal.net.http.AbstractSubscription);
    descriptor: (Ljdk/internal/net/http/AbstractSubscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 1 // jdk.internal.net.http.AbstractSubscription sub
         0: .line 152
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 153
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            new java.lang.StringBuilder
            dup
            ldc "onSubscribe: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            aload 0 /* this */
            aload 1 /* sub */
            dup_x1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.sub:Ljdk/internal/net/http/AbstractSubscription;
            invokeinterface java.net.http.HttpResponse$BodySubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
         3: .line 155
            return
        end local 1 // jdk.internal.net.http.AbstractSubscription sub
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0    4     1   sub  Ljdk/internal/net/http/AbstractSubscription;
    MethodParameters:
      Name  Flags
      sub   

  public java.lang.String currentStateMessage();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
         0: .line 159
            ldc "chunked transfer encoding, state: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;

  public void accept(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 1 // java.nio.ByteBuffer b
         0: .line 164
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
            ifnull 4
         1: .line 165
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 3
         2: .line 166
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            new java.lang.StringBuilder
            dup
            ldc "already closed: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         3: .line 167
      StackMap locals:
      StackMap stack:
            return
         4: .line 169
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 2 /* completed */
        start local 2 // boolean completed
         5: .line 171
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* out */
        start local 3 // java.util.List out
         6: .line 173
      StackMap locals: int java.util.List
      StackMap stack:
            aload 0 /* this */
            aload 1 /* b */
            aload 3 /* out */
            invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryPushOneHunk:(Ljava/nio/ByteBuffer;Ljava/util/List;)Z
            ifeq 21
         7: .line 175
            aload 3 /* out */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 12
         8: .line 180
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.sub:Ljdk/internal/net/http/AbstractSubscription;
            invokevirtual jdk.internal.net.http.AbstractSubscription.demand:()Ljdk/internal/net/http/common/Demand;
            invokevirtual jdk.internal.net.http.common.Demand.tryDecrement:()Z
            istore 4 /* hasDemand */
        start local 4 // boolean hasDemand
         9: .line 181
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 10
            iload 4 /* hasDemand */
            ifne 10
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        10: .line 182
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            aload 3 /* out */
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            invokeinterface java.net.http.HttpResponse$BodySubscriber.onNext:(Ljava/lang/Object;)V
        11: .line 183
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 12
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Chunks sent"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        end local 4 // boolean hasDemand
        12: .line 185
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 13
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "done!"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        13: .line 186
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 14
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
            ifnull 14
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        14: .line 187
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 15
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
            if_acmpeq 15
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        15: .line 188
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.onFinished:Ljava/lang/Runnable;
            invokeinterface java.lang.Runnable.run:()V
        16: .line 189
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            invokeinterface java.net.http.HttpResponse$BodySubscriber.onComplete:()V
        17: .line 190
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 18
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "subscriber completed"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        18: .line 191
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 2 /* completed */
        19: .line 192
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.onComplete:Ljava/util/function/Consumer;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        20: .line 193
            goto 22
        21: .line 197
      StackMap locals:
      StackMap stack:
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 6
        22: .line 199
      StackMap locals:
      StackMap stack:
            iload 2 /* completed */
            ifne 27
            aload 3 /* out */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 27
        23: .line 204
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.sub:Ljdk/internal/net/http/AbstractSubscription;
            invokevirtual jdk.internal.net.http.AbstractSubscription.demand:()Ljdk/internal/net/http/common/Demand;
            invokevirtual jdk.internal.net.http.common.Demand.tryDecrement:()Z
            istore 4 /* hasDemand */
        start local 4 // boolean hasDemand
        24: .line 205
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 25
            iload 4 /* hasDemand */
            ifne 25
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        25: .line 206
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            aload 3 /* out */
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            invokeinterface java.net.http.HttpResponse$BodySubscriber.onNext:(Ljava/lang/Object;)V
        26: .line 207
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 27
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Chunk sent"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        end local 4 // boolean hasDemand
        27: .line 209
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 33
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
            if_acmpeq 33
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 33
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 3 // java.util.List out
        28: .line 210
      StackMap locals: jdk.internal.net.http.ResponseContent$ChunkedBodyParser java.nio.ByteBuffer int
      StackMap stack: java.lang.Throwable
            astore 3 /* t */
        start local 3 // java.lang.Throwable t
        29: .line 211
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 31
        30: .line 212
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Error while processing buffer: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* t */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        31: .line 213
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            aload 3 /* t */
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
        32: .line 214
            iload 2 /* completed */
            ifne 33
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.onComplete:Ljava/util/function/Consumer;
            aload 3 /* t */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        end local 3 // java.lang.Throwable t
        33: .line 216
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean completed
        end local 1 // java.nio.ByteBuffer b
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   34     0       this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0   34     1          b  Ljava/nio/ByteBuffer;
            5   34     2  completed  Z
            6   28     3        out  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            9   12     4  hasDemand  Z
           24   27     4  hasDemand  Z
           29   33     3          t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           5    28      28  Class java.lang.Throwable
    MethodParameters:
      Name  Flags
      b     

  private int tryReadChunkLen(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 1 // java.nio.ByteBuffer chunkbuf
         0: .line 222
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 11
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
            if_acmpeq 11
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 224
      StackMap locals:
      StackMap stack:
            aload 1 /* chunkbuf */
            invokevirtual java.nio.ByteBuffer.get:()B
            istore 2 /* c */
        start local 2 // int c
         2: .line 225
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
            ifeq 6
         3: .line 226
            iload 2 /* c */
            bipush 10
            if_icmpne 5
         4: .line 227
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
            ireturn
         5: .line 229
      StackMap locals: int
      StackMap stack:
            new java.io.IOException
            dup
            ldc "invalid chunk header"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 232
      StackMap locals:
      StackMap stack:
            iload 2 /* c */
            bipush 13
            if_icmpne 9
         7: .line 233
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
         8: .line 234
            goto 11
         9: .line 235
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* c */
            invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.toDigit:(I)I
            istore 3 /* digit */
        start local 3 // int digit
        10: .line 236
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
            bipush 16
            imul
            iload 3 /* digit */
            iadd
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
        end local 3 // int digit
        end local 2 // int c
        11: .line 223
      StackMap locals:
      StackMap stack:
            aload 1 /* chunkbuf */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 1
        12: .line 239
            iconst_m1
            ireturn
        end local 1 // java.nio.ByteBuffer chunkbuf
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   13     0      this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0   13     1  chunkbuf  Ljava/nio/ByteBuffer;
            2   11     2         c  I
           10   11     3     digit  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      chunkbuf  

  private int tryConsumeBytes(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 1 // java.nio.ByteBuffer chunkbuf
         0: .line 249
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
            istore 2 /* n */
        start local 2 // int n
         1: .line 250
            iload 2 /* n */
            ifle 13
         2: .line 251
            aload 1 /* chunkbuf */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 2 /* n */
            invokestatic java.lang.Math.min:(II)I
            istore 3 /* e */
        start local 3 // int e
         3: .line 255
            getstatic jdk.internal.net.http.common.Utils.ASSERTIONSENABLED:Z
            ifeq 10
         4: .line 256
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 6
            iload 2 /* n */
            iconst_2
            if_icmpgt 5
            iload 3 /* e */
            iconst_2
            if_icmple 6
      StackMap locals: int int
      StackMap stack:
         5: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 257
      StackMap locals:
      StackMap stack:
            aload 1 /* chunkbuf */
            invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
            astore 4 /* tmp */
        start local 4 // java.nio.ByteBuffer tmp
         7: .line 259
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 8
            iload 2 /* n */
            iconst_2
            if_icmpne 8
            iload 3 /* e */
            ifle 8
            aload 4 /* tmp */
            invokevirtual java.nio.ByteBuffer.get:()B
            bipush 13
            if_icmpeq 8
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         8: .line 261
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 10
            iload 2 /* n */
            iconst_1
            if_icmpeq 9
            iload 3 /* e */
            iconst_2
            if_icmpne 10
      StackMap locals:
      StackMap stack:
         9: aload 4 /* tmp */
            invokevirtual java.nio.ByteBuffer.get:()B
            bipush 10
            if_icmpeq 10
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 4 // java.nio.ByteBuffer tmp
        10: .line 264
      StackMap locals:
      StackMap stack:
            aload 1 /* chunkbuf */
            aload 1 /* chunkbuf */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 3 /* e */
            iadd
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
        11: .line 265
            iload 2 /* n */
            iload 3 /* e */
            isub
            istore 2 /* n */
        12: .line 266
            aload 0 /* this */
            iload 2 /* n */
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
        end local 3 // int e
        13: .line 268
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 14
            iload 2 /* n */
            ifge 14
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        14: .line 269
      StackMap locals:
      StackMap stack:
            iload 2 /* n */
            ireturn
        end local 2 // int n
        end local 1 // java.nio.ByteBuffer chunkbuf
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   15     0      this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0   15     1  chunkbuf  Ljava/nio/ByteBuffer;
            1   15     2         n  I
            3   13     3         e  I
            7   10     4       tmp  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      chunkbuf  

  java.nio.ByteBuffer tryReadOneHunk(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
    flags: (0x0000) 
    Code:
      stack=6, locals=9, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 1 // java.nio.ByteBuffer chunk
         0: .line 281
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
            istore 2 /* unfulfilled */
        start local 2 // int unfulfilled
         1: .line 282
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
            istore 3 /* toconsume */
        start local 3 // int toconsume
         2: .line 283
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
            astore 4 /* st */
        start local 4 // jdk.internal.net.http.ResponseContent$ChunkState st
         3: .line 284
            aload 4 /* st */
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
            if_acmpne 12
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
            iconst_m1
            if_icmpne 12
         4: .line 285
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 5
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            aload 1 /* chunk */
            invokedynamic get(Ljava/nio/ByteBuffer;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/internal/net/http/ResponseContent$ChunkedBodyParser.lambda$1(Ljava/nio/ByteBuffer;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/util/function/Supplier;)V
         5: .line 287
      StackMap locals: int int jdk.internal.net.http.ResponseContent$ChunkState
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryReadChunkLen:(Ljava/nio/ByteBuffer;)I
            dup_x1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
            istore 5 /* clen */
        start local 5 // int clen
         6: .line 288
            iload 5 /* clen */
            iconst_m1
            if_icmpne 7
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
            areturn
         7: .line 289
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 8
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Got chunk len %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 5 /* clen */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         8: .line 290
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
         9: .line 291
            aload 0 /* this */
            iload 5 /* clen */
            dup_x1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
            istore 2 /* unfulfilled */
        10: .line 292
            iload 5 /* clen */
            ifne 11
            aload 0 /* this */
            iconst_2
            dup_x1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
            istore 3 /* toconsume */
            goto 12
        11: .line 293
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_DATA:Ljdk/internal/net/http/ResponseContent$ChunkState;
            dup_x1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
            astore 4 /* st */
        end local 5 // int clen
        12: .line 296
      StackMap locals:
      StackMap stack:
            iload 3 /* toconsume */
            ifle 19
        13: .line 297
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 17
        14: .line 298
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Trying to consume bytes: %d (remaining in buffer: %s)"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        15: .line 299
            iload 3 /* toconsume */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 1 /* chunk */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        16: .line 298
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        17: .line 300
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryConsumeBytes:(Ljava/nio/ByteBuffer;)I
            ifle 19
        18: .line 301
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
            areturn
        19: .line 305
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
            istore 3 /* toconsume */
        20: .line 306
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 21
            iload 3 /* toconsume */
            ifeq 21
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        21: .line 309
      StackMap locals:
      StackMap stack:
            aload 4 /* st */
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
            if_acmpne 27
        22: .line 312
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
            istore 5 /* clen */
        start local 5 // int clen
        23: .line 313
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 24
            iload 5 /* clen */
            ifeq 24
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        24: .line 314
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 25
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "No more chunks: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 5 /* clen */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        25: .line 317
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
        26: .line 318
            aconst_null
            areturn
        end local 5 // int clen
        27: .line 321
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
            istore 5 /* clen */
        start local 5 // int clen
        28: .line 322
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 29
            iload 5 /* clen */
            ifgt 29
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        29: .line 323
      StackMap locals: int
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 30
            aload 4 /* st */
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_DATA:Ljdk/internal/net/http/ResponseContent$ChunkState;
            if_acmpeq 30
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        30: .line 325
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
            astore 6 /* returnBuffer */
        start local 6 // java.nio.ByteBuffer returnBuffer
        31: .line 326
            iload 2 /* unfulfilled */
            ifle 43
        32: .line 327
            aload 1 /* chunk */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 7 /* bytesread */
        start local 7 // int bytesread
        33: .line 328
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 37
        34: .line 329
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Reading chunk: available %d, needed %d"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        35: .line 330
            iload 7 /* bytesread */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 2 /* unfulfilled */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        36: .line 329
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        37: .line 332
      StackMap locals: java.nio.ByteBuffer int
      StackMap stack:
            iload 7 /* bytesread */
            iload 2 /* unfulfilled */
            invokestatic java.lang.Math.min:(II)I
            istore 8 /* bytes2return */
        start local 8 // int bytes2return
        38: .line 333
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 40
        39: .line 334
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Returning chunk bytes: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 8 /* bytes2return */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        40: .line 335
      StackMap locals: int
      StackMap stack:
            aload 1 /* chunk */
            iload 8 /* bytes2return */
            invokestatic jdk.internal.net.http.common.Utils.sliceWithLimitedCapacity:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
            astore 6 /* returnBuffer */
        41: .line 336
            aload 0 /* this */
            dup
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
            iload 8 /* bytes2return */
            isub
            dup_x1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
            istore 2 /* unfulfilled */
        42: .line 337
            iload 2 /* unfulfilled */
            ifne 43
            aload 0 /* this */
            iconst_2
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
        end local 8 // int bytes2return
        end local 7 // int bytesread
        43: .line 340
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 44
            iload 2 /* unfulfilled */
            ifge 44
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        44: .line 342
      StackMap locals:
      StackMap stack:
            iload 2 /* unfulfilled */
            ifne 55
        45: .line 343
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 49
        46: .line 344
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "No more bytes to read - %d yet to consume."
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        47: .line 345
            iload 2 /* unfulfilled */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        48: .line 344
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        49: .line 351
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* chunk */
            invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryConsumeBytes:(Ljava/nio/ByteBuffer;)I
            ifne 55
        50: .line 354
            aload 0 /* this */
            iconst_m1
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
        51: .line 355
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
        52: .line 356
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
        53: .line 357
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
            putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
        54: .line 358
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 55
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Ready to read next chunk"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        55: .line 361
      StackMap locals:
      StackMap stack:
            aload 6 /* returnBuffer */
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
            if_acmpne 57
        56: .line 362
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 57
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Need more data"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        57: .line 364
      StackMap locals:
      StackMap stack:
            aload 6 /* returnBuffer */
            areturn
        end local 6 // java.nio.ByteBuffer returnBuffer
        end local 5 // int clen
        end local 4 // jdk.internal.net.http.ResponseContent$ChunkState st
        end local 3 // int toconsume
        end local 2 // int unfulfilled
        end local 1 // java.nio.ByteBuffer chunk
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   58     0          this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0   58     1         chunk  Ljava/nio/ByteBuffer;
            1   58     2   unfulfilled  I
            2   58     3     toconsume  I
            3   58     4            st  Ljdk/internal/net/http/ResponseContent$ChunkState;
            6   12     5          clen  I
           23   27     5          clen  I
           28   58     5          clen  I
           31   58     6  returnBuffer  Ljava/nio/ByteBuffer;
           33   43     7     bytesread  I
           38   43     8  bytes2return  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      chunk  

  private boolean tryPushOneHunk(java.nio.ByteBuffer, java.util.List<java.nio.ByteBuffer>);
    descriptor: (Ljava/nio/ByteBuffer;Ljava/util/List;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 1 // java.nio.ByteBuffer b
        start local 2 // java.util.List out
         0: .line 373
            getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
            getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
            if_acmpne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 374
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* b */
            invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryReadOneHunk:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            astore 3 /* b1 */
        start local 3 // java.nio.ByteBuffer b1
         2: .line 375
            aload 3 /* b1 */
            ifnull 8
         3: .line 377
            aload 3 /* b1 */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 7
         4: .line 378
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 6
         5: .line 379
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Sending chunk to consumer (%d)"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* b1 */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         6: .line 380
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 2 /* out */
            aload 3 /* b1 */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         7: .line 382
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         8: .line 384
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 3 // java.nio.ByteBuffer b1
        end local 2 // java.util.List out
        end local 1 // java.nio.ByteBuffer b
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0    9     1     b  Ljava/nio/ByteBuffer;
            0    9     2   out  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            2    9     3    b1  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/nio/ByteBuffer;Ljava/util/List<Ljava/nio/ByteBuffer;>;)Z
    MethodParameters:
      Name  Flags
      b     
      out   

  private int toDigit(int);
    descriptor: (I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
        start local 1 // int b
         0: .line 389
            iload 1 /* b */
            bipush 48
            if_icmplt 2
            iload 1 /* b */
            bipush 57
            if_icmpgt 2
         1: .line 390
            iload 1 /* b */
            bipush 48
            isub
            ireturn
         2: .line 392
      StackMap locals:
      StackMap stack:
            iload 1 /* b */
            bipush 65
            if_icmplt 4
            iload 1 /* b */
            bipush 70
            if_icmpgt 4
         3: .line 393
            iload 1 /* b */
            bipush 65
            isub
            bipush 10
            iadd
            ireturn
         4: .line 395
      StackMap locals:
      StackMap stack:
            iload 1 /* b */
            bipush 97
            if_icmplt 6
            iload 1 /* b */
            bipush 102
            if_icmpgt 6
         5: .line 396
            iload 1 /* b */
            bipush 97
            isub
            bipush 10
            iadd
            ireturn
         6: .line 398
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Invalid chunk header byte "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* b */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // int b
        end local 0 // jdk.internal.net.http.ResponseContent$ChunkedBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
            0    7     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void accept(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast java.nio.ByteBuffer
            invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.accept:(Ljava/nio/ByteBuffer;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$1(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 285
            new java.lang.StringBuilder
            dup
            ldc "Trying to read chunk len (remaining in buffer:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 286
            aload 0
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         2: .line 285
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         3: .line 286
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "ResponseContent.java"
NestHost: jdk.internal.net.http.ResponseContent
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract BodySubscriber = java.net.http.HttpResponse$BodySubscriber of java.net.http.HttpResponse
  public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
  abstract BodyParser = jdk.internal.net.http.ResponseContent$BodyParser of jdk.internal.net.http.ResponseContent
  final ChunkState = jdk.internal.net.http.ResponseContent$ChunkState of jdk.internal.net.http.ResponseContent
  ChunkedBodyParser = jdk.internal.net.http.ResponseContent$ChunkedBodyParser of jdk.internal.net.http.ResponseContent