final class sun.security.smartcardio.ChannelImpl extends javax.smartcardio.CardChannel
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.smartcardio.ChannelImpl
  super_class: javax.smartcardio.CardChannel
{
  private final sun.security.smartcardio.CardImpl card;
    descriptor: Lsun/security/smartcardio/CardImpl;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int channel;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean isClosed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private static final boolean t0GetResponse;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final boolean t1GetResponse;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final boolean t1StripLe;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final byte[] B0;
    descriptor: [B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 118
            ldc "sun.security.smartcardio.t0GetResponse"
            iconst_1
            invokestatic sun.security.smartcardio.ChannelImpl.getBooleanProperty:(Ljava/lang/String;Z)Z
         1: .line 117
            putstatic sun.security.smartcardio.ChannelImpl.t0GetResponse:Z
         2: .line 121
            ldc "sun.security.smartcardio.t1GetResponse"
            iconst_1
            invokestatic sun.security.smartcardio.ChannelImpl.getBooleanProperty:(Ljava/lang/String;Z)Z
         3: .line 120
            putstatic sun.security.smartcardio.ChannelImpl.t1GetResponse:Z
         4: .line 124
            ldc "sun.security.smartcardio.t1StripLe"
            iconst_0
            invokestatic sun.security.smartcardio.ChannelImpl.getBooleanProperty:(Ljava/lang/String;Z)Z
         5: .line 123
            putstatic sun.security.smartcardio.ChannelImpl.t1StripLe:Z
         6: .line 153
            iconst_0
            newarray 8
            putstatic sun.security.smartcardio.ChannelImpl.B0:[B
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(sun.security.smartcardio.CardImpl, int);
    descriptor: (Lsun/security/smartcardio/CardImpl;I)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.security.smartcardio.ChannelImpl this
        start local 1 // sun.security.smartcardio.CardImpl card
        start local 2 // int channel
         0: .line 53
            aload 0 /* this */
            invokespecial javax.smartcardio.CardChannel.<init>:()V
         1: .line 54
            aload 0 /* this */
            aload 1 /* card */
            putfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
         2: .line 55
            aload 0 /* this */
            iload 2 /* channel */
            putfield sun.security.smartcardio.ChannelImpl.channel:I
         3: .line 56
            return
        end local 2 // int channel
        end local 1 // sun.security.smartcardio.CardImpl card
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lsun/security/smartcardio/ChannelImpl;
            0    4     1     card  Lsun/security/smartcardio/CardImpl;
            0    4     2  channel  I
    MethodParameters:
         Name  Flags
      card     
      channel  

  void checkClosed();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.security.smartcardio.ChannelImpl this
         0: .line 59
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.checkState:()V
         1: .line 60
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.isClosed:Z
            ifeq 3
         2: .line 61
            new java.lang.IllegalStateException
            dup
            ldc "Logical channel has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 63
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/security/smartcardio/ChannelImpl;

  public javax.smartcardio.Card getCard();
    descriptor: ()Ljavax/smartcardio/Card;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.smartcardio.ChannelImpl this
         0: .line 66
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            areturn
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/smartcardio/ChannelImpl;

  public int getChannelNumber();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.smartcardio.ChannelImpl this
         0: .line 70
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.checkClosed:()V
         1: .line 71
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            ireturn
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/smartcardio/ChannelImpl;

  private static void checkManageChannel(byte[]);
    descriptor: ([B)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // byte[] b
         0: .line 75
            aload 0 /* b */
            arraylength
            iconst_4
            if_icmpge 4
         1: .line 76
            new java.lang.IllegalArgumentException
            dup
         2: .line 77
            ldc "Command APDU must be at least 4 bytes long"
         3: .line 76
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* b */
            iconst_0
            baload
            iflt 8
            aload 0 /* b */
            iconst_1
            baload
            bipush 112
            if_icmpne 8
         5: .line 80
            new java.lang.IllegalArgumentException
            dup
         6: .line 81
            ldc "Manage channel command not allowed, use openLogicalChannel()"
         7: .line 80
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 83
      StackMap locals:
      StackMap stack:
            return
        end local 0 // byte[] b
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0     b  [B
    MethodParameters:
      Name  Flags
      b     

  public javax.smartcardio.ResponseAPDU transmit(javax.smartcardio.CommandAPDU);
    descriptor: (Ljavax/smartcardio/CommandAPDU;)Ljavax/smartcardio/ResponseAPDU;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // sun.security.smartcardio.ChannelImpl this
        start local 1 // javax.smartcardio.CommandAPDU command
         0: .line 86
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.checkClosed:()V
         1: .line 87
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.checkExclusive:()V
         2: .line 88
            aload 1 /* command */
            invokevirtual javax.smartcardio.CommandAPDU.getBytes:()[B
            astore 2 /* commandBytes */
        start local 2 // byte[] commandBytes
         3: .line 89
            aload 0 /* this */
            aload 2 /* commandBytes */
            invokevirtual sun.security.smartcardio.ChannelImpl.doTransmit:([B)[B
            astore 3 /* responseBytes */
        start local 3 // byte[] responseBytes
         4: .line 90
            new javax.smartcardio.ResponseAPDU
            dup
            aload 3 /* responseBytes */
            invokespecial javax.smartcardio.ResponseAPDU.<init>:([B)V
            areturn
        end local 3 // byte[] responseBytes
        end local 2 // byte[] commandBytes
        end local 1 // javax.smartcardio.CommandAPDU command
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0           this  Lsun/security/smartcardio/ChannelImpl;
            0    5     1        command  Ljavax/smartcardio/CommandAPDU;
            3    5     2   commandBytes  [B
            4    5     3  responseBytes  [B
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
         Name  Flags
      command  

  public int transmit(java.nio.ByteBuffer, java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // sun.security.smartcardio.ChannelImpl this
        start local 1 // java.nio.ByteBuffer command
        start local 2 // java.nio.ByteBuffer response
         0: .line 94
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.checkClosed:()V
         1: .line 95
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.checkExclusive:()V
         2: .line 96
            aload 1 /* command */
            ifnull 3
            aload 2 /* response */
            ifnonnull 4
         3: .line 97
      StackMap locals:
      StackMap stack:
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
         4: .line 99
      StackMap locals:
      StackMap stack:
            aload 2 /* response */
            invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
            ifeq 6
         5: .line 100
            new java.nio.ReadOnlyBufferException
            dup
            invokespecial java.nio.ReadOnlyBufferException.<init>:()V
            athrow
         6: .line 102
      StackMap locals:
      StackMap stack:
            aload 1 /* command */
            aload 2 /* response */
            if_acmpne 10
         7: .line 103
            new java.lang.IllegalArgumentException
            dup
         8: .line 104
            ldc "command and response must not be the same object"
         9: .line 103
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 106
      StackMap locals:
      StackMap stack:
            aload 2 /* response */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            sipush 258
            if_icmpge 14
        11: .line 107
            new java.lang.IllegalArgumentException
            dup
        12: .line 108
            ldc "Insufficient space in response buffer"
        13: .line 107
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 110
      StackMap locals:
      StackMap stack:
            aload 1 /* command */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            newarray 8
            astore 3 /* commandBytes */
        start local 3 // byte[] commandBytes
        15: .line 111
            aload 1 /* command */
            aload 3 /* commandBytes */
            invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
            pop
        16: .line 112
            aload 0 /* this */
            aload 3 /* commandBytes */
            invokevirtual sun.security.smartcardio.ChannelImpl.doTransmit:([B)[B
            astore 4 /* responseBytes */
        start local 4 // byte[] responseBytes
        17: .line 113
            aload 2 /* response */
            aload 4 /* responseBytes */
            invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
            pop
        18: .line 114
            aload 4 /* responseBytes */
            arraylength
            ireturn
        end local 4 // byte[] responseBytes
        end local 3 // byte[] commandBytes
        end local 2 // java.nio.ByteBuffer response
        end local 1 // java.nio.ByteBuffer command
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   19     0           this  Lsun/security/smartcardio/ChannelImpl;
            0   19     1        command  Ljava/nio/ByteBuffer;
            0   19     2       response  Ljava/nio/ByteBuffer;
           15   19     3   commandBytes  [B
           17   19     4  responseBytes  [B
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
          Name  Flags
      command   
      response  

  private static boolean getBooleanProperty(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.lang.String name
        start local 1 // boolean def
         0: .line 128
            aload 0 /* name */
            invokedynamic run(Ljava/lang/String;)Ljava/security/PrivilegedAction;
              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;
                  sun/security/smartcardio/ChannelImpl.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
         1: .line 127
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* val */
        start local 2 // java.lang.String val
         2: .line 129
            aload 2 /* val */
            ifnonnull 4
         3: .line 130
            iload 1 /* def */
            ireturn
         4: .line 132
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* val */
            ldc "true"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 6
         5: .line 133
            iconst_1
            ireturn
         6: .line 134
      StackMap locals:
      StackMap stack:
            aload 2 /* val */
            ldc "false"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 8
         7: .line 135
            iconst_0
            ireturn
         8: .line 137
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
         9: .line 138
            new java.lang.StringBuilder
            dup
            aload 0 /* name */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " must be either 'true' or 'false'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 137
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.String val
        end local 1 // boolean def
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  name  Ljava/lang/String;
            0   11     1   def  Z
            2   11     2   val  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  
      def   

  private byte[] concat(byte[], byte[], int);
    descriptor: ([B[BI)[B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // sun.security.smartcardio.ChannelImpl this
        start local 1 // byte[] b1
        start local 2 // byte[] b2
        start local 3 // int n2
         0: .line 143
            aload 1 /* b1 */
            arraylength
            istore 4 /* n1 */
        start local 4 // int n1
         1: .line 144
            iload 4 /* n1 */
            ifne 3
            iload 3 /* n2 */
            aload 2 /* b2 */
            arraylength
            if_icmpne 3
         2: .line 145
            aload 2 /* b2 */
            areturn
         3: .line 147
      StackMap locals: int
      StackMap stack:
            iload 4 /* n1 */
            iload 3 /* n2 */
            iadd
            newarray 8
            astore 5 /* res */
        start local 5 // byte[] res
         4: .line 148
            aload 1 /* b1 */
            iconst_0
            aload 5 /* res */
            iconst_0
            iload 4 /* n1 */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         5: .line 149
            aload 2 /* b2 */
            iconst_0
            aload 5 /* res */
            iload 4 /* n1 */
            iload 3 /* n2 */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         6: .line 150
            aload 5 /* res */
            areturn
        end local 5 // byte[] res
        end local 4 // int n1
        end local 3 // int n2
        end local 2 // byte[] b2
        end local 1 // byte[] b1
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/security/smartcardio/ChannelImpl;
            0    7     1    b1  [B
            0    7     2    b2  [B
            0    7     3    n2  I
            1    7     4    n1  I
            4    7     5   res  [B
    MethodParameters:
      Name  Flags
      b1    
      b2    
      n2    

  private byte[] doTransmit(byte[]);
    descriptor: ([B)[B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=11, args_size=2
        start local 0 // sun.security.smartcardio.ChannelImpl this
        start local 1 // byte[] command
         0: .line 159
            aload 1 /* command */
            invokestatic sun.security.smartcardio.ChannelImpl.checkManageChannel:([B)V
         1: .line 160
            aload 0 /* this */
            aload 1 /* command */
            invokevirtual sun.security.smartcardio.ChannelImpl.setChannel:([B)V
         2: .line 161
            aload 1 /* command */
            arraylength
            istore 2 /* n */
        start local 2 // int n
         3: .line 162
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            getfield sun.security.smartcardio.CardImpl.protocol:I
            iconst_1
            if_icmpne 4
            iconst_1
            goto 5
      StackMap locals: int
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: istore 3 /* t0 */
        start local 3 // boolean t0
         6: .line 163
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            getfield sun.security.smartcardio.CardImpl.protocol:I
            iconst_2
            if_icmpne 7
            iconst_1
            goto 8
      StackMap locals: int
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: istore 4 /* t1 */
        start local 4 // boolean t1
         9: .line 164
            iload 3 /* t0 */
            ifeq 13
            iload 2 /* n */
            bipush 7
            if_icmplt 13
            aload 1 /* command */
            iconst_4
            baload
            ifne 13
        10: .line 165
            new javax.smartcardio.CardException
            dup
        11: .line 166
            ldc "Extended length forms not supported for T=0"
        12: .line 165
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 168
      StackMap locals: int
      StackMap stack:
            iload 3 /* t0 */
            ifne 14
            iload 4 /* t1 */
            ifeq 23
            getstatic sun.security.smartcardio.ChannelImpl.t1StripLe:Z
            ifeq 23
      StackMap locals:
      StackMap stack:
        14: iload 2 /* n */
            bipush 7
            if_icmplt 23
        15: .line 169
            aload 1 /* command */
            iconst_4
            baload
            sipush 255
            iand
            istore 5 /* lc */
        start local 5 // int lc
        16: .line 170
            iload 5 /* lc */
            ifeq 20
        17: .line 171
            iload 2 /* n */
            iload 5 /* lc */
            bipush 6
            iadd
            if_icmpne 23
        18: .line 172
            iinc 2 /* n */ -1
        19: .line 174
            goto 23
        20: .line 175
      StackMap locals: int
      StackMap stack:
            aload 1 /* command */
            iconst_5
            baload
            sipush 255
            iand
            bipush 8
            ishl
            aload 1 /* command */
            bipush 6
            baload
            sipush 255
            iand
            ior
            istore 5 /* lc */
        21: .line 176
            iload 2 /* n */
            iload 5 /* lc */
            bipush 9
            iadd
            if_icmpne 23
        22: .line 177
            iinc 2 /* n */ -2
        end local 5 // int lc
        23: .line 181
      StackMap locals:
      StackMap stack:
            iload 3 /* t0 */
            ifeq 24
            getstatic sun.security.smartcardio.ChannelImpl.t0GetResponse:Z
            ifne 26
      StackMap locals:
      StackMap stack:
        24: iload 4 /* t1 */
            ifeq 25
            getstatic sun.security.smartcardio.ChannelImpl.t1GetResponse:Z
            ifne 26
      StackMap locals:
      StackMap stack:
        25: iconst_0
            goto 27
      StackMap locals:
      StackMap stack:
        26: iconst_1
      StackMap locals:
      StackMap stack: int
        27: istore 5 /* getresponse */
        start local 5 // boolean getresponse
        28: .line 182
            iconst_0
            istore 6 /* k */
        start local 6 // int k
        29: .line 183
            getstatic sun.security.smartcardio.ChannelImpl.B0:[B
            astore 7 /* result */
        start local 7 // byte[] result
        30: .line 185
      StackMap locals: int int byte[]
      StackMap stack:
            iinc 6 /* k */ 1
            iload 6 /* k */
            bipush 32
            if_icmplt 32
        31: .line 186
            new javax.smartcardio.CardException
            dup
            ldc "Could not obtain response"
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
        32: .line 189
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            getfield sun.security.smartcardio.CardImpl.cardId:J
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            getfield sun.security.smartcardio.CardImpl.protocol:I
            aload 1 /* command */
            iconst_0
            iload 2 /* n */
        33: .line 188
            invokestatic sun.security.smartcardio.PCSC.SCardTransmit:(JI[BII)[B
            astore 8 /* response */
        start local 8 // byte[] response
        34: .line 190
            aload 8 /* response */
            arraylength
            istore 9 /* rn */
        start local 9 // int rn
        35: .line 191
            iload 5 /* getresponse */
            ifeq 52
            iload 9 /* rn */
            iconst_2
            if_icmplt 52
            iload 2 /* n */
            iconst_1
            if_icmplt 52
        36: .line 193
            iload 9 /* rn */
            iconst_2
            if_icmpne 39
            aload 8 /* response */
            iconst_0
            baload
            bipush 108
            if_icmpne 39
        37: .line 195
            aload 1 /* command */
            iload 2 /* n */
            iconst_1
            isub
            aload 8 /* response */
            iconst_1
            baload
            bastore
        38: .line 196
            goto 30
        39: .line 198
      StackMap locals: byte[] int
      StackMap stack:
            aload 8 /* response */
            iload 9 /* rn */
            iconst_2
            isub
            baload
            bipush 97
            if_icmpne 52
        40: .line 201
            iload 9 /* rn */
            iconst_2
            if_icmple 42
        41: .line 202
            aload 0 /* this */
            aload 7 /* result */
            aload 8 /* response */
            iload 9 /* rn */
            iconst_2
            isub
            invokevirtual sun.security.smartcardio.ChannelImpl.concat:([B[BI)[B
            astore 7 /* result */
        42: .line 204
      StackMap locals:
      StackMap stack:
            aload 1 /* command */
            arraylength
            iconst_5
            if_icmpge 46
        43: .line 205
            aload 1 /* command */
            iconst_0
            baload
            istore 10 /* cla */
        start local 10 // byte cla
        44: .line 206
            iconst_5
            newarray 8
            astore 1 /* command */
        45: .line 207
            aload 1 /* command */
            iconst_0
            iload 10 /* cla */
            bastore
        end local 10 // byte cla
        46: .line 209
      StackMap locals:
      StackMap stack:
            aload 1 /* command */
            iconst_1
            bipush -64
            bastore
        47: .line 210
            aload 1 /* command */
            iconst_2
            iconst_0
            bastore
        48: .line 211
            aload 1 /* command */
            iconst_3
            iconst_0
            bastore
        49: .line 212
            aload 1 /* command */
            iconst_4
            aload 8 /* response */
            iload 9 /* rn */
            iconst_1
            isub
            baload
            bastore
        50: .line 213
            iconst_5
            istore 2 /* n */
        51: .line 214
            goto 30
        52: .line 217
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 7 /* result */
            aload 8 /* response */
            iload 9 /* rn */
            invokevirtual sun.security.smartcardio.ChannelImpl.concat:([B[BI)[B
            astore 7 /* result */
        end local 9 // int rn
        end local 8 // byte[] response
        53: .line 220
            aload 7 /* result */
        54: areturn
        end local 7 // byte[] result
        end local 6 // int k
        end local 5 // boolean getresponse
        end local 4 // boolean t1
        end local 3 // boolean t0
        end local 2 // int n
        55: .line 221
      StackMap locals: sun.security.smartcardio.ChannelImpl byte[]
      StackMap stack: sun.security.smartcardio.PCSCException
            astore 2 /* e */
        start local 2 // sun.security.smartcardio.PCSCException e
        56: .line 222
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            aload 2 /* e */
            invokevirtual sun.security.smartcardio.CardImpl.handleError:(Lsun/security/smartcardio/PCSCException;)V
        57: .line 223
            new javax.smartcardio.CardException
            dup
            aload 2 /* e */
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // sun.security.smartcardio.PCSCException e
        end local 1 // byte[] command
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   58     0         this  Lsun/security/smartcardio/ChannelImpl;
            0   58     1      command  [B
            3   55     2            n  I
            6   55     3           t0  Z
            9   55     4           t1  Z
           16   23     5           lc  I
           28   55     5  getresponse  Z
           29   55     6            k  I
           30   55     7       result  [B
           34   53     8     response  [B
           35   53     9           rn  I
           44   46    10          cla  B
           56   58     2            e  Lsun/security/smartcardio/PCSCException;
      Exception table:
        from    to  target  type
           0    54      55  Class sun.security.smartcardio.PCSCException
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
         Name  Flags
      command  

  private static int getSW(byte[]);
    descriptor: ([B)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // byte[] res
         0: .line 228
            aload 0 /* res */
            arraylength
            iconst_2
            if_icmpge 2
         1: .line 229
            new javax.smartcardio.CardException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Invalid response length: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* res */
            arraylength
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 231
      StackMap locals:
      StackMap stack:
            aload 0 /* res */
            aload 0 /* res */
            arraylength
            iconst_2
            isub
            baload
            sipush 255
            iand
            istore 1 /* sw1 */
        start local 1 // int sw1
         3: .line 232
            aload 0 /* res */
            aload 0 /* res */
            arraylength
            iconst_1
            isub
            baload
            sipush 255
            iand
            istore 2 /* sw2 */
        start local 2 // int sw2
         4: .line 233
            iload 1 /* sw1 */
            bipush 8
            ishl
            iload 2 /* sw2 */
            ior
            ireturn
        end local 2 // int sw2
        end local 1 // int sw1
        end local 0 // byte[] res
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0   res  [B
            3    5     1   sw1  I
            4    5     2   sw2  I
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
      Name  Flags
      res   

  private static boolean isOK(byte[]);
    descriptor: ([B)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // byte[] res
         0: .line 237
            aload 0 /* res */
            arraylength
            iconst_2
            if_icmpne 1
            aload 0 /* res */
            invokestatic sun.security.smartcardio.ChannelImpl.getSW:([B)I
            ldc 36864
            if_icmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // byte[] res
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   res  [B
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
      Name  Flags
      res   

  private void setChannel(byte[]);
    descriptor: ([B)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // sun.security.smartcardio.ChannelImpl this
        start local 1 // byte[] com
         0: .line 241
            aload 1 /* com */
            iconst_0
            baload
            istore 2 /* cla */
        start local 2 // int cla
         1: .line 242
            iload 2 /* cla */
            ifge 3
         2: .line 245
            return
         3: .line 248
      StackMap locals: int
      StackMap stack:
            iload 2 /* cla */
            sipush 224
            iand
            bipush 32
            if_icmpne 5
         4: .line 249
            return
         5: .line 252
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            iconst_3
            if_icmpgt 9
         6: .line 255
            aload 1 /* com */
            iconst_0
            dup2
            baload
            sipush 188
            iand
            i2b
            bastore
         7: .line 256
            aload 1 /* com */
            iconst_0
            dup2
            baload
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            ior
            i2b
            bastore
         8: .line 257
            goto 15
      StackMap locals:
      StackMap stack:
         9: aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            bipush 19
            if_icmpgt 14
        10: .line 260
            aload 1 /* com */
            iconst_0
            dup2
            baload
            sipush 176
            iand
            i2b
            bastore
        11: .line 261
            aload 1 /* com */
            iconst_0
            dup2
            baload
            bipush 64
            ior
            i2b
            bastore
        12: .line 262
            aload 1 /* com */
            iconst_0
            dup2
            baload
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            iconst_4
            isub
            ior
            i2b
            bastore
        13: .line 263
            goto 15
        14: .line 264
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unsupported channel number: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 266
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int cla
        end local 1 // byte[] com
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Lsun/security/smartcardio/ChannelImpl;
            0   16     1   com  [B
            1   16     2   cla  I
    MethodParameters:
      Name  Flags
      com   

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=1
        start local 0 // sun.security.smartcardio.ChannelImpl this
         0: .line 269
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.getChannelNumber:()I
            ifne 2
         1: .line 270
            new java.lang.IllegalStateException
            dup
            ldc "Cannot close basic logical channel"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 272
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.isClosed:Z
            ifeq 4
         3: .line 273
            return
         4: .line 275
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.checkExclusive:()V
         5: .line 277
            iconst_4
            newarray 8
            dup
            iconst_1
            bipush 112
            bastore
            dup
            iconst_2
            bipush -128
            bastore
            astore 1 /* com */
        start local 1 // byte[] com
         6: .line 278
            aload 1 /* com */
            iconst_3
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.getChannelNumber:()I
            i2b
            bastore
         7: .line 279
            aload 0 /* this */
            aload 1 /* com */
            invokevirtual sun.security.smartcardio.ChannelImpl.setChannel:([B)V
         8: .line 280
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            getfield sun.security.smartcardio.CardImpl.cardId:J
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            getfield sun.security.smartcardio.CardImpl.protocol:I
            aload 1 /* com */
            iconst_0
            aload 1 /* com */
            arraylength
            invokestatic sun.security.smartcardio.PCSC.SCardTransmit:(JI[BII)[B
            astore 2 /* res */
        start local 2 // byte[] res
         9: .line 281
            aload 2 /* res */
            invokestatic sun.security.smartcardio.ChannelImpl.isOK:([B)Z
            ifne 17
        10: .line 282
            new javax.smartcardio.CardException
            dup
            new java.lang.StringBuilder
            dup
            ldc "close() failed: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* res */
            invokestatic sun.security.smartcardio.PCSC.toString:([B)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // byte[] res
        end local 1 // byte[] com
        11: .line 284
      StackMap locals:
      StackMap stack: sun.security.smartcardio.PCSCException
            astore 1 /* e */
        start local 1 // sun.security.smartcardio.PCSCException e
        12: .line 285
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            aload 1 /* e */
            invokevirtual sun.security.smartcardio.CardImpl.handleError:(Lsun/security/smartcardio/PCSCException;)V
        13: .line 286
            new javax.smartcardio.CardException
            dup
            ldc "Could not close channel"
            aload 1 /* e */
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // sun.security.smartcardio.PCSCException e
        14: .line 287
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        15: .line 288
            aload 0 /* this */
            iconst_1
            putfield sun.security.smartcardio.ChannelImpl.isClosed:Z
        16: .line 289
            aload 3
            athrow
        17: .line 288
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.security.smartcardio.ChannelImpl.isClosed:Z
        18: .line 290
            return
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0  this  Lsun/security/smartcardio/ChannelImpl;
            6   11     1   com  [B
            9   11     2   res  [B
           12   14     1     e  Lsun/security/smartcardio/PCSCException;
      Exception table:
        from    to  target  type
           5    11      11  Class sun.security.smartcardio.PCSCException
           5    14      14  any
    Exceptions:
      throws javax.smartcardio.CardException

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.security.smartcardio.ChannelImpl this
         0: .line 293
            new java.lang.StringBuilder
            dup
            ldc "PC/SC channel "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // sun.security.smartcardio.ChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/smartcardio/ChannelImpl;

  private static java.lang.String lambda$0(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 128
            aload 0
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "ChannelImpl.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles