final class sun.security.smartcardio.TerminalImpl extends javax.smartcardio.CardTerminal
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.smartcardio.TerminalImpl
  super_class: javax.smartcardio.CardTerminal
{
  final long contextId;
    descriptor: J
    flags: (0x0010) ACC_FINAL

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

  private sun.security.smartcardio.CardImpl card;
    descriptor: Lsun/security/smartcardio/CardImpl;
    flags: (0x0002) ACC_PRIVATE

  void <init>(long, java.lang.String);
    descriptor: (JLjava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // sun.security.smartcardio.TerminalImpl this
        start local 1 // long contextId
        start local 3 // java.lang.String name
         0: .line 50
            aload 0 /* this */
            invokespecial javax.smartcardio.CardTerminal.<init>:()V
         1: .line 51
            aload 0 /* this */
            lload 1 /* contextId */
            putfield sun.security.smartcardio.TerminalImpl.contextId:J
         2: .line 52
            aload 0 /* this */
            aload 3 /* name */
            putfield sun.security.smartcardio.TerminalImpl.name:Ljava/lang/String;
         3: .line 53
            return
        end local 3 // java.lang.String name
        end local 1 // long contextId
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lsun/security/smartcardio/TerminalImpl;
            0    4     1  contextId  J
            0    4     3       name  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      contextId  
      name       

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.smartcardio.TerminalImpl this
         0: .line 56
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.name:Ljava/lang/String;
            areturn
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/smartcardio/TerminalImpl;

  public synchronized javax.smartcardio.Card connect(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljavax/smartcardio/Card;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // sun.security.smartcardio.TerminalImpl this
        start local 1 // java.lang.String protocol
         0: .line 60
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 2 /* sm */
        start local 2 // java.lang.SecurityManager sm
         1: .line 61
            aload 2 /* sm */
            ifnull 3
         2: .line 62
            aload 2 /* sm */
            new javax.smartcardio.CardPermission
            dup
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.name:Ljava/lang/String;
            ldc "connect"
            invokespecial javax.smartcardio.CardPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         3: .line 64
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.card:Lsun/security/smartcardio/CardImpl;
            ifnull 12
         4: .line 65
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.isValid:()Z
            ifeq 11
         5: .line 66
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.card:Lsun/security/smartcardio/CardImpl;
            invokevirtual sun.security.smartcardio.CardImpl.getProtocol:()Ljava/lang/String;
            astore 3 /* cardProto */
        start local 3 // java.lang.String cardProto
         6: .line 67
            aload 1 /* protocol */
            ldc "*"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 7
            aload 1 /* protocol */
            aload 3 /* cardProto */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 8
         7: .line 68
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.card:Lsun/security/smartcardio/CardImpl;
            areturn
         8: .line 70
      StackMap locals:
      StackMap stack:
            new javax.smartcardio.CardException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Cannot connect using "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 71
            ldc ", connection already established using "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 3 /* cardProto */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 70
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.String cardProto
        11: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield sun.security.smartcardio.TerminalImpl.card:Lsun/security/smartcardio/CardImpl;
        12: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new sun.security.smartcardio.CardImpl
            dup
            aload 0 /* this */
            aload 1 /* protocol */
            invokespecial sun.security.smartcardio.CardImpl.<init>:(Lsun/security/smartcardio/TerminalImpl;Ljava/lang/String;)V
            putfield sun.security.smartcardio.TerminalImpl.card:Lsun/security/smartcardio/CardImpl;
        13: .line 79
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.card:Lsun/security/smartcardio/CardImpl;
        14: areturn
        15: .line 80
      StackMap locals:
      StackMap stack: sun.security.smartcardio.PCSCException
            astore 3 /* e */
        start local 3 // sun.security.smartcardio.PCSCException e
        16: .line 81
            aload 3 /* e */
            getfield sun.security.smartcardio.PCSCException.code:I
            ldc -2146434967
            if_icmpeq 17
            aload 3 /* e */
            getfield sun.security.smartcardio.PCSCException.code:I
            ldc -2146435060
            if_icmpne 18
        17: .line 82
      StackMap locals: sun.security.smartcardio.PCSCException
      StackMap stack:
            new javax.smartcardio.CardNotPresentException
            dup
            ldc "No card present"
            aload 3 /* e */
            invokespecial javax.smartcardio.CardNotPresentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        18: .line 84
      StackMap locals:
      StackMap stack:
            new javax.smartcardio.CardException
            dup
            ldc "connect() failed"
            aload 3 /* e */
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // sun.security.smartcardio.PCSCException e
        end local 2 // java.lang.SecurityManager sm
        end local 1 // java.lang.String protocol
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       this  Lsun/security/smartcardio/TerminalImpl;
            0   19     1   protocol  Ljava/lang/String;
            1   19     2         sm  Ljava/lang/SecurityManager;
            6   11     3  cardProto  Ljava/lang/String;
           16   19     3          e  Lsun/security/smartcardio/PCSCException;
      Exception table:
        from    to  target  type
          12    14      15  Class sun.security.smartcardio.PCSCException
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
          Name  Flags
      protocol  

  public boolean isCardPresent();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=2, args_size=1
        start local 0 // sun.security.smartcardio.TerminalImpl this
         0: .line 91
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.contextId:J
            lconst_0
         1: .line 92
            iconst_1
            newarray 10
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.name:Ljava/lang/String;
            aastore
         2: .line 91
            invokestatic sun.security.smartcardio.PCSC.SCardGetStatusChange:(JJ[I[Ljava/lang/String;)[I
            astore 1 /* status */
        start local 1 // int[] status
         3: .line 93
            aload 1 /* status */
            iconst_0
            iaload
            bipush 32
            iand
            ifeq 4
            iconst_1
            ireturn
      StackMap locals: int[]
      StackMap stack:
         4: iconst_0
         5: ireturn
        end local 1 // int[] status
         6: .line 94
      StackMap locals: sun.security.smartcardio.TerminalImpl
      StackMap stack: sun.security.smartcardio.PCSCException
            astore 1 /* e */
        start local 1 // sun.security.smartcardio.PCSCException e
         7: .line 95
            new javax.smartcardio.CardException
            dup
            ldc "isCardPresent() failed"
            aload 1 /* e */
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // sun.security.smartcardio.PCSCException e
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lsun/security/smartcardio/TerminalImpl;
            3    6     1  status  [I
            7    8     1       e  Lsun/security/smartcardio/PCSCException;
      Exception table:
        from    to  target  type
           0     5       6  Class sun.security.smartcardio.PCSCException
    Exceptions:
      throws javax.smartcardio.CardException

  private boolean waitForCard(boolean, long);
    descriptor: (ZJ)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=7, args_size=3
        start local 0 // sun.security.smartcardio.TerminalImpl this
        start local 1 // boolean wantPresent
        start local 2 // long timeout
         0: .line 100
            lload 2 /* timeout */
            lconst_0
            lcmp
            ifge 2
         1: .line 101
            new java.lang.IllegalArgumentException
            dup
            ldc "timeout must not be negative"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 103
      StackMap locals:
      StackMap stack:
            lload 2 /* timeout */
            lconst_0
            lcmp
            ifne 4
         3: .line 104
            ldc -1
            lstore 2 /* timeout */
         4: .line 106
      StackMap locals:
      StackMap stack:
            iconst_1
            newarray 10
            astore 4 /* status */
        start local 4 // int[] status
         5: .line 107
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.name:Ljava/lang/String;
            aastore
            astore 5 /* readers */
        start local 5 // java.lang.String[] readers
         6: .line 110
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.contextId:J
            lconst_0
            aload 4 /* status */
            aload 5 /* readers */
            invokestatic sun.security.smartcardio.PCSC.SCardGetStatusChange:(JJ[I[Ljava/lang/String;)[I
            astore 4 /* status */
         7: .line 111
            aload 4 /* status */
            iconst_0
            iaload
            bipush 32
            iand
            ifeq 8
            iconst_1
            goto 9
      StackMap locals: int[] java.lang.String[]
      StackMap stack:
         8: iconst_0
      StackMap locals:
      StackMap stack: int
         9: istore 6 /* present */
        start local 6 // boolean present
        10: .line 112
            iload 1 /* wantPresent */
            iload 6 /* present */
            if_icmpne 12
        11: .line 113
            iconst_1
            ireturn
        12: .line 116
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.contextId:J
            lload 2 /* timeout */
            aload 4 /* status */
            aload 5 /* readers */
            invokestatic sun.security.smartcardio.PCSC.SCardGetStatusChange:(JJ[I[Ljava/lang/String;)[I
            astore 4 /* status */
        13: .line 117
            aload 4 /* status */
            iconst_0
            iaload
            bipush 32
            iand
            ifeq 14
            iconst_1
            goto 15
      StackMap locals:
      StackMap stack:
        14: iconst_0
      StackMap locals:
      StackMap stack: int
        15: istore 6 /* present */
        16: .line 119
            iload 1 /* wantPresent */
            iload 6 /* present */
            if_icmpeq 18
        17: .line 120
            new javax.smartcardio.CardException
            dup
            ldc "wait mismatch"
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 122
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 6 // boolean present
        19: .line 123
      StackMap locals: sun.security.smartcardio.TerminalImpl int long int[] java.lang.String[]
      StackMap stack: sun.security.smartcardio.PCSCException
            astore 6 /* e */
        start local 6 // sun.security.smartcardio.PCSCException e
        20: .line 124
            aload 6 /* e */
            getfield sun.security.smartcardio.PCSCException.code:I
            ldc -2146435062
            if_icmpne 22
        21: .line 125
            iconst_0
            ireturn
        22: .line 127
      StackMap locals: sun.security.smartcardio.PCSCException
      StackMap stack:
            new javax.smartcardio.CardException
            dup
            ldc "waitForCard() failed"
            aload 6 /* e */
            invokespecial javax.smartcardio.CardException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 6 // sun.security.smartcardio.PCSCException e
        end local 5 // java.lang.String[] readers
        end local 4 // int[] status
        end local 2 // long timeout
        end local 1 // boolean wantPresent
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   23     0         this  Lsun/security/smartcardio/TerminalImpl;
            0   23     1  wantPresent  Z
            0   23     2      timeout  J
            5   23     4       status  [I
            6   23     5      readers  [Ljava/lang/String;
           10   19     6      present  Z
           20   23     6            e  Lsun/security/smartcardio/PCSCException;
      Exception table:
        from    to  target  type
           6    11      19  Class sun.security.smartcardio.PCSCException
          12    18      19  Class sun.security.smartcardio.PCSCException
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
             Name  Flags
      wantPresent  
      timeout      

  public boolean waitForCardPresent(long);
    descriptor: (J)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.smartcardio.TerminalImpl this
        start local 1 // long timeout
         0: .line 133
            aload 0 /* this */
            iconst_1
            lload 1 /* timeout */
            invokevirtual sun.security.smartcardio.TerminalImpl.waitForCard:(ZJ)Z
            ireturn
        end local 1 // long timeout
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lsun/security/smartcardio/TerminalImpl;
            0    1     1  timeout  J
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
         Name  Flags
      timeout  

  public boolean waitForCardAbsent(long);
    descriptor: (J)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.smartcardio.TerminalImpl this
        start local 1 // long timeout
         0: .line 137
            aload 0 /* this */
            iconst_0
            lload 1 /* timeout */
            invokevirtual sun.security.smartcardio.TerminalImpl.waitForCard:(ZJ)Z
            ireturn
        end local 1 // long timeout
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lsun/security/smartcardio/TerminalImpl;
            0    1     1  timeout  J
    Exceptions:
      throws javax.smartcardio.CardException
    MethodParameters:
         Name  Flags
      timeout  

  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.TerminalImpl this
         0: .line 141
            new java.lang.StringBuilder
            dup
            ldc "PC/SC terminal "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.smartcardio.TerminalImpl.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // sun.security.smartcardio.TerminalImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/smartcardio/TerminalImpl;
}
SourceFile: "TerminalImpl.java"