// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// GENERATORS: org.graalvm.compiler.replacements.processor.ReplacementsAnnotationProcessor, org.graalvm.compiler.replacements.processor.PluginGenerator
package org.graalvm.compiler.replacements.amd64;


import java.lang.annotation.Annotation;
import jdk.vm.ci.meta.JavaKind;
import jdk.vm.ci.meta.ResolvedJavaMethod;
import org.graalvm.compiler.core.common.type.Stamp;
import org.graalvm.compiler.graph.NodeInputList;
import org.graalvm.compiler.nodes.PluginReplacementNode;
import org.graalvm.compiler.nodes.ValueNode;
import org.graalvm.compiler.nodes.graphbuilderconf.GeneratedNodeIntrinsicInvocationPlugin;
import org.graalvm.compiler.nodes.graphbuilderconf.GeneratedPluginFactory;
import org.graalvm.compiler.nodes.graphbuilderconf.GeneratedPluginInjectionProvider;
import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext;
import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin;
import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins;

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,byte)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,byte,byte)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        ValueNode arg7 = args[7];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        ValueNode arg7 = args.get(7);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,byte,byte,byte)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        ValueNode arg7 = args[7];
        ValueNode arg8 = args[8];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        ValueNode arg7 = args.get(7);
        ValueNode arg8 = args.get(8);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,byte,byte,byte,byte)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        ValueNode arg7 = args[7];
        ValueNode arg8 = args[8];
        ValueNode arg9 = args[9];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        ValueNode arg7 = args.get(7);
        ValueNode arg8 = args.get(8);
        ValueNode arg9 = args.get(9);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,char)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,char,char)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        ValueNode arg7 = args[7];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        ValueNode arg7 = args.get(7);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,char,char,char)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        ValueNode arg7 = args[7];
        ValueNode arg8 = args[8];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        ValueNode arg7 = args.get(7);
        ValueNode arg8 = args.get(8);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,char,char,char,char)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        ValueNode arg7 = args[7];
        ValueNode arg8 = args[8];
        ValueNode arg9 = args[9];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        ValueNode arg7 = args.get(7);
        ValueNode arg8 = args.get(8);
        ValueNode arg9 = args.get(9);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode
//       method: optimizedArrayIndexOf(jdk.vm.ci.meta.JavaKind,jdk.vm.ci.meta.JavaKind,boolean,java.lang.Object,int,int,int)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg0;
        if (args[0].isConstant()) {
            arg0 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[0].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args[1].isConstant()) {
            arg1 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args[1].asJavaConstant());
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        boolean arg2;
        if (args[2].isConstant()) {
            arg2 = args[2].asJavaConstant().asInt() != 0;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString();
            return false;
        }
        ValueNode arg3 = args[3];
        ValueNode arg4 = args[4];
        ValueNode arg5 = args[5];
        ValueNode arg6 = args[6];
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    private final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;

    Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8(GeneratedPluginInjectionProvider injection) {
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
final class PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        jdk.vm.ci.meta.JavaKind arg0;
        if (args.get(0).isConstant()) {
            arg0 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(0).asJavaConstant());
        } else {
            return false;
        }
        jdk.vm.ci.meta.JavaKind arg1;
        if (args.get(1).isConstant()) {
            arg1 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(jdk.vm.ci.meta.JavaKind.class, args.get(1).asJavaConstant());
        } else {
            return false;
        }
        boolean arg2;
        if (args.get(2).isConstant()) {
            arg2 = args.get(2).asJavaConstant().asInt() != 0;
        } else {
            return false;
        }
        ValueNode arg3 = args.get(3);
        ValueNode arg4 = args.get(4);
        ValueNode arg5 = args.get(5);
        ValueNode arg6 = args.get(6);
        org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode node = new org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
        b.addPush(JavaKind.Int, node);
        return true;
    }
}

public class PluginFactory_AMD64ArrayIndexOfNode implements GeneratedPluginFactory {
    @Override
    public void registerPlugins(InvocationPlugins plugins, GeneratedPluginInjectionProvider injection) {
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__0(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, byte.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__1(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, byte.class, byte.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__2(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, byte.class, byte.class, byte.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__3(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, byte.class, byte.class, byte.class, byte.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__4(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, char.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__5(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, char.class, char.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__6(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, char.class, char.class, char.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__7(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, char.class, char.class, char.class, char.class);
        plugins.register(new Plugin_AMD64ArrayIndexOfNode_optimizedArrayIndexOf__8(injection), org.graalvm.compiler.replacements.amd64.AMD64ArrayIndexOfNode.class, "optimizedArrayIndexOf", jdk.vm.ci.meta.JavaKind.class, jdk.vm.ci.meta.JavaKind.class, boolean.class, java.lang.Object.class, int.class, int.class, int.class);
    }
}