// File: /workspace/github_cpp_makefile_star2_O3/dlbeer[P]summary_map/test_perf.cpp
// Function: main
int main(int argc, char **argv)
{
    const char *path = "/usr/share/dict/words";

    if (argc > 1)
	path = argv[1];

    std::cout << "Loading words from " << path << '\n';

    test_vector vec;
    test_map m;
    std::map<std::string, int> sm;

    load_words(path, vec);
    assert(vec.size() >= 1000);
    std::cout << "Working with " << vec.size() << " items\n\n";

    run_test("summary_map", vec, m);
    run_test("std::map", vec, sm);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
cmpl $0x1, %edi
jle 0x23f2
movq 0x8(%rsi), %r14
movq 0x5c1b(%rip), %rbx      # 0x7fd8
leaq 0x2c56(%rip), %rsi      # 0x501a
movl $0x13, %edx
movq %rbx, %rdi
callq 0x2190
testq %r14, %r14
jne 0x2411
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x21f0
xorl %r14d, %r14d
jmp 0x242b
movq 0x5bdf(%rip), %rdi      # 0x7fd8
leaq 0x2c1a(%rip), %rsi      # 0x501a
movl $0x13, %edx
callq 0x2190
leaq 0x2bf3(%rip), %r14      # 0x5004
movq %r14, %rdi
callq 0x20a0
movq 0x5bb8(%rip), %rdi      # 0x7fd8
movq %r14, %rsi
movq %rax, %rdx
callq 0x2190
leaq 0x60(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x5b9e(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
xorl %eax, %eax
leaq 0x10(%rsp), %rsi
movq %rax, 0x10(%rsi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movl %eax, 0x10(%rcx)
movups %xmm0, 0x18(%rcx)
movups %xmm0, 0x28(%rcx)
movq %rax, 0x38(%rcx)
leaq 0x38(%rsp), %rbx
movl %eax, (%rbx)
movq %rax, 0x8(%rbx)
movq %rbx, 0x10(%rbx)
movq %rbx, 0x18(%rbx)
movq %rax, 0x20(%rbx)
movq %r14, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x42fc
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
sarq $0x3, %rax
movabsq $-0x3333333333333333, %r13 # imm = 0xCCCCCCCCCCCCCCCD
imulq %r13, %rax
cmpq $0x3e7, %rax            # imm = 0x3E7
jbe 0x2960
movq 0x5b11(%rip), %rdi      # 0x7fd8
leaq 0x2b98(%rip), %rsi      # 0x5066
movl $0xd, %edx
callq 0x2190
movq 0x18(%rsp), %rsi
subq 0x10(%rsp), %rsi
sarq $0x3, %rsi
imulq %r13, %rsi
movq 0x5ae7(%rip), %rdi      # 0x7fd8
callq 0x20f0
leaq 0x2b77(%rip), %rsi      # 0x5074
movl $0x8, %edx
movq %rax, %rdi
callq 0x2190
movq 0x5ac7(%rip), %rdi      # 0x7fd8
leaq 0x2b65(%rip), %rsi      # 0x507d
movl $0xb, %edx
callq 0x2190
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x5aa7(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
leaq 0x10(%rsp), %rdi
movl $0x9, %esi
callq 0x447c
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x60(%rsp), %rdi
callq 0x2bc6
leaq 0x2b25(%rip), %rdi      # 0x5092
movq %r14, %rsi
callq 0x29b2
leaq 0x10(%rsp), %rdi
movl $0xa, %esi
callq 0x447c
leaq 0x68(%rsp), %r14
callq 0x20e0
movq %rax, %r15
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x25da
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x60(%rsp), %r12
leaq (%rcx,%rcx,4), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r12, %rdi
movq %r14, %rdx
callq 0x308e
movl %ebp, %ecx
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x25a9
leaq 0x2abf(%rip), %rdi      # 0x50a0
movq %r15, %rsi
callq 0x29b2
leaq 0x10(%rsp), %rdi
movl $0xb, %esi
callq 0x447c
callq 0x20e0
movq %rax, %r15
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x2646
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x60(%rsp), %r12
leaq (%rcx,%rcx,4), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r12, %rdi
callq 0x2c5a
movl %ebp, %ecx
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x2618
leaq 0x2a58(%rip), %rdi      # 0x50a5
movq %r15, %rsi
callq 0x29b2
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %r12
cmpq %r12, %r15
je 0x2695
movq %r12, %rax
subq %r15, %rax
sarq $0x3, %rax
imulq %r13, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x34a6
movq %r15, %rdi
movq %r12, %rsi
callq 0x3583
callq 0x20e0
movq %rax, %r15
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x60(%rsp), %rdi
callq 0x2bc6
leaq 0x29fa(%rip), %rdi      # 0x50b2
movq %r15, %rsi
callq 0x29b2
callq 0x20e0
movq %rax, %r15
movq %r14, %rax
movq %rax, %rsi
movq 0x30(%rax), %rax
testq %rax, %rax
jne 0x26cb
leaq 0x60(%rsp), %rdi
movq %r14, %rdx
callq 0x2c8e
leaq 0x29d2(%rip), %rdi      # 0x50bd
movq %r15, %rsi
callq 0x29b2
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x58d6(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
movq 0x58c5(%rip), %rdi      # 0x7fd8
leaq 0x296f(%rip), %rsi      # 0x5089
movl $0x8, %edx
callq 0x2190
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x58a5(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
leaq 0x10(%rsp), %rdi
movl $0x9, %esi
callq 0x447c
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %rbp
cmpq %rbp, %r15
je 0x277c
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3ea2
addq $0x28, %r15
cmpq %rbp, %r15
jne 0x2768
leaq 0x290f(%rip), %rdi      # 0x5092
movq %r14, %rsi
callq 0x29b2
leaq 0x10(%rsp), %rdi
movl $0xa, %esi
callq 0x447c
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x27e8
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x30(%rsp), %r15
leaq (%rcx,%rcx,4), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r15, %rdi
callq 0x40a2
movl %ebp, %ecx
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x27ba
leaq 0x28b1(%rip), %rdi      # 0x50a0
movq %r14, %rsi
callq 0x29b2
leaq 0x10(%rsp), %rdi
movl $0xb, %esi
callq 0x447c
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x285f
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x30(%rsp), %r15
leaq (%rcx,%rcx,4), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r15, %rdi
callq 0x412c
movq %r15, %rdi
movq %rax, %rsi
callq 0x41e0
movl %ebp, %ecx
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x2826
leaq 0x283f(%rip), %rdi      # 0x50a5
movq %r14, %rsi
callq 0x29b2
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %r15
cmpq %r15, %r14
je 0x28ae
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
imulq %r13, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x34a6
movq %r14, %rdi
movq %r15, %rsi
callq 0x3583
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %r13
cmpq %r13, %r15
je 0x28de
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3ea2
addq $0x28, %r15
cmpq %r13, %r15
jne 0x28ca
leaq 0x27cd(%rip), %rdi      # 0x50b2
movq %r14, %rsi
callq 0x29b2
callq 0x20e0
movq %rax, %r14
leaq 0x30(%rsp), %rdi
movq 0x18(%rdi), %rsi
movq %rbx, %rdx
callq 0x41e0
leaq 0x27b0(%rip), %rdi      # 0x50bd
movq %r14, %rsi
callq 0x29b2
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x56b4(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
leaq 0x30(%rsp), %rdi
callq 0x2b04
leaq 0x60(%rsp), %rdi
callq 0x2a82
leaq 0x10(%rsp), %rdi
callq 0x2ab0
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x26c7(%rip), %rdi      # 0x502e
leaq 0x26d3(%rip), %rsi      # 0x5041
leaq 0x26da(%rip), %rcx      # 0x504f
movl $0x57, %edx
callq 0x20d0
jmp 0x2989
jmp 0x2989
jmp 0x2989
jmp 0x2989
jmp 0x2989
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x2b04
leaq 0x60(%rsp), %rdi
callq 0x2a82
leaq 0x10(%rsp), %rdi
callq 0x2ab0
movq %rbx, %rdi
callq 0x2210