// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/tests/testSerialize.cpp
// Function: tryMap()
void tryMap() {
    Value* v1 = new Value("muffin", (size_t)6);
    Value* v3 = new Value("carrot", (size_t)6);
    Key* k1 = new Key("payload_1", 0);
    Key* k3 = new Key("payload_1", 0);
    char* c1 =  "payload_1";
    char* c2 = "payload_3";

    std::map<Key*, Value*, KeyCompare> store;
    std::map<Key, Value>::iterator it;
    store.insert(std::pair<Key*, Value*>(k1, v1));

    std::cout << (c1 < c2)  <<"\n";
    std::cout <<  store.find(k1)->second->serialize() <<"\n";
    store.find(k3)->second = v3;   
    std::cout <<  store.find(k1)->second->serialize() <<"\n";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl $0x20, %edi
callq 0x7200
movq %rax, %r14
xorl %r15d, %r15d
movq %r15, 0x8(%rax)
leaq 0x20999(%rip), %r12     # 0x2b358
movq %r12, (%rax)
leaq 0x156c7(%rip), %rax     # 0x20090
movq %rax, 0x10(%r14)
movl $0x6, %r13d
movq %r13, 0x18(%r14)
movl $0x20, %edi
callq 0x7200
movq %rax, %rbx
movq %r15, 0x8(%rax)
movq %r12, (%rax)
leaq 0x156a5(%rip), %rax     # 0x20097
movq %rax, 0x10(%rbx)
movq %r13, 0x18(%rbx)
movl $0x20, %edi
callq 0x7200
movq %rax, %r15
leaq 0x15690(%rip), %rsi     # 0x2009e
movq %rax, %rdi
xorl %edx, %edx
callq 0xac74
movq %r15, -0x30(%rbp)
movl $0x20, %edi
callq 0x7200
movq %rax, %r12
leaq 0x1566e(%rip), %r15     # 0x2009e
movq %rax, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xac74
movq %r12, -0x38(%rbp)
leaq -0x60(%rbp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq -0x30(%rbp), %rax
leaq -0x78(%rbp), %rsi
movq %rax, (%rsi)
movq %r14, 0x8(%rsi)
leaq -0x68(%rbp), %rdi
callq 0x1ca50
leaq 0x1562c(%rip), %rax     # 0x200a8
xorl %esi, %esi
cmpq %rax, %r15
setb %sil
movq 0x2254c(%rip), %r14     # 0x2cfd8
movq %r14, %rdi
callq 0x7320
leaq 0x15c29(%rip), %rsi     # 0x206c4
movl $0x1, %edx
movq %rax, %rdi
callq 0x7240
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x1cc3a
movq 0x28(%rax), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq %rax, %r15
testq %rax, %rax
je 0xaae3
movq %r15, %rdi
callq 0x70f0
movq 0x22502(%rip), %rdi     # 0x2cfd8
movq %r15, %rsi
movq %rax, %rdx
callq 0x7240
jmp 0xaafb
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x7330
movq 0x224d6(%rip), %r14     # 0x2cfd8
leaq 0x15bbb(%rip), %rsi     # 0x206c4
movl $0x1, %edx
movq %r14, %rdi
callq 0x7240
leaq -0x68(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x1cc3a
movq %rbx, 0x28(%rax)
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x1cc3a
movq 0x28(%rax), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq %rax, %rbx
testq %rax, %rax
je 0xab62
movq %rbx, %rdi
callq 0x70f0
movq 0x22483(%rip), %rdi     # 0x2cfd8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x7240
jmp 0xab7a
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x7330
movq 0x22457(%rip), %rdi     # 0x2cfd8
leaq 0x15b3c(%rip), %rsi     # 0x206c4
movl $0x1, %edx
callq 0x7240
leaq -0x68(%rbp), %rdi
callq 0x1c9f8
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xabc7
jmp 0xabc7
movq %rax, %rbx
movq %r12, %rdi
jmp 0xabbc
movq %rax, %rbx
movq %r15, %rdi
callq 0x71d0
jmp 0xabd3
jmp 0xabc7
jmp 0xabc7
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x1c9f8
movq %rbx, %rdi
callq 0x7350