#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
struct hashTable {
  int dummy;
};

/* Variables and functions */
int addToHashTable(struct hashTable *, char *, char *);
int /*<<< orphan*/ assert(int);
int /*<<< orphan*/ createHashTable(int, struct hashTable **);
int /*<<< orphan*/ destroyHashTable(struct hashTable **);
int printAllKeysAndValues(struct hashTable *);
int /*<<< orphan*/ printf(char *);
int removeFromHashTable(struct hashTable *, char *);
scalar_t__ strcmp(char *, char *);
int valueForKeyInHashTable(struct hashTable *, char *, char **);
int main(int argc, const char *argv[]) {
  struct hashTable *ht;
  char *value;
  createHashTable(10, &ht);
  printf("Adding 'hello'=>'world', 'color'=>'blue' and printing:\n-----\n");
  assert(!valueForKeyInHashTable(ht, "hello", &value));
  assert(NULL == value);
  assert(addToHashTable(ht, "hello", "world"));
  assert(addToHashTable(ht, "hello", "world"));
  assert(valueForKeyInHashTable(ht, "hello", &value));
  assert(0 == strcmp("world", value));
  assert(!valueForKeyInHashTable(ht, "color", &value));
  assert(NULL == value);
  assert(addToHashTable(ht, "color", "blue"));
  assert(valueForKeyInHashTable(ht, "color", &value));
  assert(0 == strcmp("blue", value));
  assert(printAllKeysAndValues(ht));
  printf("\n\nChanging 'hello' value to 'goodbye', then printing:\n-----\n");
  assert(addToHashTable(ht, "hello", "goodbye"));
  assert(valueForKeyInHashTable(ht, "hello", &value));
  assert(0 == strcmp("goodbye", value));
  assert(printAllKeysAndValues(ht));
  printf("\n\nRemoving 'hello' and printing:\n-----\n");
  assert(removeFromHashTable(ht, "hello"));
  assert(printAllKeysAndValues(ht));
  printf("\n\nRemoving 'color' and printing:\n-----\n");
  assert(removeFromHashTable(ht, "color"));
  assert(printAllKeysAndValues(ht));
  destroyHashTable(&ht);
  assert(NULL == ht);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0xa,%edi
lea    -0x18(%rbp),%rsi
call   1070 <createHashTable@plt>
lea    0xe4c(%rip),%rdi
call   1050 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe7a(%rip),%rsi
lea    -0x20(%rbp),%rdx
call   1080 <valueForKeyInHashTable@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
xor    %eax,%eax
cmp    -0x20(%rbp),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
lea    0xe41(%rip),%rsi
lea    0xe40(%rip),%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
lea    0xe23(%rip),%rsi
lea    0xe22(%rip),%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
lea    0xe05(%rip),%rsi
lea    -0x20(%rbp),%rdx
call   1080 <valueForKeyInHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x20(%rbp),%rsi
lea    0xdf0(%rip),%rdi
call   1090 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
lea    0xdd1(%rip),%rsi
lea    -0x20(%rbp),%rdx
call   1080 <valueForKeyInHashTable@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
xor    %eax,%eax
cmp    -0x20(%rbp),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
lea    0xd98(%rip),%rsi
lea    0xd97(%rip),%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
lea    0xd7a(%rip),%rsi
lea    -0x20(%rbp),%rdx
call   1080 <valueForKeyInHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x20(%rbp),%rsi
lea    0xd65(%rip),%rdi
call   1090 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
lea    0xd39(%rip),%rdi
call   1050 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xd12(%rip),%rsi
lea    0xd5f(%rip),%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
lea    0xcf4(%rip),%rsi
lea    -0x20(%rbp),%rdx
call   1080 <valueForKeyInHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x20(%rbp),%rsi
lea    0xd2d(%rip),%rdi
call   1090 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
lea    0xd04(%rip),%rdi
call   1050 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xc98(%rip),%rsi
call   1030 <removeFromHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
lea    0xcf9(%rip),%rdi
call   1050 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xc71(%rip),%rsi
call   1030 <removeFromHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    -0x18(%rbp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
lea    -0x18(%rbp),%rdi
call   1040 <destroyHashTable@plt>
xor    %eax,%eax
cmp    -0x18(%rbp),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10a0 <assert@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %rsp,%r14
mov    $0xa,%edi
mov    %r14,%rsi
call   1070 <createHashTable@plt>
lea    0xe6b(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%rdi
lea    0xe3c(%rip),%r13
lea    0x8(%rsp),%r15
mov    %r13,%rsi
mov    %r15,%rdx
call   1080 <valueForKeyInHashTable@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   10a0 <assert@plt>
xor    %edi,%edi
cmpq   $0x0,0x8(%rsp)
sete   %dil
call   10a0 <assert@plt>
mov    (%rsp),%rdi
lea    0xe09(%rip),%rbx
mov    %r13,%rsi
mov    %rbx,%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    (%rsp),%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    (%rsp),%rdi
mov    %r13,%rsi
mov    %r15,%rdx
call   1080 <valueForKeyInHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1090 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   10a0 <assert@plt>
mov    (%rsp),%rdi
lea    0xdab(%rip),%r12
mov    %r12,%rsi
mov    %r15,%rdx
call   1080 <valueForKeyInHashTable@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   10a0 <assert@plt>
xor    %edi,%edi
cmpq   $0x0,0x8(%rsp)
sete   %dil
call   10a0 <assert@plt>
mov    (%rsp),%rdi
lea    0xd7d(%rip),%rbx
mov    %r12,%rsi
mov    %rbx,%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    (%rsp),%rdi
mov    %r12,%rsi
mov    %r15,%rdx
call   1080 <valueForKeyInHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1090 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   10a0 <assert@plt>
mov    (%rsp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
lea    0xd6d(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%rdi
lea    0xd18(%rip),%rbx
mov    %r13,%rsi
mov    %rbx,%rdx
call   1060 <addToHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    (%rsp),%rdi
mov    %r13,%rsi
mov    %r15,%rdx
call   1080 <valueForKeyInHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1090 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   10a0 <assert@plt>
mov    (%rsp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
lea    0xd3f(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%rdi
mov    %r13,%rsi
call   1030 <removeFromHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    (%rsp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
lea    0xd37(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%rdi
mov    %r12,%rsi
call   1030 <removeFromHashTable@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    (%rsp),%rdi
call   10b0 <printAllKeysAndValues@plt>
mov    %eax,%edi
call   10a0 <assert@plt>
mov    %r14,%rdi
call   1050 <destroyHashTable@plt>
xor    %edi,%edi
cmpq   $0x0,(%rsp)
sete   %dil
call   10a0 <assert@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.hashTable = type { i32 }
@.str = [62 x i8] c"Adding 'hello'=>'world', 'color'=>'blue' and printing:\0A-----\0A\00"
@.str.1 = [6 x i8] c"hello\00"
@.str.2 = [6 x i8] c"world\00"
@.str.3 = [6 x i8] c"color\00"
@.str.4 = [5 x i8] c"blue\00"
@.str.5 = [61 x i8] c"\0A\0AChanging 'hello' value to 'goodbye', then printing:\0A-----\0A\00"
@.str.6 = [8 x i8] c"goodbye\00"
@.str.7 = [40 x i8] c"\0A\0ARemoving 'hello' and printing:\0A-----\0A\00"
@.str.8 = [40 x i8] c"\0A\0ARemoving 'color' and printing:\0A-----\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca %struct.hashTable*
%6 = alloca i8*
store i32 %0, i32* %3
store i8** %1, i8*** %4
%7 = call i32 @createHashTable(i32 10, %struct.hashTable** %5)
%8 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
%9 = load %struct.hashTable*, %struct.hashTable** %5
%10 = call i32 @valueForKeyInHashTable(%struct.hashTable* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %6)
%11 = icmp ne i32 %10, 0
%12 = xor i1 %11, true
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 %13)
%15 = load i8*, i8** %6
%16 = icmp eq i8* null, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 %17)
%19 = load %struct.hashTable*, %struct.hashTable** %5
%20 = call i32 @addToHashTable(%struct.hashTable* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 @assert(i32 %20)
%22 = load %struct.hashTable*, %struct.hashTable** %5
%23 = call i32 @addToHashTable(%struct.hashTable* %22, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%24 = call i32 @assert(i32 %23)
%25 = load %struct.hashTable*, %struct.hashTable** %5
%26 = call i32 @valueForKeyInHashTable(%struct.hashTable* %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %6)
%27 = call i32 @assert(i32 %26)
%28 = load i8*, i8** %6
%29 = call i64 @strcmp(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %28)
%30 = icmp eq i64 0, %29
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 %31)
%33 = load %struct.hashTable*, %struct.hashTable** %5
%34 = call i32 @valueForKeyInHashTable(%struct.hashTable* %33, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %6)
%35 = icmp ne i32 %34, 0
%36 = xor i1 %35, true
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 %37)
%39 = load i8*, i8** %6
%40 = icmp eq i8* null, %39
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 %41)
%43 = load %struct.hashTable*, %struct.hashTable** %5
%44 = call i32 @addToHashTable(%struct.hashTable* %43, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%45 = call i32 @assert(i32 %44)
%46 = load %struct.hashTable*, %struct.hashTable** %5
%47 = call i32 @valueForKeyInHashTable(%struct.hashTable* %46, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %6)
%48 = call i32 @assert(i32 %47)
%49 = load i8*, i8** %6
%50 = call i64 @strcmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* %49)
%51 = icmp eq i64 0, %50
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 %52)
%54 = load %struct.hashTable*, %struct.hashTable** %5
%55 = call i32 @printAllKeysAndValues(%struct.hashTable* %54)
%56 = call i32 @assert(i32 %55)
%57 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.5, i64 0, i64 0))
%58 = load %struct.hashTable*, %struct.hashTable** %5
%59 = call i32 @addToHashTable(%struct.hashTable* %58, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%60 = call i32 @assert(i32 %59)
%61 = load %struct.hashTable*, %struct.hashTable** %5
%62 = call i32 @valueForKeyInHashTable(%struct.hashTable* %61, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %6)
%63 = call i32 @assert(i32 %62)
%64 = load i8*, i8** %6
%65 = call i64 @strcmp(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %64)
%66 = icmp eq i64 0, %65
%67 = zext i1 %66 to i32
%68 = call i32 @assert(i32 %67)
%69 = load %struct.hashTable*, %struct.hashTable** %5
%70 = call i32 @printAllKeysAndValues(%struct.hashTable* %69)
%71 = call i32 @assert(i32 %70)
%72 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%73 = load %struct.hashTable*, %struct.hashTable** %5
%74 = call i32 @removeFromHashTable(%struct.hashTable* %73, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%75 = call i32 @assert(i32 %74)
%76 = load %struct.hashTable*, %struct.hashTable** %5
%77 = call i32 @printAllKeysAndValues(%struct.hashTable* %76)
%78 = call i32 @assert(i32 %77)
%79 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0))
%80 = load %struct.hashTable*, %struct.hashTable** %5
%81 = call i32 @removeFromHashTable(%struct.hashTable* %80, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%82 = call i32 @assert(i32 %81)
%83 = load %struct.hashTable*, %struct.hashTable** %5
%84 = call i32 @printAllKeysAndValues(%struct.hashTable* %83)
%85 = call i32 @assert(i32 %84)
%86 = call i32 @destroyHashTable(%struct.hashTable** %5)
%87 = load %struct.hashTable*, %struct.hashTable** %5
%88 = icmp eq %struct.hashTable* null, %87
%89 = zext i1 %88 to i32
%90 = call i32 @assert(i32 %89)
ret i32 0
}

LLVM IR (-O2):
%struct.hashTable = type { i32 }
@.str.1 = [6 x i8] c"hello\00"
@.str.2 = [6 x i8] c"world\00"
@.str.3 = [6 x i8] c"color\00"
@.str.4 = [5 x i8] c"blue\00"
@.str.6 = [8 x i8] c"goodbye\00"
@str = [61 x i8] c"Adding 'hello'=>'world', 'color'=>'blue' and printing:\0A-----\00"
@str.9 = [60 x i8] c"\0A\0AChanging 'hello' value to 'goodbye', then printing:\0A-----\00"
@str.10 = [39 x i8] c"\0A\0ARemoving 'hello' and printing:\0A-----\00"
@str.11 = [39 x i8] c"\0A\0ARemoving 'color' and printing:\0A-----\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca %struct.hashTable*
%4 = alloca i8*
%5 = bitcast %struct.hashTable** %3 to i8*
%6 = bitcast i8** %4 to i8*
%7 = call i32 @createHashTable(i32 10, %struct.hashTable** %3)
%8 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str, i64 0, i64 0))
%9 = load %struct.hashTable*, %struct.hashTable** %3
%10 = call i32 @valueForKeyInHashTable(%struct.hashTable* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %4)
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 %12)
%14 = load i8*, i8** %4
%15 = icmp eq i8* %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 %16)
%18 = load %struct.hashTable*, %struct.hashTable** %3
%19 = call i32 @addToHashTable(%struct.hashTable* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%20 = call i32 @assert(i32 %19)
%21 = load %struct.hashTable*, %struct.hashTable** %3
%22 = call i32 @addToHashTable(%struct.hashTable* %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%23 = call i32 @assert(i32 %22)
%24 = load %struct.hashTable*, %struct.hashTable** %3
%25 = call i32 @valueForKeyInHashTable(%struct.hashTable* %24, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %4)
%26 = call i32 @assert(i32 %25)
%27 = load i8*, i8** %4
%28 = call i64 @strcmp(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %27)
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 %30)
%32 = load %struct.hashTable*, %struct.hashTable** %3
%33 = call i32 @valueForKeyInHashTable(%struct.hashTable* %32, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %4)
%34 = icmp eq i32 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 %35)
%37 = load i8*, i8** %4
%38 = icmp eq i8* %37, null
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 %39)
%41 = load %struct.hashTable*, %struct.hashTable** %3
%42 = call i32 @addToHashTable(%struct.hashTable* %41, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%43 = call i32 @assert(i32 %42)
%44 = load %struct.hashTable*, %struct.hashTable** %3
%45 = call i32 @valueForKeyInHashTable(%struct.hashTable* %44, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %4)
%46 = call i32 @assert(i32 %45)
%47 = load i8*, i8** %4
%48 = call i64 @strcmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* %47)
%49 = icmp eq i64 %48, 0
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 %50)
%52 = load %struct.hashTable*, %struct.hashTable** %3
%53 = call i32 @printAllKeysAndValues(%struct.hashTable* %52)
%54 = call i32 @assert(i32 %53)
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.9, i64 0, i64 0))
%56 = load %struct.hashTable*, %struct.hashTable** %3
%57 = call i32 @addToHashTable(%struct.hashTable* %56, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%58 = call i32 @assert(i32 %57)
%59 = load %struct.hashTable*, %struct.hashTable** %3
%60 = call i32 @valueForKeyInHashTable(%struct.hashTable* %59, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %4)
%61 = call i32 @assert(i32 %60)
%62 = load i8*, i8** %4
%63 = call i64 @strcmp(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %62)
%64 = icmp eq i64 %63, 0
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 %65)
%67 = load %struct.hashTable*, %struct.hashTable** %3
%68 = call i32 @printAllKeysAndValues(%struct.hashTable* %67)
%69 = call i32 @assert(i32 %68)
%70 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.10, i64 0, i64 0))
%71 = load %struct.hashTable*, %struct.hashTable** %3
%72 = call i32 @removeFromHashTable(%struct.hashTable* %71, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%73 = call i32 @assert(i32 %72)
%74 = load %struct.hashTable*, %struct.hashTable** %3
%75 = call i32 @printAllKeysAndValues(%struct.hashTable* %74)
%76 = call i32 @assert(i32 %75)
%77 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.11, i64 0, i64 0))
%78 = load %struct.hashTable*, %struct.hashTable** %3
%79 = call i32 @removeFromHashTable(%struct.hashTable* %78, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%80 = call i32 @assert(i32 %79)
%81 = load %struct.hashTable*, %struct.hashTable** %3
%82 = call i32 @printAllKeysAndValues(%struct.hashTable* %81)
%83 = call i32 @assert(i32 %82)
%84 = call i32 @destroyHashTable(%struct.hashTable** %3)
%85 = load %struct.hashTable*, %struct.hashTable** %3
%86 = icmp eq %struct.hashTable* %85, null
%87 = zext i1 %86 to i32
%88 = call i32 @assert(i32 %87)
ret i32 0
}