// 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>>)
string SimpleAllocator::load(std::string name) {
    std::string now, target;
    if ((now = exist(name)).length() != 0) {
        return now;
    }
    else {
        LOC loc;
        if (env.find(name, true, loc)) {
            if (loc.is_ref) {
                target = this->alloc(name, true);
            }
            else {
                target = this->alloc(name);
            }
            out.emit("    mov " + target + ", dword " + this->addr(name));
        }
        else {
            target = this->alloc(name);
        }
        return target;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x50(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x30(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x130(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x120(%rsp), %rdi
callq 0x36590
leaq 0x140(%rsp), %rdi
leaq 0x120(%rsp), %rdx
movq %r14, %rsi
callq 0x86cd2
leaq 0x40(%rsp), %rdi
leaq 0x140(%rsp), %r12
movq %r12, %rsi
callq 0x5310
movq 0x8(%rax), %r13
movq (%r12), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x85045
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x120(%rsp), %rdi
cmpq %rbp, %rdi
je 0x85062
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5260
testq %r13, %r13
leaq 0x30(%rsp), %rbp
je 0x85097
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x40(%rsp), %rcx
leaq 0x50(%rsp), %r13
cmpq %r13, %rcx
je 0x8515c
movq %rcx, (%rbx)
movq 0x50(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x85164
leaq 0x140(%rsp), %rdi
leaq 0x50(%rsp), %r13
callq 0x86d84
movq 0x8(%r14), %rdi
leaq 0x140(%rsp), %rcx
movq %r15, %rsi
movl $0x1, %edx
callq 0x870be
testb %al, %al
je 0x85185
cmpb $0x1, 0x180(%rsp)
jne 0x85215
leaq 0x110(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x100(%rsp), %rdi
callq 0x36590
movq (%r14), %rax
movq %rsp, %rdi
leaq 0x100(%rsp), %rdx
movq %r14, %rsi
movl $0x1, %ecx
callq *(%rax)
leaq 0x20(%rsp), %rdi
movq %rsp, %r12
movq %r12, %rsi
callq 0x5310
movq (%r12), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x8513e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x100(%rsp), %rdi
cmpq %rbp, %rdi
je 0x85298
movq 0x110(%rsp), %rsi
jmp 0x85290
movups (%r13), %xmm0
movups %xmm0, (%rax)
movq 0x48(%rsp), %rax
movq %rax, 0x8(%rbx)
movq %r13, 0x40(%rsp)
movq $0x0, 0x48(%rsp)
movb $0x0, 0x50(%rsp)
jmp 0x85533
leaq 0xd0(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xc0(%rsp), %rdi
callq 0x36590
movq (%r14), %rax
movq %rsp, %rdi
leaq 0xc0(%rsp), %rdx
movq %r14, %rsi
movl $0x1, %ecx
callq *(%rax)
leaq 0x20(%rsp), %rdi
movq %rsp, %r14
movq %r14, %rsi
callq 0x5310
movq (%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x851eb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xc0(%rsp), %rdi
cmpq %r12, %rdi
je 0x85208
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x150(%rsp), %r14
jmp 0x854b3
leaq 0xf0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xe0(%rsp), %rdi
callq 0x36590
movq (%r14), %rax
movq %rsp, %rdi
leaq 0xe0(%rsp), %rdx
movq %r14, %rsi
movl $0x1, %ecx
callq *(%rax)
leaq 0x20(%rsp), %rdi
movq %rsp, %r12
movq %r12, %rsi
callq 0x5310
movq (%r12), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x8527b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xe0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x85298
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x30(%rsp), %rbp
movq 0x10(%r14), %r12
leaq 0x13a90(%rip), %rsi     # 0x98d38
leaq 0x188(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x1621e
leaq 0x13a80(%rip), %rsi     # 0x98d41
leaq 0x188(%rsp), %rdi
callq 0x5420
leaq 0x10(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x852f4
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x852fa
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb0(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0x36590
movq (%r14), %rax
leaq 0x80(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
movq %r14, %rsi
leaq 0x10(%rsp), %r15
callq *0x48(%rax)
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
movq 0x88(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x85377
movq 0x10(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x8539c
leaq 0x90(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x85397
movq 0x90(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x853ae
movq 0x80(%rsp), %rsi
movq %rsp, %rdi
callq 0x50d0
jmp 0x853bf
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x52c0
leaq 0x70(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x853e3
movq %rsi, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x853e9
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x60(%rsp), %rsi
movq %r12, %rdi
callq 0x8707c
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
leaq 0x150(%rsp), %r14
je 0x85436
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x85457
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x8547c
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x5260
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x85492
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x198(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x854b3
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x20(%rsp), %rcx
cmpq %rbp, %rcx
je 0x854d2
movq %rcx, (%rbx)
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x854d9
movups (%rbp), %xmm0
movups %xmm0, (%rax)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rbx)
movq %rbp, 0x20(%rsp)
movq $0x0, 0x28(%rsp)
movb $0x0, 0x30(%rsp)
leaq 0x170(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x85516
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x140(%rsp), %rdi
cmpq %r14, %rdi
je 0x85533
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8554a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x85561
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x85699
movq 0xf0(%rsp), %rsi
jmp 0x8566e
movq %rax, %rbx
movq 0x100(%rsp), %rdi
cmpq %rbp, %rdi
je 0x85699
movq 0x110(%rsp), %rsi
jmp 0x8566e
jmp 0x85696
jmp 0x85696
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x855e5
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x855e5
movq %rax, %rbx
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8560b
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x8560b
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x85635
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x85635
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x85655
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x85655
movq %rax, %rbx
leaq 0x198(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x85699
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x85699
jmp 0x85696
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %r12, %rdi
je 0x85699
movq 0xd0(%rsp), %rsi
jmp 0x8566e
jmp 0x85696
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0x86ef2
jmp 0x856cf
jmp 0x856cc
movq %rax, %rbx
movq 0x120(%rsp), %rdi
cmpq %rbp, %rdi
je 0x856cf
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x856cf
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x856eb
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x85707
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rdi
callq 0x53d0
nop