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 int RESPONSE_ITERATIONS;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 256

  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 119
            ldc "sun.security.smartcardio.t0GetResponse"
            iconst_1
            invokestatic sun.security.smartcardio.ChannelImpl.getBooleanProperty:(Ljava/lang/String;Z)Z
         1: .line 118
            putstatic sun.security.smartcardio.ChannelImpl.t0GetResponse:Z
         2: .line 122
            ldc "sun.security.smartcardio.t1GetResponse"
            iconst_1
            invokestatic sun.security.smartcardio.ChannelImpl.getBooleanProperty:(Ljava/lang/String;Z)Z
         3: .line 121
            putstatic sun.security.smartcardio.ChannelImpl.t1GetResponse:Z
         4: .line 125
            ldc "sun.security.smartcardio.t1StripLe"
            iconst_0
            invokestatic sun.security.smartcardio.ChannelImpl.getBooleanProperty:(Ljava/lang/String;Z)Z
         5: .line 124
            putstatic sun.security.smartcardio.ChannelImpl.t1StripLe:Z
         6: .line 154
            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 54
            aload 0 /* this */
            invokespecial javax.smartcardio.CardChannel.<init>:()V
         1: .line 55
            aload 0 /* this */
            aload 1 /* card */
            putfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
         2: .line 56
            aload 0 /* this */
            iload 2 /* channel */
            putfield sun.security.smartcardio.ChannelImpl.channel:I
         3: .line 57
            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 60
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.checkState:()V
         1: .line 61
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.isClosed:Z
            ifeq 3
         2: .line 62
            new java.lang.IllegalStateException
            dup
            ldc "Logical channel has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 64
      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 67
            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 71
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.checkClosed:()V
         1: .line 72
            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 76
            aload 0 /* b */
            arraylength
            iconst_4
            if_icmpge 4
         1: .line 77
            new java.lang.IllegalArgumentException
            dup
         2: .line 78
            ldc "Command APDU must be at least 4 bytes long"
         3: .line 77
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 80
      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 81
            new java.lang.IllegalArgumentException
            dup
         6: .line 82
            ldc "Manage channel command not allowed, use openLogicalChannel()"
         7: .line 81
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 84
      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 87
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.checkClosed:()V
         1: .line 88
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.checkExclusive:()V
         2: .line 89
            aload 1 /* command */
            invokevirtual javax.smartcardio.CommandAPDU.getBytes:()[B
            astore 2 /* commandBytes */
        start local 2 // byte[] commandBytes
         3: .line 90
            aload 0 /* this */
            aload 2 /* commandBytes */
            invokevirtual sun.security.smartcardio.ChannelImpl.doTransmit:([B)[B
            astore 3 /* responseBytes */
        start local 3 // byte[] responseBytes
         4: .line 91
            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 95
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.checkClosed:()V
         1: .line 96
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.checkExclusive:()V
         2: .line 97
            aload 1 /* command */
            ifnull 3
            aload 2 /* response */
            ifnonnull 4
         3: .line 98
      StackMap locals:
      StackMap stack:
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
         4: .line 100
      StackMap locals:
      StackMap stack:
            aload 2 /* response */
            invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
            ifeq 6
         5: .line 101
            new java.nio.ReadOnlyBufferException
            dup
            invokespecial java.nio.ReadOnlyBufferException.<init>:()V
            athrow
         6: .line 103
      StackMap locals:
      StackMap stack:
            aload 1 /* command */
            aload 2 /* response */
            if_acmpne 10
         7: .line 104
            new java.lang.IllegalArgumentException
            dup
         8: .line 105
            ldc "command and response must not be the same object"
         9: .line 104
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 107
      StackMap locals:
      StackMap stack:
            aload 2 /* response */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            sipush 258
            if_icmpge 14
        11: .line 108
            new java.lang.IllegalArgumentException
            dup
        12: .line 109
            ldc "Insufficient space in response buffer"
        13: .line 108
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 111
      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 112
            aload 1 /* command */
            aload 3 /* commandBytes */
            invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
            pop
        16: .line 113
            aload 0 /* this */
            aload 3 /* commandBytes */
            invokevirtual sun.security.smartcardio.ChannelImpl.doTransmit:([B)[B
            astore 4 /* responseBytes */
        start local 4 // byte[] responseBytes
        17: .line 114
            aload 2 /* response */
            aload 4 /* responseBytes */
            invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
            pop
        18: .line 115
            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
            new sun.security.action.GetPropertyAction
            dup
            aload 0 /* name */
            invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
            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
         1: .line 129
            aload 2 /* val */
            ifnonnull 3
         2: .line 130
            iload 1 /* def */
            ireturn
         3: .line 132
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* val */
            ldc "true"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 133
            iconst_1
            ireturn
         5: .line 134
      StackMap locals:
      StackMap stack:
            aload 2 /* val */
            ldc "false"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 7
         6: .line 135
            iconst_0
            ireturn
         7: .line 137
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
         8: .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;
         9: .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   10     0  name  Ljava/lang/String;
            0   10     1   def  Z
            1   10     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=10, args_size=2
        start local 0 // sun.security.smartcardio.ChannelImpl this
        start local 1 // byte[] command
         0: .line 160
            aload 1 /* command */
            invokestatic sun.security.smartcardio.ChannelImpl.checkManageChannel:([B)V
         1: .line 161
            aload 0 /* this */
            aload 1 /* command */
            invokevirtual sun.security.smartcardio.ChannelImpl.setChannel:([B)V
         2: .line 162
            aload 1 /* command */
            arraylength
            istore 2 /* n */
        start local 2 // int n
         3: .line 163
            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 164
            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 165
            iload 3 /* t0 */
            ifeq 13
            iload 2 /* n */
            bipush 7
            if_icmplt 13
            aload 1 /* command */
            iconst_4
            baload
            ifne 13
        10: .line 166
            new javax.smartcardio.CardException
            dup
        11: .line 167
            ldc "Extended length forms not supported for T=0"
        12: .line 166
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 169
      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 170
            aload 1 /* command */
            iconst_4
            baload
            sipush 255
            iand
            istore 5 /* lc */
        start local 5 // int lc
        16: .line 171
            iload 5 /* lc */
            ifeq 20
        17: .line 172
            iload 2 /* n */
            iload 5 /* lc */
            bipush 6
            iadd
            if_icmpne 23
        18: .line 173
            iinc 2 /* n */ -1
        19: .line 175
            goto 23
        20: .line 176
      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 177
            iload 2 /* n */
            iload 5 /* lc */
            bipush 9
            iadd
            if_icmpne 23
        22: .line 178
            iinc 2 /* n */ -2
        end local 5 // int lc
        23: .line 182
      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 183
            iconst_0
            istore 6 /* k */
        start local 6 // int k
        29: .line 184
            getstatic sun.security.smartcardio.ChannelImpl.B0:[B
            astore 7 /* result */
        start local 7 // byte[] result
        30: .line 186
      StackMap locals: int int byte[]
      StackMap stack:
            iinc 6 /* k */ 1
            iload 6 /* k */
            sipush 256
            if_icmple 32
        31: .line 187
            new javax.smartcardio.CardException
            dup
            ldc "Number of response iterations exceeded maximum 256"
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
        32: .line 191
      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 190
            invokestatic sun.security.smartcardio.PCSC.SCardTransmit:(JI[BII)[B
            astore 8 /* response */
        start local 8 // byte[] response
        34: .line 192
            aload 8 /* response */
            arraylength
            istore 9 /* rn */
        start local 9 // int rn
        35: .line 193
            iload 5 /* getresponse */
            ifeq 48
            iload 9 /* rn */
            iconst_2
            if_icmplt 48
        36: .line 195
            iload 9 /* rn */
            iconst_2
            if_icmpne 39
            aload 8 /* response */
            iconst_0
            baload
            bipush 108
            if_icmpne 39
        37: .line 197
            aload 1 /* command */
            iload 2 /* n */
            iconst_1
            isub
            aload 8 /* response */
            iconst_1
            baload
            bastore
        38: .line 198
            goto 30
        39: .line 200
      StackMap locals: byte[] int
      StackMap stack:
            aload 8 /* response */
            iload 9 /* rn */
            iconst_2
            isub
            baload
            bipush 97
            if_icmpne 48
        40: .line 203
            iload 9 /* rn */
            iconst_2
            if_icmple 42
        41: .line 204
            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 206
      StackMap locals:
      StackMap stack:
            aload 1 /* command */
            iconst_1
            bipush -64
            bastore
        43: .line 207
            aload 1 /* command */
            iconst_2
            iconst_0
            bastore
        44: .line 208
            aload 1 /* command */
            iconst_3
            iconst_0
            bastore
        45: .line 209
            aload 1 /* command */
            iconst_4
            aload 8 /* response */
            iload 9 /* rn */
            iconst_1
            isub
            baload
            bastore
        46: .line 210
            iconst_5
            istore 2 /* n */
        47: .line 211
            goto 30
        48: .line 215
      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
        49: .line 218
            aload 7 /* result */
        50: 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
        51: .line 219
      StackMap locals: sun.security.smartcardio.ChannelImpl byte[]
      StackMap stack: sun.security.smartcardio.PCSCException
            astore 2 /* e */
        start local 2 // sun.security.smartcardio.PCSCException e
        52: .line 220
            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
        53: .line 221
            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   54     0         this  Lsun/security/smartcardio/ChannelImpl;
            0   54     1      command  [B
            3   51     2            n  I
            6   51     3           t0  Z
            9   51     4           t1  Z
           16   23     5           lc  I
           28   51     5  getresponse  Z
           29   51     6            k  I
           30   51     7       result  [B
           34   49     8     response  [B
           35   49     9           rn  I
           52   54     2            e  Lsun/security/smartcardio/PCSCException;
      Exception table:
        from    to  target  type
           0    50      51  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 226
            aload 0 /* res */
            arraylength
            iconst_2
            if_icmpge 2
         1: .line 227
            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 229
      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 230
            aload 0 /* res */
            aload 0 /* res */
            arraylength
            iconst_1
            isub
            baload
            sipush 255
            iand
            istore 2 /* sw2 */
        start local 2 // int sw2
         4: .line 231
            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 235
            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 239
            aload 1 /* com */
            iconst_0
            baload
            istore 2 /* cla */
        start local 2 // int cla
         1: .line 240
            iload 2 /* cla */
            ifge 3
         2: .line 243
            return
         3: .line 246
      StackMap locals: int
      StackMap stack:
            iload 2 /* cla */
            sipush 224
            iand
            bipush 32
            if_icmpne 5
         4: .line 247
            return
         5: .line 250
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            iconst_3
            if_icmpgt 9
         6: .line 253
            aload 1 /* com */
            iconst_0
            dup2
            baload
            sipush 188
            iand
            i2b
            bastore
         7: .line 254
            aload 1 /* com */
            iconst_0
            dup2
            baload
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            ior
            i2b
            bastore
         8: .line 255
            goto 15
      StackMap locals:
      StackMap stack:
         9: aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.channel:I
            bipush 19
            if_icmpgt 14
        10: .line 258
            aload 1 /* com */
            iconst_0
            dup2
            baload
            sipush 176
            iand
            i2b
            bastore
        11: .line 259
            aload 1 /* com */
            iconst_0
            dup2
            baload
            bipush 64
            ior
            i2b
            bastore
        12: .line 260
            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 261
            goto 15
        14: .line 262
      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 264
      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 267
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.getChannelNumber:()I
            ifne 2
         1: .line 268
            new java.lang.IllegalStateException
            dup
            ldc "Cannot close basic logical channel"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 270
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.ChannelImpl.isClosed:Z
            ifeq 4
         3: .line 271
            return
         4: .line 273
      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 275
            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 276
            aload 1 /* com */
            iconst_3
            aload 0 /* this */
            invokevirtual sun.security.smartcardio.ChannelImpl.getChannelNumber:()I
            i2b
            bastore
         7: .line 277
            aload 0 /* this */
            aload 1 /* com */
            invokevirtual sun.security.smartcardio.ChannelImpl.setChannel:([B)V
         8: .line 278
            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 279
            aload 2 /* res */
            invokestatic sun.security.smartcardio.ChannelImpl.isOK:([B)Z
            ifne 17
        10: .line 280
            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 282
      StackMap locals:
      StackMap stack: sun.security.smartcardio.PCSCException
            astore 1 /* e */
        start local 1 // sun.security.smartcardio.PCSCException e
        12: .line 283
            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 284
            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 285
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        15: .line 286
            aload 0 /* this */
            iconst_1
            putfield sun.security.smartcardio.ChannelImpl.isClosed:Z
        16: .line 287
            aload 3
            athrow
        17: .line 286
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.security.smartcardio.ChannelImpl.isClosed:Z
        18: .line 288
            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 291
            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;
}
SourceFile: "ChannelImpl.java"