// 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.nodes;


import java.lang.annotation.Annotation;
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;
import org.graalvm.compiler.options.ExcludeFromJacocoGeneratedReport;

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node
//       method: md5ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_MD5Node_md5ImplCompress__0 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node(arg0, arg1);
        b.add(node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    Plugin_MD5Node_md5ImplCompress__0() {
        super("md5ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class);
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node
//       method: md5ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_MD5Node_md5ImplCompress__1 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args[2].isConstant()) {
            arg2 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args[2].asJavaConstant());
            assert arg2 != null;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_MD5Node_md5ImplCompress__1.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString() + " " + args[2];
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node(arg0, arg1, arg2);
        b.add(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_MD5Node_md5ImplCompress__1(GeneratedPluginInjectionProvider injection) {
        super("md5ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class, java.util.EnumSet.class);
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node
//       method: md5ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
@ExcludeFromJacocoGeneratedReport("deferred plugin support that is only called in libgraal")
final class PluginReplacementNode_MD5Node_md5ImplCompress__1 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_MD5Node_md5ImplCompress__1();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        ValueNode arg0 = args.get(0);
        ValueNode arg1 = args.get(1);
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args.get(2).isConstant()) {
            arg2 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args.get(2).asJavaConstant());
            assert arg2 != null;
        } else {
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node(arg0, arg1, arg2);
        b.add(node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node
//       method: sha1ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA1Node_sha1ImplCompress__2 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node(arg0, arg1);
        b.add(node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    Plugin_SHA1Node_sha1ImplCompress__2() {
        super("sha1ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class);
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node
//       method: sha1ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA1Node_sha1ImplCompress__3 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args[2].isConstant()) {
            arg2 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args[2].asJavaConstant());
            assert arg2 != null;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_SHA1Node_sha1ImplCompress__3.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString() + " " + args[2];
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node(arg0, arg1, arg2);
        b.add(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_SHA1Node_sha1ImplCompress__3(GeneratedPluginInjectionProvider injection) {
        super("sha1ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class, java.util.EnumSet.class);
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node
//       method: sha1ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
@ExcludeFromJacocoGeneratedReport("deferred plugin support that is only called in libgraal")
final class PluginReplacementNode_SHA1Node_sha1ImplCompress__3 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_SHA1Node_sha1ImplCompress__3();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        ValueNode arg0 = args.get(0);
        ValueNode arg1 = args.get(1);
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args.get(2).isConstant()) {
            arg2 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args.get(2).asJavaConstant());
            assert arg2 != null;
        } else {
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node(arg0, arg1, arg2);
        b.add(node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node
//       method: sha256ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA256Node_sha256ImplCompress__4 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node(arg0, arg1);
        b.add(node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    Plugin_SHA256Node_sha256ImplCompress__4() {
        super("sha256ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class);
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node
//       method: sha256ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA256Node_sha256ImplCompress__5 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args[2].isConstant()) {
            arg2 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args[2].asJavaConstant());
            assert arg2 != null;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_SHA256Node_sha256ImplCompress__5.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString() + " " + args[2];
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node(arg0, arg1, arg2);
        b.add(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_SHA256Node_sha256ImplCompress__5(GeneratedPluginInjectionProvider injection) {
        super("sha256ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class, java.util.EnumSet.class);
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node
//       method: sha256ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
@ExcludeFromJacocoGeneratedReport("deferred plugin support that is only called in libgraal")
final class PluginReplacementNode_SHA256Node_sha256ImplCompress__5 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_SHA256Node_sha256ImplCompress__5();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        ValueNode arg0 = args.get(0);
        ValueNode arg1 = args.get(1);
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args.get(2).isConstant()) {
            arg2 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args.get(2).asJavaConstant());
            assert arg2 != null;
        } else {
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node(arg0, arg1, arg2);
        b.add(node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node
//       method: sha3ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,int)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA3Node_sha3ImplCompress__6 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        ValueNode arg2 = args[2];
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node(arg0, arg1, arg2);
        b.add(node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    Plugin_SHA3Node_sha3ImplCompress__6() {
        super("sha3ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class, int.class);
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node
//       method: sha3ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,int,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA3Node_sha3ImplCompress__7 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        ValueNode arg2 = args[2];
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg3;
        if (args[3].isConstant()) {
            arg3 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args[3].asJavaConstant());
            assert arg3 != null;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_SHA3Node_sha3ImplCompress__7.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString() + " " + args[3];
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node(arg0, arg1, arg2, arg3);
        b.add(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_SHA3Node_sha3ImplCompress__7(GeneratedPluginInjectionProvider injection) {
        super("sha3ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class, int.class, java.util.EnumSet.class);
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node
//       method: sha3ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,int,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
@ExcludeFromJacocoGeneratedReport("deferred plugin support that is only called in libgraal")
final class PluginReplacementNode_SHA3Node_sha3ImplCompress__7 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_SHA3Node_sha3ImplCompress__7();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        ValueNode arg0 = args.get(0);
        ValueNode arg1 = args.get(1);
        ValueNode arg2 = args.get(2);
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg3;
        if (args.get(3).isConstant()) {
            arg3 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args.get(3).asJavaConstant());
            assert arg3 != null;
        } else {
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node(arg0, arg1, arg2, arg3);
        b.add(node);
        return true;
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node
//       method: sha512ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA512Node_sha512ImplCompress__8 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node(arg0, arg1);
        b.add(node);
        return true;
    }
    @Override
    public Class<? extends Annotation> getSource() {
        return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
    }

    Plugin_SHA512Node_sha512ImplCompress__8() {
        super("sha512ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class);
    }
}

//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node
//       method: sha512ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_SHA512Node_sha512ImplCompress__9 extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        ValueNode arg1 = args[1];
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args[2].isConstant()) {
            arg2 = snippetReflection/* A SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args[2].asJavaConstant());
            assert arg2 != null;
        } else {
            if (b.shouldDeferPlugin(this)) {
                b.replacePlugin(this, targetMethod, args, PluginReplacementNode_SHA512Node_sha512ImplCompress__9.FUNCTION);
                return true;
            }
            assert b.canDeferPlugin(this) : b.getClass().toString() + " " + args[2];
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node(arg0, arg1, arg2);
        b.add(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_SHA512Node_sha512ImplCompress__9(GeneratedPluginInjectionProvider injection) {
        super("sha512ImplCompress", org.graalvm.word.Pointer.class, org.graalvm.word.Pointer.class, java.util.EnumSet.class);
        this.snippetReflection = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class);
    }
}
//        class: org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node
//       method: sha512ImplCompress(org.graalvm.word.Pointer,org.graalvm.word.Pointer,java.util.EnumSet<?>)
// generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
@ExcludeFromJacocoGeneratedReport("deferred plugin support that is only called in libgraal")
final class PluginReplacementNode_SHA512Node_sha512ImplCompress__9 implements PluginReplacementNode.ReplacementFunction {
    static PluginReplacementNode.ReplacementFunction FUNCTION = new PluginReplacementNode_SHA512Node_sha512ImplCompress__9();

    @Override
    public boolean replace(GraphBuilderContext b, GeneratedPluginInjectionProvider injection, Stamp stamp, NodeInputList<ValueNode> args) {
        ValueNode arg0 = args.get(0);
        ValueNode arg1 = args.get(1);
        @SuppressWarnings({"rawtypes"})
        java.util.EnumSet arg2;
        if (args.get(2).isConstant()) {
            arg2 = injection.getInjectedArgument(org.graalvm.compiler.api.replacements.SnippetReflectionProvider.class)/* B SNIPPET_REFLECTION */.asObject(java.util.EnumSet.class, args.get(2).asJavaConstant());
            assert arg2 != null;
        } else {
            return false;
        }
        org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node node = new org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node(arg0, arg1, arg2);
        b.add(node);
        return true;
    }
}

public class PluginFactory_MessageDigestNode implements GeneratedPluginFactory {
    @Override
    public void registerPlugins(InvocationPlugins plugins, GeneratedPluginInjectionProvider injection) {
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node.class, new Plugin_MD5Node_md5ImplCompress__0());
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.MD5Node.class, new Plugin_MD5Node_md5ImplCompress__1(injection));
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node.class, new Plugin_SHA1Node_sha1ImplCompress__2());
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA1Node.class, new Plugin_SHA1Node_sha1ImplCompress__3(injection));
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node.class, new Plugin_SHA256Node_sha256ImplCompress__4());
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA256Node.class, new Plugin_SHA256Node_sha256ImplCompress__5(injection));
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node.class, new Plugin_SHA3Node_sha3ImplCompress__6());
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA3Node.class, new Plugin_SHA3Node_sha3ImplCompress__7(injection));
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node.class, new Plugin_SHA512Node_sha512ImplCompress__8());
        plugins.register(org.graalvm.compiler.replacements.nodes.MessageDigestNode.SHA512Node.class, new Plugin_SHA512Node_sha512ImplCompress__9(injection));
    }
}
