// File: /workspace/github_cpp_makefile_star2_O1/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 0x10aaf(%rip), %rax     # 0x27650
movq (%rax), %rax
movq %rax, 0x11bad(%rip)     # 0x28758
leaq 0x11a0e(%rip), %rbx     # 0x285c0
leaq 0x61e0(%rip), %rsi      # 0x1cd99
movl $0x5, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16f37
addl $0x8, 0x11bdb(%rip)     # 0x287b0
movq 0x11b7c(%rip), %r12     # 0x28758
cmpl $0x7, (%r12)
jne 0x16cfd
leaq 0x622b(%rip), %r13      # 0x1ce19
leaq 0x6226(%rip), %rbx      # 0x1ce1b
leaq 0x8(%r12), %r14
movq %r14, %rdi
leaq 0x5a3b(%rip), %rsi      # 0x1c63f
callq 0x30c0
testl %eax, %eax
je 0x16c24
movq %r14, %rdi
leaq 0x5719(%rip), %rsi      # 0x1c330
callq 0x30c0
testl %eax, %eax
jne 0x16eda
leaq 0x48(%r12), %rdi
leaq 0x61ea(%rip), %rsi      # 0x1ce1a
callq 0x30c0
movl %eax, %r15d
movq 0x28(%r12), %rsi
movq 0x30(%r12), %rdx
leaq 0x11977(%rip), %rdi     # 0x285c0
callq 0x3340
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x556e(%rip), %rsi      # 0x1c1ce
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 0x16cc5
movl $0x2, %edx
movq %r14, %rdi
leaq 0x6178(%rip), %rsi      # 0x1ce21
callq 0x3340
movq 0x48(%r12), %rsi
movq 0x50(%r12), %rdx
movq %r14, %rdi
callq 0x3340
movq %rax, %r14
jmp 0x16cd9
movl $0x1, %edx
movq %r14, %rdi
leaq 0x5f3b(%rip), %rsi      # 0x1cc0f
callq 0x3340
movq %r14, %rdi
callq 0x16f37
movq 0x11a70(%rip), %rax     # 0x28758
leaq 0x68(%rax), %r12
movq %r12, 0x11a65(%rip)     # 0x28758
cmpl $0x7, 0x68(%rax)
je 0x16bf5
leaq 0x135a4(%rip), %r15     # 0x2a2a8
movq 0x18(%r15), %rbx
addq $0x8, %r15
cmpq %r15, %rbx
je 0x16d99
leaq 0x6108(%rip), %r12      # 0x1ce24
leaq 0x6109(%rip), %r13      # 0x1ce2c
movq 0x40(%rbx), %rsi
movq 0x48(%rbx), %rdx
leaq 0x1188e(%rip), %rdi     # 0x285c0
callq 0x3340
movq %rax, %r14
movl $0x2, %edx
movq %rax, %rdi
leaq 0x54bf(%rip), %rsi      # 0x1c208
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 0x16f37
movq %rbx, %rdi
callq 0x31e0
movq %rax, %rbx
cmpq %r15, %rax
jne 0x16d23
movl 0x11a11(%rip), %eax     # 0x287b0
leal -0x8(%rax), %ecx
movl %ecx, 0x11a08(%rip)     # 0x287b0
cmpl $0x7, %eax
jle 0x16ef9
leaq 0x11808(%rip), %rbx     # 0x285c0
leaq 0x5fe0(%rip), %rsi      # 0x1cd9f
movl $0x5, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16f37
addl $0x8, 0x119d5(%rip)     # 0x287b0
leaq 0x604c(%rip), %rsi      # 0x1ce2e
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3340
leaq 0x6023(%rip), %r14      # 0x1ce19
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3340
leaq 0x5f87(%rip), %rsi      # 0x1cd94
movl $0x4, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16f37
leaq 0x6009(%rip), %rsi      # 0x1ce32
movl $0x2, %edx
movq %rbx, %rdi
callq 0x3340
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3340
leaq 0x5fe8(%rip), %rsi      # 0x1ce35
movl $0x5, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3470
movq %rax, %rdi
callq 0x16f37
leaq 0x5fc5(%rip), %rsi      # 0x1ce3b
movl $0x7, %edx
movq %rbx, %rdi
callq 0x3340
movq %rbx, %rdi
callq 0x16f37
movl 0x1191f(%rip), %eax     # 0x287b0
leal -0x8(%rax), %ecx
movl %ecx, 0x11916(%rip)     # 0x287b0
cmpl $0x7, %eax
jle 0x16ef9
movq 0x118b2(%rip), %rax     # 0x28758
cmpl $0x5, (%rax)
leaq 0x107a0(%rip), %rbx     # 0x27650
jne 0x16f18
movq 0x1189f(%rip), %rax     # 0x28758
cmpq 0x8(%rbx), %rax
je 0x16ecb
cmpl $0x5, (%rax)
jne 0x16ecb
callq 0x17449
jmp 0x16eb2
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5efc(%rip), %rdi      # 0x1cddd
leaq 0x5ecd(%rip), %rsi      # 0x1cdb5
leaq 0x5f0e(%rip), %rcx      # 0x1cdfd
movl $0x89, %edx
callq 0x31b0
leaq 0x6203(%rip), %rdi      # 0x1d103
leaq 0x5eae(%rip), %rsi      # 0x1cdb5
leaq 0x6361(%rip), %rcx      # 0x1d26f
movl $0x26b, %edx            # imm = 0x26B
callq 0x31b0
leaq 0x5e86(%rip), %rdi      # 0x1cda5
leaq 0x5e8f(%rip), %rsi      # 0x1cdb5
leaq 0x5e95(%rip), %rcx      # 0x1cdc2
movl $0xb7, %edx
callq 0x31b0