// File: /workspace/github_cpp_makefile_star2_O3/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 0x20a8e(%rip), %r12     # 0x2b3e0
movq %r12, (%rax)
leaq 0x15734(%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 0x15712(%rip), %rax     # 0x20097
movq %rax, 0x10(%rbx)
movq %r13, 0x18(%rbx)
movl $0x20, %edi
callq 0x7200
movq %rax, %r15
leaq 0x156fd(%rip), %rsi     # 0x2009e
movq %rax, %rdi
xorl %edx, %edx
callq 0xac04
movq %r15, -0x30(%rbp)
movl $0x20, %edi
callq 0x7200
movq %rax, %r13
leaq 0x156db(%rip), %r12     # 0x2009e
movq %rax, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xac04
movq %r13, -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)
leaq -0x78(%rbp), %rsi
movq %r15, (%rsi)
movq %r14, 0x8(%rsi)
leaq -0x68(%rbp), %rdi
callq 0x1c4fa
leaq 0x1569d(%rip), %rax     # 0x200a8
xorl %esi, %esi
cmpq %rax, %r12
setb %sil
movq 0x225bd(%rip), %r14     # 0x2cfd8
movq %r14, %rdi
callq 0x7320
leaq 0x15c80(%rip), %rsi     # 0x206aa
movl $0x1, %edx
movq %rax, %rdi
callq 0x7240
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x1c6e2
movq 0x28(%rax), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq %rax, %r15
testq %rax, %rax
je 0xaa72
movq %r15, %rdi
callq 0x70f0
movq 0x22573(%rip), %rdi     # 0x2cfd8
movq %r15, %rsi
movq %rax, %rdx
callq 0x7240
jmp 0xaa8a
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x7330
movq 0x22547(%rip), %r14     # 0x2cfd8
leaq 0x15c12(%rip), %rsi     # 0x206aa
movl $0x1, %edx
movq %r14, %rdi
callq 0x7240
leaq -0x68(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x1c6e2
movq %rbx, 0x28(%rax)
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x1c6e2
movq 0x28(%rax), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq %rax, %rbx
testq %rax, %rax
je 0xaaf1
movq %rbx, %rdi
callq 0x70f0
movq 0x224f4(%rip), %rdi     # 0x2cfd8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x7240
jmp 0xab09
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x7330
movq 0x224c8(%rip), %rdi     # 0x2cfd8
leaq 0x15b93(%rip), %rsi     # 0x206aa
movl $0x1, %edx
callq 0x7240
leaq -0x68(%rbp), %rdi
callq 0x1c4a2
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xab56
jmp 0xab56
movq %rax, %rbx
movq %r13, %rdi
jmp 0xab4b
movq %rax, %rbx
movq %r15, %rdi
callq 0x71d0
jmp 0xab62
jmp 0xab56
jmp 0xab56
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x1c4a2
movq %rbx, %rdi
callq 0x7350