// File: /workspace/github_cpp_makefile_star2_O1/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 $0x2, %edi
jl 0x23b8
movq 0x8(%rsi), %r14
jmp 0x23bf
leaq 0x2c45(%rip), %r14      # 0x5004
movq 0x5c12(%rip), %rbx      # 0x7fd8
leaq 0x2c4d(%rip), %rsi      # 0x501a
movl $0x13, %edx
movq %rbx, %rdi
callq 0x2190
testq %r14, %r14
je 0x23fb
movq %r14, %rdi
callq 0x20a0
movq 0x5bea(%rip), %rdi      # 0x7fd8
movq %r14, %rsi
movq %rax, %rdx
callq 0x2190
jmp 0x2412
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x21f0
leaq 0x60(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x5bb7(%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 0x42cc
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 0x2947
movq 0x5b2a(%rip), %rdi      # 0x7fd8
leaq 0x2bb1(%rip), %rsi      # 0x5066
movl $0xd, %edx
callq 0x2190
movq 0x18(%rsp), %rsi
subq 0x10(%rsp), %rsi
sarq $0x3, %rsi
imulq %r13, %rsi
movq 0x5b00(%rip), %rdi      # 0x7fd8
callq 0x20f0
leaq 0x2b90(%rip), %rsi      # 0x5074
movl $0x8, %edx
movq %rax, %rdi
callq 0x2190
movq 0x5ae0(%rip), %rdi      # 0x7fd8
leaq 0x2b7e(%rip), %rsi      # 0x507d
movl $0xb, %edx
callq 0x2190
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x5ac0(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
leaq 0x10(%rsp), %rdi
movl $0x9, %esi
callq 0x443a
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x60(%rsp), %rdi
callq 0x2ba6
leaq 0x2b3e(%rip), %rdi      # 0x5092
movq %r14, %rsi
callq 0x2999
leaq 0x10(%rsp), %rdi
movl $0xa, %esi
callq 0x443a
leaq 0x68(%rsp), %r14
callq 0x20e0
movq %rax, %r15
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x25c1
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 0x3060
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 0x2590
leaq 0x2ad8(%rip), %rdi      # 0x50a0
movq %r15, %rsi
callq 0x2999
leaq 0x10(%rsp), %rdi
movl $0xb, %esi
callq 0x443a
callq 0x20e0
movq %rax, %r15
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x262d
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x60(%rsp), %r12
leaq (%rcx,%rcx,4), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r12, %rdi
callq 0x2c3a
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 0x25ff
leaq 0x2a71(%rip), %rdi      # 0x50a5
movq %r15, %rsi
callq 0x2999
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %r12
cmpq %r12, %r15
je 0x267c
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 0x3465
movq %r15, %rdi
movq %r12, %rsi
callq 0x3542
callq 0x20e0
movq %rax, %r15
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x60(%rsp), %rdi
callq 0x2ba6
leaq 0x2a13(%rip), %rdi      # 0x50b2
movq %r15, %rsi
callq 0x2999
callq 0x20e0
movq %rax, %r15
movq %r14, %rax
movq %rax, %rsi
movq 0x30(%rax), %rax
testq %rax, %rax
jne 0x26b2
leaq 0x60(%rsp), %rdi
movq %r14, %rdx
callq 0x2c6e
leaq 0x29eb(%rip), %rdi      # 0x50bd
movq %r15, %rsi
callq 0x2999
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x58ef(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
movq 0x58de(%rip), %rdi      # 0x7fd8
leaq 0x2988(%rip), %rsi      # 0x5089
movl $0x8, %edx
callq 0x2190
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x58be(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
leaq 0x10(%rsp), %rdi
movl $0x9, %esi
callq 0x443a
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %rbp
cmpq %rbp, %r15
je 0x2763
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3e7e
addq $0x28, %r15
cmpq %rbp, %r15
jne 0x274f
leaq 0x2928(%rip), %rdi      # 0x5092
movq %r14, %rsi
callq 0x2999
leaq 0x10(%rsp), %rdi
movl $0xa, %esi
callq 0x443a
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x27cf
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x30(%rsp), %r15
leaq (%rcx,%rcx,4), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r15, %rdi
callq 0x407e
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 0x27a1
leaq 0x28ca(%rip), %rdi      # 0x50a0
movq %r14, %rsi
callq 0x2999
leaq 0x10(%rsp), %rdi
movl $0xb, %esi
callq 0x443a
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x2846
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x30(%rsp), %r15
leaq (%rcx,%rcx,4), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r15, %rdi
callq 0x4108
movq %r15, %rdi
movq %rax, %rsi
callq 0x41b0
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 0x280d
leaq 0x2858(%rip), %rdi      # 0x50a5
movq %r14, %rsi
callq 0x2999
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %r15
cmpq %r15, %r14
je 0x2895
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 0x3465
movq %r14, %rdi
movq %r15, %rsi
callq 0x3542
callq 0x20e0
movq %rax, %r14
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %r13
cmpq %r13, %r15
je 0x28c5
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3e7e
addq $0x28, %r15
cmpq %r13, %r15
jne 0x28b1
leaq 0x27e6(%rip), %rdi      # 0x50b2
movq %r14, %rsi
callq 0x2999
callq 0x20e0
movq %rax, %r14
leaq 0x30(%rsp), %rdi
movq 0x18(%rdi), %rsi
movq %rbx, %rdx
callq 0x41b0
leaq 0x27c9(%rip), %rdi      # 0x50bd
movq %r14, %rsi
callq 0x2999
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x56cd(%rip), %rdi      # 0x7fd8
movl $0x1, %edx
callq 0x2190
leaq 0x30(%rsp), %rdi
callq 0x2ae4
leaq 0x60(%rsp), %rdi
callq 0x2a68
leaq 0x10(%rsp), %rdi
callq 0x2a96
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x26e0(%rip), %rdi      # 0x502e
leaq 0x26ec(%rip), %rsi      # 0x5041
leaq 0x26f3(%rip), %rcx      # 0x504f
movl $0x57, %edx
callq 0x20d0
jmp 0x2970
jmp 0x2970
jmp 0x2970
jmp 0x2970
jmp 0x2970
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x2ae4
leaq 0x60(%rsp), %rdi
callq 0x2a68
leaq 0x10(%rsp), %rdi
callq 0x2a96
movq %rbx, %rdi
callq 0x2210