public class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl implements java.nio.channels.ByteChannel
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl
  super_class: java.lang.Object
{
  private static final com.mongodb.diagnostics.logging.Logger LOGGER;
    descriptor: Lcom/mongodb/diagnostics/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final int BUFFERS_INITIAL_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4096

  static final int MAX_TLS_PACKET_SIZE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 17408

  private final java.nio.channels.ReadableByteChannel readChannel;
    descriptor: Ljava/nio/channels/ReadableByteChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.channels.WritableByteChannel writeChannel;
    descriptor: Ljava/nio/channels/WritableByteChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final javax.net.ssl.SSLEngine engine;
    descriptor: Ljavax/net/ssl/SSLEngine;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private com.mongodb.internal.connection.tlschannel.impl.BufferHolder inEncrypted;
    descriptor: Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
    flags: (0x0002) ACC_PRIVATE

  private final java.util.function.Consumer<javax.net.ssl.SSLSession> initSessionCallback;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Consumer<Ljavax/net/ssl/SSLSession;>;

  private final boolean runTasks;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.mongodb.internal.connection.tlschannel.TrackingAllocator encryptedBufAllocator;
    descriptor: Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.mongodb.internal.connection.tlschannel.TrackingAllocator plainBufAllocator;
    descriptor: Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean waitForCloseConfirmation;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.locks.Lock initLock;
    descriptor: Ljava/util/concurrent/locks/Lock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.locks.Lock readLock;
    descriptor: Ljava/util/concurrent/locks/Lock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.locks.Lock writeLock;
    descriptor: Ljava/util/concurrent/locks/Lock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

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

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

  private com.mongodb.internal.connection.tlschannel.impl.BufferHolder inPlain;
    descriptor: Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
    flags: (0x0002) ACC_PRIVATE

  private com.mongodb.internal.connection.tlschannel.impl.BufferHolder outEncrypted;
    descriptor: Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
    flags: (0x0002) ACC_PRIVATE

  private final com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dummyOut;
    descriptor: Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private static volatile int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus;
    descriptor: [I
    flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC

  private static volatile int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$Status;
    descriptor: [I
    flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 58
            ldc "connection.tls"
            invokestatic com.mongodb.diagnostics.logging.Loggers.getLogger:(Ljava/lang/String;)Lcom/mongodb/diagnostics/logging/Logger;
            putstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
         1: .line 66
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.nio.channels.ReadableByteChannel, java.nio.channels.WritableByteChannel, javax.net.ssl.SSLEngine, java.util.Optional<com.mongodb.internal.connection.tlschannel.impl.BufferHolder>, java.util.function.Consumer<javax.net.ssl.SSLSession>, boolean, com.mongodb.internal.connection.tlschannel.TrackingAllocator, com.mongodb.internal.connection.tlschannel.TrackingAllocator, boolean, );
    descriptor: (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/channels/WritableByteChannel;Ljavax/net/ssl/SSLEngine;Ljava/util/Optional;Ljava/util/function/Consumer;ZLcom/mongodb/internal/connection/tlschannel/TrackingAllocator;Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;ZZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=11, args_size=11
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // java.nio.channels.ReadableByteChannel readChannel
        start local 2 // java.nio.channels.WritableByteChannel writeChannel
        start local 3 // javax.net.ssl.SSLEngine engine
        start local 4 // java.util.Optional inEncrypted
        start local 5 // java.util.function.Consumer initSessionCallback
        start local 6 // boolean runTasks
        start local 7 // com.mongodb.internal.connection.tlschannel.TrackingAllocator plainBufAllocator
        start local 8 // com.mongodb.internal.connection.tlschannel.TrackingAllocator encryptedBufAllocator
        start local 9 // boolean releaseBuffers
        start local 10 // boolean waitForCloseConfirmation
         0: .line 119
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 167
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.initLock:Ljava/util/concurrent/locks/Lock;
         2: .line 168
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
         3: .line 169
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
         4: .line 171
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.negotiated:Z
         5: .line 177
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
         6: .line 182
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
         7: .line 187
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
         8: .line 197
            aload 0 /* this */
            new com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
            dup
            iconst_0
            anewarray java.nio.ByteBuffer
            invokespecial com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.<init>:([Ljava/nio/ByteBuffer;)V
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.dummyOut:Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
         9: .line 131
            aload 0 /* this */
            aload 1 /* readChannel */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readChannel:Ljava/nio/channels/ReadableByteChannel;
        10: .line 132
            aload 0 /* this */
            aload 2 /* writeChannel */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeChannel:Ljava/nio/channels/WritableByteChannel;
        11: .line 133
            aload 0 /* this */
            aload 3 /* engine */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
        12: .line 134
            aload 0 /* this */
            aload 4 /* inEncrypted */
            new com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$1
            dup
            aload 0 /* this */
            aload 8 /* encryptedBufAllocator */
            iload 9 /* releaseBuffers */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$1.<init>:(Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;Z)V
            invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast com.mongodb.internal.connection.tlschannel.impl.BufferHolder
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
        13: .line 146
            aload 0 /* this */
            aload 5 /* initSessionCallback */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.initSessionCallback:Ljava/util/function/Consumer;
        14: .line 147
            aload 0 /* this */
            iload 6 /* runTasks */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.runTasks:Z
        15: .line 148
            aload 0 /* this */
            aload 7 /* plainBufAllocator */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.plainBufAllocator:Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
        16: .line 149
            aload 0 /* this */
            aload 8 /* encryptedBufAllocator */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.encryptedBufAllocator:Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
        17: .line 150
            aload 0 /* this */
            iload 10 /* waitForCloseConfirmation */
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.waitForCloseConfirmation:Z
        18: .line 151
            aload 0 /* this */
            new com.mongodb.internal.connection.tlschannel.impl.BufferHolder
            dup
        19: .line 152
            ldc "inPlain"
        20: .line 153
            aload 7 /* plainBufAllocator */
        21: .line 154
            sipush 4096
        22: .line 155
            sipush 17408
        23: .line 156
            iconst_1
        24: .line 157
            iload 9 /* releaseBuffers */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.BufferHolder.<init>:(Ljava/lang/String;Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;IIZZ)V
        25: .line 151
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
        26: .line 158
            aload 0 /* this */
            new com.mongodb.internal.connection.tlschannel.impl.BufferHolder
            dup
        27: .line 159
            ldc "outEncrypted"
        28: .line 160
            aload 8 /* encryptedBufAllocator */
        29: .line 161
            sipush 4096
        30: .line 162
            sipush 17408
        31: .line 163
            iconst_0
        32: .line 164
            iload 9 /* releaseBuffers */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.BufferHolder.<init>:(Ljava/lang/String;Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;IIZZ)V
        33: .line 158
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
        34: .line 165
            return
        end local 10 // boolean waitForCloseConfirmation
        end local 9 // boolean releaseBuffers
        end local 8 // com.mongodb.internal.connection.tlschannel.TrackingAllocator encryptedBufAllocator
        end local 7 // com.mongodb.internal.connection.tlschannel.TrackingAllocator plainBufAllocator
        end local 6 // boolean runTasks
        end local 5 // java.util.function.Consumer initSessionCallback
        end local 4 // java.util.Optional inEncrypted
        end local 3 // javax.net.ssl.SSLEngine engine
        end local 2 // java.nio.channels.WritableByteChannel writeChannel
        end local 1 // java.nio.channels.ReadableByteChannel readChannel
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0   35     0                      this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   35     1               readChannel  Ljava/nio/channels/ReadableByteChannel;
            0   35     2              writeChannel  Ljava/nio/channels/WritableByteChannel;
            0   35     3                    engine  Ljavax/net/ssl/SSLEngine;
            0   35     4               inEncrypted  Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;>;
            0   35     5       initSessionCallback  Ljava/util/function/Consumer<Ljavax/net/ssl/SSLSession;>;
            0   35     6                  runTasks  Z
            0   35     7         plainBufAllocator  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
            0   35     8     encryptedBufAllocator  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
            0   35     9            releaseBuffers  Z
            0   35    10  waitForCloseConfirmation  Z
    Signature: (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/channels/WritableByteChannel;Ljavax/net/ssl/SSLEngine;Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;>;Ljava/util/function/Consumer<Ljavax/net/ssl/SSLSession;>;ZLcom/mongodb/internal/connection/tlschannel/TrackingAllocator;Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;ZZ)V
    MethodParameters:
                          Name  Flags
      readChannel               final
      writeChannel              final
      engine                    final
      inEncrypted               final
      initSessionCallback       final
      runTasks                  final
      plainBufAllocator         final
      encryptedBufAllocator     final
      releaseBuffers            final
      waitForCloseConfirmation  final

  public java.util.function.Consumer<javax.net.ssl.SSLSession> getSessionInitCallback();
    descriptor: ()Ljava/util/function/Consumer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 200
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.initSessionCallback:Ljava/util/function/Consumer;
            areturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
    Signature: ()Ljava/util/function/Consumer<Ljavax/net/ssl/SSLSession;>;

  public com.mongodb.internal.connection.tlschannel.TrackingAllocator getPlainBufferAllocator();
    descriptor: ()Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 204
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.plainBufAllocator:Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
            areturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public com.mongodb.internal.connection.tlschannel.TrackingAllocator getEncryptedBufferAllocator();
    descriptor: ()Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 208
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.encryptedBufAllocator:Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
            areturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public long read(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dest
         0: .line 214
            aload 1 /* dest */
            invokestatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.checkReadBuffer:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)V
         1: .line 215
            aload 1 /* dest */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.hasRemaining:()Z
            ifne 3
         2: .line 216
            lconst_0
            lreturn
         3: .line 218
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.handshake:()V
         4: .line 219
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         5: .line 221
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
            ifne 6
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
            ifeq 7
         6: .line 222
      StackMap locals:
      StackMap stack:
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         7: .line 224
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 2 /* handshakeStatus */
        start local 2 // javax.net.ssl.SSLEngineResult$HandshakeStatus handshakeStatus
         8: .line 225
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            ifeq 9
            iconst_0
            goto 10
      StackMap locals: javax.net.ssl.SSLEngineResult$HandshakeStatus
      StackMap stack:
         9: aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
      StackMap locals:
      StackMap stack: int
        10: istore 3 /* bytesToReturn */
        start local 3 // int bytesToReturn
        11: .line 227
      StackMap locals: int
      StackMap stack:
            iload 3 /* bytesToReturn */
            ifle 19
        12: .line 228
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            ifeq 16
        13: .line 229
            iload 3 /* bytesToReturn */
            i2l
            lstore 6
        14: .line 265
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        15: .line 229
            lload 6
            lreturn
        16: .line 231
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* dest */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.transferPendingPlain:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)I
            i2l
            lstore 6
        17: .line 265
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        18: .line 231
            lload 6
            lreturn
        19: .line 234
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
            ifeq 22
        20: .line 265
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        21: .line 235
            ldc -1
            lreturn
        22: .line 237
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
        23: .line 238
            invokestatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:()[I
            aload 2 /* handshakeStatus */
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iaload
            tableswitch { // 1 - 5
                    1: 27
                    2: 27
                    3: 36
                    4: 24
                    5: 24
              default: 39
          }
        24: .line 241
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* dest */
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            aload 2 /* handshakeStatus */
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.handshake:(Ljava/util/Optional;Ljava/util/Optional;)I
            istore 3 /* bytesToReturn */
        25: .line 242
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 2 /* handshakeStatus */
        26: .line 243
            goto 11
        27: .line 246
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* dest */
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
        28: .line 247
            iconst_0
        29: .line 246
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readAndUnwrap:(Ljava/util/Optional;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
            astore 4 /* res */
        start local 4 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult res
        30: .line 248
            aload 4 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.wasClosed:Z
            ifeq 33
        31: .line 265
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        32: .line 249
            ldc -1
            lreturn
        33: .line 251
      StackMap locals: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult
      StackMap stack:
            aload 4 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.bytesProduced:I
            istore 3 /* bytesToReturn */
        34: .line 252
            aload 4 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.lastHandshakeStatus:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 2 /* handshakeStatus */
        35: .line 253
            goto 11
        end local 4 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult res
        36: .line 255
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.handleTask:()V
        37: .line 256
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 2 /* handshakeStatus */
        38: .line 257
            goto 11
        39: .line 259
      StackMap locals:
      StackMap stack:
            new javax.net.ssl.SSLHandshakeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unsupported handshake status: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* handshakeStatus */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // int bytesToReturn
        end local 2 // javax.net.ssl.SSLEngineResult$HandshakeStatus handshakeStatus
        40: .line 262
      StackMap locals: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
      StackMap stack: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
            pop
        41: .line 265
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        42: .line 263
            ldc -1
            lreturn
        43: .line 264
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        44: .line 265
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        45: .line 266
            aload 5
            athrow
        end local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dest
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   46     0             this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   46     1             dest  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            8   40     2  handshakeStatus  Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
           11   40     3    bytesToReturn  I
           30   36     4              res  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
      Exception table:
        from    to  target  type
           5    14      40  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
          16    17      40  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
          19    20      40  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
          22    31      40  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
          33    40      40  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
           5    14      43  any
          16    17      43  any
          19    20      43  any
          22    31      43  any
          33    41      43  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dest  final

  private void handleTask();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 270
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.runTasks:Z
            ifeq 3
         1: .line 271
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getDelegatedTask:()Ljava/lang/Runnable;
            invokeinterface java.lang.Runnable.run:()V
         2: .line 272
            goto 4
         3: .line 273
      StackMap locals:
      StackMap stack:
            new com.mongodb.internal.connection.tlschannel.NeedsTaskException
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getDelegatedTask:()Ljava/lang/Runnable;
            invokespecial com.mongodb.internal.connection.tlschannel.NeedsTaskException.<init>:(Ljava/lang/Runnable;)V
            athrow
         4: .line 275
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
    Exceptions:
      throws com.mongodb.internal.connection.tlschannel.NeedsTaskException

  private int transferPendingPlain(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dstBuffers
         0: .line 278
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.Buffer.flip:()Ljava/nio/Buffer;
            pop
         1: .line 279
            aload 1 /* dstBuffers */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.putRemaining:(Ljava/nio/ByteBuffer;)I
            istore 2 /* bytes */
        start local 2 // int bytes
         2: .line 280
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
         3: .line 281
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            istore 3 /* disposed */
        start local 3 // boolean disposed
         4: .line 282
            iload 3 /* disposed */
            ifne 6
         5: .line 283
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.zeroRemaining:()V
         6: .line 285
      StackMap locals: int int
      StackMap stack:
            iload 2 /* bytes */
            ireturn
        end local 3 // boolean disposed
        end local 2 // int bytes
        end local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dstBuffers
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0    7     1  dstBuffers  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            2    7     2       bytes  I
            4    7     3    disposed  Z
    MethodParameters:
            Name  Flags
      dstBuffers  final

  private com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult unwrapLoop(java.util.Optional<com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet>, javax.net.ssl.SSLEngineResult$HandshakeStatus, boolean);
    descriptor: (Ljava/util/Optional;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // java.util.Optional dest
        start local 2 // javax.net.ssl.SSLEngineResult$HandshakeStatus statusCondition
        start local 3 // boolean closing
         0: .line 290
            aload 1 /* dest */
            new com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$2
            dup
            aload 0 /* this */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$2.<init>:(Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;)V
            invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
            astore 4 /* effDest */
        start local 4 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet effDest
         1: .line 298
      StackMap locals: com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
         2: .line 299
            aload 0 /* this */
            aload 4 /* effDest */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.callEngineUnwrap:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Ljavax/net/ssl/SSLEngineResult;
            astore 5 /* result */
        start local 5 // javax.net.ssl.SSLEngineResult result
         3: .line 304
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.bytesProduced:()I
            ifgt 6
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_UNDERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpeq 6
         4: .line 305
            iload 3 /* closing */
            ifne 5
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpeq 6
         5: .line 306
      StackMap locals: javax.net.ssl.SSLEngineResult
      StackMap stack:
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            aload 2 /* statusCondition */
            if_acmpeq 10
         6: .line 307
      StackMap locals:
      StackMap stack:
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 7
            iconst_1
            goto 8
      StackMap locals:
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: istore 6 /* wasClosed */
        start local 6 // boolean wasClosed
         9: .line 308
            new com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult
            dup
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.bytesProduced:()I
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            iload 6 /* wasClosed */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.<init>:(ILjavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)V
            areturn
        end local 6 // boolean wasClosed
        10: .line 310
      StackMap locals:
      StackMap stack:
            aload 5 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 1
        11: .line 311
            aload 1 /* dest */
            invokevirtual java.util.Optional.isPresent:()Z
            ifeq 15
            aload 4 /* effDest */
            aload 1 /* dest */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            if_acmpne 15
        12: .line 317
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.prepare:()V
        13: .line 318
            aload 0 /* this */
            aload 1 /* dest */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.remaining:()J
            l2i
            iconst_2
            imul
            sipush 17408
            invokestatic java.lang.Math.min:(II)I
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.ensureInPlainCapacity:(I)V
        14: .line 319
            goto 16
        15: .line 320
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.enlarge:()V
        16: .line 323
      StackMap locals:
      StackMap stack:
            new com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokespecial com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.<init>:(Ljava/nio/ByteBuffer;)V
            astore 4 /* effDest */
        end local 5 // javax.net.ssl.SSLEngineResult result
        17: .line 297
            goto 1
        end local 4 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet effDest
        end local 3 // boolean closing
        end local 2 // javax.net.ssl.SSLEngineResult$HandshakeStatus statusCondition
        end local 1 // java.util.Optional dest
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   18     0             this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   18     1             dest  Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;
            0   18     2  statusCondition  Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            0   18     3          closing  Z
            1   18     4          effDest  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            3   17     5           result  Ljavax/net/ssl/SSLEngineResult;
            9   10     6        wasClosed  Z
    Exceptions:
      throws javax.net.ssl.SSLException
    Signature: (Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
    MethodParameters:
                 Name  Flags
      dest             final
      statusCondition  final
      closing          final

  private javax.net.ssl.SSLEngineResult callEngineUnwrap(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Ljavax/net/ssl/SSLEngineResult;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dest
         0: .line 329
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.Buffer.flip:()Ljava/nio/Buffer;
            pop
         1: .line 331
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            aload 1 /* dest */
            getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
            aload 1 /* dest */
            getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
            aload 1 /* dest */
            getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
            invokevirtual javax.net.ssl.SSLEngine.unwrap:(Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;II)Ljavax/net/ssl/SSLEngineResult;
            astore 2 /* result */
        start local 2 // javax.net.ssl.SSLEngineResult result
         2: .line 332
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
            ifeq 6
         3: .line 333
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "engine.unwrap() result [%s]. Engine status: %s; inEncrypted %s; inPlain: %s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
         4: .line 334
            aload 2 /* result */
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.resultToString:(Ljavax/net/ssl/SSLEngineResult;)Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 2 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            aastore
            dup
            iconst_3
            aload 1 /* dest */
            aastore
         5: .line 333
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
         6: .line 336
      StackMap locals: javax.net.ssl.SSLEngineResult
      StackMap stack:
            aload 2 /* result */
            astore 4
         7: .line 343
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
         8: .line 336
            aload 4
            areturn
        end local 2 // javax.net.ssl.SSLEngineResult result
         9: .line 337
      StackMap locals: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
      StackMap stack: javax.net.ssl.SSLException
            astore 2 /* e */
        start local 2 // javax.net.ssl.SSLException e
        10: .line 340
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
        11: .line 341
            aload 2 /* e */
            athrow
        end local 2 // javax.net.ssl.SSLException e
        12: .line 342
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        13: .line 343
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
        14: .line 344
            aload 3
            athrow
        end local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dest
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   15     1    dest  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            2    9     2  result  Ljavax/net/ssl/SSLEngineResult;
           10   12     2       e  Ljavax/net/ssl/SSLException;
      Exception table:
        from    to  target  type
           1     7       9  Class javax.net.ssl.SSLException
           1     7      12  any
           9    12      12  any
    Exceptions:
      throws javax.net.ssl.SSLException
    MethodParameters:
      Name  Flags
      dest  final

  private int readFromChannel();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 349
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readChannel:Ljava/nio/channels/ReadableByteChannel;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokestatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readFromChannel:(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;)I
         1: ireturn
         2: .line 350
      StackMap locals:
      StackMap stack: com.mongodb.internal.connection.tlschannel.WouldBlockException
            astore 1 /* e */
        start local 1 // com.mongodb.internal.connection.tlschannel.WouldBlockException e
         3: .line 351
            aload 1 /* e */
            athrow
        end local 1 // com.mongodb.internal.connection.tlschannel.WouldBlockException e
         4: .line 352
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 1 /* e */
        start local 1 // java.io.IOException e
         5: .line 353
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
         6: .line 354
            aload 1 /* e */
            athrow
        end local 1 // java.io.IOException e
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            3    4     1     e  Lcom/mongodb/internal/connection/tlschannel/WouldBlockException;
            5    7     1     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     1       2  Class com.mongodb.internal.connection.tlschannel.WouldBlockException
           0     1       4  Class java.io.IOException
    Exceptions:
      throws java.io.IOException, com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException

  public static int readFromChannel(java.nio.channels.ReadableByteChannel, java.nio.ByteBuffer);
    descriptor: (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // java.nio.channels.ReadableByteChannel readChannel
        start local 1 // java.nio.ByteBuffer buffer
         0: .line 360
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
         1: .line 361
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
            ifeq 3
         2: .line 362
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Reading from channel"
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
         3: .line 364
      StackMap locals:
      StackMap stack:
            aload 0 /* readChannel */
            aload 1 /* buffer */
            invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
            istore 2 /* c */
        start local 2 // int c
         4: .line 365
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
            ifeq 6
         5: .line 366
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Read from channel; response: %s, buffer: %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iload 2 /* c */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 1 /* buffer */
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
         6: .line 368
      StackMap locals: int
      StackMap stack:
            iload 2 /* c */
            iconst_m1
            if_icmpne 8
         7: .line 369
            new com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
            dup
            invokespecial com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException.<init>:()V
            athrow
         8: .line 371
      StackMap locals:
      StackMap stack:
            iload 2 /* c */
            ifne 10
         9: .line 372
            new com.mongodb.internal.connection.tlschannel.NeedsReadException
            dup
            invokespecial com.mongodb.internal.connection.tlschannel.NeedsReadException.<init>:()V
            athrow
        10: .line 374
      StackMap locals:
      StackMap stack:
            iload 2 /* c */
            ireturn
        end local 2 // int c
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // java.nio.channels.ReadableByteChannel readChannel
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0  readChannel  Ljava/nio/channels/ReadableByteChannel;
            0   11     1       buffer  Ljava/nio/ByteBuffer;
            4   11     2            c  I
    Exceptions:
      throws java.io.IOException, com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
    MethodParameters:
             Name  Flags
      readChannel  final
      buffer       final

  public long write(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
         0: .line 385
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.handshake:()V
         1: .line 386
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         2: .line 388
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
            ifne 3
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
            ifeq 4
         3: .line 389
      StackMap locals:
      StackMap stack:
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         4: .line 391
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* source */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.wrapAndWrite:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)J
            lstore 3
         5: .line 393
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         6: .line 391
            lload 3
            lreturn
         7: .line 392
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2
         8: .line 393
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         9: .line 394
            aload 2
            athrow
        end local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   10     1  source  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
      Exception table:
        from    to  target  type
           2     5       7  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      source  final

  private long wrapAndWrite(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)J
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=10, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
         0: .line 398
            aload 1 /* source */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.remaining:()J
            lstore 2 /* bytesToConsume */
        start local 2 // long bytesToConsume
         1: .line 399
            lconst_0
            lstore 4 /* bytesConsumed */
        start local 4 // long bytesConsumed
         2: .line 400
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.prepare:()V
         3: .line 403
      StackMap locals: long long
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeToChannel:()V
         4: .line 404
            lload 4 /* bytesConsumed */
            lload 2 /* bytesToConsume */
            lcmp
            ifne 8
         5: .line 405
            lload 2 /* bytesToConsume */
            lstore 8
         6: .line 411
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
         7: .line 405
            lload 8
            lreturn
         8: .line 407
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* source */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.wrapLoop:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$WrapResult;
            astore 6 /* res */
        start local 6 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult res
         9: .line 408
            lload 4 /* bytesConsumed */
            aload 6 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult.bytesConsumed:I
            i2l
            ladd
            lstore 4 /* bytesConsumed */
        end local 6 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult res
        10: .line 402
            goto 3
        11: .line 410
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 7
        12: .line 411
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
        13: .line 412
            aload 7
            athrow
        end local 4 // long bytesConsumed
        end local 2 // long bytesToConsume
        end local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   14     0            this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   14     1          source  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            1   14     2  bytesToConsume  J
            2   14     4   bytesConsumed  J
            9   10     6             res  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$WrapResult;
      Exception table:
        from    to  target  type
           3     6      11  any
           8    11      11  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      source  final

  private com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult wrapLoop(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$WrapResult;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
         0: .line 417
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* source */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.callEngineWrap:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Ljavax/net/ssl/SSLEngineResult;
            astore 2 /* result */
        start local 2 // javax.net.ssl.SSLEngineResult result
         1: .line 418
            invokestatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$Status:()[I
            aload 2 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            invokevirtual javax.net.ssl.SSLEngineResult$Status.ordinal:()I
            iaload
            tableswitch { // 1 - 4
                    1: 8
                    2: 3
                    3: 2
                    4: 2
              default: 9
          }
         2: .line 421
      StackMap locals: javax.net.ssl.SSLEngineResult
      StackMap stack:
            new com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult
            dup
            aload 2 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.bytesConsumed:()I
            aload 2 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokespecial com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult.<init>:(ILjavax/net/ssl/SSLEngineResult$HandshakeStatus;)V
            areturn
         3: .line 423
      StackMap locals:
      StackMap stack:
            aload 2 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.bytesConsumed:()I
            ifne 4
            iconst_1
            goto 5
      StackMap locals:
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
         6: .line 424
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.enlarge:()V
         7: .line 425
            goto 0
         8: .line 427
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            invokespecial java.lang.IllegalStateException.<init>:()V
            athrow
         9: .line 429
      StackMap locals:
      StackMap stack:
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected status: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 2 // javax.net.ssl.SSLEngineResult result
        end local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   10     1  source  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            1   10     2  result  Ljavax/net/ssl/SSLEngineResult;
    Exceptions:
      throws javax.net.ssl.SSLException
    MethodParameters:
        Name  Flags
      source  final

  private javax.net.ssl.SSLEngineResult callEngineWrap(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Ljavax/net/ssl/SSLEngineResult;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
         0: .line 436
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            aload 1 /* source */
            getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
            aload 1 /* source */
            getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
            aload 1 /* source */
            getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual javax.net.ssl.SSLEngine.wrap:([Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;
            astore 2 /* result */
        start local 2 // javax.net.ssl.SSLEngineResult result
         1: .line 437
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
            ifeq 5
         2: .line 438
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "engine.wrap() result: [%s]; engine status: %s; srcBuffer: %s, outEncrypted: %s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 439
            aload 2 /* result */
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.resultToString:(Ljavax/net/ssl/SSLEngineResult;)Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 2 /* result */
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            aastore
            dup
            iconst_2
            aload 1 /* source */
            aastore
            dup
            iconst_3
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            aastore
         4: .line 438
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
         5: .line 441
      StackMap locals: javax.net.ssl.SSLEngineResult
      StackMap stack:
            aload 2 /* result */
         6: areturn
        end local 2 // javax.net.ssl.SSLEngineResult result
         7: .line 442
      StackMap locals: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
      StackMap stack: javax.net.ssl.SSLException
            astore 2 /* e */
        start local 2 // javax.net.ssl.SSLException e
         8: .line 443
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
         9: .line 444
            aload 2 /* e */
            athrow
        end local 2 // javax.net.ssl.SSLException e
        end local 1 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet source
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   10     1  source  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            1    7     2  result  Ljavax/net/ssl/SSLEngineResult;
            8   10     2       e  Ljavax/net/ssl/SSLException;
      Exception table:
        from    to  target  type
           0     6       7  Class javax.net.ssl.SSLException
    Exceptions:
      throws javax.net.ssl.SSLException
    MethodParameters:
        Name  Flags
      source  final

  private void ensureInPlainCapacity(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // int newCapacity
         0: .line 449
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            iload 1 /* newCapacity */
            if_icmpge 4
         1: .line 450
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
            ifeq 3
         2: .line 451
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "inPlain buffer too small, increasing from %s to %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 1 /* newCapacity */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
         3: .line 453
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            iload 1 /* newCapacity */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.resize:(I)V
         4: .line 455
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int newCapacity
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0    5     1  newCapacity  I
    MethodParameters:
             Name  Flags
      newCapacity  final

  private void writeToChannel();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 458
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            ifne 2
         1: .line 459
            return
         2: .line 461
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.Buffer.flip:()Ljava/nio/Buffer;
            pop
         3: .line 464
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeChannel:Ljava/nio/channels/WritableByteChannel;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokestatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeToChannel:(Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;)V
         4: .line 465
            goto 13
      StackMap locals:
      StackMap stack: com.mongodb.internal.connection.tlschannel.WouldBlockException
         5: astore 1 /* e */
        start local 1 // com.mongodb.internal.connection.tlschannel.WouldBlockException e
         6: .line 466
            aload 1 /* e */
            athrow
        end local 1 // com.mongodb.internal.connection.tlschannel.WouldBlockException e
         7: .line 467
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 1 /* e */
        start local 1 // java.io.IOException e
         8: .line 468
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
         9: .line 469
            aload 1 /* e */
            athrow
        end local 1 // java.io.IOException e
        10: .line 471
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2
        11: .line 472
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
        12: .line 473
            aload 2
            athrow
        13: .line 472
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
        14: .line 474
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            6    7     1     e  Lcom/mongodb/internal/connection/tlschannel/WouldBlockException;
            8   10     1     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     4       5  Class com.mongodb.internal.connection.tlschannel.WouldBlockException
           3     4       7  Class java.io.IOException
           3    10      10  any
    Exceptions:
      throws java.io.IOException

  private static void writeToChannel(java.nio.channels.WritableByteChannel, java.nio.ByteBuffer);
    descriptor: (Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // java.nio.channels.WritableByteChannel channel
        start local 1 // java.nio.ByteBuffer src
         0: .line 477
            goto 5
         1: .line 478
      StackMap locals:
      StackMap stack:
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Writing to channel: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* src */
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
         2: .line 479
            aload 0 /* channel */
            aload 1 /* src */
            invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
            istore 2 /* c */
        start local 2 // int c
         3: .line 480
            iload 2 /* c */
            ifne 5
         4: .line 485
            new com.mongodb.internal.connection.tlschannel.NeedsWriteException
            dup
            invokespecial com.mongodb.internal.connection.tlschannel.NeedsWriteException.<init>:()V
            athrow
        end local 2 // int c
         5: .line 477
      StackMap locals:
      StackMap stack:
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 1
         6: .line 490
            return
        end local 1 // java.nio.ByteBuffer src
        end local 0 // java.nio.channels.WritableByteChannel channel
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0  channel  Ljava/nio/channels/WritableByteChannel;
            0    7     1      src  Ljava/nio/ByteBuffer;
            3    5     2        c  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      channel  final
      src      final

  public void renegotiate();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 499
            aload 0 /* this */
            iconst_1
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.doHandshake:(Z)V
         1: .line 500
            goto 4
      StackMap locals:
      StackMap stack: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
         2: pop
         3: .line 501
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         4: .line 503
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
      Exception table:
        from    to  target  type
           0     1       2  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
    Exceptions:
      throws java.io.IOException

  public void handshake();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 511
            aload 0 /* this */
            iconst_0
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.doHandshake:(Z)V
         1: .line 512
            goto 4
      StackMap locals:
      StackMap stack: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
         2: pop
         3: .line 513
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         4: .line 515
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
      Exception table:
        from    to  target  type
           0     1       2  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
    Exceptions:
      throws java.io.IOException

  private void doHandshake(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // boolean force
         0: .line 518
            iload 1 /* force */
            ifne 2
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.negotiated:Z
            ifeq 2
         1: .line 519
            return
         2: .line 521
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
            ifne 3
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
            ifeq 4
         3: .line 522
      StackMap locals:
      StackMap stack:
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         4: .line 524
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.initLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         5: .line 526
            iload 1 /* force */
            ifne 6
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.negotiated:Z
            ifne 19
         6: .line 527
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.beginHandshake:()V
         7: .line 528
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Called engine.beginHandshake()"
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
         8: .line 529
            aload 0 /* this */
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.handshake:(Ljava/util/Optional;Ljava/util/Optional;)I
            pop
         9: .line 532
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.initSessionCallback:Ljava/util/function/Consumer;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        10: .line 533
            goto 14
      StackMap locals:
      StackMap stack: java.lang.Exception
        11: astore 2 /* e */
        start local 2 // java.lang.Exception e
        12: .line 534
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "client code threw exception in session initialization callback"
            aload 2 /* e */
            invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
        13: .line 535
            new com.mongodb.internal.connection.tlschannel.util.TlsChannelCallbackException
            dup
            ldc "session initialization callback failed"
            aload 2 /* e */
            invokespecial com.mongodb.internal.connection.tlschannel.util.TlsChannelCallbackException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Exception e
        14: .line 537
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.negotiated:Z
        15: .line 539
            goto 19
      StackMap locals:
      StackMap stack: java.lang.Throwable
        16: astore 3
        17: .line 540
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.initLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        18: .line 541
            aload 3
            athrow
        19: .line 540
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.initLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        20: .line 542
            return
        end local 1 // boolean force
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   21     0   this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   21     1  force  Z
           12   14     2      e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           9    10      11  Class java.lang.Exception
           5    16      16  any
    Exceptions:
      throws java.io.IOException, com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
    MethodParameters:
       Name  Flags
      force  final

  private int handshake(java.util.Optional<com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet>, java.util.Optional<javax.net.ssl.SSLEngineResult$HandshakeStatus>);
    descriptor: (Ljava/util/Optional;Ljava/util/Optional;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // java.util.Optional dest
        start local 2 // java.util.Optional handshakeStatus
         0: .line 546
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 548
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         2: .line 550
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
         3: .line 551
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.prepare:()V
         4: .line 553
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeToChannel:()V
         5: .line 554
            aload 0 /* this */
            aload 1 /* dest */
            aload 2 /* handshakeStatus */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.handshakeLoop:(Ljava/util/Optional;Ljava/util/Optional;)I
            istore 4
         6: .line 556
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
         7: .line 559
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         8: .line 562
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         9: .line 554
            iload 4
            ireturn
        10: .line 555
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        11: .line 556
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
        12: .line 557
            aload 3
            athrow
        13: .line 558
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        14: .line 559
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        15: .line 560
            aload 5
            athrow
        16: .line 561
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 6
        17: .line 562
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        18: .line 563
            aload 6
            athrow
        end local 2 // java.util.Optional handshakeStatus
        end local 1 // java.util.Optional dest
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   19     0             this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   19     1             dest  Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;
            0   19     2  handshakeStatus  Ljava/util/Optional<Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;>;
      Exception table:
        from    to  target  type
           4     6      10  any
           2     7      13  any
          10    13      13  any
           1     8      16  any
          10    16      16  any
    Exceptions:
      throws java.io.IOException, com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
    Signature: (Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;Ljava/util/Optional<Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;>;)I
    MethodParameters:
                 Name  Flags
      dest             final
      handshakeStatus  final

  private int handshakeLoop(java.util.Optional<com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet>, java.util.Optional<javax.net.ssl.SSLEngineResult$HandshakeStatus>);
    descriptor: (Ljava/util/Optional;Ljava/util/Optional;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // java.util.Optional dest
        start local 2 // java.util.Optional handshakeStatus
         0: .line 568
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
         1: .line 569
            aload 2 /* handshakeStatus */
            new com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$3
            dup
            aload 0 /* this */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$3.<init>:(Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;)V
            invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast javax.net.ssl.SSLEngineResult$HandshakeStatus
            astore 3 /* status */
        start local 3 // javax.net.ssl.SSLEngineResult$HandshakeStatus status
         2: .line 576
      StackMap locals: javax.net.ssl.SSLEngineResult$HandshakeStatus
      StackMap stack:
            invokestatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:()[I
            aload 3 /* status */
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iaload
            tableswitch { // 1 - 5
                    1: 12
                    2: 16
                    3: 13
                    4: 3
                    5: 8
              default: 17
          }
         3: .line 578
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
         4: .line 579
            aload 0 /* this */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.dummyOut:Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.wrapLoop:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$WrapResult;
            astore 4 /* wrapResult */
        start local 4 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult wrapResult
         5: .line 580
            aload 4 /* wrapResult */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult.lastHandshakeStatus:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 3 /* status */
         6: .line 581
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeToChannel:()V
         7: .line 582
            goto 2
        end local 4 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult wrapResult
         8: .line 584
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* dest */
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_UNWRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            iconst_0
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readAndUnwrap:(Ljava/util/Optional;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
            astore 5 /* res */
        start local 5 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult res
         9: .line 585
            aload 5 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.lastHandshakeStatus:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 3 /* status */
        10: .line 586
            aload 5 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.bytesProduced:I
            ifle 2
        11: .line 587
            aload 5 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.bytesProduced:I
            ireturn
        end local 5 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult res
        12: .line 597
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        13: .line 599
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.handleTask:()V
        14: .line 600
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 3 /* status */
        15: .line 601
            goto 2
        16: .line 603
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        17: .line 605
      StackMap locals:
      StackMap stack:
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected status: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* status */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 3 // javax.net.ssl.SSLEngineResult$HandshakeStatus status
        end local 2 // java.util.Optional handshakeStatus
        end local 1 // java.util.Optional dest
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   18     0             this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   18     1             dest  Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;
            0   18     2  handshakeStatus  Ljava/util/Optional<Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;>;
            2   18     3           status  Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            5    8     4       wrapResult  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$WrapResult;
            9   12     5              res  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
    Exceptions:
      throws java.io.IOException, com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
    Signature: (Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;Ljava/util/Optional<Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;>;)I
    MethodParameters:
                 Name  Flags
      dest             final
      handshakeStatus  final

  private com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult readAndUnwrap(java.util.Optional<com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet>, javax.net.ssl.SSLEngineResult$HandshakeStatus, boolean);
    descriptor: (Ljava/util/Optional;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=7, args_size=4
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // java.util.Optional dest
        start local 2 // javax.net.ssl.SSLEngineResult$HandshakeStatus statusCondition
        start local 3 // boolean closing
         0: .line 612
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.prepare:()V
         1: .line 615
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.nullOrEmpty:()Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
         2: .line 616
            aload 0 /* this */
            aload 1 /* dest */
            aload 2 /* statusCondition */
            iload 3 /* closing */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.unwrapLoop:(Ljava/util/Optional;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
            astore 4 /* res */
        start local 4 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult res
         3: .line 617
            aload 4 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.bytesProduced:I
            ifgt 4
            aload 4 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.lastHandshakeStatus:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            aload 2 /* statusCondition */
            if_acmpne 4
            iload 3 /* closing */
            ifne 9
            aload 4 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.wasClosed:Z
            ifeq 9
         4: .line 618
      StackMap locals: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult
      StackMap stack:
            aload 4 /* res */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult.wasClosed:Z
            ifeq 6
         5: .line 619
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
         6: .line 621
      StackMap locals:
      StackMap stack:
            aload 4 /* res */
            astore 6
         7: .line 629
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
         8: .line 621
            aload 6
            areturn
         9: .line 623
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            getfield com.mongodb.internal.connection.tlschannel.impl.BufferHolder.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 11
        10: .line 624
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.enlarge:()V
        11: .line 626
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readFromChannel:()I
            pop
        end local 4 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult res
        12: .line 614
            goto 1
        13: .line 628
      StackMap locals: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl java.util.Optional javax.net.ssl.SSLEngineResult$HandshakeStatus int
      StackMap stack: java.lang.Throwable
            astore 5
        14: .line 629
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
        15: .line 630
            aload 5
            athrow
        end local 3 // boolean closing
        end local 2 // javax.net.ssl.SSLEngineResult$HandshakeStatus statusCondition
        end local 1 // java.util.Optional dest
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   16     0             this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0   16     1             dest  Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;
            0   16     2  statusCondition  Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            0   16     3          closing  Z
            3   12     4              res  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
      Exception table:
        from    to  target  type
           1     7      13  any
           9    13      13  any
    Exceptions:
      throws java.io.IOException, com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
    Signature: (Ljava/util/Optional<Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;>;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
    MethodParameters:
                 Name  Flags
      dest             final
      statusCondition  final
      closing          final

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 634
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.tryShutdown:()V
         1: .line 635
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeChannel:Ljava/nio/channels/WritableByteChannel;
            invokeinterface java.nio.channels.WritableByteChannel.close:()V
         2: .line 636
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readChannel:Ljava/nio/channels/ReadableByteChannel;
            invokeinterface java.nio.channels.ReadableByteChannel.close:()V
         3: .line 640
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         4: .line 642
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         5: .line 644
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.freeBuffers:()V
         6: .line 645
            goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: astore 1
         8: .line 646
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         9: .line 647
            aload 1
            athrow
        10: .line 646
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        11: .line 648
            goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: astore 2
        13: .line 649
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        14: .line 650
            aload 2
            athrow
        15: .line 649
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        16: .line 651
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
      Exception table:
        from    to  target  type
           5     7       7  any
           4    12      12  any
    Exceptions:
      throws java.io.IOException

  private void tryShutdown();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 654
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.tryLock:()Z
            ifne 2
         1: .line 655
            return
         2: .line 658
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.tryLock:()Z
            ifne 5
         3: .line 676
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         4: .line 659
            return
         5: .line 662
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
            ifne 16
         6: .line 664
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdown:()Z
            istore 1 /* closed */
        start local 1 // boolean closed
         7: .line 665
            iload 1 /* closed */
            ifne 16
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.waitForCloseConfirmation:Z
            ifeq 16
         8: .line 666
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdown:()Z
            pop
        end local 1 // boolean closed
         9: .line 668
            goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: astore 1 /* e */
        start local 1 // java.lang.Throwable e
        11: .line 669
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "error doing TLS shutdown on close(), continuing: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* e */
            invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
        end local 1 // java.lang.Throwable e
        12: .line 672
            goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 2
        14: .line 673
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        15: .line 674
            aload 2
            athrow
        16: .line 673
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        17: .line 675
            goto 21
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: astore 3
        19: .line 676
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        20: .line 677
            aload 3
            athrow
        21: .line 676
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        22: .line 678
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   23     0    this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            7    9     1  closed  Z
           11   12     1       e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           6     9      10  Class java.lang.Throwable
           5    13      13  any
           2     3      18  any
           5    18      18  any

  public boolean shutdown();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 681
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 683
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         2: .line 685
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
            ifeq 4
         3: .line 686
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         4: .line 688
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
            ifne 22
         5: .line 689
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
         6: .line 690
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.prepare:()V
         7: .line 692
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeToChannel:()V
         8: .line 693
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.closeOutbound:()V
         9: .line 694
            aload 0 /* this */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.dummyOut:Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.wrapLoop:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$WrapResult;
            pop
        10: .line 695
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeToChannel:()V
        11: .line 696
            goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: astore 1
        13: .line 697
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
        14: .line 698
            aload 1
            athrow
        15: .line 697
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.release:()Z
            pop
        16: .line 706
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
            ifeq 18
        17: .line 707
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.freeBuffers:()V
        18: .line 709
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
            istore 3
        19: .line 728
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        20: .line 731
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        21: .line 709
            iload 3
            ireturn
        22: .line 716
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
            ifne 28
        23: .line 719
            aload 0 /* this */
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_UNWRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            iconst_1
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readAndUnwrap:(Ljava/util/Optional;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;Z)Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl$UnwrapResult;
            pop
        24: .line 720
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
            invokestatic com.mongodb.internal.connection.tlschannel.util.Util.assertTrue:(Z)V
        25: .line 721
            goto 28
      StackMap locals:
      StackMap stack: com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
        26: pop
        27: .line 722
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
        28: .line 725
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.freeBuffers:()V
        29: .line 728
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        30: .line 731
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        31: .line 726
            iconst_1
            ireturn
        32: .line 727
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2
        33: .line 728
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        34: .line 729
            aload 2
            athrow
        35: .line 730
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
        36: .line 731
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readLock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        37: .line 732
            aload 4
            athrow
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   38     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
      Exception table:
        from    to  target  type
           7    12      12  any
          23    25      26  Class com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException
           2    19      32  any
          22    29      32  any
           1    20      35  any
          22    30      35  any
          32    35      35  any
    Exceptions:
      throws java.io.IOException

  private void freeBuffers();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 736
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            ifnull 3
         1: .line 737
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.dispose:()Z
            pop
         2: .line 738
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
         3: .line 740
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            ifnull 6
         4: .line 741
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.dispose:()Z
            pop
         5: .line 742
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.inPlain:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
         6: .line 744
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            ifnull 9
         7: .line 745
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.BufferHolder.dispose:()Z
            pop
         8: .line 746
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.outEncrypted:Lcom/mongodb/internal/connection/tlschannel/impl/BufferHolder;
         9: .line 748
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public boolean isOpen();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 751
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.invalid:Z
            ifne 1
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeChannel:Ljava/nio/channels/WritableByteChannel;
            invokeinterface java.nio.channels.WritableByteChannel.isOpen:()Z
            ifeq 1
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readChannel:Ljava/nio/channels/ReadableByteChannel;
            invokeinterface java.nio.channels.ReadableByteChannel.isOpen:()Z
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public static void checkReadBuffer(com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dest
         0: .line 755
            aload 0 /* dest */
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.isReadOnly:()Z
            ifeq 2
         1: .line 756
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
         2: .line 758
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet dest
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  dest  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
    MethodParameters:
      Name  Flags
      dest  final

  public javax.net.ssl.SSLEngine engine();
    descriptor: ()Ljavax/net/ssl/SSLEngine;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 761
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.engine:Ljavax/net/ssl/SSLEngine;
            areturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public boolean getRunTasks();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 765
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.runTasks:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public int read(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // java.nio.ByteBuffer dst
         0: .line 770
            aload 0 /* this */
            new com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
            dup
            aload 1 /* dst */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.<init>:(Ljava/nio/ByteBuffer;)V
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.read:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)J
            l2i
            ireturn
        end local 1 // java.nio.ByteBuffer dst
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0    1     1   dst  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dst   final

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
        start local 1 // java.nio.ByteBuffer src
         0: .line 775
            aload 0 /* this */
            new com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
            dup
            aload 1 /* src */
            invokespecial com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.<init>:(Ljava/nio/ByteBuffer;)V
            invokevirtual com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.write:(Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;)J
            l2i
            ireturn
        end local 1 // java.nio.ByteBuffer src
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;
            0    1     1   src  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   final

  public boolean shutdownReceived();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 779
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownReceived:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public boolean shutdownSent();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 783
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.shutdownSent:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public java.nio.channels.ReadableByteChannel plainReadableChannel();
    descriptor: ()Ljava/nio/channels/ReadableByteChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 787
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.readChannel:Ljava/nio/channels/ReadableByteChannel;
            areturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  public java.nio.channels.WritableByteChannel plainWritableChannel();
    descriptor: ()Ljava/nio/channels/WritableByteChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
         0: .line 791
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.writeChannel:Ljava/nio/channels/WritableByteChannel;
            areturn
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/TlsChannelImpl;

  static int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus();
    descriptor: ()[I
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 56
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:[I
            dup
            ifnull 1
            areturn
      StackMap locals:
      StackMap stack: int[]
         1: pop
            invokestatic javax.net.ssl.SSLEngineResult$HandshakeStatus.values:()[Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            arraylength
            newarray 10
            astore 0
         2: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_2
            iastore
         3: goto 5
      StackMap locals: int[]
      StackMap stack: java.lang.NoSuchFieldError
         4: pop
      StackMap locals:
      StackMap stack:
         5: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_TASK:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_3
            iastore
         6: goto 8
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
         7: pop
      StackMap locals:
      StackMap stack:
         8: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_UNWRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_5
            iastore
         9: goto 11
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        10: pop
      StackMap locals:
      StackMap stack:
        11: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_WRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_4
            iastore
        12: goto 14
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        13: pop
      StackMap locals:
      StackMap stack:
        14: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_1
            iastore
        15: goto 17
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        16: pop
      StackMap locals:
      StackMap stack:
        17: aload 0
            dup
            putstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:[I
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.NoSuchFieldError
           5     6       7  Class java.lang.NoSuchFieldError
           8     9      10  Class java.lang.NoSuchFieldError
          11    12      13  Class java.lang.NoSuchFieldError
          14    15      16  Class java.lang.NoSuchFieldError

  static int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$Status();
    descriptor: ()[I
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 56
            getstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$Status:[I
            dup
            ifnull 1
            areturn
      StackMap locals:
      StackMap stack: int[]
         1: pop
            invokestatic javax.net.ssl.SSLEngineResult$Status.values:()[Ljavax/net/ssl/SSLEngineResult$Status;
            arraylength
            newarray 10
            astore 0
         2: aload 0
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            invokevirtual javax.net.ssl.SSLEngineResult$Status.ordinal:()I
            iconst_2
            iastore
         3: goto 5
      StackMap locals: int[]
      StackMap stack: java.lang.NoSuchFieldError
         4: pop
      StackMap locals:
      StackMap stack:
         5: aload 0
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_UNDERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            invokevirtual javax.net.ssl.SSLEngineResult$Status.ordinal:()I
            iconst_1
            iastore
         6: goto 8
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
         7: pop
      StackMap locals:
      StackMap stack:
         8: aload 0
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            invokevirtual javax.net.ssl.SSLEngineResult$Status.ordinal:()I
            iconst_4
            iastore
         9: goto 11
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        10: pop
      StackMap locals:
      StackMap stack:
        11: aload 0
            getstatic javax.net.ssl.SSLEngineResult$Status.OK:Ljavax/net/ssl/SSLEngineResult$Status;
            invokevirtual javax.net.ssl.SSLEngineResult$Status.ordinal:()I
            iconst_3
            iastore
        12: goto 14
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        13: pop
      StackMap locals:
      StackMap stack:
        14: aload 0
            dup
            putstatic com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$Status:[I
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.NoSuchFieldError
           5     6       7  Class java.lang.NoSuchFieldError
           8     9      10  Class java.lang.NoSuchFieldError
          11    12      13  Class java.lang.NoSuchFieldError
}
SourceFile: "TlsChannelImpl.java"
NestMembers:
  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$1  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$2  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$3  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult
InnerClasses:
  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$1
  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$2
  com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$3
  public EofException = com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$EofException of com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl
  private UnwrapResult = com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$UnwrapResult of com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl
  private WrapResult = com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl$WrapResult of com.mongodb.internal.connection.tlschannel.impl.TlsChannelImpl
  public final HandshakeStatus = javax.net.ssl.SSLEngineResult$HandshakeStatus of javax.net.ssl.SSLEngineResult
  public final Status = javax.net.ssl.SSLEngineResult$Status of javax.net.ssl.SSLEngineResult