// File: /workspace/github_c_makefile_star2_O3/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 0x17a40(%rip), %rdx     # 0x561a7
movq %rbx, %rdi
movl $0x1, %esi
callq 0x400b6
movq 0x28(%rbx), %rcx
cltq
movl $0xf, (%rcx,%rax,4)
leaq 0x18(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x48(%rsp), %r8
leaq 0x149df(%rip), %rsi     # 0x53177
leaq 0x17bee(%rip), %rdx     # 0x5638d
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x3ba7c
cmpb $0x0, (%rbx)
jne 0x3e82b
leaq 0x18(%rsp), %rdi
callq 0x12e46
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x3e7ca
movq (%rax), %r8
jmp 0x3e7d1
leaq 0x196f6(%rip), %r8      # 0x57ec7
leaq 0x17b99(%rip), %rdx     # 0x56371
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x3d, %ecx
callq 0x10b64
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x10c00
leaq 0x8(%rsp), %rdi
callq 0x10bd0
cmpq $0x0, 0x18(%rsp)
je 0x3e82b
movl $0x1, %edi
callq 0x10b61
testb %al, %al
je 0x3e82b
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x3e82b
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c37a
leaq 0x17969(%rip), %rdx     # 0x561a7
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x40288
cltq
leaq (,%rax,4), %rcx
addq 0x28(%rbx), %rcx
xorl %edx, %edx
cmpl $-0x1, %eax
cmovneq %rcx, %rdx
leaq 0x18(%rsp), %r8
movq %rdx, (%r8)
leaq 0x8(%rsp), %rcx
movq $0x0, (%rcx)
leaq 0x15b89(%rip), %rsi     # 0x5440b
leaq 0x17b1a(%rip), %rdx     # 0x563a3
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x3fc6f
cmpb $0x0, (%rbx)
je 0x3e8f2
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c37a
leaq 0x8(%rsp), %rcx
movl $0xf, (%rcx)
movq 0x18(%rsp), %r8
leaq 0x17ae1(%rip), %rsi     # 0x5639f
leaq 0x17add(%rip), %rdx     # 0x563a2
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x31b38
cmpb $0x0, (%rbx)
je 0x3e90b
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c37a
leaq 0x30(%rsp), %rdi
callq 0x3fc31
jmp 0x3ea00
leaq 0x8(%rsp), %rdi
callq 0x12e46
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x3e924
movq (%rax), %r8
jmp 0x3e92b
leaq 0x8(%rsp), %rdi
callq 0x12e46
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x3e993
movq (%rax), %r8
jmp 0x3e99a
leaq 0x1959c(%rip), %r8      # 0x57ec7
leaq 0x17a3f(%rip), %rdx     # 0x56371
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x3f, %ecx
callq 0x10b64
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c00
leaq 0x10(%rsp), %rdi
callq 0x10bd0
cmpq $0x0, 0x8(%rsp)
je 0x3e985
movl $0x1, %edi
callq 0x10b61
testb %al, %al
je 0x3e985
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3e985
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c37a
jmp 0x3ea00
leaq 0x1952d(%rip), %r8      # 0x57ec7
leaq 0x179d0(%rip), %rdx     # 0x56371
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x40, %ecx
callq 0x10b64
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c00
leaq 0x10(%rsp), %rdi
callq 0x10bd0
cmpq $0x0, 0x8(%rsp)
je 0x3e9f4
movl $0x1, %edi
callq 0x10b61
testb %al, %al
je 0x3e9f4
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3e9f4
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2c37a
addq $0x60, %rsp
popq %rbx
retq
jmp 0x3ea68
jmp 0x3ea68
jmp 0x3ea18
jmp 0x3ea27
jmp 0x3ea53
jmp 0x3ea68
jmp 0x3ea68
jmp 0x3ea68
jmp 0x3ea68
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x10bd0
jmp 0x3ea2a
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
jmp 0x3ea4c
jmp 0x3ea53
jmp 0x3ea68
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x10bd0
jmp 0x3ea47
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x31a70
jmp 0x3ea56
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x31a82
movq %rbx, %rdi
callq 0xcbb0
movq %rax, %rdi
callq 0x287ef