// File: /workspace/github_cpp_makefile_star2_O1/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 0x6175(%rip), %rbx      # 0x8fd8
leaq 0x3273(%rip), %rsi      # 0x60dd
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 0x2fce
leaq 0x68(%rsp), %r15
leaq 0x58(%rsp), %r12
movq 0x6117(%rip), %r13      # 0x8fd8
leaq 0x3196(%rip), %rbx      # 0x605e
movq %r15, 0x58(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x3e6a
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x4216
movl %eax, %ebp
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f05
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x2150
testb %bpl, %bpl
je 0x2f4d
movl $0x9, %edx
movq %r13, %rdi
leaq 0x313b(%rip), %rsi      # 0x6054
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 0x2f8e
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 0x30d2(%rip), %rsi      # 0x6060
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 0x2ec8
leaq 0x30fe(%rip), %rsi      # 0x60d3
movl $0x3, %edx
movq 0x5ff7(%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 0x306b(%rip), %rsi      # 0x608b
leaq 0x3069(%rip), %rdx      # 0x6090
leaq 0x38(%rsp), %rdi
callq 0x4162
leaq 0x38(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x3efa
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x3057
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x3033(%rip), %rsi      # 0x6091
movl $0x12, %edx
movq 0x5f6e(%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 0x31c9
leaq 0x28(%rsp), %r15
leaq 0x18(%rsp), %r12
movq 0x5f1c(%rip), %r13      # 0x8fd8
leaq 0x2f9b(%rip), %rbx      # 0x605e
movq %r15, 0x18(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x3e6a
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x42b6
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x3100
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x2150
testb %bpl, %bpl
je 0x3148
movl $0x6, %edx
movq %r13, %rdi
leaq 0x2f90(%rip), %rsi      # 0x60a4
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 0x3189
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 0x2f29(%rip), %rsi      # 0x60b2
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 0x30c3
leaq 0x2efd(%rip), %rsi      # 0x60cd
movl $0x5, %edx
movq 0x5dfc(%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 0x3261
movq 0x48(%rsp), %rsi
jmp 0x3259
movq %rax, %rbx
jmp 0x3261
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x3261
movq 0x28(%rsp), %rsi
jmp 0x3259
movq %rax, %rbx
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x3261
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x21f0