// File: /workspace/github_cpp_makefile_star2_O3/AgathokakologicalBit[P]wit/src/code_generation/generators/javascript/generator.cpp
// Function: akbit::system::code_generation::js::(anonymous namespace)::cg_visit[abi:cxx11](std::shared_ptr<akbit::system::Node>, akbit::system::code_generation::js::Settings)
std::string cg_visit(std::shared_ptr<Node> node, Settings s)
    {
      if (nullptr == node) return "";

      return std::visit(overloaded {
        [&](auto                     & ) -> std::string { return "__UNKNOWN__";                         },
        [&](Node::module_t           &_) -> std::string { return cg_visit_module(node, _, s);           },
        [&](Node::declaration_t      &_) -> std::string { return cg_visit_declaration(node, _, s);      },
        [&](Node::condition_t        &_) -> std::string { return cg_visit_condition(node, _, s);        },
        [&](Node::block_t            &_) -> std::string { return cg_visit_block(node, _, s);            },
        [&](Node::unary_operation_t  &_) -> std::string { return cg_visit_unary_operation(node, _, s);  },
        [&](Node::binary_operation_t &_) -> std::string { return cg_visit_binary_operation(node, _, s); },
        [&](Node::function_call_t    &_) -> std::string { return cg_visit_function_call(node, _, s);    },
        [&](Node::value_function_t   &_) -> std::string { return cg_visit_value_function(node, _, s);   },
        [&](Node::value_tuple_t      &_) -> std::string { return cg_visit_value_tuple(node, _, s);      },
        [&](Node::value_variable_t   &_) -> std::string { return cg_visit_value_variable(node, _, s);   },
        [&](Node::value_string_t     &_) -> std::string { return cg_visit_value_string(node, _, s);     },
        [&](Node::value_character_t  &_) -> std::string { return cg_visit_value_character(node, _, s);  },
        [&](Node::value_integer_t    &_) -> std::string { return cg_visit_value_integer(node, _, s);    },
        [&](Node::value_decimal_t    &_) -> std::string { return cg_visit_value_decimal(node, _, s);    },
      }, node->value);
    }

// Assembly:
subq $0xf8, %rsp
movq %rdx, 0x8(%rsp)
movb %cl, 0x10(%rsp)
movq (%rsi), %rdx
testq %rdx, %rdx
je 0x128ae
movq %rsi, 0x18(%rsp)
leaq 0x8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rsi, 0x28(%rsp)
movq %rax, 0x30(%rsp)
movq %rsi, 0x38(%rsp)
movq %rax, 0x40(%rsp)
movq %rsi, 0x48(%rsp)
movq %rax, 0x50(%rsp)
movq %rsi, 0x58(%rsp)
movq %rax, 0x60(%rsp)
movq %rsi, 0x68(%rsp)
movq %rax, 0x70(%rsp)
movq %rsi, 0x78(%rsp)
movq %rax, 0x80(%rsp)
movq %rsi, 0x88(%rsp)
movq %rax, 0x90(%rsp)
movq %rsi, 0x98(%rsp)
movq %rax, 0xa0(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rax, 0xb0(%rsp)
movq %rsi, 0xb8(%rsp)
movq %rax, 0xc0(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rax, 0xd0(%rsp)
movq %rsi, 0xd8(%rsp)
movq %rax, 0xe0(%rsp)
movq %rsi, 0xe8(%rsp)
movq %rax, 0xf0(%rsp)
movsbq 0x48(%rdx), %rax
cmpq $-0x1, %rax
je 0x128cb
addq $0x10, %rdx
leaq 0xa482(%rip), %rcx      # 0x1cd20
leaq 0x18(%rsp), %rsi
callq *(%rcx,%rax,8)
addq $0xf8, %rsp
retq
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x2a65(%rip), %rdx      # 0x15321
movq %rdx, %rsi
addq $0xf8, %rsp
jmp 0x6bd0
movl $0x10, %edi
callq 0x3120
leaq 0x9fac(%rip), %rcx      # 0x1c888
movq %rcx, (%rax)
leaq 0x27ff(%rip), %rcx      # 0x150e5
movq %rcx, 0x8(%rax)
leaq 0x9f6f(%rip), %rsi      # 0x1c860
movq 0xa6e0(%rip), %rdx      # 0x1cfd8
movq %rax, %rdi
callq 0x3330