public final class com.mongodb.internal.connection.DescriptionHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.internal.connection.DescriptionHelper
  super_class: java.lang.Object
{
  static com.mongodb.connection.ConnectionDescription createConnectionDescription(com.mongodb.connection.ConnectionId, org.bson.BsonDocument, org.bson.BsonDocument);
    descriptor: (Lcom/mongodb/connection/ConnectionId;Lorg/bson/BsonDocument;Lorg/bson/BsonDocument;)Lcom/mongodb/connection/ConnectionDescription;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=10, locals=5, args_size=3
        start local 0 // com.mongodb.connection.ConnectionId connectionId
        start local 1 // org.bson.BsonDocument isMasterResult
        start local 2 // org.bson.BsonDocument buildInfoResult
         0: .line 64
            new com.mongodb.connection.ConnectionDescription
            dup
            aload 0 /* connectionId */
            aload 2 /* buildInfoResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getVersion:(Lorg/bson/BsonDocument;)Lcom/mongodb/connection/ServerVersion;
         1: .line 65
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getMaxWireVersion:(Lorg/bson/BsonDocument;)I
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getServerType:(Lorg/bson/BsonDocument;)Lcom/mongodb/connection/ServerType;
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getMaxWriteBatchSize:(Lorg/bson/BsonDocument;)I
         2: .line 66
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getMaxBsonObjectSize:(Lorg/bson/BsonDocument;)I
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getMaxMessageSizeBytes:(Lorg/bson/BsonDocument;)I
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getCompressors:(Lorg/bson/BsonDocument;)Ljava/util/List;
         3: .line 64
            invokespecial com.mongodb.connection.ConnectionDescription.<init>:(Lcom/mongodb/connection/ConnectionId;Lcom/mongodb/connection/ServerVersion;ILcom/mongodb/connection/ServerType;IIILjava/util/List;)V
            astore 3 /* connectionDescription */
        start local 3 // com.mongodb.connection.ConnectionDescription connectionDescription
         4: .line 67
            aload 1 /* isMasterResult */
            ldc "connectionId"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 8
         5: .line 69
            aload 3 /* connectionDescription */
            invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
            aload 1 /* isMasterResult */
            ldc "connectionId"
            invokevirtual org.bson.BsonDocument.getNumber:(Ljava/lang/Object;)Lorg/bson/BsonNumber;
            invokevirtual org.bson.BsonNumber.intValue:()I
            invokevirtual com.mongodb.connection.ConnectionId.withServerValue:(I)Lcom/mongodb/connection/ConnectionId;
         6: .line 68
            astore 4 /* newConnectionId */
        start local 4 // com.mongodb.connection.ConnectionId newConnectionId
         7: .line 70
            aload 3 /* connectionDescription */
            aload 4 /* newConnectionId */
            invokevirtual com.mongodb.connection.ConnectionDescription.withConnectionId:(Lcom/mongodb/connection/ConnectionId;)Lcom/mongodb/connection/ConnectionDescription;
            astore 3 /* connectionDescription */
        end local 4 // com.mongodb.connection.ConnectionId newConnectionId
         8: .line 72
      StackMap locals: com.mongodb.connection.ConnectionDescription
      StackMap stack:
            aload 3 /* connectionDescription */
            areturn
        end local 3 // com.mongodb.connection.ConnectionDescription connectionDescription
        end local 2 // org.bson.BsonDocument buildInfoResult
        end local 1 // org.bson.BsonDocument isMasterResult
        end local 0 // com.mongodb.connection.ConnectionId connectionId
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    9     0           connectionId  Lcom/mongodb/connection/ConnectionId;
            0    9     1         isMasterResult  Lorg/bson/BsonDocument;
            0    9     2        buildInfoResult  Lorg/bson/BsonDocument;
            4    9     3  connectionDescription  Lcom/mongodb/connection/ConnectionDescription;
            7    8     4        newConnectionId  Lcom/mongodb/connection/ConnectionId;
    MethodParameters:
                 Name  Flags
      connectionId     final
      isMasterResult   final
      buildInfoResult  final

  public static com.mongodb.connection.ServerDescription createServerDescription(com.mongodb.ServerAddress, org.bson.BsonDocument, com.mongodb.connection.ServerVersion, long);
    descriptor: (Lcom/mongodb/ServerAddress;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ServerVersion;J)Lcom/mongodb/connection/ServerDescription;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // com.mongodb.ServerAddress serverAddress
        start local 1 // org.bson.BsonDocument isMasterResult
        start local 2 // com.mongodb.connection.ServerVersion serverVersion
        start local 3 // long roundTripTime
         0: .line 77
            invokestatic com.mongodb.connection.ServerDescription.builder:()Lcom/mongodb/connection/ServerDescription$Builder;
         1: .line 78
            getstatic com.mongodb.connection.ServerConnectionState.CONNECTED:Lcom/mongodb/connection/ServerConnectionState;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.state:(Lcom/mongodb/connection/ServerConnectionState;)Lcom/mongodb/connection/ServerDescription$Builder;
         2: .line 79
            aload 2 /* serverVersion */
            invokevirtual com.mongodb.connection.ServerDescription$Builder.version:(Lcom/mongodb/connection/ServerVersion;)Lcom/mongodb/connection/ServerDescription$Builder;
         3: .line 80
            aload 0 /* serverAddress */
            invokevirtual com.mongodb.connection.ServerDescription$Builder.address:(Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/ServerDescription$Builder;
         4: .line 81
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getServerType:(Lorg/bson/BsonDocument;)Lcom/mongodb/connection/ServerType;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.type:(Lcom/mongodb/connection/ServerType;)Lcom/mongodb/connection/ServerDescription$Builder;
         5: .line 82
            aload 1 /* isMasterResult */
            ldc "me"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 6
            aload 1 /* isMasterResult */
            ldc "me"
            invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;)Lorg/bson/BsonString;
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
            goto 7
      StackMap locals:
      StackMap stack: com.mongodb.connection.ServerDescription$Builder
         6: aconst_null
      StackMap locals: com.mongodb.ServerAddress org.bson.BsonDocument com.mongodb.connection.ServerVersion long
      StackMap stack: com.mongodb.connection.ServerDescription$Builder java.lang.String
         7: invokevirtual com.mongodb.connection.ServerDescription$Builder.canonicalAddress:(Ljava/lang/String;)Lcom/mongodb/connection/ServerDescription$Builder;
         8: .line 83
            aload 1 /* isMasterResult */
            ldc "hosts"
            new org.bson.BsonArray
            dup
            invokespecial org.bson.BsonArray.<init>:()V
            invokevirtual org.bson.BsonDocument.getArray:(Ljava/lang/Object;Lorg/bson/BsonArray;)Lorg/bson/BsonArray;
            invokestatic com.mongodb.internal.connection.DescriptionHelper.listToSet:(Lorg/bson/BsonArray;)Ljava/util/Set;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.hosts:(Ljava/util/Set;)Lcom/mongodb/connection/ServerDescription$Builder;
         9: .line 84
            aload 1 /* isMasterResult */
            ldc "passives"
            new org.bson.BsonArray
            dup
            invokespecial org.bson.BsonArray.<init>:()V
            invokevirtual org.bson.BsonDocument.getArray:(Ljava/lang/Object;Lorg/bson/BsonArray;)Lorg/bson/BsonArray;
            invokestatic com.mongodb.internal.connection.DescriptionHelper.listToSet:(Lorg/bson/BsonArray;)Ljava/util/Set;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.passives:(Ljava/util/Set;)Lcom/mongodb/connection/ServerDescription$Builder;
        10: .line 85
            aload 1 /* isMasterResult */
            ldc "arbiters"
            new org.bson.BsonArray
            dup
            invokespecial org.bson.BsonArray.<init>:()V
            invokevirtual org.bson.BsonDocument.getArray:(Ljava/lang/Object;Lorg/bson/BsonArray;)Lorg/bson/BsonArray;
            invokestatic com.mongodb.internal.connection.DescriptionHelper.listToSet:(Lorg/bson/BsonArray;)Ljava/util/Set;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.arbiters:(Ljava/util/Set;)Lcom/mongodb/connection/ServerDescription$Builder;
        11: .line 86
            aload 1 /* isMasterResult */
            ldc "primary"
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getString:(Lorg/bson/BsonDocument;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.primary:(Ljava/lang/String;)Lcom/mongodb/connection/ServerDescription$Builder;
        12: .line 87
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getMaxBsonObjectSize:(Lorg/bson/BsonDocument;)I
            invokevirtual com.mongodb.connection.ServerDescription$Builder.maxDocumentSize:(I)Lcom/mongodb/connection/ServerDescription$Builder;
        13: .line 88
            aload 1 /* isMasterResult */
            ldc "tags"
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getTagSetFromDocument:(Lorg/bson/BsonDocument;)Lcom/mongodb/TagSet;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.tagSet:(Lcom/mongodb/TagSet;)Lcom/mongodb/connection/ServerDescription$Builder;
        14: .line 89
            aload 1 /* isMasterResult */
            ldc "setName"
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getString:(Lorg/bson/BsonDocument;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.setName:(Ljava/lang/String;)Lcom/mongodb/connection/ServerDescription$Builder;
        15: .line 90
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getMinWireVersion:(Lorg/bson/BsonDocument;)I
            invokevirtual com.mongodb.connection.ServerDescription$Builder.minWireVersion:(I)Lcom/mongodb/connection/ServerDescription$Builder;
        16: .line 91
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getMaxWireVersion:(Lorg/bson/BsonDocument;)I
            invokevirtual com.mongodb.connection.ServerDescription$Builder.maxWireVersion:(I)Lcom/mongodb/connection/ServerDescription$Builder;
        17: .line 92
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getElectionId:(Lorg/bson/BsonDocument;)Lorg/bson/types/ObjectId;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.electionId:(Lorg/bson/types/ObjectId;)Lcom/mongodb/connection/ServerDescription$Builder;
        18: .line 93
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getSetVersion:(Lorg/bson/BsonDocument;)Ljava/lang/Integer;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.setVersion:(Ljava/lang/Integer;)Lcom/mongodb/connection/ServerDescription$Builder;
        19: .line 94
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getLastWriteDate:(Lorg/bson/BsonDocument;)Ljava/util/Date;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.lastWriteDate:(Ljava/util/Date;)Lcom/mongodb/connection/ServerDescription$Builder;
        20: .line 95
            lload 3 /* roundTripTime */
            getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.roundTripTime:(JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ServerDescription$Builder;
        21: .line 96
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.getLogicalSessionTimeoutMinutes:(Lorg/bson/BsonDocument;)Ljava/lang/Integer;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.logicalSessionTimeoutMinutes:(Ljava/lang/Integer;)Lcom/mongodb/connection/ServerDescription$Builder;
        22: .line 97
            aload 1 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.CommandHelper.isCommandOk:(Lorg/bson/BsonDocument;)Z
            invokevirtual com.mongodb.connection.ServerDescription$Builder.ok:(Z)Lcom/mongodb/connection/ServerDescription$Builder;
            invokevirtual com.mongodb.connection.ServerDescription$Builder.build:()Lcom/mongodb/connection/ServerDescription;
        23: .line 77
            areturn
        end local 3 // long roundTripTime
        end local 2 // com.mongodb.connection.ServerVersion serverVersion
        end local 1 // org.bson.BsonDocument isMasterResult
        end local 0 // com.mongodb.ServerAddress serverAddress
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   24     0   serverAddress  Lcom/mongodb/ServerAddress;
            0   24     1  isMasterResult  Lorg/bson/BsonDocument;
            0   24     2   serverVersion  Lcom/mongodb/connection/ServerVersion;
            0   24     3   roundTripTime  J
    MethodParameters:
                Name  Flags
      serverAddress   final
      isMasterResult  final
      serverVersion   final
      roundTripTime   final

  private static int getMinWireVersion(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 101
            aload 0 /* isMasterResult */
            ldc "minWireVersion"
            new org.bson.BsonInt32
            dup
            invokestatic com.mongodb.connection.ServerDescription.getDefaultMinWireVersion:()I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.getInt32:(Ljava/lang/Object;Lorg/bson/BsonInt32;)Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            ireturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static int getMaxWireVersion(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 105
            aload 0 /* isMasterResult */
            ldc "maxWireVersion"
            new org.bson.BsonInt32
            dup
            invokestatic com.mongodb.connection.ServerDescription.getDefaultMaxWireVersion:()I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.getInt32:(Ljava/lang/Object;Lorg/bson/BsonInt32;)Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            ireturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static java.util.Date getLastWriteDate(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Ljava/util/Date;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 109
            aload 0 /* isMasterResult */
            ldc "lastWrite"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 110
            aconst_null
            areturn
         2: .line 112
      StackMap locals:
      StackMap stack:
            new java.util.Date
            dup
            aload 0 /* isMasterResult */
            ldc "lastWrite"
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
            ldc "lastWriteDate"
            invokevirtual org.bson.BsonDocument.getDateTime:(Ljava/lang/Object;)Lorg/bson/BsonDateTime;
            invokevirtual org.bson.BsonDateTime.getValue:()J
            invokespecial java.util.Date.<init>:(J)V
            areturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static org.bson.types.ObjectId getElectionId(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Lorg/bson/types/ObjectId;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 116
            aload 0 /* isMasterResult */
            ldc "electionId"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 1
            aload 0 /* isMasterResult */
            ldc "electionId"
            invokevirtual org.bson.BsonDocument.getObjectId:(Ljava/lang/Object;)Lorg/bson/BsonObjectId;
            invokevirtual org.bson.BsonObjectId.getValue:()Lorg/bson/types/ObjectId;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aconst_null
      StackMap locals:
      StackMap stack: org.bson.types.ObjectId
         2: areturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static java.lang.Integer getSetVersion(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Ljava/lang/Integer;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 120
            aload 0 /* isMasterResult */
            ldc "setVersion"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 1
            aload 0 /* isMasterResult */
            ldc "setVersion"
            invokevirtual org.bson.BsonDocument.getNumber:(Ljava/lang/Object;)Lorg/bson/BsonNumber;
            invokevirtual org.bson.BsonNumber.intValue:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aconst_null
      StackMap locals:
      StackMap stack: java.lang.Integer
         2: areturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static int getMaxMessageSizeBytes(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 124
            aload 0 /* isMasterResult */
            ldc "maxMessageSizeBytes"
            new org.bson.BsonInt32
            dup
            invokestatic com.mongodb.connection.ConnectionDescription.getDefaultMaxMessageSize:()I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.getInt32:(Ljava/lang/Object;Lorg/bson/BsonInt32;)Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            ireturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static int getMaxBsonObjectSize(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 128
            aload 0 /* isMasterResult */
            ldc "maxBsonObjectSize"
            new org.bson.BsonInt32
            dup
            invokestatic com.mongodb.connection.ServerDescription.getDefaultMaxDocumentSize:()I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.getInt32:(Ljava/lang/Object;Lorg/bson/BsonInt32;)Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            ireturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static int getMaxWriteBatchSize(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 132
            aload 0 /* isMasterResult */
            ldc "maxWriteBatchSize"
            new org.bson.BsonInt32
            dup
            invokestatic com.mongodb.connection.ConnectionDescription.getDefaultMaxWriteBatchSize:()I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.getInt32:(Ljava/lang/Object;Lorg/bson/BsonInt32;)Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            ireturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static java.lang.Integer getLogicalSessionTimeoutMinutes(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Ljava/lang/Integer;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 136
            aload 0 /* isMasterResult */
            ldc "logicalSessionTimeoutMinutes"
            invokevirtual org.bson.BsonDocument.isNumber:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 137
            aload 0 /* isMasterResult */
            ldc "logicalSessionTimeoutMinutes"
            invokevirtual org.bson.BsonDocument.getNumber:(Ljava/lang/Object;)Lorg/bson/BsonNumber;
            invokevirtual org.bson.BsonNumber.intValue:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            goto 3
      StackMap locals:
      StackMap stack:
         2: aconst_null
         3: .line 136
      StackMap locals:
      StackMap stack: java.lang.Integer
            areturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static java.lang.String getString(org.bson.BsonDocument, java.lang.String);
    descriptor: (Lorg/bson/BsonDocument;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.bson.BsonDocument response
        start local 1 // java.lang.String key
         0: .line 141
            aload 0 /* response */
            aload 1 /* key */
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 142
            aload 0 /* response */
            aload 1 /* key */
            invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;)Lorg/bson/BsonString;
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
            areturn
         2: .line 144
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // java.lang.String key
        end local 0 // org.bson.BsonDocument response
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0  response  Lorg/bson/BsonDocument;
            0    3     1       key  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      response  final
      key       final

  static com.mongodb.connection.ServerVersion getVersion(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/connection/ServerVersion;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // org.bson.BsonDocument buildInfoResult
         0: .line 149
            aload 0 /* buildInfoResult */
            ldc "versionArray"
            invokevirtual org.bson.BsonDocument.getArray:(Ljava/lang/Object;)Lorg/bson/BsonArray;
            iconst_0
            iconst_3
            invokevirtual org.bson.BsonArray.subList:(II)Ljava/util/List;
            astore 1 /* versionArray */
        start local 1 // java.util.List versionArray
         1: .line 151
            new com.mongodb.connection.ServerVersion
            dup
            iconst_3
            anewarray java.lang.Integer
            dup
            iconst_0
            aload 1 /* versionArray */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.bson.BsonValue
            invokevirtual org.bson.BsonValue.asInt32:()Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
         2: .line 152
            aload 1 /* versionArray */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.bson.BsonValue
            invokevirtual org.bson.BsonValue.asInt32:()Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
         3: .line 153
            aload 1 /* versionArray */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.bson.BsonValue
            invokevirtual org.bson.BsonValue.asInt32:()Lorg/bson/BsonInt32;
            invokevirtual org.bson.BsonInt32.getValue:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         4: .line 151
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokespecial com.mongodb.connection.ServerVersion.<init>:(Ljava/util/List;)V
            areturn
        end local 1 // java.util.List versionArray
        end local 0 // org.bson.BsonDocument buildInfoResult
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    5     0  buildInfoResult  Lorg/bson/BsonDocument;
            1    5     1     versionArray  Ljava/util/List<Lorg/bson/BsonValue;>;
    MethodParameters:
                 Name  Flags
      buildInfoResult  final

  private static java.util.Set<java.lang.String> listToSet(org.bson.BsonArray);
    descriptor: (Lorg/bson/BsonArray;)Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.bson.BsonArray array
         0: .line 157
            aload 0 /* array */
            ifnull 1
            aload 0 /* array */
            invokevirtual org.bson.BsonArray.isEmpty:()Z
            ifeq 2
         1: .line 158
      StackMap locals:
      StackMap stack:
            invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
            areturn
         2: .line 160
      StackMap locals:
      StackMap stack:
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 1 /* set */
        start local 1 // java.util.Set set
         3: .line 161
            aload 0 /* array */
            invokevirtual org.bson.BsonArray.iterator:()Ljava/util/Iterator;
            astore 3
            goto 6
      StackMap locals: org.bson.BsonArray java.util.Set top java.util.Iterator
      StackMap stack:
         4: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.bson.BsonValue
            astore 2 /* value */
        start local 2 // org.bson.BsonValue value
         5: .line 162
            aload 1 /* set */
            aload 2 /* value */
            invokevirtual org.bson.BsonValue.asString:()Lorg/bson/BsonString;
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // org.bson.BsonValue value
         6: .line 161
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         7: .line 164
            aload 1 /* set */
            areturn
        end local 1 // java.util.Set set
        end local 0 // org.bson.BsonArray array
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0  array  Lorg/bson/BsonArray;
            3    8     1    set  Ljava/util/Set<Ljava/lang/String;>;
            5    6     2  value  Lorg/bson/BsonValue;
    Signature: (Lorg/bson/BsonArray;)Ljava/util/Set<Ljava/lang/String;>;
    MethodParameters:
       Name  Flags
      array  final

  private static com.mongodb.connection.ServerType getServerType(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/connection/ServerType;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 170
            aload 0 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.CommandHelper.isCommandOk:(Lorg/bson/BsonDocument;)Z
            ifne 2
         1: .line 171
            getstatic com.mongodb.connection.ServerType.UNKNOWN:Lcom/mongodb/connection/ServerType;
            areturn
         2: .line 174
      StackMap locals:
      StackMap stack:
            aload 0 /* isMasterResult */
            invokestatic com.mongodb.internal.connection.DescriptionHelper.isReplicaSetMember:(Lorg/bson/BsonDocument;)Z
            ifeq 14
         3: .line 176
            aload 0 /* isMasterResult */
            ldc "hidden"
            getstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.getBoolean:(Ljava/lang/Object;Lorg/bson/BsonBoolean;)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonBoolean.getValue:()Z
            ifeq 5
         4: .line 177
            getstatic com.mongodb.connection.ServerType.REPLICA_SET_OTHER:Lcom/mongodb/connection/ServerType;
            areturn
         5: .line 180
      StackMap locals:
      StackMap stack:
            aload 0 /* isMasterResult */
            ldc "ismaster"
            getstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.getBoolean:(Ljava/lang/Object;Lorg/bson/BsonBoolean;)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonBoolean.getValue:()Z
            ifeq 7
         6: .line 181
            getstatic com.mongodb.connection.ServerType.REPLICA_SET_PRIMARY:Lcom/mongodb/connection/ServerType;
            areturn
         7: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* isMasterResult */
            ldc "secondary"
            getstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.getBoolean:(Ljava/lang/Object;Lorg/bson/BsonBoolean;)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonBoolean.getValue:()Z
            ifeq 9
         8: .line 185
            getstatic com.mongodb.connection.ServerType.REPLICA_SET_SECONDARY:Lcom/mongodb/connection/ServerType;
            areturn
         9: .line 188
      StackMap locals:
      StackMap stack:
            aload 0 /* isMasterResult */
            ldc "arbiterOnly"
            getstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.getBoolean:(Ljava/lang/Object;Lorg/bson/BsonBoolean;)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonBoolean.getValue:()Z
            ifeq 11
        10: .line 189
            getstatic com.mongodb.connection.ServerType.REPLICA_SET_ARBITER:Lcom/mongodb/connection/ServerType;
            areturn
        11: .line 192
      StackMap locals:
      StackMap stack:
            aload 0 /* isMasterResult */
            ldc "setName"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 13
            aload 0 /* isMasterResult */
            ldc "hosts"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 13
        12: .line 193
            getstatic com.mongodb.connection.ServerType.REPLICA_SET_OTHER:Lcom/mongodb/connection/ServerType;
            areturn
        13: .line 196
      StackMap locals:
      StackMap stack:
            getstatic com.mongodb.connection.ServerType.REPLICA_SET_GHOST:Lcom/mongodb/connection/ServerType;
            areturn
        14: .line 199
      StackMap locals:
      StackMap stack:
            aload 0 /* isMasterResult */
            ldc "msg"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifeq 16
            aload 0 /* isMasterResult */
            ldc "msg"
            invokevirtual org.bson.BsonDocument.get:(Ljava/lang/Object;)Lorg/bson/BsonValue;
            new org.bson.BsonString
            dup
            ldc "isdbgrid"
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 16
        15: .line 200
            getstatic com.mongodb.connection.ServerType.SHARD_ROUTER:Lcom/mongodb/connection/ServerType;
            areturn
        16: .line 203
      StackMap locals:
      StackMap stack:
            getstatic com.mongodb.connection.ServerType.STANDALONE:Lcom/mongodb/connection/ServerType;
            areturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   17     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static boolean isReplicaSetMember(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 207
            aload 0 /* isMasterResult */
            ldc "setName"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ifne 1
            aload 0 /* isMasterResult */
            ldc "isreplicaset"
            getstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.getBoolean:(Ljava/lang/Object;Lorg/bson/BsonBoolean;)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonBoolean.getValue:()Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0  isMasterResult  Lorg/bson/BsonDocument;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private static com.mongodb.TagSet getTagSetFromDocument(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/TagSet;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // org.bson.BsonDocument tagsDocuments
         0: .line 211
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* tagList */
        start local 1 // java.util.List tagList
         1: .line 212
            aload 0 /* tagsDocuments */
            invokevirtual org.bson.BsonDocument.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.bson.BsonDocument java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 2 /* curEntry */
        start local 2 // java.util.Map$Entry curEntry
         3: .line 213
            aload 1 /* tagList */
            new com.mongodb.Tag
            dup
            aload 2 /* curEntry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            aload 2 /* curEntry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast org.bson.BsonValue
            invokevirtual org.bson.BsonValue.asString:()Lorg/bson/BsonString;
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
            invokespecial com.mongodb.Tag.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.util.Map$Entry curEntry
         4: .line 212
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 215
            new com.mongodb.TagSet
            dup
            aload 1 /* tagList */
            invokespecial com.mongodb.TagSet.<init>:(Ljava/util/List;)V
            areturn
        end local 1 // java.util.List tagList
        end local 0 // org.bson.BsonDocument tagsDocuments
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    6     0  tagsDocuments  Lorg/bson/BsonDocument;
            1    6     1        tagList  Ljava/util/List<Lcom/mongodb/Tag;>;
            3    4     2       curEntry  Ljava/util/Map$Entry<Ljava/lang/String;Lorg/bson/BsonValue;>;
    MethodParameters:
               Name  Flags
      tagsDocuments  final

  private static java.util.List<java.lang.String> getCompressors(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // org.bson.BsonDocument isMasterResult
         0: .line 219
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* compressorList */
        start local 1 // java.util.List compressorList
         1: .line 220
            aload 0 /* isMasterResult */
            ldc "compression"
            new org.bson.BsonArray
            dup
            invokespecial org.bson.BsonArray.<init>:()V
            invokevirtual org.bson.BsonDocument.getArray:(Ljava/lang/Object;Lorg/bson/BsonArray;)Lorg/bson/BsonArray;
            invokevirtual org.bson.BsonArray.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.bson.BsonDocument java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.bson.BsonValue
            astore 2 /* compressor */
        start local 2 // org.bson.BsonValue compressor
         3: .line 221
            aload 1 /* compressorList */
            aload 2 /* compressor */
            invokevirtual org.bson.BsonValue.asString:()Lorg/bson/BsonString;
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // org.bson.BsonValue compressor
         4: .line 220
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 223
            aload 1 /* compressorList */
            areturn
        end local 1 // java.util.List compressorList
        end local 0 // org.bson.BsonDocument isMasterResult
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0  isMasterResult  Lorg/bson/BsonDocument;
            1    6     1  compressorList  Ljava/util/List<Ljava/lang/String;>;
            3    4     2      compressor  Lorg/bson/BsonValue;
    Signature: (Lorg/bson/BsonDocument;)Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
                Name  Flags
      isMasterResult  final

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.DescriptionHelper this
         0: .line 226
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 227
            return
        end local 0 // com.mongodb.internal.connection.DescriptionHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/connection/DescriptionHelper;
}
SourceFile: "DescriptionHelper.java"
InnerClasses:
  public Builder = com.mongodb.connection.ServerDescription$Builder of com.mongodb.connection.ServerDescription
  public abstract Entry = java.util.Map$Entry of java.util.Map