// File: /workspace/github_cpp_makefile_star2_O1/sighingnow[P]compile-pascal/pl0_allocator.cpp
// Function: SimpleAllocator::store(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void SimpleAllocator::store(std::string name) {
    LOC loc;
    if (this->exist(name).length() == 0) { return; }
    // alloc space on runtime stack.
    if (this->env.find(name, true, loc) == false) {
        this->dist = this->dist - 4;
        env.push(LOC(name, dist));
        out.emit(string("    sub esp, 4\t\t;; store temporary variable ") + name + " on runtime stack.");
    }
    // store value from register to memory.
    for (auto && p: this->record) {
        if (p.second == name) {
            if (loc.name.length() == 0) {
                // temporary implicit variable.
                out.emit(string("    mov dword [esp], ") + p.first);
            }
            else {
                // non-temporary explicit variable.
                out.emit(string("    mov dword ") + this->addr(loc.name) + ", " + p.first);
            }
            this->release(p.first, true); break;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1a0(%rsp), %rdi
callq 0x86d84
leaq 0x190(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x180(%rsp), %rdi
callq 0x36590
movq %rbx, (%rsp)
leaq 0x30(%rsp), %rdi
leaq 0x180(%rsp), %rdx
movq %r14, %rsi
callq 0x86cd2
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
movq -0x8(%rax), %r12
cmpq %rax, %rdi
je 0x8591f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
movq %r14, 0x28(%rsp)
movq 0x180(%rsp), %rdi
cmpq %r15, %rdi
je 0x85941
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x5260
testq %r12, %r12
movq (%rsp), %r12
je 0x8602c
movq 0x28(%rsp), %rbx
movq 0x8(%rbx), %rdi
leaq 0x1a0(%rsp), %rcx
movq %r12, %rsi
movl $0x1, %edx
callq 0x870be
testb %al, %al
jne 0x85b65
movq 0x18(%rbx), %rax
addl $-0x4, (%rax)
movq 0x8(%rbx), %r15
movq %r12, %rax
leaq 0x170(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x160(%rsp), %rdi
callq 0x36590
movq 0x18(%rbx), %rax
movl (%rax), %edx
leaq 0x30(%rsp), %rdi
leaq 0x160(%rsp), %rsi
xorl %ecx, %ecx
callq 0x87250
leaq 0x30(%rsp), %rsi
movq %r15, %rdi
callq 0x881b2
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x859e8
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x85a04
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x160(%rsp), %rdi
cmpq %r12, %rdi
je 0x85a21
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x10(%rbx), %r15
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x13314(%rip), %rsi     # 0x98d4a
leaq 0x13339(%rip), %rdx     # 0x98d76
leaq 0x8(%rsp), %rdi
callq 0x2670a
movq (%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
callq 0x50d0
leaq 0x40(%rsp), %rsi
movq %rsi, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x85a84
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x85a8a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x132ca(%rip), %rsi     # 0x98d77
callq 0x5420
leaq 0x150(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x85ae2
movq %rdx, 0x140(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x150(%rsp)
jmp 0x85aea
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x140(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
callq 0x8707c
movq 0x140(%rsp), %rdi
cmpq %r13, %rdi
je 0x85b2e
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x85b4a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x85b61
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq (%rsp), %r12
movq 0x108(%rbx), %r15
addq $0xf8, %rbx
cmpq %rbx, %r15
je 0x8602c
leaq 0x18(%rsp), %rbp
leaq 0x30(%rsp), %r14
leaq 0x100(%rsp), %r13
movq 0x48(%r15), %rdx
cmpq 0x8(%r12), %rdx
jne 0x85bb7
testq %rdx, %rdx
je 0x85bbb
movq (%r12), %rsi
movq 0x40(%r15), %rdi
callq 0x5280
leaq 0x30(%rsp), %r14
testl %eax, %eax
sete %al
jmp 0x85bbd
xorl %eax, %eax
jmp 0x85bbd
movb $0x1, %al
testb %al, %al
je 0x86013
movl %eax, 0x7c(%rsp)
cmpq $0x0, 0x1a8(%rsp)
je 0x85cc8
movq 0x28(%rsp), %r14
movq 0x10(%r14), %r12
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x131a0(%rip), %rsi     # 0x98da0
leaq 0x131a7(%rip), %rdx     # 0x98dae
callq 0x2670a
leaq 0x110(%rsp), %rax
movq %rax, 0x100(%rsp)
movq 0x1a0(%rsp), %rsi
movq 0x1a8(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x36590
movq (%r14), %rax
leaq 0xa0(%rsp), %rdi
movq %r14, %rsi
movq %r13, %rdx
callq *0x48(%rax)
movq 0x80(%rsp), %rcx
movl $0xf, %esi
leaq 0x90(%rsp), %rax
cmpq %rax, %rcx
je 0x85c6d
movq 0x90(%rsp), %rsi
movq 0x88(%rsp), %r8
movq 0xa8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x85cae
movl $0xf, %esi
leaq 0xb0(%rsp), %rdi
cmpq %rdi, 0xa0(%rsp)
je 0x85ca5
movq 0xb0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x85d41
movq 0xa0(%rsp), %rsi
leaq 0x80(%rsp), %rdi
callq 0x50d0
jmp 0x85d52
movq 0x28(%rsp), %rax
movq 0x10(%rax), %r12
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %r14, %rdi
leaq 0x130a5(%rip), %rsi     # 0x98d8a
leaq 0x130b3(%rip), %rdx     # 0x98d9f
callq 0x2670a
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
movq %r14, %rdi
callq 0x50d0
leaq 0xf0(%rsp), %rsi
movq %rsi, 0xe0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x28(%rsp), %r14
je 0x85f2d
movq %rdx, 0xe0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf0(%rsp)
jmp 0x85f33
leaq 0xa0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x52c0
movq %rbp, 0x8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x85d72
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x85d79
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x8(%rsp), %rdi
leaq 0x12ffb(%rip), %rsi     # 0x98d9d
callq 0x5420
leaq 0x40(%rsp), %rsi
movq %rsi, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x30(%rsp), %rdi
je 0x85dd4
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x85dda
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
callq 0x50d0
leaq 0xd0(%rsp), %rsi
movq %rsi, 0xc0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x85e33
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0x85e39
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xc8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r12, %rdi
leaq 0xc0(%rsp), %rsi
callq 0x8707c
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
movq (%rsp), %r12
je 0x85e8d
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x85ea9
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x85ec0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x85ee5
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rax
cmpq %rax, %rdi
je 0x85f0a
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x85fa3
movq 0x90(%rsp), %rsi
jmp 0x85f9b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xe8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r12, %rdi
leaq 0xe0(%rsp), %rsi
callq 0x8707c
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
movq (%rsp), %r12
je 0x85f87
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x85fa3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x130(%rsp), %rax
movq %rax, 0x120(%rsp)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
leaq 0x120(%rsp), %r13
movq %r13, %rdi
callq 0x36590
movq (%r14), %rax
movq %r14, %rdi
movq %r13, %rsi
movl $0x1, %edx
callq *0x10(%rax)
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
leaq 0x100(%rsp), %r13
je 0x8600c
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5260
cmpb $0x0, 0x7c(%rsp)
jne 0x8602c
movq %r15, %rdi
callq 0x51a0
leaq 0x30(%rsp), %r14
movq %rax, %r15
cmpq %rbx, %rax
jne 0x85b8e
leaq 0x1d0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8604d
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x1b0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8606e
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x5260
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x140(%rsp), %rdi
cmpq %r13, %rdi
je 0x860a5
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x860a5
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x860c6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x860c6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x862a7
movq 0x18(%rsp), %rsi
jmp 0x8629a
jmp 0x862a4
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x86ef2
jmp 0x860f5
movq %rax, %rbx
movq 0x160(%rsp), %rdi
cmpq %r12, %rdi
je 0x862a7
movq 0x170(%rsp), %rsi
jmp 0x8629a
jmp 0x862a4
jmp 0x862a4
movq %rax, %rbx
movq 0x180(%rsp), %rdi
cmpq %r15, %rdi
je 0x862a7
movq 0x190(%rsp), %rsi
jmp 0x8629a
jmp 0x862a4
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x86170
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x86170
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x862a7
movq 0x40(%rsp), %rsi
jmp 0x8629a
jmp 0x862a4
movq %rax, %rbx
jmp 0x861de
movq %rax, %rbx
jmp 0x861fa
movq %rax, %rbx
jmp 0x86211
movq %rax, %rbx
jmp 0x86236
movq %rax, %rbx
jmp 0x8625b
jmp 0x862a4
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x861de
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x861fa
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x86211
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x86236
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rax
cmpq %rax, %rdi
je 0x8625b
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x862a7
movq 0x90(%rsp), %rsi
jmp 0x8629a
movq %rax, %rbx
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x862a7
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x862a7
movq %rax, %rbx
leaq 0x1a0(%rsp), %rdi
callq 0x86ef2
movq %rbx, %rdi
callq 0x53d0