// File: /workspace/github_cpp_makefile_star2_O1/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 0x36590
leaq 0x68(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x86cd2
movq 0x148(%rsp), %rdi
cmpq %rbp, %rdi
je 0x84938
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x70(%rsp), %rdx
movq 0x8(%r14), %r13
cmpq %r13, %rdx
jne 0x84964
testq %rdx, %rdx
je 0x84db4
movq (%r14), %rsi
movq 0x68(%rsp), %rdi
callq 0x5280
testl %eax, %eax
je 0x84db4
leaq 0x138(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r14), %rsi
addq %rsi, %r13
leaq 0x128(%rsp), %rdi
movq %r13, %rdx
callq 0x36590
leaq 0x118(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0x36590
movq (%r15), %rax
leaq 0x128(%rsp), %rsi
leaq 0x108(%rsp), %rdx
movq %r15, %rdi
callq *0x8(%rax)
movq 0x108(%rsp), %rdi
cmpq %r13, %rdi
je 0x849e1
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0x849fe
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5260
cmpq $0x0, 0x70(%rsp)
je 0x84a56
movq 0x10(%r15), %r12
leaq 0x14327(%rip), %rsi     # 0x98d38
leaq 0x48(%rsp), %rdi
movq %r14, %rdx
callq 0x1621e
leaq 0x14378(%rip), %rsi     # 0x98d9d
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 0x84ac6
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x84ace
movq 0x8(%r15), %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x86f28
testb %al, %al
je 0x84db4
movq 0x10(%r15), %r13
leaq 0x142be(%rip), %rsi     # 0x98d38
leaq 0x48(%rsp), %rdi
movq %r14, %rdx
callq 0x1621e
leaq 0x142b3(%rip), %rsi     # 0x98d41
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 0x84c01
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x84c08
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 0xd8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x84b29
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x84b30
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r12, %rdi
callq 0x8707c
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x84b74
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x84b8b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84ba6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0x36590
movq (%r15), %rax
leaq 0xe8(%rsp), %rsi
movq %r15, %rdi
movl $0x1, %edx
callq *0x10(%rax)
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x84db4
movq 0xf8(%rsp), %rsi
jmp 0x84dac
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 0x36590
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, %esi
cmpq %rbp, %rcx
je 0x84c83
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x84ca8
leaq 0x98(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x84ca3
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x84cbc
movq 0x88(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x50d0
jmp 0x84ccd
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 0x84cf1
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x84cf7
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 0x8707c
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84d3c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84d5d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x84d82
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x84d99
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84db4
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 0x84dd3
movq %rdx, (%rbx)
movq (%rax), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x84dd9
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 0x84e0c
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 0x84e44
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x84e44
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84e6a
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x84e6a
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x84e94
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x84e94
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x84ef7
jmp 0x84f09
jmp 0x84f06
jmp 0x84f71
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x84f74
movq 0xf8(%rsp), %rsi
jmp 0x84f5a
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x84eed
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x84eed
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x84f09
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x84f09
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84f74
movq 0x58(%rsp), %rsi
jmp 0x84f5a
jmp 0x84f71
movq %rax, %rbx
movq 0x108(%rsp), %rdi
cmpq %r13, %rdi
je 0x84f45
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x84f45
movq %rax, %rbx
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0x84f74
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x84f74
movq %rax, %rbx
movq 0x148(%rsp), %rdi
jmp 0x84f7d
movq %rax, %rbx
leaq 0x78(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x84f8e
movq (%rbp), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rdi
callq 0x53d0