// File: /workspace/github_cpp_makefile_star2_O3/Mulan-Szechuan-Sauce[P]javelin/src/node.hpp
// Function: NFunctionDeclStatement::generate(int)
virtual void generate(int level) {
    NStatement::generate(level);

    if (level == 0) {
      cout << type->cpp_type_string() << ' ' << id->name << '(';
      if (args) args->generate();
      cout << ")";
    } else {
      // Lambdas don't capture by reference, by default.
      cout << "auto " << id->name << " = [] (";
      if (args) args->generate();
      cout << ")";
      if (! type->isVoid()) {
        cout << " -> " << type->cpp_type_string() << ' ';
      }
    }

    cout << " {\n";
    stmt->generate(level + 1);
    printIndent(level);
    cout << "}";
    if (level > 0) cout << ';'; // For lambdas
    cout << endl;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
movq %rdi, %r14
testl %esi, %esi
jle 0xd50c
movq 0x7add(%rip), %r15      # 0x14fc8
leaq 0x1ee8(%rip), %r12      # 0xf3da
movl %ebx, %r13d
movl $0x2, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x5220
decl %r13d
jne 0xd4f5
jmp 0xd512
je 0xd5f9
movq 0x7aaf(%rip), %r15      # 0x14fc8
leaq 0x2897(%rip), %rsi      # 0xfdb7
movl $0x5, %edx
movq %r15, %rdi
callq 0x5220
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
movq %r15, %rdi
callq 0x5220
leaq 0x2875(%rip), %rsi      # 0xfdbd
movl $0x7, %edx
movq %rax, %rdi
callq 0x5220
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xd564
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x7a5d(%rip), %rdi      # 0x14fc8
leaq 0x21be(%rip), %rsi      # 0xf730
movl $0x1, %edx
callq 0x5220
movq 0x20(%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
testb %al, %al
jne 0xd691
movq 0x7a33(%rip), %r15      # 0x14fc8
leaq 0x2829(%rip), %rsi      # 0xfdc5
movl $0x4, %edx
movq %r15, %rdi
callq 0x5220
movq 0x20(%r14), %rsi
movq (%rsi), %rax
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq *(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x5220
leaq -0x29(%rbp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x5220
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xd691
callq 0x51b0
jmp 0xd691
movq 0x20(%r14), %rsi
movq (%rsi), %rax
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq *(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x79b1(%rip), %rdi      # 0x14fc8
callq 0x5220
leaq -0x29(%rbp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x5220
movq 0x10(%r14), %rcx
movq 0x10(%rcx), %rsi
movq 0x18(%rcx), %rdx
movq %rax, %rdi
callq 0x5220
leaq -0x29(%rbp), %rsi
movb $0x28, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x5220
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xd66a
callq 0x51b0
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xd679
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x7948(%rip), %rdi      # 0x14fc8
leaq 0x20a9(%rip), %rsi      # 0xf730
movl $0x1, %edx
callq 0x5220
movq 0x7930(%rip), %r15      # 0x14fc8
leaq 0x1d18(%rip), %rsi      # 0xf3b7
movl $0x3, %edx
movq %r15, %rdi
callq 0x5220
movq 0x28(%r14), %rdi
leal 0x1(%rbx), %esi
movq (%rdi), %rax
callq *(%rax)
testl %ebx, %ebx
jle 0xd70a
movq 0x7905(%rip), %r14      # 0x14fc8
leaq 0x1d10(%rip), %r12      # 0xf3da
movl $0x2, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x5220
decl %ebx
jne 0xd6ca
movq 0x78e3(%rip), %rbx      # 0x14fc8
leaq 0x1d4b(%rip), %rsi      # 0xf437
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5220
leaq -0x50(%rbp), %rsi
movb $0x3b, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
jmp 0xd71d
movq 0x78b7(%rip), %rdi      # 0x14fc8
leaq 0x1d1f(%rip), %rsi      # 0xf437
movl $0x1, %edx
callq 0x5220
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x51c0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5150
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xd75a
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xd76f
callq 0x51b0
movq %rbx, %rdi
callq 0x5340
nop