// File: /workspace/github_cpp_makefile_star2_O3/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 $0x1d8, %rsp            # imm = 0x1D8
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x190(%rsp), %rdi
callq 0x81346
leaq 0x180(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x170(%rsp), %rdi
callq 0x351dc
leaq 0x28(%rsp), %rdi
leaq 0x170(%rsp), %rdx
movq %rbx, %rsi
callq 0x812a8
leaq 0x38(%rsp), %r13
movq -0x10(%r13), %rdi
movq -0x8(%r13), %r12
cmpq %r13, %rdi
je 0x80015
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x170(%rsp), %rdi
cmpq %r14, %rdi
je 0x80032
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x5260
testq %r12, %r12
je 0x8064a
movq 0x8(%rbx), %rdi
leaq 0x190(%rsp), %rcx
movq %r15, %rsi
movl $0x1, %edx
callq 0x81692
testb %al, %al
jne 0x80234
movq 0x18(%rbx), %rax
addl $-0x4, (%rax)
movq 0x8(%rbx), %r14
leaq 0x160(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x150(%rsp), %rdi
callq 0x351dc
movq 0x18(%rbx), %rax
movl (%rax), %edx
leaq 0x28(%rsp), %rdi
leaq 0x150(%rsp), %rsi
xorl %ecx, %ecx
callq 0x8182a
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x8278a
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x800cd
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x800e4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
je 0x80101
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x10(%rbx), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x12c34(%rip), %rsi     # 0x92d4a
leaq 0x12c59(%rip), %rdx     # 0x92d76
leaq 0x8(%rsp), %rdi
callq 0x253d0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x8(%rsp), %rdi
callq 0x50d0
movq %r13, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8015b
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x80163
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x12bf1(%rip), %rsi     # 0x92d77
callq 0x5420
leaq 0x100(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x801bb
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x801c2
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xf0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r14, %rdi
callq 0x81650
movq 0xf0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x80206
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x8021d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x80234
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x108(%rbx), %r14
leaq 0xf8(%rbx), %rbp
cmpq %rbp, %r14
je 0x8064a
movq 0x8(%r15), %r12
cmpq %r12, 0x48(%r14)
jne 0x8026d
testq %r12, %r12
je 0x80282
movq (%r15), %rsi
movq 0x40(%r14), %rdi
movq %r12, %rdx
callq 0x5280
testl %eax, %eax
je 0x80282
movq %r14, %rdi
callq 0x51a0
movq %rax, %r14
cmpq %rbp, %rax
jne 0x8024f
jmp 0x8064a
cmpq $0x0, 0x198(%rsp)
movq 0x10(%rbx), %r15
je 0x80367
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x12af8(%rip), %rsi     # 0x92da0
leaq 0x12aff(%rip), %rdx     # 0x92dae
leaq 0x70(%rsp), %rdi
callq 0x253d0
leaq 0x140(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x190(%rsp), %rsi
movq 0x198(%rsp), %rdx
addq %rsi, %rdx
leaq 0x130(%rsp), %rdi
callq 0x351dc
movq (%rbx), %rax
leaq 0x90(%rsp), %rdi
leaq 0x130(%rsp), %rdx
movq %rbx, %rsi
callq *0x48(%rax)
movq 0x70(%rsp), %rcx
movq 0x78(%rsp), %r8
movq 0x98(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x80(%rsp), %rsi
cmpq %rsi, %rcx
je 0x8032f
movq 0x80(%rsp), %rdi
movq 0x90(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x8035b
leaq 0xa0(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x80356
movq 0xa0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x803cc
leaq 0x70(%rsp), %rdi
callq 0x50d0
jmp 0x803dd
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x12a14(%rip), %rsi     # 0x92d8a
leaq 0x12a22(%rip), %rdx     # 0x92d9f
callq 0x253d0
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
leaq 0x28(%rsp), %rdi
callq 0x50d0
leaq 0xe0(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x80590
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x80598
leaq 0x90(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x52c0
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x80401
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x80407
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x12972(%rip), %rsi     # 0x92d9d
leaq 0x8(%rsp), %rdi
callq 0x5420
movq %r13, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x80458
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x80460
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
callq 0x50d0
leaq 0xc0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x804b9
movq %rdx, 0xb0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc0(%rsp)
jmp 0x804c0
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xb0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
callq 0x81650
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x80504
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x8051b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80536
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80557
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x130(%rsp), %rdi
cmpq %r12, %rdi
je 0x80574
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x805f3
movq 0x80(%rsp), %rsi
jmp 0x805eb
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0xd0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
callq 0x81650
movq 0xd0(%rsp), %rdi
cmpq %r12, %rdi
je 0x805dc
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x805f3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x120(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq 0x110(%rsp), %rdi
callq 0x351dc
movq (%rbx), %rax
leaq 0x110(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq *0x10(%rax)
movq 0x110(%rsp), %rdi
cmpq %r15, %rdi
je 0x8064a
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x1c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8066b
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8068c
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x5260
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
cmpq %r12, %rdi
je 0x806c3
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x806c3
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x8087d
movq 0x38(%rsp), %rsi
jmp 0x80870
jmp 0x8087a
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x80705
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x80705
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x80721
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x80721
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80741
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x80741
movq %rax, %rbx
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80767
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x80767
movq %rax, %rbx
movq 0x130(%rsp), %rdi
cmpq %r12, %rdi
je 0x80789
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x80789
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x8087d
movq 0x80(%rsp), %rsi
jmp 0x80870
jmp 0x8087a
movq %rax, %rbx
movq 0x110(%rsp), %rdi
cmpq %r15, %rdi
je 0x8087d
movq 0x120(%rsp), %rsi
jmp 0x80870
jmp 0x8087a
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x807fc
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x807fc
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x80818
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x80818
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8087d
movq 0x18(%rsp), %rsi
jmp 0x80870
jmp 0x8087a
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x814b4
jmp 0x8083d
movq %rax, %rbx
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
je 0x8087d
movq 0x160(%rsp), %rsi
jmp 0x80870
jmp 0x8087a
jmp 0x8087a
movq %rax, %rbx
movq 0x170(%rsp), %rdi
cmpq %r14, %rdi
je 0x8087d
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x8087d
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
callq 0x814b4
movq %rbx, %rdi
callq 0x53d0