// File: /workspace/github_cpp_makefile_star2_O1/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 0x1de7f
movq 0x70(%rbx), %rax
movl $0x1e0, %esi            # imm = 0x1E0
addq -0x8(%rax), %rsi
addq $-0xa0, %rsi
callq 0x1f9e8
movq %r14, %rdi
callq 0x20488
leaq 0x88(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2b716
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0xca12
leaq 0x1a5da(%rip), %rsi     # 0x384a5
leaq 0x28(%rsp), %rdi
callq 0x4510
callq 0x2be14
movl %eax, %ebp
movl $0x1, %eax
cmpl $0xa, %ebp
jb 0x1df2a
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %ebp, %edx
cmpl $0x63, %edx
jbe 0x1df23
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x1df28
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x1df2a
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x1def2
addl $-0x3, %eax
jmp 0x1df2a
addl $-0x2, %eax
jmp 0x1df2a
decl %eax
movl %eax, %esi
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x4330
movq 0x8(%rsp), %rdi
movl 0x10(%rsp), %esi
movl %ebp, %edx
callq 0x1878f
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x10(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x1df73
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1df8e
movl $0xf, %esi
cmpq %r13, 0x8(%rsp)
je 0x1df89
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1df9f
movq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x40f0
jmp 0x1dfad
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4300
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x1dfd1
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1dfd7
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1a4b0(%rip), %rsi     # 0x384ab
leaq 0x48(%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 0x1e02c
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x1e033
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 0x1e074
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e08f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42a0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1e0a6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1e0bd
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x88(%rsp), %rsi
movq %r14, %rdi
callq 0x201dc
addq $0x168, %rbx            # imm = 0x168
leaq 0x88(%rsp), %rsi
movq %rbx, %rdi
callq 0x201dc
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e105
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e126
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e147
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0xa8(%rsp), %rbx
movq %rbx, %rdi
callq 0xbf5e
movq -0x20(%rbx), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x1e178
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 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e1ad
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x1e1ad
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1e1d2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x1e1d2
jmp 0x1e1cf
jmp 0x1e1ca
movq %rax, %rbx
jmp 0x1e1e9
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1e1e9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x88(%rsp), %rdi
callq 0x1fa18
movq %rbx, %rdi
callq 0x44c0