public class jdk.internal.org.jline.utils.PumpReader extends java.io.Reader
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.org.jline.utils.PumpReader
  super_class: java.io.Reader
{
  private static final int EOF;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

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

  private final java.nio.CharBuffer readBuffer;
    descriptor: Ljava/nio/CharBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.CharBuffer writeBuffer;
    descriptor: Ljava/nio/CharBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.internal.org.jline.utils.PumpReader$Writer writer;
    descriptor: Ljdk/internal/org/jline/utils/PumpReader$Writer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 35
            aload 0 /* this */
            sipush 4096
            invokespecial jdk.internal.org.jline.utils.PumpReader.<init>:(I)V
         1: .line 36
            return
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/utils/PumpReader;

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // int bufferSize
         0: .line 38
            aload 0 /* this */
            invokespecial java.io.Reader.<init>:()V
         1: .line 39
            iload 1 /* bufferSize */
            newarray 5
            astore 2 /* buf */
        start local 2 // char[] buf
         2: .line 40
            aload 0 /* this */
            aload 2 /* buf */
            invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
            putfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
         3: .line 41
            aload 0 /* this */
            aload 2 /* buf */
            invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
            putfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
         4: .line 42
            aload 0 /* this */
            new jdk.internal.org.jline.utils.PumpReader$Writer
            dup
            aload 0 /* this */
            invokespecial jdk.internal.org.jline.utils.PumpReader$Writer.<init>:(Ljdk/internal/org/jline/utils/PumpReader;)V
            putfield jdk.internal.org.jline.utils.PumpReader.writer:Ljdk/internal/org/jline/utils/PumpReader$Writer;
         5: .line 45
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            iconst_0
            invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
            pop
         6: .line 46
            return
        end local 2 // char[] buf
        end local 1 // int bufferSize
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Ljdk/internal/org/jline/utils/PumpReader;
            0    7     1  bufferSize  I
            2    7     2         buf  [C
    MethodParameters:
            Name  Flags
      bufferSize  

  public java.io.Writer getWriter();
    descriptor: ()Ljava/io/Writer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 49
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writer:Ljdk/internal/org/jline/utils/PumpReader$Writer;
            areturn
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/utils/PumpReader;

  public java.io.InputStream createInputStream(java.nio.charset.Charset);
    descriptor: (Ljava/nio/charset/Charset;)Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // java.nio.charset.Charset charset
         0: .line 53
            new jdk.internal.org.jline.utils.PumpReader$InputStream
            dup
            aload 0 /* this */
            aload 1 /* charset */
            invokespecial jdk.internal.org.jline.utils.PumpReader$InputStream.<init>:(Ljdk/internal/org/jline/utils/PumpReader;Ljava/nio/charset/Charset;)V
            areturn
        end local 1 // java.nio.charset.Charset charset
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Ljdk/internal/org/jline/utils/PumpReader;
            0    1     1  charset  Ljava/nio/charset/Charset;
    MethodParameters:
         Name  Flags
      charset  

  private boolean wait(java.nio.CharBuffer);
    descriptor: (Ljava/nio/CharBuffer;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // java.nio.CharBuffer buffer
         0: .line 57
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.closed:Z
            ifeq 9
         1: .line 58
            iconst_0
            ireturn
         2: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         3: .line 66
            aload 0 /* this */
            invokevirtual java.lang.Object.wait:()V
         4: .line 67
            goto 7
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         5: pop
         6: .line 68
            new java.io.InterruptedIOException
            dup
            invokespecial java.io.InterruptedIOException.<init>:()V
            athrow
         7: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.closed:Z
            ifeq 9
         8: .line 72
            iconst_0
            ireturn
         9: .line 61
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifeq 2
        10: .line 76
            iconst_1
            ireturn
        end local 1 // java.nio.CharBuffer buffer
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Ljdk/internal/org/jline/utils/PumpReader;
            0   11     1  buffer  Ljava/nio/CharBuffer;
      Exception table:
        from    to  target  type
           3     4       5  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.InterruptedIOException
    MethodParameters:
        Name  Flags
      buffer  

  private boolean waitForInput();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 86
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual jdk.internal.org.jline.utils.PumpReader.wait:(Ljava/nio/CharBuffer;)Z
            ireturn
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/utils/PumpReader;
    Exceptions:
      throws java.io.InterruptedIOException

  private void waitForBufferSpace();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 97
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual jdk.internal.org.jline.utils.PumpReader.wait:(Ljava/nio/CharBuffer;)Z
            ifne 2
         1: .line 98
            new jdk.internal.org.jline.utils.ClosedException
            dup
            invokespecial jdk.internal.org.jline.utils.ClosedException.<init>:()V
            athrow
         2: .line 100
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/utils/PumpReader;
    Exceptions:
      throws java.io.InterruptedIOException, jdk.internal.org.jline.utils.ClosedException

  private static boolean rewind(java.nio.CharBuffer, java.nio.CharBuffer);
    descriptor: (Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.nio.CharBuffer buffer
        start local 1 // java.nio.CharBuffer other
         0: .line 104
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.position:()I
            aload 1 /* other */
            invokevirtual java.nio.CharBuffer.position:()I
            if_icmple 2
         1: .line 105
            aload 1 /* other */
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.position:()I
            invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
            pop
         2: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.position:()I
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.capacity:()I
            if_icmpne 6
         3: .line 110
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.rewind:()Ljava/nio/CharBuffer;
            pop
         4: .line 111
            aload 0 /* buffer */
            aload 1 /* other */
            invokevirtual java.nio.CharBuffer.position:()I
            invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
            pop
         5: .line 112
            iconst_1
            ireturn
         6: .line 114
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.nio.CharBuffer other
        end local 0 // java.nio.CharBuffer buffer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0  buffer  Ljava/nio/CharBuffer;
            0    7     1   other  Ljava/nio/CharBuffer;
    MethodParameters:
        Name  Flags
      buffer  
      other   

  private boolean rewindReadBuffer();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 125
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokestatic jdk.internal.org.jline.utils.PumpReader.rewind:(Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/utils/PumpReader;

  private void rewindWriteBuffer();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 133
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokestatic jdk.internal.org.jline.utils.PumpReader.rewind:(Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
            pop
         1: .line 134
            return
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/utils/PumpReader;

  public synchronized boolean ready();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 138
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ireturn
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/utils/PumpReader;

  public synchronized int available();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 142
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.remaining:()I
            istore 1 /* count */
        start local 1 // int count
         1: .line 143
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            if_icmpge 3
         2: .line 144
            iload 1 /* count */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            iadd
            istore 1 /* count */
         3: .line 146
      StackMap locals: int
      StackMap stack:
            iload 1 /* count */
            ireturn
        end local 1 // int count
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/internal/org/jline/utils/PumpReader;
            1    4     1  count  I

  public synchronized int read();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 151
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
            ifne 2
         1: .line 152
            iconst_m1
            ireturn
         2: .line 155
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.get:()C
            istore 1 /* b */
        start local 1 // int b
         3: .line 156
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
            pop
         4: .line 157
            iload 1 /* b */
            ireturn
        end local 1 // int b
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/org/jline/utils/PumpReader;
            3    5     1     b  I
    Exceptions:
      throws java.io.IOException

  private int copyFromBuffer(char[], int, int);
    descriptor: ([CII)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // char[] cbuf
        start local 2 // int off
        start local 3 // int len
         0: .line 161
            iload 3 /* len */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.remaining:()I
            invokestatic java.lang.Math.min:(II)I
            istore 3 /* len */
         1: .line 162
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 1 /* cbuf */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.nio.CharBuffer.get:([CII)Ljava/nio/CharBuffer;
            pop
         2: .line 163
            iload 3 /* len */
            ireturn
        end local 3 // int len
        end local 2 // int off
        end local 1 // char[] cbuf
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/utils/PumpReader;
            0    3     1  cbuf  [C
            0    3     2   off  I
            0    3     3   len  I
    MethodParameters:
      Name  Flags
      cbuf  
      off   
      len   

  public synchronized int read(char[], int, int);
    descriptor: ([CII)I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=5, args_size=4
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // char[] cbuf
        start local 2 // int off
        start local 3 // int len
         0: .line 168
            iload 3 /* len */
            ifne 2
         1: .line 169
            iconst_0
            ireturn
         2: .line 172
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
            ifne 4
         3: .line 173
            iconst_m1
            ireturn
         4: .line 176
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* cbuf */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.copyFromBuffer:([CII)I
            istore 4 /* count */
        start local 4 // int count
         5: .line 177
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
            ifeq 8
            iload 4 /* count */
            iload 3 /* len */
            if_icmpge 8
         6: .line 178
            iload 4 /* count */
            aload 0 /* this */
            aload 1 /* cbuf */
            iload 2 /* off */
            iload 4 /* count */
            iadd
            iload 3 /* len */
            iload 4 /* count */
            isub
            invokevirtual jdk.internal.org.jline.utils.PumpReader.copyFromBuffer:([CII)I
            iadd
            istore 4 /* count */
         7: .line 179
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
            pop
         8: .line 182
      StackMap locals: int
      StackMap stack:
            iload 4 /* count */
            ireturn
        end local 4 // int count
        end local 3 // int len
        end local 2 // int off
        end local 1 // char[] cbuf
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Ljdk/internal/org/jline/utils/PumpReader;
            0    9     1   cbuf  [C
            0    9     2    off  I
            0    9     3    len  I
            5    9     4  count  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      cbuf  
      off   
      len   

  public int read(java.nio.CharBuffer);
    descriptor: (Ljava/nio/CharBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // java.nio.CharBuffer target
         0: .line 187
            aload 1 /* target */
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifne 2
         1: .line 188
            iconst_0
            ireturn
         2: .line 191
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
            ifne 4
         3: .line 192
            iconst_m1
            ireturn
         4: .line 195
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 1 /* target */
            invokevirtual java.nio.CharBuffer.read:(Ljava/nio/CharBuffer;)I
            istore 2 /* count */
        start local 2 // int count
         5: .line 196
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
            ifeq 8
            aload 1 /* target */
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifeq 8
         6: .line 197
            iload 2 /* count */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 1 /* target */
            invokevirtual java.nio.CharBuffer.read:(Ljava/nio/CharBuffer;)I
            iadd
            istore 2 /* count */
         7: .line 198
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
            pop
         8: .line 201
      StackMap locals: int
      StackMap stack:
            iload 2 /* count */
            ireturn
        end local 2 // int count
        end local 1 // java.nio.CharBuffer target
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Ljdk/internal/org/jline/utils/PumpReader;
            0    9     1  target  Ljava/nio/CharBuffer;
            5    9     2   count  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      target  

  private void encodeBytes(java.nio.charset.CharsetEncoder, java.nio.ByteBuffer);
    descriptor: (Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // java.nio.charset.CharsetEncoder encoder
        start local 2 // java.nio.ByteBuffer output
         0: .line 205
            aload 1 /* encoder */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 2 /* output */
            iconst_0
            invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
            astore 3 /* result */
        start local 3 // java.nio.charset.CoderResult result
         1: .line 206
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
            ifeq 4
            aload 3 /* result */
            invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
            ifeq 4
         2: .line 207
            aload 1 /* encoder */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 2 /* output */
            iconst_0
            invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
            pop
         3: .line 208
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
            pop
         4: .line 210
      StackMap locals: java.nio.charset.CoderResult
      StackMap stack:
            return
        end local 3 // java.nio.charset.CoderResult result
        end local 2 // java.nio.ByteBuffer output
        end local 1 // java.nio.charset.CharsetEncoder encoder
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/internal/org/jline/utils/PumpReader;
            0    5     1  encoder  Ljava/nio/charset/CharsetEncoder;
            0    5     2   output  Ljava/nio/ByteBuffer;
            1    5     3   result  Ljava/nio/charset/CoderResult;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      encoder  
      output   

  synchronized int readBytes(java.nio.charset.CharsetEncoder, byte[], int, int);
    descriptor: (Ljava/nio/charset/CharsetEncoder;[BII)I
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=3, locals=6, args_size=5
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // java.nio.charset.CharsetEncoder encoder
        start local 2 // byte[] b
        start local 3 // int off
        start local 4 // int len
         0: .line 213
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
            ifne 2
         1: .line 214
            iconst_0
            ireturn
         2: .line 217
      StackMap locals:
      StackMap stack:
            aload 2 /* b */
            iload 3 /* off */
            iload 4 /* len */
            invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
            astore 5 /* output */
        start local 5 // java.nio.ByteBuffer output
         3: .line 218
            aload 0 /* this */
            aload 1 /* encoder */
            aload 5 /* output */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.encodeBytes:(Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
         4: .line 219
            aload 5 /* output */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 3 /* off */
            isub
            ireturn
        end local 5 // java.nio.ByteBuffer output
        end local 4 // int len
        end local 3 // int off
        end local 2 // byte[] b
        end local 1 // java.nio.charset.CharsetEncoder encoder
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/internal/org/jline/utils/PumpReader;
            0    5     1  encoder  Ljava/nio/charset/CharsetEncoder;
            0    5     2        b  [B
            0    5     3      off  I
            0    5     4      len  I
            3    5     5   output  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      encoder  
      b        
      off      
      len      

  synchronized void readBytes(java.nio.charset.CharsetEncoder, java.nio.ByteBuffer);
    descriptor: (Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // java.nio.charset.CharsetEncoder encoder
        start local 2 // java.nio.ByteBuffer output
         0: .line 223
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
            ifne 2
         1: .line 224
            return
         2: .line 227
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* encoder */
            aload 2 /* output */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.encodeBytes:(Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
         3: .line 228
            return
        end local 2 // java.nio.ByteBuffer output
        end local 1 // java.nio.charset.CharsetEncoder encoder
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljdk/internal/org/jline/utils/PumpReader;
            0    4     1  encoder  Ljava/nio/charset/CharsetEncoder;
            0    4     2   output  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      encoder  
      output   

  synchronized void write(char);
    descriptor: (C)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // char c
         0: .line 231
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForBufferSpace:()V
         1: .line 232
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            iload 1 /* c */
            invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
            pop
         2: .line 233
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindWriteBuffer:()V
         3: .line 234
            return
        end local 1 // char c
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/utils/PumpReader;
            0    4     1     c  C
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      c     

  synchronized void write(char[], int, int);
    descriptor: ([CII)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // char[] cbuf
        start local 2 // int off
        start local 3 // int len
         0: .line 237
            goto 7
         1: .line 238
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForBufferSpace:()V
         2: .line 241
            iload 3 /* len */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.remaining:()I
            invokestatic java.lang.Math.min:(II)I
            istore 4 /* count */
        start local 4 // int count
         3: .line 242
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            aload 1 /* cbuf */
            iload 2 /* off */
            iload 4 /* count */
            invokevirtual java.nio.CharBuffer.put:([CII)Ljava/nio/CharBuffer;
            pop
         4: .line 244
            iload 2 /* off */
            iload 4 /* count */
            iadd
            istore 2 /* off */
         5: .line 245
            iload 3 /* len */
            iload 4 /* count */
            isub
            istore 3 /* len */
         6: .line 248
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindWriteBuffer:()V
        end local 4 // int count
         7: .line 237
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifgt 1
         8: .line 250
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // char[] cbuf
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Ljdk/internal/org/jline/utils/PumpReader;
            0    9     1   cbuf  [C
            0    9     2    off  I
            0    9     3    len  I
            3    7     4  count  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      cbuf  
      off   
      len   

  synchronized void write(java.lang.String, int, int);
    descriptor: (Ljava/lang/String;II)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
        start local 1 // java.lang.String str
        start local 2 // int off
        start local 3 // int len
         0: .line 253
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.array:()[C
            astore 4 /* buf */
        start local 4 // char[] buf
         1: .line 255
            goto 9
         2: .line 256
      StackMap locals: char[]
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForBufferSpace:()V
         3: .line 259
            iload 3 /* len */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.remaining:()I
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* count */
        start local 5 // int count
         4: .line 261
            aload 1 /* str */
            iload 2 /* off */
            iload 2 /* off */
            iload 5 /* count */
            iadd
            aload 4 /* buf */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            invokevirtual java.lang.String.getChars:(II[CI)V
         5: .line 262
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            iload 5 /* count */
            iadd
            invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
            pop
         6: .line 264
            iload 2 /* off */
            iload 5 /* count */
            iadd
            istore 2 /* off */
         7: .line 265
            iload 3 /* len */
            iload 5 /* count */
            isub
            istore 3 /* len */
         8: .line 268
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindWriteBuffer:()V
        end local 5 // int count
         9: .line 255
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifgt 2
        10: .line 270
            return
        end local 4 // char[] buf
        end local 3 // int len
        end local 2 // int off
        end local 1 // java.lang.String str
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0   this  Ljdk/internal/org/jline/utils/PumpReader;
            0   11     1    str  Ljava/lang/String;
            0   11     2    off  I
            0   11     3    len  I
            1   11     4    buf  [C
            4    9     5  count  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      str   
      off   
      len   

  synchronized void flush();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 274
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifeq 2
         1: .line 276
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         2: .line 278
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/utils/PumpReader;

  public synchronized void close();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.PumpReader this
         0: .line 282
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.org.jline.utils.PumpReader.closed:Z
         1: .line 283
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         2: .line 284
            return
        end local 0 // jdk.internal.org.jline.utils.PumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/utils/PumpReader;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "PumpReader.java"
NestMembers:
  jdk.internal.org.jline.utils.PumpReader$InputStream  jdk.internal.org.jline.utils.PumpReader$Writer
InnerClasses:
  private InputStream = jdk.internal.org.jline.utils.PumpReader$InputStream of jdk.internal.org.jline.utils.PumpReader
  private Writer = jdk.internal.org.jline.utils.PumpReader$Writer of jdk.internal.org.jline.utils.PumpReader