#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 */

/* Variables and functions */
char *getValue(char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ setValue(char *, char *);
scalar_t__ strcmp(char *, char *);
int main() {
  char *test;
  test = getValue("hello");
  if (!test) {
    printf("PASS: empty\n");
  } else {
    printf("FAIL: empty\n");
  }
  printf("\n");
  if (setValue("hello", "world")) {
    printf("PASS: basic set\n");
  } else {
    printf("FAIL: basic set\n");
  }
  test = getValue("hello");
  if (test) {
    printf("PASS: basic get\n");
  } else {
    printf("FAIL: basic get\n");
  }
  if (strcmp(test, "world") == 0) {
    printf("PASS: retrieved %s\n", test);
  } else {
    printf("FAIL: retrieved %s\n", test);
  }
  printf("\n");
  if (setValue("yellow", "submarine")) {
    printf("PASS: basic set 2\n");
  } else {
    printf("FAIL: basic set 2\n");
  }
  test = getValue("yellow");
  if (test) {
    printf("PASS: basic get 2\n");
  } else {
    printf("FAIL: basic get 2\n");
  }
  if (strcmp(test, "submarine") == 0) {
    printf("PASS: retrieved %s\n", test);
  } else {
    printf("FAIL: retrieved %s\n", test);
  }
  printf("\n");
  test = getValue("what");
  if (!test) {
    printf("PASS: empty\n");
  } else {
    printf("FAIL: empty\n");
  }
  printf("\n");
  if (setValue("yellow", "double")) {
    printf("PASS: set overwrite\n");
  } else {
    printf("FAIL: set overwrite\n");
  }
  test = getValue("yellow");
  if (test) {
    printf("PASS: get overwrite\n");
  } else {
    printf("FAIL: get overwrite\n");
  }
  if (strcmp(test, "double") == 0) {
    printf("PASS: retrieved %s\n", test);
  } else {
    printf("FAIL: retrieved %s\n", test);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeaa(%rip),%rdi
call   1050 <getValue@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    117d <main+0x3d>
lea    0xe95(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    118b <main+0x4b>
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf5b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe60(%rip),%rdi
lea    0xe79(%rip),%rsi
call   1030 <setValue@plt>
cmp    $0x0,%rax
je     11c9 <main+0x89>
lea    0xe69(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    11d7 <main+0x97>
lea    0xe67(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe22(%rip),%rdi
call   1050 <getValue@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     1205 <main+0xc5>
lea    0xe4f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1213 <main+0xd3>
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rdi
lea    0xe02(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1244 <main+0x104>
mov    -0x10(%rbp),%rsi
lea    0xe32(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1256 <main+0x116>
mov    -0x10(%rbp),%rsi
lea    0xe2f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe27(%rip),%rdi
lea    0xe27(%rip),%rsi
call   1030 <setValue@plt>
cmp    $0x0,%rax
je     1294 <main+0x154>
lea    0xe1b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a2 <main+0x162>
lea    0xe1b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xde9(%rip),%rdi
call   1050 <getValue@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     12d0 <main+0x190>
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12de <main+0x19e>
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rdi
lea    0xdb0(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    130f <main+0x1cf>
mov    -0x10(%rbp),%rsi
lea    0xd67(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1321 <main+0x1e1>
mov    -0x10(%rbp),%rsi
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdc5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdb9(%rip),%rdi
call   1050 <getValue@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    135d <main+0x21d>
lea    0xcb5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136b <main+0x22b>
lea    0xcaf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd7b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd12(%rip),%rdi
lea    0xd6d(%rip),%rsi
call   1030 <setValue@plt>
cmp    $0x0,%rax
je     13a9 <main+0x269>
lea    0xd5e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13b7 <main+0x277>
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xcd4(%rip),%rdi
call   1050 <getValue@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     13e5 <main+0x2a5>
lea    0xd4c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13f3 <main+0x2b3>
lea    0xd4e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rdi
lea    0xcf6(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1424 <main+0x2e4>
mov    -0x10(%rbp),%rsi
lea    0xc52(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1436 <main+0x2f6>
mov    -0x10(%rbp),%rsi
lea    0xc4f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xe8e(%rip),%rbx
mov    %rbx,%rdi
call   1070 <getValue@plt>
test   %rax,%rax
lea    0xf11(%rip),%rax
lea    0xfaa(%rip),%r14
mov    %r14,%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe5e(%rip),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <setValue@plt>
test   %rax,%rax
lea    0xe94(%rip),%rax
lea    0xf61(%rip),%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1070 <getValue@plt>
mov    %rax,%rbx
test   %rax,%rax
lea    0xe7f(%rip),%rax
lea    0xf2c(%rip),%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
lea    0xe05(%rip),%rbp
lea    0xe12(%rip),%r13
mov    %r13,%rdi
cmove  %rbp,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe04(%rip),%r15
lea    0xe04(%rip),%r12
mov    %r15,%rdi
mov    %r12,%rsi
call   1050 <setValue@plt>
test   %rax,%rax
lea    0xe25(%rip),%rax
lea    0xeb0(%rip),%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
call   1070 <getValue@plt>
mov    %rax,%rbx
test   %rax,%rax
lea    0xe12(%rip),%rax
lea    0xe79(%rip),%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
mov    %r13,%rdi
cmove  %rbp,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd94(%rip),%rdi
call   1070 <getValue@plt>
test   %rax,%rax
lea    0xdd5(%rip),%rax
cmove  %rax,%r14
mov    %r14,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd6d(%rip),%r14
mov    %r15,%rdi
mov    %r14,%rsi
call   1050 <setValue@plt>
test   %rax,%rax
lea    0xdaf(%rip),%rax
lea    0xde4(%rip),%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
call   1070 <getValue@plt>
mov    %rax,%rbx
test   %rax,%rax
lea    0xd9e(%rip),%rax
lea    0xdab(%rip),%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
cmove  %rbp,%r13
mov    %r13,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [6 x i8] c"hello\00"
@.str.1 = [13 x i8] c"PASS: empty\0A\00"
@.str.2 = [13 x i8] c"FAIL: empty\0A\00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [6 x i8] c"world\00"
@.str.5 = [17 x i8] c"PASS: basic set\0A\00"
@.str.6 = [17 x i8] c"FAIL: basic set\0A\00"
@.str.7 = [17 x i8] c"PASS: basic get\0A\00"
@.str.8 = [17 x i8] c"FAIL: basic get\0A\00"
@.str.9 = [20 x i8] c"PASS: retrieved %s\0A\00"
@.str.10 = [20 x i8] c"FAIL: retrieved %s\0A\00"
@.str.11 = [7 x i8] c"yellow\00"
@.str.12 = [10 x i8] c"submarine\00"
@.str.13 = [19 x i8] c"PASS: basic set 2\0A\00"
@.str.14 = [19 x i8] c"FAIL: basic set 2\0A\00"
@.str.15 = [19 x i8] c"PASS: basic get 2\0A\00"
@.str.16 = [19 x i8] c"FAIL: basic get 2\0A\00"
@.str.17 = [5 x i8] c"what\00"
@.str.18 = [7 x i8] c"double\00"
@.str.19 = [21 x i8] c"PASS: set overwrite\0A\00"
@.str.20 = [21 x i8] c"FAIL: set overwrite\0A\00"
@.str.21 = [21 x i8] c"PASS: get overwrite\0A\00"
@.str.22 = [21 x i8] c"FAIL: get overwrite\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
store i32 0, i32* %1
%3 = call i8* @getValue(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
store i8* %3, i8** %2
%4 = load i8*, i8** %2
%5 = icmp ne i8* %4, null
br i1 %5, label %8, label %6
6: ; preds = %0
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
br label %10
8: ; preds = %0
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
br label %10
10: ; preds = %8, %6
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%12 = call i64 @setValue(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
br label %18
16: ; preds = %10
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
br label %18
18: ; preds = %16, %14
%19 = call i8* @getValue(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
store i8* %19, i8** %2
%20 = load i8*, i8** %2
%21 = icmp ne i8* %20, null
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
br label %26
24: ; preds = %18
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0))
br label %26
26: ; preds = %24, %22
%27 = load i8*, i8** %2
%28 = call i64 @strcmp(i8* %27, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i8*, i8** %2
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %31)
br label %36
33: ; preds = %26
%34 = load i8*, i8** %2
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i8* %34)
br label %36
36: ; preds = %33, %30
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%38 = call i64 @setValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0))
br label %44
42: ; preds = %36
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0))
br label %44
44: ; preds = %42, %40
%45 = call i8* @getValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
store i8* %45, i8** %2
%46 = load i8*, i8** %2
%47 = icmp ne i8* %46, null
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0))
br label %52
50: ; preds = %44
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0))
br label %52
52: ; preds = %50, %48
%53 = load i8*, i8** %2
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = load i8*, i8** %2
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %57)
br label %62
59: ; preds = %52
%60 = load i8*, i8** %2
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i8* %60)
br label %62
62: ; preds = %59, %56
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%64 = call i8* @getValue(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
store i8* %64, i8** %2
%65 = load i8*, i8** %2
%66 = icmp ne i8* %65, null
br i1 %66, label %69, label %67
67: ; preds = %62
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
br label %71
69: ; preds = %62
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
br label %71
71: ; preds = %69, %67
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%73 = call i64 @setValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %77
75: ; preds = %71
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.19, i64 0, i64 0))
br label %79
77: ; preds = %71
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.20, i64 0, i64 0))
br label %79
79: ; preds = %77, %75
%80 = call i8* @getValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
store i8* %80, i8** %2
%81 = load i8*, i8** %2
%82 = icmp ne i8* %81, null
br i1 %82, label %83, label %85
83: ; preds = %79
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.21, i64 0, i64 0))
br label %87
85: ; preds = %79
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.22, i64 0, i64 0))
br label %87
87: ; preds = %85, %83
%88 = load i8*, i8** %2
%89 = call i64 @strcmp(i8* %88, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %94
91: ; preds = %87
%92 = load i8*, i8** %2
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %92)
br label %97
94: ; preds = %87
%95 = load i8*, i8** %2
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i8* %95)
br label %97
97: ; preds = %94, %91
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"hello\00"
@.str.4 = [6 x i8] c"world\00"
@.str.9 = [20 x i8] c"PASS: retrieved %s\0A\00"
@.str.10 = [20 x i8] c"FAIL: retrieved %s\0A\00"
@.str.11 = [7 x i8] c"yellow\00"
@.str.12 = [10 x i8] c"submarine\00"
@.str.17 = [5 x i8] c"what\00"
@.str.18 = [7 x i8] c"double\00"
@str.23 = [16 x i8] c"FAIL: basic set\00"
@str.24 = [16 x i8] c"FAIL: basic get\00"
@str.25 = [18 x i8] c"FAIL: basic set 2\00"
@str.26 = [18 x i8] c"FAIL: basic get 2\00"
@str.27 = [12 x i8] c"PASS: empty\00"
@str.28 = [20 x i8] c"FAIL: set overwrite\00"
@str.29 = [20 x i8] c"FAIL: get overwrite\00"
@str.30 = [20 x i8] c"PASS: get overwrite\00"
@str.31 = [20 x i8] c"PASS: set overwrite\00"
@str.33 = [18 x i8] c"PASS: basic get 2\00"
@str.34 = [18 x i8] c"PASS: basic set 2\00"
@str.35 = [16 x i8] c"PASS: basic get\00"
@str.36 = [16 x i8] c"PASS: basic set\00"
@str.37 = [12 x i8] c"FAIL: empty\00"
define i32 @main() {
%1 = tail call i8* @getValue(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%2 = icmp eq i8* %1, null
%3 = select i1 %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @str.27, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @str.37, i64 0, i64 0)
%4 = tail call i32 @puts(i8* dereferenceable(1) %3)
%5 = tail call i32 @putchar(i32 10)
%6 = tail call i64 @setValue(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
%8 = select i1 %7, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @str.23, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @str.36, i64 0, i64 0)
%9 = tail call i32 @puts(i8* dereferenceable(1) %8)
%10 = tail call i8* @getValue(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%11 = icmp eq i8* %10, null
%12 = select i1 %11, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @str.24, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @str.35, i64 0, i64 0)
%13 = tail call i32 @puts(i8* dereferenceable(1) %12)
%14 = tail call i64 @strcmp(i8* %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
%16 = select i1 %15, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %16, i8* %10)
%18 = tail call i32 @putchar(i32 10)
%19 = tail call i64 @setValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
%21 = select i1 %20, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @str.25, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @str.34, i64 0, i64 0)
%22 = tail call i32 @puts(i8* dereferenceable(1) %21)
%23 = tail call i8* @getValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%24 = icmp eq i8* %23, null
%25 = select i1 %24, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @str.26, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @str.33, i64 0, i64 0)
%26 = tail call i32 @puts(i8* dereferenceable(1) %25)
%27 = tail call i64 @strcmp(i8* %23, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
%29 = select i1 %28, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %29, i8* %23)
%31 = tail call i32 @putchar(i32 10)
%32 = tail call i8* @getValue(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
%33 = icmp eq i8* %32, null
%34 = select i1 %33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @str.27, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @str.37, i64 0, i64 0)
%35 = tail call i32 @puts(i8* dereferenceable(1) %34)
%36 = tail call i32 @putchar(i32 10)
%37 = tail call i64 @setValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
%39 = select i1 %38, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @str.28, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @str.31, i64 0, i64 0)
%40 = tail call i32 @puts(i8* dereferenceable(1) %39)
%41 = tail call i8* @getValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%42 = icmp eq i8* %41, null
%43 = select i1 %42, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @str.29, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @str.30, i64 0, i64 0)
%44 = tail call i32 @puts(i8* dereferenceable(1) %43)
%45 = tail call i64 @strcmp(i8* %41, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
%47 = select i1 %46, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0)
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %47, i8* %41)
ret i32 0
}