// File: /workspace/github_cpp_makefile_star2_O3/migueeelvargas[P]Auto-Complete/test.cpp
// Function: modeHT(DictionaryHashtable*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
void modeHT (DictionaryHashtable* dictionaryHT, 
              std::vector<std::string>& words) {
    /* Test - insert() */
  std::cout << "Inserting strings..." << std::endl;
  for( auto i = words.begin(); i != words.end(); ++i) {
    if (dictionaryHT->insert(*i))
      std::cout << "Inserted " << "\"" << *i << "\"" << std::endl;

    else 
      std::cout << "\"" << *i << "\"" << " is already in dictionary." << std::endl;
  }
  std::cout << "OK." << std::endl;

  /* Testing - find() */
  words.push_back("alpha");

  std::cout << "Finding strings..." << std::endl;
  for( auto i = words.begin(); i != words.end(); ++i) {
    if (dictionaryHT->find(*i))
      std::cout << "Found " << "\"" << *i << "\"" << std::endl;

    else 
      std::cout << "\"" << *i << "\"" << " is not in the dictionary." << std::endl;
  }
  std::cout << "Done." << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r15
movq %rdi, 0x10(%rsp)
movq 0x616c(%rip), %rbx      # 0x8fd8
leaq 0x3267(%rip), %rsi      # 0x60da
movl $0x14, %edx
movq %rbx, %rdi
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq (%r15), %r14
movq %r15, 0x8(%rsp)
cmpq 0x8(%r15), %r14
je 0x2fd7
leaq 0x68(%rsp), %r15
leaq 0x58(%rsp), %r12
movq 0x610e(%rip), %r13      # 0x8fd8
leaq 0x318a(%rip), %rbx      # 0x605b
movq %r15, 0x58(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x3e74
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x4232
movl %eax, %ebp
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f0e
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x2150
testb %bpl, %bpl
je 0x2f56
movl $0x9, %edx
movq %r13, %rdi
leaq 0x312f(%rip), %rsi      # 0x6051
callq 0x2180
movl $0x1, %edx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2180
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r13, %rdi
callq 0x2180
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
jmp 0x2f97
movl $0x1, %edx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2180
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r13, %rdi
callq 0x2180
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2180
movl $0x1a, %edx
movq %rbp, %rdi
leaq 0x30c6(%rip), %rsi      # 0x605d
callq 0x2180
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
addq $0x20, %r14
movq 0x8(%rsp), %rax
cmpq 0x8(%rax), %r14
jne 0x2ed1
leaq 0x30f2(%rip), %rsi      # 0x60d0
movl $0x3, %edx
movq 0x5fee(%rip), %rbx      # 0x8fd8
movq %rbx, %rdi
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x48(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x305f(%rip), %rsi      # 0x6088
leaq 0x305d(%rip), %rdx      # 0x608d
leaq 0x38(%rsp), %rdi
callq 0x417a
leaq 0x38(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x3f0a
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x3060
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x3027(%rip), %rsi      # 0x608e
movl $0x12, %edx
movq 0x5f65(%rip), %rbx      # 0x8fd8
movq %rbx, %rdi
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x8(%rsp), %rax
movq (%rax), %r14
cmpq 0x8(%rax), %r14
je 0x31d2
leaq 0x28(%rsp), %r15
leaq 0x18(%rsp), %r12
movq 0x5f13(%rip), %r13      # 0x8fd8
leaq 0x2f8f(%rip), %rbx      # 0x605b
movq %r15, 0x18(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x3e74
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x42d2
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x3109
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x2150
testb %bpl, %bpl
je 0x3151
movl $0x6, %edx
movq %r13, %rdi
leaq 0x2f84(%rip), %rsi      # 0x60a1
callq 0x2180
movl $0x1, %edx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2180
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r13, %rdi
callq 0x2180
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
jmp 0x3192
movl $0x1, %edx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2180
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r13, %rdi
callq 0x2180
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2180
movl $0x1a, %edx
movq %rbp, %rdi
leaq 0x2f1d(%rip), %rsi      # 0x60af
callq 0x2180
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
addq $0x20, %r14
movq 0x8(%rsp), %rax
cmpq 0x8(%rax), %r14
jne 0x30cc
leaq 0x2ef1(%rip), %rsi      # 0x60ca
movl $0x5, %edx
movq 0x5df3(%rip), %rbx      # 0x8fd8
movq %rbx, %rdi
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x326a
movq 0x48(%rsp), %rsi
jmp 0x3262
movq %rax, %rbx
jmp 0x326a
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x326a
movq 0x28(%rsp), %rsi
jmp 0x3262
movq %rax, %rbx
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x326a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x21f0