// File: /workspace/github_cpp_makefile_star2_O1/devaigergely81[P]flex-bison-example/code_generator_implementation.cc
// Function: binop_expression::get_code[abi:cxx11]() const
std::string binop_expression::get_code() const {
    std::stringstream ss;
    ss << left->get_code();
    ss << "push eax" << std::endl;
    ss << right->get_code();
    ss << "mov ecx,eax" << std::endl;
    ss << "pop eax" << std::endl;
    ss << (op == "=" ? eq_code(left->get_type()) : operator_code(op));
    return ss.str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rsi, %r15
movq %rdi, %rbx
leaq -0x1f8(%rbp), %rdi
callq 0x3190
movq 0x30(%r15), %rsi
movq (%rsi), %rax
leaq -0x50(%rbp), %rdi
callq *0x18(%rax)
leaq -0x1e8(%rbp), %r14
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %r14, %rdi
callq 0x3270
leaq -0x40(%rbp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x9dd8
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3240
leaq 0x33ec(%rip), %rsi      # 0xd1cb
movl $0x8, %edx
movq %r14, %rdi
callq 0x3270
movq -0x1e8(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3210
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
movq 0x38(%r15), %rsi
movq (%rsi), %rax
leaq -0x50(%rbp), %rdi
callq *0x18(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %r14, %rdi
callq 0x3270
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x9e4a
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3240
leaq 0x3383(%rip), %rsi      # 0xd1d4
movl $0xb, %edx
movq %r14, %rdi
callq 0x3270
movq -0x1e8(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3210
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0x3350(%rip), %rsi      # 0xd1e0
movl $0x7, %edx
movq %r14, %rdi
callq 0x3270
movq -0x1e8(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3210
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0x10(%r15), %rdi
leaq 0x2f3d(%rip), %rsi      # 0xce10
callq 0x30b0
movl %eax, %r12d
testl %eax, %eax
setne -0x29(%rbp)
je 0x9f0e
leaq -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
movq 0x10(%r15), %rsi
movq 0x18(%r15), %rdx
addq %rsi, %rdx
leaq -0x70(%rbp), %rdi
callq 0x52f4
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x9530
jmp 0x9f22
movq 0x30(%r15), %rdi
movq (%rdi), %rax
callq *(%rax)
leaq -0x50(%rbp), %rdi
movl %eax, %esi
callq 0x9bd2
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %r14, %rdi
callq 0x3270
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x9f47
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3240
testl %r12d, %r12d
je 0x9f65
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f65
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3240
leaq -0x1e0(%rbp), %rsi
movq %rbx, %rdi
callq 0x3320
movq 0x802d(%rip), %rsi      # 0x11fa8
leaq -0x1f8(%rbp), %rdi
callq 0x31b0
leaq -0x178(%rbp), %rdi
callq 0x30d0
movq %rbx, %rax
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movb $0x1, -0x29(%rbp)
jmp 0x9fc9
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x9fc9
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3240
cmpb $0x0, -0x29(%rbp)
je 0xa017
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa017
movq -0x60(%rbp), %rsi
jmp 0xa006
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
jne 0xa002
jmp 0xa017
jmp 0xa014
movq %rax, %r14
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa017
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3240
jmp 0xa017
jmp 0xa014
jmp 0xa014
movq %rax, %r14
movq 0x7f8a(%rip), %rsi      # 0x11fa8
leaq -0x1f8(%rbp), %rdi
callq 0x31b0
leaq -0x178(%rbp), %rdi
callq 0x30d0
movq %r14, %rdi
callq 0x3380