// File: /workspace/github_cpp_makefile_star2_O3/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 $0x1c8, %rsp            # imm = 0x1C8
movq %rsi, %r15
movq %rdi, %rbx
leaq -0x1f0(%rbp), %rdi
callq 0x3190
movq 0x30(%r15), %rsi
movq (%rsi), %rax
leaq -0x48(%rbp), %rdi
callq *0x18(%rax)
leaq -0x1e0(%rbp), %r14
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r14, %rdi
callq 0x3270
leaq -0x38(%rbp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x9c68
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3240
leaq 0x355c(%rip), %rsi      # 0xd1cb
movl $0x8, %edx
movq %r14, %rdi
callq 0x3270
movq -0x1e0(%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 -0x48(%rbp), %rdi
callq *0x18(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r14, %rdi
callq 0x3270
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x9cda
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3240
leaq 0x34f3(%rip), %rsi      # 0xd1d4
movl $0xb, %edx
movq %r14, %rdi
callq 0x3270
movq -0x1e0(%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 0x34c0(%rip), %rsi      # 0xd1e0
movl $0x7, %edx
movq %r14, %rdi
callq 0x3270
movq -0x1e0(%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 0x30ad(%rip), %rsi      # 0xce10
callq 0x30b0
movl %eax, %r12d
testl %eax, %eax
je 0x9d9a
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
movq 0x10(%r15), %rsi
movq 0x18(%r15), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x527c
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x93c0
jmp 0x9dae
movq 0x30(%r15), %rdi
movq (%rdi), %rax
callq *(%rax)
leaq -0x48(%rbp), %rdi
movl %eax, %esi
callq 0x9a62
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r14, %rdi
callq 0x3270
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x9dd3
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3240
testl %r12d, %r12d
je 0x9df1
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9df1
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3240
leaq -0x1d8(%rbp), %rsi
movq %rbx, %rdi
callq 0x3320
movq 0x81a1(%rip), %rsi      # 0x11fa8
leaq -0x1f0(%rbp), %rdi
callq 0x31b0
leaq -0x170(%rbp), %rdi
callq 0x30d0
movq %rbx, %rax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x9e56
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x9e51
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3240
testl %r12d, %r12d
je 0x9e9e
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e9e
movq -0x58(%rbp), %rsi
jmp 0x9e8d
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
jne 0x9e89
jmp 0x9e9e
jmp 0x9e9b
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e9e
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3240
jmp 0x9e9e
jmp 0x9e9b
jmp 0x9e9b
movq %rax, %rbx
movq 0x8103(%rip), %rsi      # 0x11fa8
leaq -0x1f0(%rbp), %rdi
callq 0x31b0
leaq -0x170(%rbp), %rdi
callq 0x30d0
movq %rbx, %rdi
callq 0x3380
nop