// File: /workspace/github_cpp_makefile_star2_O3/Merulo[P]CompilerJFTT/src/IRs/FirstIR.cpp
// Function: FirstIR::closeForBlock()
void FirstIR::closeForBlock()
{
    //closes current block
    _blocks.push_back(_currentBlock.top());
    _currentBlock.pop();
    Block b1 = generateBlock();
    b1.blockName = b1.blockName + "_For_" +std::to_string(getForCounter()) + "_Content";
    _currentBlock.push(b1);
    _forBlocks.push(b1);       
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, %rbx
addq $0x10, %rdi
leaq 0x28(%rbx), %r14
movq 0x58(%rbx), %rsi
cmpq 0x60(%rbx), %rsi
jne 0x1dbb3
movq 0x70(%rbx), %rax
movl $0x1e0, %esi            # imm = 0x1E0
addq -0x8(%rax), %rsi
addq $-0xa0, %rsi
callq 0x1f720
movq %r14, %rdi
callq 0x201c0
leaq 0x88(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2b47a
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xc7aa
leaq 0x198a6(%rip), %rsi     # 0x374a5
leaq 0x8(%rsp), %rdi
callq 0x4510
callq 0x2bb78
movl %eax, %ebp
movl $0x1, %eax
cmpl $0xa, %ebp
jb 0x1dc5e
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %ebp, %edx
cmpl $0x63, %edx
jbe 0x1dc57
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x1dc5c
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x1dc5e
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x1dc26
addl $-0x3, %eax
jmp 0x1dc5e
addl $-0x2, %eax
jmp 0x1dc5e
decl %eax
movl %eax, %esi
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x48(%rsp), %rdi
xorl %edx, %edx
callq 0x4330
movq 0x48(%rsp), %rdi
movl 0x50(%rsp), %esi
movl %ebp, %edx
callq 0x1853f
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x50(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x1dca7
movq 0x18(%rsp), %rdi
movq 0x48(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x1dcc5
movl $0xf, %edi
cmpq %r13, %rsi
je 0x1dcc0
movq 0x58(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x1dcd1
leaq 0x8(%rsp), %rdi
callq 0x40f0
jmp 0x1dcdf
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4300
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x1dd03
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1dd09
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1977e(%rip), %rsi     # 0x374ab
leaq 0x28(%rsp), %rdi
callq 0x4510
leaq 0x78(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1dd5e
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x1dd65
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x88(%rsp), %rdi
movq %r15, %rsi
callq 0x4380
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0x1dda6
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ddc1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42a0
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x1ddd8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42a0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1ddef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x88(%rsp), %rsi
movq %r14, %rdi
callq 0x1ff14
addq $0x168, %rbx            # imm = 0x168
leaq 0x88(%rsp), %rsi
movq %rbx, %rdi
callq 0x1ff14
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1de37
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1de58
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1de79
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0xa8(%rsp), %rbx
movq %rbx, %rdi
callq 0xbcf0
movq -0x20(%rbx), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x1deaa
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1dedf
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x1dedf
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x1df04
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x1df04
jmp 0x1df01
jmp 0x1defc
movq %rax, %rbx
jmp 0x1df1b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1df1b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x88(%rsp), %rdi
callq 0x1f750
movq %rbx, %rdi
callq 0x44c0