// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/Test_HashTable.cpp
// Function: HashTableTest_Single_Test::TestBody()
TEST_F(HashTableTest, Single)
{
  HashTable<int, kFlagCaseSensitive> tbl;
  HashTableInit(&tbl, &heap);
  HashTableInsert(&tbl, 1, "foo", 15);
  EXPECT_EQ(1, tbl.m_RecordCount);
  int* ptr = HashTableLookup(&tbl, 1, "foo");
  ASSERT_NE(nullptr, ptr);
  ASSERT_EQ(15, *ptr);
  HashTableDestroy(&tbl);
}

// Assembly:
pushq %rbx
subq $0x60, %rsp
addq $0x10, %rdi
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rbx
movups %xmm0, 0xc(%rbx)
movaps %xmm0, (%rbx)
movq %rdi, 0x20(%rbx)
movq $0x0, 0x28(%rbx)
leaq 0x17ec0(%rip), %rdx     # 0x57177
movq %rbx, %rdi
movl $0x1, %esi
callq 0x40cb4
movq 0x28(%rbx), %rcx
cltq
movl $0xf, (%rcx,%rax,4)
leaq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x48(%rsp), %r8
leaq 0x14e5f(%rip), %rsi     # 0x54147
leaq 0x1806e(%rip), %rdx     # 0x5735d
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x3c516
cmpb $0x0, (%rbx)
jne 0x3f388
leaq 0x10(%rsp), %rdi
callq 0x12eee
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x3f31e
movq (%rax), %r8
jmp 0x3f325
leaq 0x19b2e(%rip), %r8      # 0x58e53
leaq 0x18015(%rip), %rdx     # 0x57341
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x3d, %ecx
callq 0x10bb8
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x10c56
leaq 0x8(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x10(%rsp)
je 0x3f388
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x3f37f
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x3f37f
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x10(%rsp)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
leaq 0x17ddc(%rip), %rdx     # 0x57177
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x40e86
cltq
leaq (,%rax,4), %rcx
addq 0x28(%rbx), %rcx
xorl %edx, %edx
cmpl $-0x1, %eax
cmovneq %rcx, %rdx
leaq 0x10(%rsp), %r8
movq %rdx, (%r8)
leaq 0x8(%rsp), %rcx
movq $0x0, (%rcx)
leaq 0x15ffc(%rip), %rsi     # 0x553db
leaq 0x17f8d(%rip), %rdx     # 0x57373
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x4086d
cmpb $0x0, (%rbx)
je 0x3f44f
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
leaq 0x8(%rsp), %rcx
movl $0xf, (%rcx)
movq 0x10(%rsp), %r8
leaq 0x17f54(%rip), %rsi     # 0x5736f
leaq 0x17f50(%rip), %rdx     # 0x57372
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x32072
cmpb $0x0, (%rbx)
je 0x3f468
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
leaq 0x30(%rsp), %rdi
callq 0x4082f
jmp 0x3f56f
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x3f481
movq (%rax), %r8
jmp 0x3f488
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x3f4f9
movq (%rax), %r8
jmp 0x3f500
leaq 0x199cb(%rip), %r8      # 0x58e53
leaq 0x17eb2(%rip), %rdx     # 0x57341
leaq 0x18(%rsp), %rdi
movl $0x2, %esi
movl $0x3f, %ecx
callq 0x10bb8
leaq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x18(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x3f4eb
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x3f4e2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3f4e2
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x3f56f
leaq 0x19953(%rip), %r8      # 0x58e53
leaq 0x17e3a(%rip), %rdx     # 0x57341
leaq 0x18(%rsp), %rdi
movl $0x2, %esi
movl $0x40, %ecx
callq 0x10bb8
leaq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x18(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x3f563
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x3f55a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3f55a
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
addq $0x60, %rsp
popq %rbx
retq
jmp 0x3f5d7
jmp 0x3f5d7
jmp 0x3f587
jmp 0x3f596
jmp 0x3f5c2
jmp 0x3f5d7
jmp 0x3f5d7
jmp 0x3f5d7
jmp 0x3f5d7
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x10c24
jmp 0x3f599
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
jmp 0x3f5bb
jmp 0x3f5c2
jmp 0x3f5d7
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x10c24
jmp 0x3f5b6
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x31faa
jmp 0x3f5c5
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x31fbc
movq %rbx, %rdi
callq 0xcbb0
movq %rax, %rdi
callq 0x28baf
nop