// File: /workspace/github_cpp_makefile_star2_O3/KJTang[P]SimpleCompiler/AST.cpp
// Function: CallFuncAST::eval[abi:cxx11]()
std::string CallFuncAST::eval() {
    std::string str;
    if (mCallee == "input") {   // system func "input(int)"
        str += "SCAN " + mArgs[0]->eval().substr(5);
    } else if (mCallee == "output") {   // system func "output(int)"
        str += mArgs[0]->eval() + "PRIT" + insEnd;
    } else {
        for (auto it = mArgs.begin(); it != mArgs.end(); ++it) {
            str += (*it)->eval();
        }
        str += "CALL " + mCallee + insEnd;
    }
    return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r14
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movq $0x0, 0x8(%rdi)
movq %rdi, -0x38(%rbp)
movb $0x0, 0x10(%rdi)
leaq 0x10(%rsi), %r15
leaq 0x6b27(%rip), %rsi      # 0xf29b
movq %r15, %rdi
callq 0x30a0
testl %eax, %eax
je 0x883b
leaq 0x6b1c(%rip), %rsi      # 0xf2a7
movq %r15, %rdi
callq 0x30a0
testl %eax, %eax
je 0x88b0
movq %r12, -0x30(%rbp)
movq 0x30(%r14), %rbx
cmpq 0x38(%r14), %rbx
je 0x87e6
leaq -0x48(%rbp), %r13
leaq -0x58(%rbp), %r12
movq (%rbx), %rsi
movq (%rsi), %rax
movq %r12, %rdi
callq *0x18(%rax)
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq -0x38(%rbp), %rdi
callq 0x30b0
movq -0x58(%rbp), %rdi
cmpq %r13, %rdi
je 0x87dc
callq 0x31c0
addq $0x8, %rbx
cmpq 0x38(%r14), %rbx
jne 0x87b1
leaq 0x6ac1(%rip), %rsi      # 0xf2ae
leaq -0x78(%rbp), %rdi
movq %r15, %rdx
callq 0x92b6
movq 0xb9e0(%rip), %rsi      # 0x141e0
movq 0xb9e1(%rip), %rdx      # 0x141e8
leaq -0x78(%rbp), %rdi
callq 0x30b0
leaq -0x48(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x8902
movq %rsi, -0x58(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x48(%rbp)
jmp 0x890b
movq 0x30(%r14), %rax
movq (%rax), %rsi
movq (%rsi), %rax
leaq -0x98(%rbp), %rdi
callq *0x18(%rax)
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
movl $0x5, %edx
movq $-0x1, %rcx
callq 0x3200
leaq 0x6a2f(%rip), %rcx      # 0xf2a1
leaq -0x78(%rbp), %rdi
movl $0x5, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3220
leaq -0x48(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x893f
movq %rsi, -0x58(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x48(%rbp)
jmp 0x8948
movq 0x30(%r14), %rax
movq (%rax), %rsi
movq (%rsi), %rax
leaq -0x98(%rbp), %rdi
callq *0x18(%rax)
leaq 0x6780(%rip), %rsi      # 0xf04b
leaq -0x98(%rbp), %rdi
callq 0x3360
leaq -0x68(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x89b0
movq %rdx, -0x78(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x68(%rbp)
jmp 0x89b7
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rsi
movq 0x8(%rax), %rdx
movq %rdx, -0x50(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x38(%rbp), %rdi
callq 0x30b0
movq -0x58(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8939
callq 0x31c0
leaq -0x68(%rbp), %rax
jmp 0x898f
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rsi
movq 0x8(%rax), %rdx
movq %rdx, -0x50(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x38(%rbp), %rdi
callq 0x30b0
movq -0x58(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8976
callq 0x31c0
leaq -0x68(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8988
callq 0x31c0
leaq -0x88(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x899d
callq 0x31c0
movq -0x38(%rbp), %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x78(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0xb807(%rip), %rsi      # 0x141e0
movq 0xb808(%rip), %rdx      # 0x141e8
callq 0x30b0
leaq -0x48(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x8a09
movq %rsi, -0x58(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x48(%rbp)
jmp 0x8a12
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rsi
movq 0x8(%rax), %rdx
movq %rdx, -0x50(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x38(%rbp), %rdi
callq 0x30b0
movq -0x58(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8a40
callq 0x31c0
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
jne 0x8983
jmp 0x8988
movq %r12, -0x30(%rbp)
movq %rax, %r14
movq -0x58(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8a70
callq 0x31c0
jmp 0x8a70
movq %r12, -0x30(%rbp)
movq %rax, %r14
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
jne 0x8aaa
jmp 0x8ab8
jmp 0x8ab1
jmp 0x8ac1
movq %r12, -0x30(%rbp)
movq %rax, %r14
movq -0x58(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8a9d
callq 0x31c0
jmp 0x8a9d
movq %r12, -0x30(%rbp)
movq %rax, %r14
leaq -0x68(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8ab8
callq 0x31c0
jmp 0x8ab8
movq %r12, -0x30(%rbp)
movq %rax, %r14
leaq -0x88(%rbp), %rax
jmp 0x8ae1
movq %r12, -0x30(%rbp)
jmp 0x8aee
movq %rax, %r14
movq -0x58(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8add
callq 0x31c0
jmp 0x8add
movq %rax, %r14
leaq -0x68(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x8aff
jmp 0x8b04
jmp 0x8aee
movq %rax, %r14
jmp 0x8b04
movq %rax, %r14
movq -0x58(%rbp), %rdi
cmpq %r13, %rdi
je 0x8b04
callq 0x31c0
movq -0x38(%rbp), %rax
movq (%rax), %rdi
cmpq -0x30(%rbp), %rdi
je 0x8b16
callq 0x31c0
movq %r14, %rdi
callq 0x3330