// File: AgathokakologicalBit[P]wit/src/code_generation/generators/javascript/generator.cpp
// Function: akbit::system::code_generation::js::(anonymous namespace)::cg_visit_condition[abi:cxx11](std::shared_ptr<akbit::system::Node>, akbit::system::Node::condition_t&, akbit::system::code_generation::js::Settings)
std::string cg_visit_condition(std::shared_ptr<Node>, Node::condition_t &val, Settings s)
    {
      return "(() => { if (" + cg_visit(val.expression, s)
           + ") return " + cg_visit(val.clause_true, s) + "; else return "
           + (val.clause_false ? cg_visit(val.clause_false, s) : std::string("null"))
           + "; })()";
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp            # imm = 0x210
movq %rdi, -0x1f8(%rbp)
movb %r8b, %al
movq %rdi, %r8
movq %r8, -0x1f0(%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), %rsi
leaq -0x108(%rbp), %rdi
movq %rdi, -0x1e8(%rbp)
callq 0x9b20
movq -0x1e8(%rbp), %rsi
movl -0x10(%rbp), %eax
movl %eax, -0x110(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x118(%rbp)
movl -0x110(%rbp), %eax
movl %eax, -0x120(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rdx
movl -0x120(%rbp), %ecx
leaq -0xf8(%rbp), %rdi
callq 0x31180
jmp 0x32727
leaq 0x4516(%rip), %rsi      # 0x36c44
leaq -0xd8(%rbp), %rdi
leaq -0xf8(%rbp), %rdx
callq 0x34e50
jmp 0x32743
leaq 0x4508(%rip), %rdx      # 0x36c52
leaq -0xb8(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x11a50
jmp 0x3275f
movq -0x38(%rbp), %rsi
addq $0x10, %rsi
leaq -0x168(%rbp), %rdi
movq %rdi, -0x200(%rbp)
callq 0x9b20
movq -0x200(%rbp), %rsi
movl -0x10(%rbp), %eax
movl %eax, -0x170(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x178(%rbp)
movl -0x170(%rbp), %eax
movl %eax, -0x180(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x188(%rbp)
movq -0x188(%rbp), %rdx
movl -0x180(%rbp), %ecx
leaq -0x158(%rbp), %rdi
callq 0x31180
jmp 0x327ca
leaq -0x98(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
leaq -0x158(%rbp), %rdx
callq 0x158c0
jmp 0x327e6
leaq 0x446f(%rip), %rdx      # 0x36c5c
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x11a50
jmp 0x327ff
movq -0x38(%rbp), %rdi
addq $0x20, %rdi
callq 0x9b00
movb $0x0, -0x1b9(%rbp)
movb $0x0, -0x1da(%rbp)
testb $0x1, %al
jne 0x32820
jmp 0x32894
movq -0x38(%rbp), %rsi
addq $0x20, %rsi
leaq -0x1b8(%rbp), %rdi
movq %rdi, -0x208(%rbp)
callq 0x9b20
movq -0x208(%rbp), %rsi
movb $0x1, -0x1b9(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x1c0(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movl -0x1c0(%rbp), %eax
movl %eax, -0x1d0(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x1d8(%rbp), %rdx
movl -0x1d0(%rbp), %ecx
leaq -0x1a8(%rbp), %rdi
callq 0x31180
jmp 0x32892
jmp 0x328cc
leaq -0x1d9(%rbp), %rdi
movq %rdi, -0x210(%rbp)
callq 0x4570
movq -0x210(%rbp), %rdx
movb $0x1, -0x1da(%rbp)
leaq 0x43af(%rip), %rsi      # 0x36c6b
leaq -0x1a8(%rbp), %rdi
callq 0x9e70
jmp 0x328ca
jmp 0x328cc
leaq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
leaq -0x1a8(%rbp), %rdx
callq 0x158c0
jmp 0x328e2
movq -0x1f8(%rbp), %rdi
leaq 0x4380(%rip), %rdx      # 0x36c70
leaq -0x58(%rbp), %rsi
callq 0x11a50
jmp 0x328fb
leaq -0x58(%rbp), %rdi
callq 0x4210
leaq -0x1a8(%rbp), %rdi
callq 0x4210
testb $0x1, -0x1da(%rbp)
jne 0x3291b
jmp 0x32927
leaq -0x1d9(%rbp), %rdi
callq 0x4370
testb $0x1, -0x1b9(%rbp)
jne 0x32932
jmp 0x3293e
leaq -0x1b8(%rbp), %rdi
callq 0x9b50
leaq -0x78(%rbp), %rdi
callq 0x4210
leaq -0x98(%rbp), %rdi
callq 0x4210
leaq -0x158(%rbp), %rdi
callq 0x4210
leaq -0x168(%rbp), %rdi
callq 0x9b50
leaq -0xb8(%rbp), %rdi
callq 0x4210
leaq -0xd8(%rbp), %rdi
callq 0x4210
leaq -0xf8(%rbp), %rdi
callq 0x4210
leaq -0x108(%rbp), %rdi
callq 0x9b50
movq -0x1f0(%rbp), %rax
addq $0x210, %rsp            # imm = 0x210
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32b19
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32b0d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32b01
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32ae9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32add
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32ad1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32ab1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32a98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
jmp 0x32a8c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x130(%rbp)
movl %eax, -0x134(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x4210
leaq -0x1a8(%rbp), %rdi
callq 0x4210
testb $0x1, -0x1da(%rbp)
jne 0x32aa3
jmp 0x32aaf
leaq -0x1d9(%rbp), %rdi
callq 0x4370
jmp 0x32ab1
testb $0x1, -0x1b9(%rbp)
jne 0x32abc
jmp 0x32ac8
leaq -0x1b8(%rbp), %rdi
callq 0x9b50
leaq -0x78(%rbp), %rdi
callq 0x4210
leaq -0x98(%rbp), %rdi
callq 0x4210
leaq -0x158(%rbp), %rdi
callq 0x4210
leaq -0x168(%rbp), %rdi
callq 0x9b50
leaq -0xb8(%rbp), %rdi
callq 0x4210
leaq -0xd8(%rbp), %rdi
callq 0x4210
leaq -0xf8(%rbp), %rdi
callq 0x4210
leaq -0x108(%rbp), %rdi
callq 0x9b50
movq -0x130(%rbp), %rdi
callq 0x4560
nopw %cs:(%rax,%rax)