// File: AgathokakologicalBit[P]wit/src/code_generation/generators/javascript/generator.cpp
// Function: akbit::system::code_generation::js::(anonymous namespace)::cg_visit_binary_operation[abi:cxx11](std::shared_ptr<akbit::system::Node>, akbit::system::Node::binary_operation_t&, akbit::system::code_generation::js::Settings)
std::string cg_visit_binary_operation(std::shared_ptr<Node>, Node::binary_operation_t &val, Settings s)
    {
      std::string res = "so" + std::to_string(val.operation->id) + "(";
      for (auto& p : val.operands)
      {
        if (&p != &val.operands.front()) res += ", ";
        res += cg_visit(p, s);
      }

      return res + ")";
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x130(%rbp)
movb %r8b, %al
movq %rdi, %r8
movq %r8, -0x128(%rbp)
movq %rdi, -0x8(%rbp)
movq %rcx, -0x28(%rbp)
movb %al, -0x20(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x10(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x18(%rbp)
movq %rsi, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq (%rax), %rax
movzbl (%rax), %esi
leaq -0x98(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x34ea0
movq -0x120(%rbp), %rdx
leaq 0x3a26(%rip), %rsi      # 0x36c81
leaq -0x78(%rbp), %rdi
callq 0x34e50
jmp 0x33266
leaq 0x39e3(%rip), %rdx      # 0x36c50
leaq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x11a50
jmp 0x3327c
leaq -0x78(%rbp), %rdi
callq 0x4210
leaq -0x98(%rbp), %rdi
callq 0x4210
movq -0x38(%rbp), %rax
addq $0x8, %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x18160
movq %rax, -0xb8(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x17fa0
movq %rax, -0xc0(%rbp)
leaq -0xb8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x22a70
testb $0x1, %al
jne 0x332e2
jmp 0x3346f
leaq -0xb8(%rbp), %rdi
callq 0x184a0
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x38(%rbp), %rdi
addq $0x8, %rdi
callq 0x34fc0
movq %rax, %rcx
movq -0x138(%rbp), %rax
cmpq %rcx, %rax
je 0x3338a
leaq 0x395e(%rip), %rsi      # 0x36c84
leaq -0x58(%rbp), %rdi
callq 0x42d0
jmp 0x33331
jmp 0x3338a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x33362
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x4210
leaq -0x98(%rbp), %rdi
callq 0x4210
jmp 0x334aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x334a1
movq -0xc8(%rbp), %rsi
leaq -0xf8(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x9b20
movq -0x140(%rbp), %rsi
movl -0x10(%rbp), %eax
movl %eax, -0x100(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x108(%rbp)
movl -0x100(%rbp), %eax
movl %eax, -0x110(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x118(%rbp), %rdx
movl -0x110(%rbp), %ecx
leaq -0xe8(%rbp), %rdi
callq 0x31180
jmp 0x333f4
leaq -0x58(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x4410
jmp 0x33406
leaq -0xe8(%rbp), %rdi
callq 0x4210
leaq -0xf8(%rbp), %rdi
callq 0x9b50
leaq -0xb8(%rbp), %rdi
callq 0x22ab0
jmp 0x332c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x33461
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x4210
leaq -0xf8(%rbp), %rdi
callq 0x9b50
jmp 0x334a1
movq -0x130(%rbp), %rdi
leaq 0x37f8(%rip), %rdx      # 0x36c75
leaq -0x58(%rbp), %rsi
callq 0x34ff0
jmp 0x33488
leaq -0x58(%rbp), %rdi
callq 0x4210
movq -0x128(%rbp), %rax
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
leaq -0x58(%rbp), %rdi
callq 0x4210
movq -0xa0(%rbp), %rdi
callq 0x4560
nopw %cs:(%rax,%rax)