public class org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets implements org.graalvm.compiler.replacements.Snippets
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets
  super_class: java.lang.Object
{
  static final org.graalvm.compiler.core.common.spi.ArrayOffsetProvider INJECTED;
    descriptor: Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
    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 105
            aconst_null
            putstatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.INJECTED:Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
            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.ConstantStringIndexOfSnippets this
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/ConstantStringIndexOfSnippets;

  static int md2(char[]);
    descriptor: ([C)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // char[] target
         0: .line 75
            aload 0 /* target */
            arraylength
            istore 1 /* c */
        start local 1 // int c
         1: .line 76
            iload 1 /* c */
            ifne 3
         2: .line 77
            iconst_0
            ireturn
         3: .line 79
      StackMap locals: int
      StackMap stack:
            aload 0 /* target */
            iload 1 /* c */
            iconst_1
            isub
            caload
            istore 2 /* lastChar */
        start local 2 // char lastChar
         4: .line 80
            iload 1 /* c */
            istore 3 /* md2 */
        start local 3 // int md2
         5: .line 81
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         6: goto 10
         7: .line 82
      StackMap locals: int int int
      StackMap stack:
            aload 0 /* target */
            iload 4 /* i */
            caload
            iload 2 /* lastChar */
            if_icmpne 9
         8: .line 83
            iload 1 /* c */
            iconst_1
            isub
            iload 4 /* i */
            isub
            istore 3 /* md2 */
         9: .line 81
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 4 /* i */
            iload 1 /* c */
            iconst_1
            isub
            if_icmplt 7
        end local 4 // int i
        11: .line 86
            iload 3 /* md2 */
            ireturn
        end local 3 // int md2
        end local 2 // char lastChar
        end local 1 // int c
        end local 0 // char[] target
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0    target  [C
            1   12     1         c  I
            4   12     2  lastChar  C
            5   12     3       md2  I
            6   11     4         i  I
    MethodParameters:
        Name  Flags
      target  

  static long computeCache(char[]);
    descriptor: ([C)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // char[] s
         0: .line 90
            aload 0 /* s */
            arraylength
            istore 1 /* c */
        start local 1 // int c
         1: .line 91
            iconst_0
            istore 2 /* cache */
        start local 2 // int cache
         2: .line 93
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: goto 6
         4: .line 94
      StackMap locals: int int int
      StackMap stack:
            iload 2 /* cache */
            iconst_1
            aload 0 /* s */
            iload 3 /* i */
            caload
            bipush 63
            iand
            ishl
            ior
            istore 2 /* cache */
         5: .line 93
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 3 /* i */
            iload 1 /* c */
            iconst_1
            isub
            if_icmplt 4
         7: .line 96
            iload 2 /* cache */
            i2l
            lreturn
        end local 3 // int i
        end local 2 // int cache
        end local 1 // int c
        end local 0 // char[] s
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0      s  [C
            1    8     1      c  I
            2    8     2  cache  I
            3    8     3      i  I
    MethodParameters:
      Name  Flags
      s     

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

  public static int indexOfConstant(char[], int, int, char[], int, int, int, int, long);
    descriptor: ([CII[CIIIIJ)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=22, args_size=9
        start local 0 // char[] source
        start local 1 // int sourceOffset
        start local 2 // int sourceCount
        start local 3 // char[] target
        start local 4 // int targetOffset
        start local 5 // int targetCount
        start local 6 // int origFromIndex
        start local 7 // int md2
        start local 8 // long cache
         0: .line 111
            iload 6 /* origFromIndex */
            istore 10 /* fromIndex */
        start local 10 // int fromIndex
         1: .line 112
            iload 10 /* fromIndex */
            iload 2 /* sourceCount */
            if_icmplt 5
         2: .line 113
            iload 5 /* targetCount */
            ifne 3
            iload 2 /* sourceCount */
            goto 4
      StackMap locals: int
      StackMap stack:
         3: iconst_m1
      StackMap locals:
      StackMap stack: int
         4: ireturn
         5: .line 115
      StackMap locals:
      StackMap stack:
            iload 10 /* fromIndex */
            ifge 7
         6: .line 116
            iconst_0
            istore 10 /* fromIndex */
         7: .line 118
      StackMap locals:
      StackMap stack:
            iload 5 /* targetCount */
            ifne 9
         8: .line 119
            iload 10 /* fromIndex */
            ireturn
         9: .line 122
      StackMap locals:
      StackMap stack:
            iload 5 /* targetCount */
            iconst_1
            isub
            istore 11 /* targetCountLess1 */
        start local 11 // int targetCountLess1
        10: .line 123
            iload 2 /* sourceCount */
            iload 11 /* targetCountLess1 */
            isub
            istore 12 /* sourceEnd */
        start local 12 // int sourceEnd
        11: .line 125
            getstatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.INJECTED:Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;
            invokestatic org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets.charArrayBaseOffset:(Lorg/graalvm/compiler/core/common/spi/ArrayOffsetProvider;)I
            i2l
            lstore 13 /* base */
        start local 13 // long base
        12: .line 126
            getstatic org.graalvm.compiler.replacements.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
            aload 3 /* target */
            lload 13 /* base */
            iload 11 /* targetCountLess1 */
            iconst_2
            imul
            i2l
            ladd
            invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
            istore 15 /* lastChar */
        start local 15 // int lastChar
        13: .line 128
            iload 1 /* sourceOffset */
            iload 10 /* fromIndex */
            iadd
            i2l
            lstore 16 /* i */
        start local 16 // long i
        14: goto 35
        15: .line 129
      StackMap locals: char[] int int char[] int int int int long int int int long int long
      StackMap stack:
            getstatic org.graalvm.compiler.replacements.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
            aload 0 /* source */
            lload 13 /* base */
            lload 16 /* i */
            iload 11 /* targetCountLess1 */
            i2l
            ladd
            ldc 2
            lmul
            ladd
            invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
            istore 18 /* src */
        start local 18 // int src
        16: .line 130
            iload 18 /* src */
            iload 15 /* lastChar */
            if_icmpne 32
        17: .line 139
            iload 5 /* targetCount */
            bipush 8
            if_icmpgt 19
        18: .line 140
            invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
        19: .line 142
      StackMap locals: int
      StackMap stack:
            lconst_0
            lstore 19 /* j */
        start local 19 // long j
        20: goto 30
        21: .line 143
      StackMap locals: long
      StackMap stack:
            getstatic org.graalvm.compiler.replacements.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
            aload 0 /* source */
            lload 13 /* base */
            lload 16 /* i */
            lload 19 /* j */
            ladd
            ldc 2
            lmul
            ladd
            invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
            istore 21 /* sourceChar */
        start local 21 // char sourceChar
        22: .line 144
            getstatic org.graalvm.compiler.replacements.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
            aload 3 /* target */
            lload 13 /* base */
            iload 4 /* targetOffset */
            i2l
            lload 19 /* j */
            ladd
            ldc 2
            lmul
            ladd
            invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
            iload 21 /* sourceChar */
            if_icmpeq 29
        23: .line 145
            lload 8 /* cache */
            iconst_1
            iload 21 /* sourceChar */
            ishl
            i2l
            land
            lconst_0
            lcmp
            ifne 27
        24: .line 146
            iload 7 /* md2 */
            i2l
            lload 19 /* j */
            lconst_1
            ladd
            lcmp
            ifge 27
        25: .line 147
            lload 16 /* i */
            lload 19 /* j */
            lconst_1
            ladd
            ladd
            lstore 16 /* i */
        26: .line 148
            goto 35
        27: .line 151
      StackMap locals: int
      StackMap stack:
            lload 16 /* i */
            iload 7 /* md2 */
            i2l
            ladd
            lstore 16 /* i */
        28: .line 152
            goto 35
        end local 21 // char sourceChar
        29: .line 142
      StackMap locals:
      StackMap stack:
            lload 19 /* j */
            lconst_1
            ladd
            lstore 19 /* j */
      StackMap locals:
      StackMap stack:
        30: lload 19 /* j */
            iload 11 /* targetCountLess1 */
            i2l
            lcmp
            iflt 21
        end local 19 // long j
        31: .line 155
            lload 16 /* i */
            iload 1 /* sourceOffset */
            i2l
            lsub
            l2i
            ireturn
        32: .line 157
      StackMap locals:
      StackMap stack:
            lload 8 /* cache */
            iconst_1
            iload 18 /* src */
            ishl
            i2l
            land
            lconst_0
            lcmp
            ifne 34
        33: .line 158
            lload 16 /* i */
            iload 11 /* targetCountLess1 */
            i2l
            ladd
            lstore 16 /* i */
        34: .line 160
      StackMap locals:
      StackMap stack:
            lload 16 /* i */
            lconst_1
            ladd
            lstore 16 /* i */
        end local 18 // int src
        35: .line 128
      StackMap locals:
      StackMap stack:
            lload 16 /* i */
            iload 12 /* sourceEnd */
            i2l
            lcmp
            iflt 15
        end local 16 // long i
        36: .line 162
            iconst_m1
            ireturn
        end local 15 // int lastChar
        end local 13 // long base
        end local 12 // int sourceEnd
        end local 11 // int targetCountLess1
        end local 10 // int fromIndex
        end local 8 // long cache
        end local 7 // int md2
        end local 6 // int origFromIndex
        end local 5 // int targetCount
        end local 4 // int targetOffset
        end local 3 // char[] target
        end local 2 // int sourceCount
        end local 1 // int sourceOffset
        end local 0 // char[] source
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   37     0            source  [C
            0   37     1      sourceOffset  I
            0   37     2       sourceCount  I
            0   37     3            target  [C
            0   37     4      targetOffset  I
            0   37     5       targetCount  I
            0   37     6     origFromIndex  I
            0   37     7               md2  I
            0   37     8             cache  J
            1   37    10         fromIndex  I
           10   37    11  targetCountLess1  I
           11   37    12         sourceEnd  I
           12   37    13              base  J
           13   37    15          lastChar  I
           14   36    16                 i  J
           16   35    18               src  I
           20   31    19                 j  J
           22   29    21        sourceChar  C
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      4:
      5:
      6:
      7:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      8:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
    MethodParameters:
               Name  Flags
      source         
      sourceOffset   
      sourceCount    
      target         
      targetOffset   
      targetCount    
      origFromIndex  
      md2            
      cache          
}
SourceFile: "ConstantStringIndexOfSnippets.java"
NestMembers:
  org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates
InnerClasses:
  public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
  public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
  public Templates = org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets$Templates of org.graalvm.compiler.replacements.ConstantStringIndexOfSnippets