// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_allocator.cpp
// Function: SimpleAllocator::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string SimpleAllocator::load(std::string name, std::string target) {
    std::string now = this->exist(name);
    if (now != target) {
        this->remap(target, name);
        if (now.length() == 0) {
            if (env.find(name, true)) {
                out.emit("    mov " + target + ", dword " + this->addr(name));
            }
            else {
                // DO NOTHING, JUST MAINTAIN MAPPING.
            }
        }
        else {
            out.emit("    mov " + target + ", " + now);
            this->release(now, true);
        }
    }
    return target;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x158(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %r13
movq %r13, %rdi
callq 0x351dc
leaq 0x68(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x812a8
movq 0x148(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7f01e
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x70(%rsp), %rdx
movq 0x8(%r14), %r13
cmpq %r13, %rdx
jne 0x7f04e
testq %rdx, %rdx
je 0x7f4a8
movq (%r14), %rbp
movq 0x68(%rsp), %rdi
movq %rbp, %rsi
callq 0x5280
testl %eax, %eax
jne 0x7f051
jmp 0x7f4a8
movq (%r14), %rbp
leaq 0xd8(%rsp), %rax
movq %rax, -0x10(%rax)
addq %rbp, %r13
leaq 0xc8(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x351dc
leaq 0x138(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x128(%rsp), %rdi
callq 0x351dc
movq (%r15), %rax
leaq 0xc8(%rsp), %rsi
leaq 0x128(%rsp), %rdx
movq %r15, %rdi
callq *0x8(%rax)
movq 0x128(%rsp), %rdi
cmpq %r13, %rdi
je 0x7f0ce
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x7f0f3
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x5260
cmpq $0x0, 0x70(%rsp)
je 0x7f14b
movq 0x10(%r15), %r12
leaq 0x13c32(%rip), %rsi     # 0x92d38
leaq 0x48(%rsp), %rdi
movq %r14, %rdx
callq 0x16234
leaq 0x13c83(%rip), %rsi     # 0x92d9d
leaq 0x48(%rsp), %rdi
callq 0x5420
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7f1bb
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x7f1c3
movq 0x8(%r15), %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x814ea
testb %al, %al
je 0x7f4a8
movq 0x10(%r15), %r13
leaq 0x13bc9(%rip), %rsi     # 0x92d38
leaq 0x48(%rsp), %rdi
movq %r14, %rdx
callq 0x16234
leaq 0x13bbe(%rip), %rsi     # 0x92d41
leaq 0x48(%rsp), %rdi
callq 0x5420
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7f2f6
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x7f2fd
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0x50d0
leaq 0xf8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7f21e
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x7f225
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xe8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r12, %rdi
callq 0x81650
movq 0xe8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7f269
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7f280
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f29b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x118(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0x351dc
movq (%r15), %rax
leaq 0x108(%rsp), %rsi
movq %r15, %rdi
movl $0x1, %edx
callq *0x10(%rax)
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x7f4a8
movq 0x118(%rsp), %rsi
jmp 0x7f4a0
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %rdi
callq 0x351dc
movq (%r15), %rax
leaq 0x88(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
movq %r15, %rsi
callq *0x48(%rax)
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x90(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %rbp, %rcx
je 0x7f378
movq 0x18(%rsp), %rdi
movq 0x88(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x7f3a4
leaq 0x98(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x7f39f
movq 0x98(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x7f3b0
leaq 0x8(%rsp), %rdi
callq 0x50d0
jmp 0x7f3c1
leaq 0x88(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x52c0
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x7f3e5
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x7f3eb
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 0x28(%rsp), %rsi
movq %r13, %rdi
callq 0x81650
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f430
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f451
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x7f476
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7f48d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f4a8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%r14), %rdx
leaq 0x10(%r14), %rax
cmpq %rax, %rdx
je 0x7f4c7
movq %rdx, (%rbx)
movq (%rax), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x7f4cd
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
movb $0x0, 0x10(%r14)
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f500
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rax
addq $0x168, %rsp            # imm = 0x168
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 0x7f538
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x7f538
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f55e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x7f55e
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x7f588
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x7f588
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x7f5eb
jmp 0x7f5fd
jmp 0x7f5fa
jmp 0x7f66d
movq %rax, %rbx
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x7f670
movq 0x118(%rsp), %rsi
jmp 0x7f656
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7f5e1
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x7f5e1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7f5fd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x7f5fd
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f670
movq 0x58(%rsp), %rsi
jmp 0x7f656
jmp 0x7f66d
movq %rax, %rbx
movq 0x128(%rsp), %rdi
cmpq %r13, %rdi
je 0x7f639
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x7f639
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x7f670
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x7f670
movq %rax, %rbx
movq 0x148(%rsp), %rdi
jmp 0x7f679
movq %rax, %rbx
leaq 0x78(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x7f68a
movq (%rbp), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rdi
callq 0x53d0