public class jdk.internal.org.jline.terminal.impl.PosixPtyTerminal extends jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
  super_class: jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal
{
  private final java.io.InputStream in;
    descriptor: Ljava/io/InputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.OutputStream out;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.InputStream masterInput;
    descriptor: Ljava/io/InputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.OutputStream masterOutput;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.internal.org.jline.utils.NonBlockingInputStream input;
    descriptor: Ljdk/internal/org/jline/utils/NonBlockingInputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.OutputStream output;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.internal.org.jline.utils.NonBlockingReader reader;
    descriptor: Ljdk/internal/org/jline/utils/NonBlockingReader;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.PrintWriter writer;
    descriptor: Ljava/io/PrintWriter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Object lock;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.lang.Thread inputPumpThread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Thread outputPumpThread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0002) ACC_PRIVATE

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

  public void <init>(java.lang.String, java.lang.String, jdk.internal.org.jline.terminal.spi.Pty, java.io.InputStream, java.io.OutputStream, java.nio.charset.Charset);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=7, args_size=7
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
        start local 1 // java.lang.String name
        start local 2 // java.lang.String type
        start local 3 // jdk.internal.org.jline.terminal.spi.Pty pty
        start local 4 // java.io.InputStream in
        start local 5 // java.io.OutputStream out
        start local 6 // java.nio.charset.Charset encoding
         0: .line 43
            aload 0 /* this */
            aload 1 /* name */
            aload 2 /* type */
            aload 3 /* pty */
            aload 4 /* in */
            aload 5 /* out */
            aload 6 /* encoding */
            getstatic jdk.internal.org.jline.terminal.Terminal$SignalHandler.SIG_DFL:Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
            invokespecial jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)V
         1: .line 44
            return
        end local 6 // java.nio.charset.Charset encoding
        end local 5 // java.io.OutputStream out
        end local 4 // java.io.InputStream in
        end local 3 // jdk.internal.org.jline.terminal.spi.Pty pty
        end local 2 // java.lang.String type
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
            0    2     1      name  Ljava/lang/String;
            0    2     2      type  Ljava/lang/String;
            0    2     3       pty  Ljdk/internal/org/jline/terminal/spi/Pty;
            0    2     4        in  Ljava/io/InputStream;
            0    2     5       out  Ljava/io/OutputStream;
            0    2     6  encoding  Ljava/nio/charset/Charset;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      name      
      type      
      pty       
      in        
      out       
      encoding  

  public void <init>(java.lang.String, java.lang.String, jdk.internal.org.jline.terminal.spi.Pty, java.io.InputStream, java.io.OutputStream, java.nio.charset.Charset, jdk.internal.org.jline.terminal.Terminal$SignalHandler);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=8, args_size=8
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
        start local 1 // java.lang.String name
        start local 2 // java.lang.String type
        start local 3 // jdk.internal.org.jline.terminal.spi.Pty pty
        start local 4 // java.io.InputStream in
        start local 5 // java.io.OutputStream out
        start local 6 // java.nio.charset.Charset encoding
        start local 7 // jdk.internal.org.jline.terminal.Terminal$SignalHandler signalHandler
         0: .line 47
            aload 0 /* this */
            aload 1 /* name */
            aload 2 /* type */
            aload 3 /* pty */
            aload 4 /* in */
            aload 5 /* out */
            aload 6 /* encoding */
            aload 7 /* signalHandler */
            iconst_0
            invokespecial jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;Z)V
         1: .line 48
            return
        end local 7 // jdk.internal.org.jline.terminal.Terminal$SignalHandler signalHandler
        end local 6 // java.nio.charset.Charset encoding
        end local 5 // java.io.OutputStream out
        end local 4 // java.io.InputStream in
        end local 3 // jdk.internal.org.jline.terminal.spi.Pty pty
        end local 2 // java.lang.String type
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
            0    2     1           name  Ljava/lang/String;
            0    2     2           type  Ljava/lang/String;
            0    2     3            pty  Ljdk/internal/org/jline/terminal/spi/Pty;
            0    2     4             in  Ljava/io/InputStream;
            0    2     5            out  Ljava/io/OutputStream;
            0    2     6       encoding  Ljava/nio/charset/Charset;
            0    2     7  signalHandler  Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      name           
      type           
      pty            
      in             
      out            
      encoding       
      signalHandler  

  public void <init>(java.lang.String, java.lang.String, jdk.internal.org.jline.terminal.spi.Pty, java.io.InputStream, java.io.OutputStream, java.nio.charset.Charset, jdk.internal.org.jline.terminal.Terminal$SignalHandler, boolean);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=9, args_size=9
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
        start local 1 // java.lang.String name
        start local 2 // java.lang.String type
        start local 3 // jdk.internal.org.jline.terminal.spi.Pty pty
        start local 4 // java.io.InputStream in
        start local 5 // java.io.OutputStream out
        start local 6 // java.nio.charset.Charset encoding
        start local 7 // jdk.internal.org.jline.terminal.Terminal$SignalHandler signalHandler
        start local 8 // boolean paused
         0: .line 51
            aload 0 /* this */
            aload 1 /* name */
            aload 2 /* type */
            aload 3 /* pty */
            aload 6 /* encoding */
            aload 7 /* signalHandler */
            invokespecial jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)V
         1: .line 37
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
         2: .line 40
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.paused:Z
         3: .line 52
            aload 0 /* this */
            aload 4 /* in */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.io.InputStream
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.in:Ljava/io/InputStream;
         4: .line 53
            aload 0 /* this */
            aload 5 /* out */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.io.OutputStream
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.out:Ljava/io/OutputStream;
         5: .line 54
            aload 0 /* this */
            aload 3 /* pty */
            invokeinterface jdk.internal.org.jline.terminal.spi.Pty.getMasterInput:()Ljava/io/InputStream;
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.masterInput:Ljava/io/InputStream;
         6: .line 55
            aload 0 /* this */
            aload 3 /* pty */
            invokeinterface jdk.internal.org.jline.terminal.spi.Pty.getMasterOutput:()Ljava/io/OutputStream;
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.masterOutput:Ljava/io/OutputStream;
         7: .line 56
            aload 0 /* this */
            new jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper
            dup
            aload 0 /* this */
            aload 1 /* name */
            aload 3 /* pty */
            invokeinterface jdk.internal.org.jline.terminal.spi.Pty.getSlaveInput:()Ljava/io/InputStream;
            invokestatic jdk.internal.org.jline.utils.NonBlocking.nonBlocking:(Ljava/lang/String;Ljava/io/InputStream;)Ljdk/internal/org/jline/utils/NonBlockingInputStream;
            invokespecial jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper.<init>:(Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;Ljdk/internal/org/jline/utils/NonBlockingInputStream;)V
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
         8: .line 57
            aload 0 /* this */
            aload 3 /* pty */
            invokeinterface jdk.internal.org.jline.terminal.spi.Pty.getSlaveOutput:()Ljava/io/OutputStream;
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.output:Ljava/io/OutputStream;
         9: .line 58
            aload 0 /* this */
            aload 1 /* name */
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.encoding:()Ljava/nio/charset/Charset;
            invokestatic jdk.internal.org.jline.utils.NonBlocking.nonBlocking:(Ljava/lang/String;Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljdk/internal/org/jline/utils/NonBlockingReader;
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.reader:Ljdk/internal/org/jline/utils/NonBlockingReader;
        10: .line 59
            aload 0 /* this */
            new java.io.PrintWriter
            dup
            new java.io.OutputStreamWriter
            dup
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.output:Ljava/io/OutputStream;
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.encoding:()Ljava/nio/charset/Charset;
            invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.writer:Ljava/io/PrintWriter;
        11: .line 60
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.parseInfoCmp:()V
        12: .line 61
            iload 8 /* paused */
            ifne 14
        13: .line 62
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.resume:()V
        14: .line 64
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal java.lang.String java.lang.String jdk.internal.org.jline.terminal.spi.Pty java.io.InputStream java.io.OutputStream java.nio.charset.Charset jdk.internal.org.jline.terminal.Terminal$SignalHandler int
      StackMap stack:
            return
        end local 8 // boolean paused
        end local 7 // jdk.internal.org.jline.terminal.Terminal$SignalHandler signalHandler
        end local 6 // java.nio.charset.Charset encoding
        end local 5 // java.io.OutputStream out
        end local 4 // java.io.InputStream in
        end local 3 // jdk.internal.org.jline.terminal.spi.Pty pty
        end local 2 // java.lang.String type
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   15     0           this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
            0   15     1           name  Ljava/lang/String;
            0   15     2           type  Ljava/lang/String;
            0   15     3            pty  Ljdk/internal/org/jline/terminal/spi/Pty;
            0   15     4             in  Ljava/io/InputStream;
            0   15     5            out  Ljava/io/OutputStream;
            0   15     6       encoding  Ljava/nio/charset/Charset;
            0   15     7  signalHandler  Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
            0   15     8         paused  Z
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      name           
      type           
      pty            
      in             
      out            
      encoding       
      signalHandler  
      paused         

  public java.io.InputStream input();
    descriptor: ()Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 67
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
            areturn
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;

  public jdk.internal.org.jline.utils.NonBlockingReader reader();
    descriptor: ()Ljdk/internal/org/jline/utils/NonBlockingReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 71
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.reader:Ljdk/internal/org/jline/utils/NonBlockingReader;
            areturn
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;

  public java.io.OutputStream output();
    descriptor: ()Ljava/io/OutputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 75
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.output:Ljava/io/OutputStream;
            areturn
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;

  public java.io.PrintWriter writer();
    descriptor: ()Ljava/io/PrintWriter;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 79
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.writer:Ljava/io/PrintWriter;
            areturn
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;

  protected void doClose();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 84
            aload 0 /* this */
            invokespecial jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.doClose:()V
         1: .line 85
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.reader:Ljdk/internal/org/jline/utils/NonBlockingReader;
            invokevirtual jdk.internal.org.jline.utils.NonBlockingReader.close:()V
         2: .line 86
            return
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
    Exceptions:
      throws java.io.IOException

  public boolean canPauseResume();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 90
            iconst_1
            ireturn
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;

  public void pause();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 95
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 96
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.paused:Z
         2: .line 95
            aload 1
            monitorexit
         3: goto 6
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal java.lang.Object
      StackMap stack: java.lang.Throwable
         4: aload 1
            monitorexit
         5: athrow
         6: .line 98
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any

  public void pause(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
        start local 1 // boolean wait
         0: .line 103
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
         1: .line 104
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.paused:Z
         2: .line 105
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
            astore 2 /* p1 */
        start local 2 // java.lang.Thread p1
         3: .line 106
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
            astore 3 /* p2 */
        start local 3 // java.lang.Thread p2
         4: .line 103
            aload 4
            monitorexit
         5: goto 8
        end local 3 // java.lang.Thread p2
        end local 2 // java.lang.Thread p1
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal int top top java.lang.Object
      StackMap stack: java.lang.Throwable
         6: aload 4
            monitorexit
         7: athrow
        start local 2 // java.lang.Thread p1
        start local 3 // java.lang.Thread p2
         8: .line 108
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal int java.lang.Thread java.lang.Thread
      StackMap stack:
            aload 2 /* p1 */
            ifnull 10
         9: .line 109
            aload 2 /* p1 */
            invokevirtual java.lang.Thread.interrupt:()V
        10: .line 111
      StackMap locals:
      StackMap stack:
            aload 3 /* p2 */
            ifnull 12
        11: .line 112
            aload 3 /* p2 */
            invokevirtual java.lang.Thread.interrupt:()V
        12: .line 114
      StackMap locals:
      StackMap stack:
            aload 2 /* p1 */
            ifnull 14
        13: .line 115
            aload 2 /* p1 */
            invokevirtual java.lang.Thread.join:()V
        14: .line 117
      StackMap locals:
      StackMap stack:
            aload 3 /* p2 */
            ifnull 16
        15: .line 118
            aload 3 /* p2 */
            invokevirtual java.lang.Thread.join:()V
        16: .line 120
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.Thread p2
        end local 2 // java.lang.Thread p1
        end local 1 // boolean wait
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
            0   17     1  wait  Z
            3    6     2    p1  Ljava/lang/Thread;
            8   17     2    p1  Ljava/lang/Thread;
            4    6     3    p2  Ljava/lang/Thread;
            8   17     3    p2  Ljava/lang/Thread;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
      Name  Flags
      wait  

  public void resume();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 124
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 125
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.paused:Z
         2: .line 126
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
            ifnonnull 6
         3: .line 127
            aload 0 /* this */
            new java.lang.Thread
            dup
            aload 0 /* this */
            invokedynamic run(Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;)Ljava/lang/Runnable;
              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:
                  ()V
                  jdk/internal/org/jline/terminal/impl/PosixPtyTerminal.pumpIn()V (7)
                  ()V
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " input pump thread"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
         4: .line 128
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         5: .line 129
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.start:()V
         6: .line 131
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
            ifnonnull 10
         7: .line 132
            aload 0 /* this */
            new java.lang.Thread
            dup
            aload 0 /* this */
            invokedynamic run(Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;)Ljava/lang/Runnable;
              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:
                  ()V
                  jdk/internal/org/jline/terminal/impl/PosixPtyTerminal.pumpOut()V (7)
                  ()V
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " output pump thread"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
         8: .line 133
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         9: .line 134
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.start:()V
        10: .line 124
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        11: goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 1
            monitorexit
        13: athrow
        14: .line 137
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
      Exception table:
        from    to  target  type
           1    11      12  any
          12    13      12  any

  public boolean paused();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 141
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 142
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.paused:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 141
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  private void pumpIn();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 172
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 173
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.paused:Z
            ifeq 11
         2: .line 174
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
         3: .line 175
            aload 1
            monitorexit
         4: .line 189
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         5: .line 190
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
         6: .line 189
            aload 3
            monitorexit
         7: goto 10
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal java.lang.Object top java.lang.Object
      StackMap stack: java.lang.Throwable
         8: aload 3
            monitorexit
         9: athrow
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal java.lang.Object
      StackMap stack:
        10: return
        11: .line 172
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 1
            monitorexit
        14: athrow
        15: .line 178
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* b */
        start local 1 // int b
        16: .line 179
            iload 1 /* b */
            ifge 19
        17: .line 180
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
            invokevirtual jdk.internal.org.jline.utils.NonBlockingInputStream.close:()V
        18: .line 181
            goto 38
        19: .line 183
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.masterOutput:Ljava/io/OutputStream;
            iload 1 /* b */
            invokevirtual java.io.OutputStream.write:(I)V
        20: .line 184
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.masterOutput:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
        end local 1 // int b
        21: .line 171
            goto 0
        22: .line 186
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack: java.io.IOException
            astore 1 /* e */
        start local 1 // java.io.IOException e
        23: .line 187
            aload 1 /* e */
            invokevirtual java.io.IOException.printStackTrace:()V
        end local 1 // java.io.IOException e
        24: .line 189
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
        25: .line 190
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
        26: .line 189
            aload 3
            monitorexit
        27: goto 44
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal top top java.lang.Object
      StackMap stack: java.lang.Throwable
        28: aload 3
            monitorexit
        29: athrow
        30: .line 188
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack: java.lang.Throwable
            astore 2
        31: .line 189
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
        32: .line 190
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
        33: .line 189
            aload 3
            monitorexit
        34: goto 37
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal top java.lang.Throwable java.lang.Object
      StackMap stack: java.lang.Throwable
        35: aload 3
            monitorexit
        36: athrow
        37: .line 192
      StackMap locals:
      StackMap stack:
            aload 2
            athrow
        38: .line 189
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
        39: .line 190
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.inputPumpThread:Ljava/lang/Thread;
        40: .line 189
            aload 3
            monitorexit
        41: goto 44
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal top top java.lang.Object
      StackMap stack: java.lang.Throwable
        42: aload 3
            monitorexit
        43: athrow
        44: .line 193
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   45     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
           16   21     1     b  I
           23   24     1     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           5     7       8  any
           8     9       8  any
           1     4      13  any
          11    12      13  any
          13    14      13  any
           0     4      22  Class java.io.IOException
          11    22      22  Class java.io.IOException
          25    27      28  any
          28    29      28  any
           0     4      30  any
          11    24      30  any
          32    34      35  any
          35    36      35  any
          39    41      42  any
          42    43      42  any

  private void pumpOut();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
         0: .line 198
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 199
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.paused:Z
            ifeq 11
         2: .line 200
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
         3: .line 201
            aload 1
            monitorexit
         4: .line 215
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         5: .line 216
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
         6: .line 215
            aload 3
            monitorexit
         7: goto 10
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal java.lang.Object top java.lang.Object
      StackMap stack: java.lang.Throwable
         8: aload 3
            monitorexit
         9: athrow
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal java.lang.Object
      StackMap stack:
        10: return
        11: .line 198
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 1
            monitorexit
        14: athrow
        15: .line 204
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.masterInput:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* b */
        start local 1 // int b
        16: .line 205
            iload 1 /* b */
            ifge 19
        17: .line 206
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
            invokevirtual jdk.internal.org.jline.utils.NonBlockingInputStream.close:()V
        18: .line 207
            goto 38
        19: .line 209
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.out:Ljava/io/OutputStream;
            iload 1 /* b */
            invokevirtual java.io.OutputStream.write:(I)V
        20: .line 210
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.out:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
        end local 1 // int b
        21: .line 197
            goto 0
        22: .line 212
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack: java.io.IOException
            astore 1 /* e */
        start local 1 // java.io.IOException e
        23: .line 213
            aload 1 /* e */
            invokevirtual java.io.IOException.printStackTrace:()V
        end local 1 // java.io.IOException e
        24: .line 215
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
        25: .line 216
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
        26: .line 215
            aload 3
            monitorexit
        27: goto 44
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal top top java.lang.Object
      StackMap stack: java.lang.Throwable
        28: aload 3
            monitorexit
        29: athrow
        30: .line 214
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack: java.lang.Throwable
            astore 2
        31: .line 215
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
        32: .line 216
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
        33: .line 215
            aload 3
            monitorexit
        34: goto 37
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal top java.lang.Throwable java.lang.Object
      StackMap stack: java.lang.Throwable
        35: aload 3
            monitorexit
        36: athrow
        37: .line 218
      StackMap locals:
      StackMap stack:
            aload 2
            athrow
        38: .line 215
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
        39: .line 216
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.outputPumpThread:Ljava/lang/Thread;
        40: .line 215
            aload 3
            monitorexit
        41: goto 44
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal top top java.lang.Object
      StackMap stack: java.lang.Throwable
        42: aload 3
            monitorexit
        43: athrow
        44: .line 220
      StackMap locals: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.terminal.impl.PosixPtyTerminal.close:()V
        45: .line 221
            goto 47
      StackMap locals:
      StackMap stack: java.lang.Throwable
        46: pop
        47: .line 224
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   48     0  this  Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
           16   21     1     b  I
           23   24     1     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           5     7       8  any
           8     9       8  any
           1     4      13  any
          11    12      13  any
          13    14      13  any
           0     4      22  Class java.io.IOException
          11    22      22  Class java.io.IOException
          25    27      28  any
          28    29      28  any
           0     4      30  any
          11    24      30  any
          32    34      35  any
          35    36      35  any
          39    41      42  any
          42    43      42  any
          44    45      46  Class java.lang.Throwable
}
SourceFile: "PosixPtyTerminal.java"
NestMembers:
  jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract SignalHandler = jdk.internal.org.jline.terminal.Terminal$SignalHandler of jdk.internal.org.jline.terminal.Terminal
  private InputStreamWrapper = jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper of jdk.internal.org.jline.terminal.impl.PosixPtyTerminal