public class org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions
  super_class: java.lang.Object
{
  static final jdk.vm.ci.meta.MetaAccessProvider INJECTED;
    descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 76
            aconst_null
            putstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions this
         0: .line 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/amd64/AMD64StringUTF16Substitutions;

  static int byteArrayBaseOffset(jdk.vm.ci.meta.MetaAccessProvider);
    descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
         0: .line 55
            aload 0 /* metaAccess */
            getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
            invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0  metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Fold()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
    MethodParameters:
            Name  Flags
      metaAccess  

  static int byteArrayIndexScale(jdk.vm.ci.meta.MetaAccessProvider);
    descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
         0: .line 60
            aload 0 /* metaAccess */
            getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
            invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0  metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Fold()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
    MethodParameters:
            Name  Flags
      metaAccess  

  static int charArrayBaseOffset(jdk.vm.ci.meta.MetaAccessProvider);
    descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
         0: .line 65
            aload 0 /* metaAccess */
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0  metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Fold()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
    MethodParameters:
            Name  Flags
      metaAccess  

  static int charArrayIndexScale(jdk.vm.ci.meta.MetaAccessProvider);
    descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
         0: .line 70
            aload 0 /* metaAccess */
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 0 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0  metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Fold()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
    MethodParameters:
            Name  Flags
      metaAccess  

  public static int length(byte[]);
    descriptor: ([B)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // byte[] value
         0: .line 79
            aload 0 /* value */
            arraylength
            iconst_1
            ishr
            ireturn
        end local 0 // byte[] value
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  value  [B
    MethodParameters:
       Name  Flags
      value  

  public static int compareTo(byte[], byte[]);
    descriptor: ([B[B)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // byte[] value
        start local 1 // byte[] other
         0: .line 88
            aload 0 /* value */
            aload 1 /* other */
            aload 0 /* value */
            arraylength
            aload 1 /* other */
            arraylength
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            invokestatic org.graalvm.compiler.replacements.nodes.ArrayCompareToNode.compareTo:(Ljava/lang/Object;Ljava/lang/Object;IILjdk/vm/ci/meta/JavaKind;Ljdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 1 // byte[] other
        end local 0 // byte[] value
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  value  [B
            0    1     1  other  [B
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution()
    MethodParameters:
       Name  Flags
      value  
      other  

  public static int compareToLatin1(byte[], byte[]);
    descriptor: ([B[B)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // byte[] value
        start local 1 // byte[] other
         0: .line 101
            aload 1 /* other */
            aload 0 /* value */
            aload 1 /* other */
            arraylength
            aload 0 /* value */
            arraylength
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
            invokestatic org.graalvm.compiler.replacements.nodes.ArrayCompareToNode.compareTo:(Ljava/lang/Object;Ljava/lang/Object;IILjdk/vm/ci/meta/JavaKind;Ljdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 1 // byte[] other
        end local 0 // byte[] value
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  value  [B
            0    1     1  other  [B
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution()
    MethodParameters:
       Name  Flags
      value  
      other  

  public static int indexOfCharUnsafe(byte[], int, int, int);
    descriptor: ([BIII)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // byte[] value
        start local 1 // int ch
        start local 2 // int fromIndex
        start local 3 // int max
         0: .line 106
            aload 0 /* value */
            iload 3 /* max */
            iload 2 /* fromIndex */
            iload 1 /* ch */
            i2c
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Char:([BIIC)I
            ireturn
        end local 3 // int max
        end local 2 // int fromIndex
        end local 1 // int ch
        end local 0 // byte[] value
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0      value  [B
            0    1     1         ch  I
            0    1     2  fromIndex  I
            0    1     3        max  I
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution()
    MethodParameters:
           Name  Flags
      value      
      ch         
      fromIndex  
      max        

  private static org.graalvm.compiler.word.Word pointer(byte[]);
    descriptor: ([B)Lorg/graalvm/compiler/word/Word;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // byte[] target
         0: .line 110
            aload 0 /* target */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            areturn
        end local 0 // byte[] target
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  target  [B
    MethodParameters:
        Name  Flags
      target  

  private static org.graalvm.compiler.word.Word charOffsetPointer(byte[], int);
    descriptor: ([BI)Lorg/graalvm/compiler/word/Word;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // byte[] value
        start local 1 // int offset
         0: .line 114
            aload 0 /* value */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
            iload 1 /* offset */
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            imul
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            areturn
        end local 1 // int offset
        end local 0 // byte[] value
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0   value  [B
            0    1     1  offset  I
    MethodParameters:
        Name  Flags
      value   
      offset  

  public static int indexOfUnsafe(byte[], int, byte[], int, int);
    descriptor: ([BI[BII)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=10, args_size=5
        start local 0 // byte[] source
        start local 1 // int sourceCount
        start local 2 // byte[] target
        start local 3 // int targetCount
        start local 4 // int fromIndex
         0: .line 119
            iload 4 /* fromIndex */
            iflt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ldc "StringUTF16.indexOfUnsafe invalid args: fromIndex negative"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
         3: .line 120
            iload 3 /* targetCount */
            ifle 4
            iconst_1
            goto 5
      StackMap locals:
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: ldc "StringUTF16.indexOfUnsafe invalid args: targetCount <= 0"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
         6: .line 121
            iload 3 /* targetCount */
            aload 2 /* target */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.length:([B)I
            if_icmpgt 7
            iconst_1
            goto 8
      StackMap locals:
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: ldc "StringUTF16.indexOfUnsafe invalid args: targetCount > length(target)"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
         9: .line 122
            iload 1 /* sourceCount */
            iload 3 /* targetCount */
            if_icmplt 10
            iconst_1
            goto 11
      StackMap locals:
      StackMap stack:
        10: iconst_0
      StackMap locals:
      StackMap stack: int
        11: ldc "StringUTF16.indexOfUnsafe invalid args: sourceCount < targetCount"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
        12: .line 123
            iload 3 /* targetCount */
            iconst_1
            if_icmpne 14
        13: .line 124
            aload 0 /* source */
            iload 1 /* sourceCount */
            iload 4 /* fromIndex */
            aload 2 /* target */
            iconst_0
            invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.getChar:([BI)C
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Char:([BIIC)I
            ireturn
        14: .line 126
      StackMap locals:
      StackMap stack:
            iload 1 /* sourceCount */
            iload 3 /* targetCount */
            iconst_2
            isub
            isub
            istore 5 /* haystackLength */
        start local 5 // int haystackLength
        15: .line 127
            iload 4 /* fromIndex */
            istore 6 /* offset */
        start local 6 // int offset
        16: .line 128
            goto 28
        17: .line 129
      StackMap locals: int int
      StackMap stack:
            aload 0 /* source */
            iload 5 /* haystackLength */
            iload 6 /* offset */
            aload 2 /* target */
            iconst_0
            invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.getChar:([BI)C
        18: .line 130
            aload 2 /* target */
            iconst_1
            invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.getChar:([BI)C
        19: .line 129
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOfTwoConsecutiveChars:([BIICC)I
            istore 7 /* indexOfResult */
        start local 7 // int indexOfResult
        20: .line 131
            iload 7 /* indexOfResult */
            ifge 22
        21: .line 132
            iconst_m1
            ireturn
        22: .line 134
      StackMap locals: int
      StackMap stack:
            iload 7 /* indexOfResult */
            istore 6 /* offset */
        23: .line 135
            aload 0 /* source */
            iload 6 /* offset */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charOffsetPointer:([BI)Lorg/graalvm/compiler/word/Word;
            astore 8 /* cmpSourcePointer */
        start local 8 // jdk.internal.vm.compiler.word.Pointer cmpSourcePointer
        24: .line 136
            aload 2 /* target */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
            astore 9 /* targetPointer */
        start local 9 // jdk.internal.vm.compiler.word.Pointer targetPointer
        25: .line 137
            iload 3 /* targetCount */
            iconst_2
            if_icmpeq 26
            aload 8 /* cmpSourcePointer */
            aload 9 /* targetPointer */
            iload 3 /* targetCount */
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            invokestatic org.graalvm.compiler.replacements.nodes.ArrayRegionEqualsNode.regionEquals:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)Z
            ifeq 27
        26: .line 138
      StackMap locals: jdk.internal.vm.compiler.word.Pointer jdk.internal.vm.compiler.word.Pointer
      StackMap stack:
            iload 6 /* offset */
            ireturn
        27: .line 140
      StackMap locals:
      StackMap stack:
            iinc 6 /* offset */ 1
        end local 9 // jdk.internal.vm.compiler.word.Pointer targetPointer
        end local 8 // jdk.internal.vm.compiler.word.Pointer cmpSourcePointer
        end local 7 // int indexOfResult
        28: .line 128
      StackMap locals:
      StackMap stack:
            iload 6 /* offset */
            iload 5 /* haystackLength */
            if_icmplt 17
        29: .line 142
            iconst_m1
            ireturn
        end local 6 // int offset
        end local 5 // int haystackLength
        end local 4 // int fromIndex
        end local 3 // int targetCount
        end local 2 // byte[] target
        end local 1 // int sourceCount
        end local 0 // byte[] source
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   30     0            source  [B
            0   30     1       sourceCount  I
            0   30     2            target  [B
            0   30     3       targetCount  I
            0   30     4         fromIndex  I
           15   30     5    haystackLength  I
           16   30     6            offset  I
           20   28     7     indexOfResult  I
           24   28     8  cmpSourcePointer  Ljdk/internal/vm/compiler/word/Pointer;
           25   28     9     targetPointer  Ljdk/internal/vm/compiler/word/Pointer;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution()
    MethodParameters:
             Name  Flags
      source       
      sourceCount  
      target       
      targetCount  
      fromIndex    

  public static int indexOfLatin1Unsafe(byte[], int, byte[], int, int);
    descriptor: ([BI[BII)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=10, args_size=5
        start local 0 // byte[] source
        start local 1 // int sourceCount
        start local 2 // byte[] target
        start local 3 // int targetCount
        start local 4 // int fromIndex
         0: .line 148
            iload 4 /* fromIndex */
            iflt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: fromIndex negative"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
         3: .line 149
            iload 3 /* targetCount */
            ifle 4
            iconst_1
            goto 5
      StackMap locals:
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: targetCount <= 0"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
         6: .line 150
            iload 3 /* targetCount */
            aload 2 /* target */
            arraylength
            if_icmpgt 7
            iconst_1
            goto 8
      StackMap locals:
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: targetCount > length(target)"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
         9: .line 151
            iload 1 /* sourceCount */
            iload 3 /* targetCount */
            if_icmplt 10
            iconst_1
            goto 11
      StackMap locals:
      StackMap stack:
        10: iconst_0
      StackMap locals:
      StackMap stack: int
        11: ldc "StringUTF16.indexOfLatin1Unsafe invalid args: sourceCount < targetCount"
            invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
        12: .line 152
            iload 3 /* targetCount */
            iconst_1
            if_icmpne 14
        13: .line 153
            aload 0 /* source */
            iload 1 /* sourceCount */
            iload 4 /* fromIndex */
            aload 2 /* target */
            iconst_0
            baload
            invokestatic java.lang.Byte.toUnsignedInt:(B)I
            i2c
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOf1Char:([BIIC)I
            ireturn
        14: .line 155
      StackMap locals:
      StackMap stack:
            iload 1 /* sourceCount */
            iload 3 /* targetCount */
            iconst_2
            isub
            isub
            istore 5 /* haystackLength */
        start local 5 // int haystackLength
        15: .line 156
            iload 4 /* fromIndex */
            istore 6 /* offset */
        start local 6 // int offset
        16: .line 157
            goto 26
        17: .line 158
      StackMap locals: int int
      StackMap stack:
            aload 0 /* source */
            iload 5 /* haystackLength */
            iload 6 /* offset */
            aload 2 /* target */
            iconst_0
            baload
            invokestatic java.lang.Byte.toUnsignedInt:(B)I
            i2c
            aload 2 /* target */
            iconst_1
            baload
            invokestatic java.lang.Byte.toUnsignedInt:(B)I
            i2c
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOf.indexOfTwoConsecutiveChars:([BIICC)I
            istore 7 /* indexOfResult */
        start local 7 // int indexOfResult
        18: .line 159
            iload 7 /* indexOfResult */
            ifge 20
        19: .line 160
            iconst_m1
            ireturn
        20: .line 162
      StackMap locals: int
      StackMap stack:
            iload 7 /* indexOfResult */
            istore 6 /* offset */
        21: .line 163
            aload 0 /* source */
            iload 6 /* offset */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charOffsetPointer:([BI)Lorg/graalvm/compiler/word/Word;
            astore 8 /* cmpSourcePointer */
        start local 8 // jdk.internal.vm.compiler.word.Pointer cmpSourcePointer
        22: .line 164
            aload 2 /* target */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.pointer:([B)Lorg/graalvm/compiler/word/Word;
            astore 9 /* targetPointer */
        start local 9 // jdk.internal.vm.compiler.word.Pointer targetPointer
        23: .line 165
            iload 3 /* targetCount */
            iconst_2
            if_icmpeq 24
            aload 8 /* cmpSourcePointer */
            aload 9 /* targetPointer */
            iload 3 /* targetCount */
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
            invokestatic org.graalvm.compiler.replacements.nodes.ArrayRegionEqualsNode.regionEquals:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;Ljdk/vm/ci/meta/JavaKind;)Z
            ifeq 25
        24: .line 166
      StackMap locals: jdk.internal.vm.compiler.word.Pointer jdk.internal.vm.compiler.word.Pointer
      StackMap stack:
            iload 6 /* offset */
            ireturn
        25: .line 168
      StackMap locals:
      StackMap stack:
            iinc 6 /* offset */ 1
        end local 9 // jdk.internal.vm.compiler.word.Pointer targetPointer
        end local 8 // jdk.internal.vm.compiler.word.Pointer cmpSourcePointer
        end local 7 // int indexOfResult
        26: .line 157
      StackMap locals:
      StackMap stack:
            iload 6 /* offset */
            iload 5 /* haystackLength */
            if_icmplt 17
        27: .line 170
            iconst_m1
            ireturn
        end local 6 // int offset
        end local 5 // int haystackLength
        end local 4 // int fromIndex
        end local 3 // int targetCount
        end local 2 // byte[] target
        end local 1 // int sourceCount
        end local 0 // byte[] source
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   28     0            source  [B
            0   28     1       sourceCount  I
            0   28     2            target  [B
            0   28     3       targetCount  I
            0   28     4         fromIndex  I
           15   28     5    haystackLength  I
           16   28     6            offset  I
           18   26     7     indexOfResult  I
           22   26     8  cmpSourcePointer  Ljdk/internal/vm/compiler/word/Pointer;
           23   26     9     targetPointer  Ljdk/internal/vm/compiler/word/Pointer;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution()
    MethodParameters:
             Name  Flags
      source       
      sourceCount  
      target       
      targetCount  
      fromIndex    

  public static int compress(char[], int, byte[], int, int);
    descriptor: ([CI[BII)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=5
        start local 0 // char[] src
        start local 1 // int srcIndex
        start local 2 // byte[] dest
        start local 3 // int destIndex
        start local 4 // int len
         0: .line 184
            aload 0 /* src */
            arraylength
            iload 1 /* srcIndex */
            aload 2 /* dest */
            arraylength
            iload 3 /* destIndex */
            iload 4 /* len */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.checkLimits:(IIIII)V
         1: .line 186
            aload 0 /* src */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            iload 1 /* srcIndex */
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.charArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            imul
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            astore 5 /* srcPointer */
        start local 5 // jdk.internal.vm.compiler.word.Pointer srcPointer
         2: .line 187
            aload 2 /* dest */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            iload 3 /* destIndex */
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.byteArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            imul
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            astore 6 /* destPointer */
        start local 6 // jdk.internal.vm.compiler.word.Pointer destPointer
         3: .line 188
            aload 5 /* srcPointer */
            aload 6 /* destPointer */
            iload 4 /* len */
            getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16CompressNode.compress:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 6 // jdk.internal.vm.compiler.word.Pointer destPointer
        end local 5 // jdk.internal.vm.compiler.word.Pointer srcPointer
        end local 4 // int len
        end local 3 // int destIndex
        end local 2 // byte[] dest
        end local 1 // int srcIndex
        end local 0 // char[] src
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0          src  [C
            0    4     1     srcIndex  I
            0    4     2         dest  [B
            0    4     3    destIndex  I
            0    4     4          len  I
            2    4     5   srcPointer  Ljdk/internal/vm/compiler/word/Pointer;
            3    4     6  destPointer  Ljdk/internal/vm/compiler/word/Pointer;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution()
    MethodParameters:
           Name  Flags
      src        
      srcIndex   
      dest       
      destIndex  
      len        

  public static int compress(byte[], int, byte[], int, int);
    descriptor: ([BI[BII)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=5
        start local 0 // byte[] src
        start local 1 // int srcIndex
        start local 2 // byte[] dest
        start local 3 // int destIndex
        start local 4 // int len
         0: .line 205
            aload 0 /* src */
            arraylength
            iconst_1
            ishr
            iload 1 /* srcIndex */
            aload 2 /* dest */
            arraylength
            iload 3 /* destIndex */
            iload 4 /* len */
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.checkLimits:(IIIII)V
         1: .line 207
            aload 0 /* src */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            iload 1 /* srcIndex */
            iconst_2
            imul
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.byteArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            imul
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            astore 5 /* srcPointer */
        start local 5 // jdk.internal.vm.compiler.word.Pointer srcPointer
         2: .line 208
            aload 2 /* dest */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.byteArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            iload 3 /* destIndex */
            getstatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.INJECTED:Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16Substitutions.byteArrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;)I
            imul
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            astore 6 /* destPointer */
        start local 6 // jdk.internal.vm.compiler.word.Pointer destPointer
         3: .line 209
            aload 5 /* srcPointer */
            aload 6 /* destPointer */
            iload 4 /* len */
            getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
            invokestatic org.graalvm.compiler.replacements.amd64.AMD64StringUTF16CompressNode.compress:(Ljdk/internal/vm/compiler/word/Pointer;Ljdk/internal/vm/compiler/word/Pointer;ILjdk/vm/ci/meta/JavaKind;)I
            ireturn
        end local 6 // jdk.internal.vm.compiler.word.Pointer destPointer
        end local 5 // jdk.internal.vm.compiler.word.Pointer srcPointer
        end local 4 // int len
        end local 3 // int destIndex
        end local 2 // byte[] dest
        end local 1 // int srcIndex
        end local 0 // byte[] src
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0          src  [B
            0    4     1     srcIndex  I
            0    4     2         dest  [B
            0    4     3    destIndex  I
            0    4     4          len  I
            2    4     5   srcPointer  Ljdk/internal/vm/compiler/word/Pointer;
            3    4     6  destPointer  Ljdk/internal/vm/compiler/word/Pointer;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution()
    MethodParameters:
           Name  Flags
      src        
      srcIndex   
      dest       
      destIndex  
      len        

  private static void checkLimits(int, int, int, int, int);
    descriptor: (IIIII)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=5
        start local 0 // int srcLen
        start local 1 // int srcIndex
        start local 2 // int destLen
        start local 3 // int destIndex
        start local 4 // int len
         0: .line 213
            iload 4 /* len */
            iflt 1
            iload 1 /* srcIndex */
            iflt 1
            iload 1 /* srcIndex */
            iload 4 /* len */
            iadd
            iload 0 /* srcLen */
            if_icmpgt 1
            iload 3 /* destIndex */
            iflt 1
            iload 3 /* destIndex */
            iload 4 /* len */
            iadd
            iload 2 /* destLen */
            if_icmple 2
         1: .line 214
      StackMap locals:
      StackMap stack:
            getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
            getstatic jdk.vm.ci.meta.DeoptimizationReason.BoundsCheckException:Ljdk/vm/ci/meta/DeoptimizationReason;
            invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
         2: .line 216
      StackMap locals:
      StackMap stack:
            return
        end local 4 // int len
        end local 3 // int destIndex
        end local 2 // int destLen
        end local 1 // int srcIndex
        end local 0 // int srcLen
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0     srcLen  I
            0    3     1   srcIndex  I
            0    3     2    destLen  I
            0    3     3  destIndex  I
            0    3     4        len  I
    MethodParameters:
           Name  Flags
      srcLen     
      srcIndex   
      destLen    
      destIndex  
      len        
}
SourceFile: "AMD64StringUTF16Substitutions.java"
InnerClasses:
  public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.ClassSubstitution(className = {"java.lang.StringUTF16"}, optional = true)