public final class org.bson.internal.UuidHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.bson.internal.UuidHelper
  super_class: java.lang.Object
{
  private static volatile int[] $SWITCH_TABLE$org$bson$UuidRepresentation;
    descriptor: [I
    flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC

  private static void writeLongToArrayBigEndian(byte[], int, long);
    descriptor: ([BIJ)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=4, args_size=3
        start local 0 // byte[] bytes
        start local 1 // int offset
        start local 2 // long x
         0: .line 32
            aload 0 /* bytes */
            iload 1 /* offset */
            bipush 7
            iadd
            ldc 255
            lload 2 /* x */
            land
            l2i
            i2b
            bastore
         1: .line 33
            aload 0 /* bytes */
            iload 1 /* offset */
            bipush 6
            iadd
            ldc 255
            lload 2 /* x */
            bipush 8
            lshr
            land
            l2i
            i2b
            bastore
         2: .line 34
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_5
            iadd
            ldc 255
            lload 2 /* x */
            bipush 16
            lshr
            land
            l2i
            i2b
            bastore
         3: .line 35
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_4
            iadd
            ldc 255
            lload 2 /* x */
            bipush 24
            lshr
            land
            l2i
            i2b
            bastore
         4: .line 36
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_3
            iadd
            ldc 255
            lload 2 /* x */
            bipush 32
            lshr
            land
            l2i
            i2b
            bastore
         5: .line 37
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_2
            iadd
            ldc 255
            lload 2 /* x */
            bipush 40
            lshr
            land
            l2i
            i2b
            bastore
         6: .line 38
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_1
            iadd
            ldc 255
            lload 2 /* x */
            bipush 48
            lshr
            land
            l2i
            i2b
            bastore
         7: .line 39
            aload 0 /* bytes */
            iload 1 /* offset */
            ldc 255
            lload 2 /* x */
            bipush 56
            lshr
            land
            l2i
            i2b
            bastore
         8: .line 40
            return
        end local 2 // long x
        end local 1 // int offset
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0   bytes  [B
            0    9     1  offset  I
            0    9     2       x  J
    MethodParameters:
        Name  Flags
      bytes   final
      offset  final
      x       final

  private static long readLongFromArrayBigEndian(byte[], int);
    descriptor: ([BI)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=4, args_size=2
        start local 0 // byte[] bytes
        start local 1 // int offset
         0: .line 43
            lconst_0
            lstore 2 /* x */
        start local 2 // long x
         1: .line 44
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            bipush 7
            iadd
            baload
            i2l
            land
            lor
            lstore 2 /* x */
         2: .line 45
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            bipush 6
            iadd
            baload
            i2l
            land
            bipush 8
            lshl
            lor
            lstore 2 /* x */
         3: .line 46
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_5
            iadd
            baload
            i2l
            land
            bipush 16
            lshl
            lor
            lstore 2 /* x */
         4: .line 47
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_4
            iadd
            baload
            i2l
            land
            bipush 24
            lshl
            lor
            lstore 2 /* x */
         5: .line 48
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_3
            iadd
            baload
            i2l
            land
            bipush 32
            lshl
            lor
            lstore 2 /* x */
         6: .line 49
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_2
            iadd
            baload
            i2l
            land
            bipush 40
            lshl
            lor
            lstore 2 /* x */
         7: .line 50
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_1
            iadd
            baload
            i2l
            land
            bipush 48
            lshl
            lor
            lstore 2 /* x */
         8: .line 51
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            baload
            i2l
            land
            bipush 56
            lshl
            lor
            lstore 2 /* x */
         9: .line 52
            lload 2 /* x */
            lreturn
        end local 2 // long x
        end local 1 // int offset
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0   bytes  [B
            0   10     1  offset  I
            1   10     2       x  J
    MethodParameters:
        Name  Flags
      bytes   final
      offset  final

  private static void reverseByteArray(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // byte[] data
        start local 1 // int start
        start local 2 // int length
         0: .line 57
            iload 1 /* start */
            istore 3 /* left */
        start local 3 // int left
         1: iload 1 /* start */
            iload 2 /* length */
            iadd
            iconst_1
            isub
            istore 4 /* right */
        start local 4 // int right
         2: goto 7
         3: .line 59
      StackMap locals: int int
      StackMap stack:
            aload 0 /* data */
            iload 3 /* left */
            baload
            istore 5 /* temp */
        start local 5 // byte temp
         4: .line 60
            aload 0 /* data */
            iload 3 /* left */
            aload 0 /* data */
            iload 4 /* right */
            baload
            bastore
         5: .line 61
            aload 0 /* data */
            iload 4 /* right */
            iload 5 /* temp */
            bastore
        end local 5 // byte temp
         6: .line 57
            iinc 3 /* left */ 1
            iinc 4 /* right */ -1
      StackMap locals:
      StackMap stack:
         7: iload 3 /* left */
            iload 4 /* right */
            if_icmplt 3
        end local 4 // int right
        end local 3 // int left
         8: .line 63
            return
        end local 2 // int length
        end local 1 // int start
        end local 0 // byte[] data
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    data  [B
            0    9     1   start  I
            0    9     2  length  I
            1    8     3    left  I
            2    8     4   right  I
            4    6     5    temp  B
    MethodParameters:
        Name  Flags
      data    final
      start   final
      length  final

  public static byte[] encodeUuidToBinary(java.util.UUID, org.bson.UuidRepresentation);
    descriptor: (Ljava/util/UUID;Lorg/bson/UuidRepresentation;)[B
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.util.UUID uuid
        start local 1 // org.bson.UuidRepresentation uuidRepresentation
         0: .line 66
            bipush 16
            newarray 8
            astore 2 /* binaryData */
        start local 2 // byte[] binaryData
         1: .line 67
            aload 2 /* binaryData */
            iconst_0
            aload 0 /* uuid */
            invokevirtual java.util.UUID.getMostSignificantBits:()J
            invokestatic org.bson.internal.UuidHelper.writeLongToArrayBigEndian:([BIJ)V
         2: .line 68
            aload 2 /* binaryData */
            bipush 8
            aload 0 /* uuid */
            invokevirtual java.util.UUID.getLeastSignificantBits:()J
            invokestatic org.bson.internal.UuidHelper.writeLongToArrayBigEndian:([BIJ)V
         3: .line 69
            invokestatic org.bson.internal.UuidHelper.$SWITCH_TABLE$org$bson$UuidRepresentation:()[I
            aload 1 /* uuidRepresentation */
            invokevirtual org.bson.UuidRepresentation.ordinal:()I
            iaload
            tableswitch { // 2 - 5
                    2: 11
                    3: 4
                    4: 8
                    5: 11
              default: 12
          }
         4: .line 71
      StackMap locals: byte[]
      StackMap stack:
            aload 2 /* binaryData */
            iconst_0
            iconst_4
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         5: .line 72
            aload 2 /* binaryData */
            iconst_4
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         6: .line 73
            aload 2 /* binaryData */
            bipush 6
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         7: .line 74
            goto 13
         8: .line 76
      StackMap locals:
      StackMap stack:
            aload 2 /* binaryData */
            iconst_0
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         9: .line 77
            aload 2 /* binaryData */
            bipush 8
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
        10: .line 78
            goto 13
        11: .line 81
      StackMap locals:
      StackMap stack:
            goto 13
        12: .line 83
      StackMap locals:
      StackMap stack:
            new org.bson.BSONException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected UUID representation: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* uuidRepresentation */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.bson.BSONException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 86
      StackMap locals:
      StackMap stack:
            aload 2 /* binaryData */
            areturn
        end local 2 // byte[] binaryData
        end local 1 // org.bson.UuidRepresentation uuidRepresentation
        end local 0 // java.util.UUID uuid
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   14     0                uuid  Ljava/util/UUID;
            0   14     1  uuidRepresentation  Lorg/bson/UuidRepresentation;
            1   14     2          binaryData  [B
    MethodParameters:
                    Name  Flags
      uuid                final
      uuidRepresentation  final

  public static java.util.UUID decodeBinaryToUuid(byte[], byte, org.bson.UuidRepresentation);
    descriptor: ([BBLorg/bson/UuidRepresentation;)Ljava/util/UUID;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=4, args_size=3
        start local 0 // byte[] data
        start local 1 // byte type
        start local 2 // org.bson.UuidRepresentation uuidRepresentation
         0: .line 91
            aload 0 /* data */
            arraylength
            bipush 16
            if_icmpeq 2
         1: .line 92
            new org.bson.BsonSerializationException
            dup
            ldc "Expected length to be 16, not %d."
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* data */
            arraylength
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial org.bson.BsonSerializationException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* data */
            astore 3 /* localData */
        start local 3 // byte[] localData
         3: .line 97
            iload 1 /* type */
            getstatic org.bson.BsonBinarySubType.UUID_LEGACY:Lorg/bson/BsonBinarySubType;
            invokevirtual org.bson.BsonBinarySubType.getValue:()B
            if_icmpne 17
         4: .line 98
            invokestatic org.bson.internal.UuidHelper.$SWITCH_TABLE$org$bson$UuidRepresentation:()[I
            aload 2 /* uuidRepresentation */
            invokevirtual org.bson.UuidRepresentation.ordinal:()I
            iaload
            tableswitch { // 2 - 5
                    2: 15
                    3: 5
                    4: 10
                    5: 14
              default: 16
          }
         5: .line 100
      StackMap locals: byte[]
      StackMap stack:
            aload 0 /* data */
            bipush 16
            invokestatic java.util.Arrays.copyOf:([BI)[B
            astore 3 /* localData */
         6: .line 102
            aload 3 /* localData */
            iconst_0
            iconst_4
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         7: .line 103
            aload 3 /* localData */
            iconst_4
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         8: .line 104
            aload 3 /* localData */
            bipush 6
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         9: .line 105
            goto 17
        10: .line 107
      StackMap locals:
      StackMap stack:
            aload 0 /* data */
            bipush 16
            invokestatic java.util.Arrays.copyOf:([BI)[B
            astore 3 /* localData */
        11: .line 109
            aload 3 /* localData */
            iconst_0
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
        12: .line 110
            aload 3 /* localData */
            bipush 8
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
        13: .line 111
            goto 17
        14: .line 113
      StackMap locals:
      StackMap stack:
            goto 17
        15: .line 115
      StackMap locals:
      StackMap stack:
            new org.bson.BSONException
            dup
            ldc "Can not decode a subtype 3 (UUID legacy) BSON binary when the decoder is configured to use the standard UUID representation"
            invokespecial org.bson.BSONException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 118
      StackMap locals:
      StackMap stack:
            new org.bson.BSONException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected UUID representation: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* uuidRepresentation */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.bson.BSONException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 122
      StackMap locals:
      StackMap stack:
            new java.util.UUID
            dup
            aload 3 /* localData */
            iconst_0
            invokestatic org.bson.internal.UuidHelper.readLongFromArrayBigEndian:([BI)J
            aload 3 /* localData */
            bipush 8
            invokestatic org.bson.internal.UuidHelper.readLongFromArrayBigEndian:([BI)J
            invokespecial java.util.UUID.<init>:(JJ)V
            areturn
        end local 3 // byte[] localData
        end local 2 // org.bson.UuidRepresentation uuidRepresentation
        end local 1 // byte type
        end local 0 // byte[] data
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   18     0                data  [B
            0   18     1                type  B
            0   18     2  uuidRepresentation  Lorg/bson/UuidRepresentation;
            3   18     3           localData  [B
    MethodParameters:
                    Name  Flags
      data                final
      type                final
      uuidRepresentation  final

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bson.internal.UuidHelper this
         0: .line 125
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 126
            return
        end local 0 // org.bson.internal.UuidHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/bson/internal/UuidHelper;

  static int[] $SWITCH_TABLE$org$bson$UuidRepresentation();
    descriptor: ()[I
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 30
            getstatic org.bson.internal.UuidHelper.$SWITCH_TABLE$org$bson$UuidRepresentation:[I
            dup
            ifnull 1
            areturn
      StackMap locals:
      StackMap stack: int[]
         1: pop
            invokestatic org.bson.UuidRepresentation.values:()[Lorg/bson/UuidRepresentation;
            arraylength
            newarray 10
            astore 0
         2: aload 0
            getstatic org.bson.UuidRepresentation.C_SHARP_LEGACY:Lorg/bson/UuidRepresentation;
            invokevirtual org.bson.UuidRepresentation.ordinal:()I
            iconst_3
            iastore
         3: goto 5
      StackMap locals: int[]
      StackMap stack: java.lang.NoSuchFieldError
         4: pop
      StackMap locals:
      StackMap stack:
         5: aload 0
            getstatic org.bson.UuidRepresentation.JAVA_LEGACY:Lorg/bson/UuidRepresentation;
            invokevirtual org.bson.UuidRepresentation.ordinal:()I
            iconst_4
            iastore
         6: goto 8
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
         7: pop
      StackMap locals:
      StackMap stack:
         8: aload 0
            getstatic org.bson.UuidRepresentation.PYTHON_LEGACY:Lorg/bson/UuidRepresentation;
            invokevirtual org.bson.UuidRepresentation.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 org.bson.UuidRepresentation.STANDARD:Lorg/bson/UuidRepresentation;
            invokevirtual org.bson.UuidRepresentation.ordinal:()I
            iconst_2
            iastore
        12: goto 14
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        13: pop
      StackMap locals:
      StackMap stack:
        14: aload 0
            getstatic org.bson.UuidRepresentation.UNSPECIFIED:Lorg/bson/UuidRepresentation;
            invokevirtual org.bson.UuidRepresentation.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 org.bson.internal.UuidHelper.$SWITCH_TABLE$org$bson$UuidRepresentation:[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
}
SourceFile: "UuidHelper.java"