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 31
            aload 0 /* bytes */
            iload 1 /* offset */
            bipush 7
            iadd
            ldc 255
            lload 2 /* x */
            land
            l2i
            i2b
            bastore
         1: .line 32
            aload 0 /* bytes */
            iload 1 /* offset */
            bipush 6
            iadd
            ldc 255
            lload 2 /* x */
            bipush 8
            lshr
            land
            l2i
            i2b
            bastore
         2: .line 33
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_5
            iadd
            ldc 255
            lload 2 /* x */
            bipush 16
            lshr
            land
            l2i
            i2b
            bastore
         3: .line 34
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_4
            iadd
            ldc 255
            lload 2 /* x */
            bipush 24
            lshr
            land
            l2i
            i2b
            bastore
         4: .line 35
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_3
            iadd
            ldc 255
            lload 2 /* x */
            bipush 32
            lshr
            land
            l2i
            i2b
            bastore
         5: .line 36
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_2
            iadd
            ldc 255
            lload 2 /* x */
            bipush 40
            lshr
            land
            l2i
            i2b
            bastore
         6: .line 37
            aload 0 /* bytes */
            iload 1 /* offset */
            iconst_1
            iadd
            ldc 255
            lload 2 /* x */
            bipush 48
            lshr
            land
            l2i
            i2b
            bastore
         7: .line 38
            aload 0 /* bytes */
            iload 1 /* offset */
            ldc 255
            lload 2 /* x */
            bipush 56
            lshr
            land
            l2i
            i2b
            bastore
         8: .line 39
            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 42
            lconst_0
            lstore 2 /* x */
        start local 2 // long x
         1: .line 43
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            bipush 7
            iadd
            baload
            i2l
            land
            lor
            lstore 2 /* x */
         2: .line 44
            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 45
            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 46
            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 47
            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 48
            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 49
            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 50
            lload 2 /* x */
            ldc 255
            aload 0 /* bytes */
            iload 1 /* offset */
            baload
            i2l
            land
            bipush 56
            lshl
            lor
            lstore 2 /* x */
         9: .line 51
            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 56
            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 58
      StackMap locals: int int
      StackMap stack:
            aload 0 /* data */
            iload 3 /* left */
            baload
            istore 5 /* temp */
        start local 5 // byte temp
         4: .line 59
            aload 0 /* data */
            iload 3 /* left */
            aload 0 /* data */
            iload 4 /* right */
            baload
            bastore
         5: .line 60
            aload 0 /* data */
            iload 4 /* right */
            iload 5 /* temp */
            bastore
        end local 5 // byte temp
         6: .line 56
            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 62
            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=4, locals=3, args_size=2
        start local 0 // java.util.UUID uuid
        start local 1 // org.bson.UuidRepresentation uuidRepresentation
         0: .line 65
            bipush 16
            newarray 8
            astore 2 /* binaryData */
        start local 2 // byte[] binaryData
         1: .line 66
            aload 2 /* binaryData */
            iconst_0
            aload 0 /* uuid */
            invokevirtual java.util.UUID.getMostSignificantBits:()J
            invokestatic org.bson.internal.UuidHelper.writeLongToArrayBigEndian:([BIJ)V
         2: .line 67
            aload 2 /* binaryData */
            bipush 8
            aload 0 /* uuid */
            invokevirtual java.util.UUID.getLeastSignificantBits:()J
            invokestatic org.bson.internal.UuidHelper.writeLongToArrayBigEndian:([BIJ)V
         3: .line 68
            invokestatic org.bson.internal.UuidHelper.$SWITCH_TABLE$org$bson$UuidRepresentation:()[I
            aload 1 /* uuidRepresentation */
            invokevirtual org.bson.UuidRepresentation.ordinal:()I
            iaload
            tableswitch { // 1 - 4
                    1: 11
                    2: 4
                    3: 8
                    4: 11
              default: 12
          }
         4: .line 70
      StackMap locals: byte[]
      StackMap stack:
            aload 2 /* binaryData */
            iconst_0
            iconst_4
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         5: .line 71
            aload 2 /* binaryData */
            iconst_4
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         6: .line 72
            aload 2 /* binaryData */
            bipush 6
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         7: .line 73
            goto 13
         8: .line 75
      StackMap locals:
      StackMap stack:
            aload 2 /* binaryData */
            iconst_0
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         9: .line 76
            aload 2 /* binaryData */
            bipush 8
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
        10: .line 77
            goto 13
        11: .line 80
      StackMap locals:
      StackMap stack:
            goto 13
        12: .line 82
      StackMap locals:
      StackMap stack:
            new org.bson.BSONException
            dup
            ldc "Unexpected UUID representation"
            invokespecial org.bson.BSONException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 85
      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=3, args_size=3
        start local 0 // byte[] data
        start local 1 // byte type
        start local 2 // org.bson.UuidRepresentation uuidRepresentation
         0: .line 89
            aload 0 /* data */
            arraylength
            bipush 16
            if_icmpeq 2
         1: .line 90
            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 93
      StackMap locals:
      StackMap stack:
            iload 1 /* type */
            getstatic org.bson.BsonBinarySubType.UUID_LEGACY:Lorg/bson/BsonBinarySubType;
            invokevirtual org.bson.BsonBinarySubType.getValue:()B
            if_icmpne 13
         3: .line 94
            invokestatic org.bson.internal.UuidHelper.$SWITCH_TABLE$org$bson$UuidRepresentation:()[I
            aload 2 /* uuidRepresentation */
            invokevirtual org.bson.UuidRepresentation.ordinal:()I
            iaload
            tableswitch { // 1 - 4
                    1: 11
                    2: 4
                    3: 8
                    4: 11
              default: 12
          }
         4: .line 96
      StackMap locals:
      StackMap stack:
            aload 0 /* data */
            iconst_0
            iconst_4
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         5: .line 97
            aload 0 /* data */
            iconst_4
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         6: .line 98
            aload 0 /* data */
            bipush 6
            iconst_2
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         7: .line 99
            goto 13
         8: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* data */
            iconst_0
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
         9: .line 102
            aload 0 /* data */
            bipush 8
            bipush 8
            invokestatic org.bson.internal.UuidHelper.reverseByteArray:([BII)V
        10: .line 103
            goto 13
        11: .line 106
      StackMap locals:
      StackMap stack:
            goto 13
        12: .line 108
      StackMap locals:
      StackMap stack:
            new org.bson.BSONException
            dup
            ldc "Unexpected UUID representation"
            invokespecial org.bson.BSONException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 112
      StackMap locals:
      StackMap stack:
            new java.util.UUID
            dup
            aload 0 /* data */
            iconst_0
            invokestatic org.bson.internal.UuidHelper.readLongFromArrayBigEndian:([BI)J
            aload 0 /* data */
            bipush 8
            invokestatic org.bson.internal.UuidHelper.readLongFromArrayBigEndian:([BI)J
            invokespecial java.util.UUID.<init>:(JJ)V
            areturn
        end local 2 // org.bson.UuidRepresentation uuidRepresentation
        end local 1 // byte type
        end local 0 // byte[] data
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   14     0                data  [B
            0   14     1                type  B
            0   14     2  uuidRepresentation  Lorg/bson/UuidRepresentation;
    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 115
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 116
            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 29
            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_2
            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_3
            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_4
            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_1
            iastore
        12: goto 14
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        13: pop
      StackMap locals:
      StackMap stack:
        14: 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
}
SourceFile: "UuidHelper.java"