// File: /workspace/github_cpp_makefile_star2_O1/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 0xd742
movq 0x78a5(%rip), %r15      # 0x14fc8
leaq 0x1cb0(%rip), %r12      # 0xf3da
movl %ebx, %r13d
movl $0x2, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x5220
decl %r13d
jne 0xd72d
testl %ebx, %ebx
je 0xd831
movq 0x7877(%rip), %r15      # 0x14fc8
leaq 0x265f(%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 0x263d(%rip), %rsi      # 0xfdbd
movl $0x7, %edx
movq %rax, %rdi
callq 0x5220
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xd79c
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x7825(%rip), %rdi      # 0x14fc8
leaq 0x1f86(%rip), %rsi      # 0xf730
movl $0x1, %edx
callq 0x5220
movq 0x20(%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
testb %al, %al
jne 0xd8c9
movq 0x77fb(%rip), %r15      # 0x14fc8
leaq 0x25f1(%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 0xd8c9
callq 0x51b0
jmp 0xd8c9
movq 0x20(%r14), %rsi
movq (%rsi), %rax
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq *(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x7779(%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 0xd8a2
callq 0x51b0
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xd8b1
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x7710(%rip), %rdi      # 0x14fc8
leaq 0x1e71(%rip), %rsi      # 0xf730
movl $0x1, %edx
callq 0x5220
movq 0x76f8(%rip), %r15      # 0x14fc8
leaq 0x1ae0(%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 0xd946
movq 0x76cd(%rip), %r14      # 0x14fc8
leaq 0x1ad8(%rip), %r12      # 0xf3da
movl %ebx, %r13d
movl $0x2, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x5220
decl %r13d
jne 0xd905
movq 0x76a7(%rip), %rdi      # 0x14fc8
leaq 0x1b0f(%rip), %rsi      # 0xf437
movl $0x1, %edx
callq 0x5220
testl %ebx, %ebx
jle 0xd95e
leaq -0x50(%rbp), %rsi
movb $0x3b, (%rsi)
movq 0x7684(%rip), %rdi      # 0x14fc8
jmp 0xd954
movq 0x767b(%rip), %rdi      # 0x14fc8
leaq 0x1ae3(%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 0xd996
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xd9ab
callq 0x51b0
movq %rbx, %rdi
callq 0x5340
nop