final class sun.security.ssl.AlpnExtension$CHAlpnConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.AlpnExtension$CHAlpnConsumer
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.AlpnExtension$CHAlpnConsumer this
         0: .line 240
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 242
            return
        end local 0 // sun.security.ssl.AlpnExtension$CHAlpnConsumer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/ssl/AlpnExtension$CHAlpnConsumer;

  public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
    descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=14, args_size=4
        start local 0 // sun.security.ssl.AlpnExtension$CHAlpnConsumer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        start local 3 // java.nio.ByteBuffer buffer
         0: .line 248
            aload 1 /* context */
            checkcast sun.security.ssl.ServerHandshakeContext
            astore 4 /* shc */
        start local 4 // sun.security.ssl.ServerHandshakeContext shc
         1: .line 251
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
            ifne 10
         2: .line 252
            aload 4 /* shc */
            ldc ""
            putfield sun.security.ssl.ServerHandshakeContext.applicationProtocol:Ljava/lang/String;
         3: .line 253
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            ldc ""
            putfield sun.security.ssl.TransportContext.applicationProtocol:Ljava/lang/String;
         4: .line 254
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 9
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 9
         5: .line 256
            new java.lang.StringBuilder
            dup
            ldc "Ignore server unavailable extension: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         6: .line 257
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            getfield sun.security.ssl.SSLExtension.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         7: .line 256
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
         8: .line 255
            invokestatic sun.security.ssl.SSLLogger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
         9: .line 259
      StackMap locals: sun.security.ssl.ServerHandshakeContext
      StackMap stack:
            return
        10: .line 264
      StackMap locals:
      StackMap stack:
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getfield sun.security.ssl.TransportContext.transport:Lsun/security/ssl/SSLTransport;
            instanceof javax.net.ssl.SSLEngine
            ifeq 15
        11: .line 265
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.engineAPSelector:Ljava/util/function/BiFunction;
            ifnonnull 12
            iconst_1
            goto 13
      StackMap locals:
      StackMap stack:
        12: iconst_0
      StackMap locals:
      StackMap stack: int
        13: istore 5 /* noAPSelector */
        start local 5 // boolean noAPSelector
        14: .line 266
            goto 18
        end local 5 // boolean noAPSelector
        15: .line 267
      StackMap locals:
      StackMap stack:
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.socketAPSelector:Ljava/util/function/BiFunction;
            ifnonnull 16
            iconst_1
            goto 17
      StackMap locals:
      StackMap stack:
        16: iconst_0
      StackMap locals:
      StackMap stack: int
        17: istore 5 /* noAPSelector */
        start local 5 // boolean noAPSelector
        18: .line 271
      StackMap locals: int
      StackMap stack:
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
            ifnull 21
        19: .line 272
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
            arraylength
            ifeq 21
        20: .line 270
            iconst_0
            goto 22
      StackMap locals:
      StackMap stack:
        21: iconst_1
      StackMap locals:
      StackMap stack: int
        22: istore 6 /* noAlpnProtocols */
        start local 6 // boolean noAlpnProtocols
        23: .line 273
            iload 5 /* noAPSelector */
            ifeq 32
            iload 6 /* noAlpnProtocols */
            ifeq 32
        24: .line 274
            aload 4 /* shc */
            ldc ""
            putfield sun.security.ssl.ServerHandshakeContext.applicationProtocol:Ljava/lang/String;
        25: .line 275
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            ldc ""
            putfield sun.security.ssl.TransportContext.applicationProtocol:Ljava/lang/String;
        26: .line 276
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 31
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 31
        27: .line 278
            new java.lang.StringBuilder
            dup
            ldc "Ignore server unenabled extension: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        28: .line 279
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            getfield sun.security.ssl.SSLExtension.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        29: .line 278
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
        30: .line 277
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        31: .line 281
      StackMap locals: int
      StackMap stack:
            return
        32: .line 287
      StackMap locals:
      StackMap stack:
            new sun.security.ssl.AlpnExtension$AlpnSpec
            dup
            aload 3 /* buffer */
            invokespecial sun.security.ssl.AlpnExtension$AlpnSpec.<init>:(Ljava/nio/ByteBuffer;)V
            astore 7 /* spec */
        start local 7 // sun.security.ssl.AlpnExtension$AlpnSpec spec
        33: .line 288
            goto 36
        end local 7 // sun.security.ssl.AlpnExtension$AlpnSpec spec
      StackMap locals:
      StackMap stack: java.io.IOException
        34: astore 8 /* ioe */
        start local 8 // java.io.IOException ioe
        35: .line 289
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
            aload 8 /* ioe */
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 8 // java.io.IOException ioe
        start local 7 // sun.security.ssl.AlpnExtension$AlpnSpec spec
        36: .line 293
      StackMap locals: sun.security.ssl.AlpnExtension$AlpnSpec
      StackMap stack:
            iload 5 /* noAPSelector */
            ifeq 52
        37: .line 294
            aload 7 /* spec */
            getfield sun.security.ssl.AlpnExtension$AlpnSpec.applicationProtocols:Ljava/util/List;
            astore 8 /* protocolNames */
        start local 8 // java.util.List protocolNames
        38: .line 295
            iconst_0
            istore 9 /* matched */
        start local 9 // boolean matched
        39: .line 297
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
            dup
            astore 13
            arraylength
            istore 12
            iconst_0
            istore 11
            goto 47
      StackMap locals: sun.security.ssl.AlpnExtension$CHAlpnConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext int int sun.security.ssl.AlpnExtension$AlpnSpec java.util.List int top int int java.lang.String[]
      StackMap stack:
        40: aload 13
            iload 11
            aaload
            astore 10 /* ap */
        start local 10 // java.lang.String ap
        41: .line 298
            aload 8 /* protocolNames */
            aload 10 /* ap */
            invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
            ifeq 46
        42: .line 299
            aload 4 /* shc */
            aload 10 /* ap */
            putfield sun.security.ssl.ServerHandshakeContext.applicationProtocol:Ljava/lang/String;
        43: .line 300
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            aload 10 /* ap */
            putfield sun.security.ssl.TransportContext.applicationProtocol:Ljava/lang/String;
        44: .line 301
            iconst_1
            istore 9 /* matched */
        45: .line 302
            goto 48
        end local 10 // java.lang.String ap
        46: .line 297
      StackMap locals:
      StackMap stack:
            iinc 11 1
      StackMap locals:
      StackMap stack:
        47: iload 11
            iload 12
            if_icmplt 40
        48: .line 306
      StackMap locals: sun.security.ssl.AlpnExtension$CHAlpnConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext int int sun.security.ssl.AlpnExtension$AlpnSpec java.util.List int
      StackMap stack:
            iload 9 /* matched */
            ifne 52
        49: .line 307
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.NO_APPLICATION_PROTOCOL:Lsun/security/ssl/Alert;
        50: .line 308
            ldc "No matching application layer protocol values"
        51: .line 307
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        end local 9 // boolean matched
        end local 8 // java.util.List protocolNames
        52: .line 313
      StackMap locals:
      StackMap stack:
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            aload 7 /* spec */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        53: .line 323
            return
        end local 7 // sun.security.ssl.AlpnExtension$AlpnSpec spec
        end local 6 // boolean noAlpnProtocols
        end local 5 // boolean noAPSelector
        end local 4 // sun.security.ssl.ServerHandshakeContext shc
        end local 3 // java.nio.ByteBuffer buffer
        end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.AlpnExtension$CHAlpnConsumer this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   54     0             this  Lsun/security/ssl/AlpnExtension$CHAlpnConsumer;
            0   54     1          context  Lsun/security/ssl/ConnectionContext;
            0   54     2          message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            0   54     3           buffer  Ljava/nio/ByteBuffer;
            1   54     4              shc  Lsun/security/ssl/ServerHandshakeContext;
           14   15     5     noAPSelector  Z
           18   54     5     noAPSelector  Z
           23   54     6  noAlpnProtocols  Z
           33   34     7             spec  Lsun/security/ssl/AlpnExtension$AlpnSpec;
           36   54     7             spec  Lsun/security/ssl/AlpnExtension$AlpnSpec;
           35   36     8              ioe  Ljava/io/IOException;
           38   52     8    protocolNames  Ljava/util/List<Ljava/lang/String;>;
           39   52     9          matched  Z
           41   46    10               ap  Ljava/lang/String;
      Exception table:
        from    to  target  type
          32    33      34  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
      buffer   
}
SourceFile: "AlpnExtension.java"
NestHost: sun.security.ssl.AlpnExtension
InnerClasses:
  final AlpnSpec = sun.security.ssl.AlpnExtension$AlpnSpec of sun.security.ssl.AlpnExtension
  private final CHAlpnConsumer = sun.security.ssl.AlpnExtension$CHAlpnConsumer of sun.security.ssl.AlpnExtension
  abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
  abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake