// File: /workspace/github_cpp_makefile_star2_O3/fondoger[P]C0-Compiler/src/mips.cpp
// Function: convertToMIPS()
void convertToMIPS()
{
    m = mid_codes.begin();

    MIPS(T << ".data");
    indent();
    gen_global_variables();
    gen_strings();
    unindent();
    MIPS(T << ".text");
    // jump to main function
    indent();
    gen_start_code();
    unindent();
    // conver functions
    assert((*m).op == FUNC);
    while (m != mid_codes.end() && (*m).op == FUNC)
        gen_FUNC();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x10b3f(%rip), %rax     # 0x27650
movq (%rax), %rax
movq %rax, 0x11c3d(%rip)     # 0x28758
leaq 0x11a9e(%rip), %rbx     # 0x285c0
leaq 0x6230(%rip), %rsi      # 0x1cd59
movl $0x5, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16ea7
addl $0x8, 0x11c6b(%rip)     # 0x287b0
movq 0x11c0c(%rip), %r12     # 0x28758
cmpl $0x7, (%r12)
jne 0x16c6d
leaq 0x627b(%rip), %r13      # 0x1cdd9
leaq 0x6276(%rip), %rbx      # 0x1cddb
leaq 0x8(%r12), %r14
movq %r14, %rdi
leaq 0x5a86(%rip), %rsi      # 0x1c5fa
callq 0x30c0
testl %eax, %eax
je 0x16b94
movq %r14, %rdi
leaq 0x57a9(%rip), %rsi      # 0x1c330
callq 0x30c0
testl %eax, %eax
jne 0x16e4a
leaq 0x48(%r12), %rdi
leaq 0x623a(%rip), %rsi      # 0x1cdda
callq 0x30c0
movl %eax, %r15d
movq 0x28(%r12), %rsi
movq 0x30(%r12), %rdx
leaq 0x11a07(%rip), %rdi     # 0x285c0
callq 0x3340
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5605(%rip), %rsi      # 0x1c1d5
callq 0x3340
movl $0x1, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x3340
movl $0x5, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3340
movl $0x1, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x3340
testl %r15d, %r15d
je 0x16c35
movl $0x2, %edx
movq %r14, %rdi
leaq 0x61c8(%rip), %rsi      # 0x1cde1
callq 0x3340
movq 0x48(%r12), %rsi
movq 0x50(%r12), %rdx
movq %r14, %rdi
callq 0x3340
movq %rax, %r14
jmp 0x16c49
movl $0x1, %edx
movq %r14, %rdi
leaq 0x5f8b(%rip), %rsi      # 0x1cbcf
callq 0x3340
movq %r14, %rdi
callq 0x16ea7
movq 0x11b00(%rip), %rax     # 0x28758
leaq 0x68(%rax), %r12
movq %r12, 0x11af5(%rip)     # 0x28758
cmpl $0x7, 0x68(%rax)
je 0x16b65
leaq 0x13634(%rip), %r15     # 0x2a2a8
movq 0x18(%r15), %rbx
addq $0x8, %r15
cmpq %r15, %rbx
je 0x16d09
leaq 0x6158(%rip), %r12      # 0x1cde4
leaq 0x6159(%rip), %r13      # 0x1cdec
movq 0x40(%rbx), %rsi
movq 0x48(%rbx), %rdx
leaq 0x1191e(%rip), %rdi     # 0x285c0
callq 0x3340
movq %rax, %r14
movl $0x2, %edx
movq %rax, %rdi
leaq 0x5556(%rip), %rsi      # 0x1c20f
callq 0x3340
movl $0x9, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x3340
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq %r14, %rdi
callq 0x3340
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x3340
movq %r14, %rdi
callq 0x16ea7
movq %rbx, %rdi
callq 0x31e0
movq %rax, %rbx
cmpq %r15, %rax
jne 0x16c93
movl 0x11aa1(%rip), %eax     # 0x287b0
leal -0x8(%rax), %ecx
movl %ecx, 0x11a98(%rip)     # 0x287b0
cmpl $0x7, %eax
jle 0x16e69
leaq 0x11898(%rip), %rbx     # 0x285c0
leaq 0x6030(%rip), %rsi      # 0x1cd5f
movl $0x5, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16ea7
addl $0x8, 0x11a65(%rip)     # 0x287b0
leaq 0x609c(%rip), %rsi      # 0x1cdee
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3340
leaq 0x6073(%rip), %r14      # 0x1cdd9
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3340
leaq 0x5fd7(%rip), %rsi      # 0x1cd54
movl $0x4, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16ea7
leaq 0x6059(%rip), %rsi      # 0x1cdf2
movl $0x2, %edx
movq %rbx, %rdi
callq 0x3340
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3340
leaq 0x6038(%rip), %rsi      # 0x1cdf5
movl $0x5, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3470
movq %rax, %rdi
callq 0x16ea7
leaq 0x6015(%rip), %rsi      # 0x1cdfb
movl $0x7, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16ea7
movl 0x119af(%rip), %eax     # 0x287b0
leal -0x8(%rax), %ecx
movl %ecx, 0x119a6(%rip)     # 0x287b0
cmpl $0x7, %eax
jle 0x16e69
movq 0x11942(%rip), %rax     # 0x28758
cmpl $0x5, (%rax)
leaq 0x10830(%rip), %rbx     # 0x27650
jne 0x16e88
cmpq 0x8(%rbx), %rax
je 0x16e3b
cmpl $0x5, (%rax)
jne 0x16e3b
callq 0x173a8
movq 0x1191f(%rip), %rax     # 0x28758
jmp 0x16e22
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5f4c(%rip), %rdi      # 0x1cd9d
leaq 0x5f1d(%rip), %rsi      # 0x1cd75
leaq 0x5f5e(%rip), %rcx      # 0x1cdbd
movl $0x89, %edx
callq 0x31b0
leaq 0x622b(%rip), %rdi      # 0x1d09b
leaq 0x5efe(%rip), %rsi      # 0x1cd75
leaq 0x6389(%rip), %rcx      # 0x1d207
movl $0x26b, %edx            # imm = 0x26B
callq 0x31b0
leaq 0x5ed6(%rip), %rdi      # 0x1cd65
leaq 0x5edf(%rip), %rsi      # 0x1cd75
leaq 0x5ee5(%rip), %rcx      # 0x1cd82
movl $0xb7, %edx
callq 0x31b0