#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 */
typedef int int64_t;

/* Variables and functions */
int disk_alloc_create(char *, char *, int);
int /*<<< orphan*/ disk_del(int, char *);
int /*<<< orphan*/ free(char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ sprintf(char *, char *, char *, int);
int string_metric_parse(char *);
int main(int argc, char **argv) {
  int i, j, result, fail_flag = 0;
  char *arg_loc = argv[1];
  char *arg_size = argv[2];
  char *fs = argv[3];
  int64_t size = string_metric_parse(arg_size) / 1024;
  char *test_loc = (char *)malloc(sizeof(char) * 200);
  for (j = 0; j < 3; j++) {
    i = 0;
    printf("Beginning run #%d.\n", j + 1);
    while (i < 10) {
      sprintf(test_loc, "%s%d/", arg_loc, i);
      result = disk_alloc_create(test_loc, fs, size);
      if (result < 0) {
        printf("Disk allocation failed.\n");
        fail_flag = 1;
        i--;
        break;
      }
      printf("Disk allocation successful.\n");
      i++;
    }
    if (fail_flag == 0) {
      i--;
    }
    disk_del(i, arg_loc);
    printf("\n\nRun #%d complete.\n\n", (j + 1));
    sleep(1);
  }
  free(test_loc);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rax
mov    %rax,-0x38(%rbp)
mov    -0x30(%rbp),%rdi
call   10a0 <string_metric_parse@plt>
mov    $0x400,%ecx
cltd
idiv   %ecx
mov    %eax,-0x3c(%rbp)
mov    $0xc8,%edi
call   1060 <malloc@plt>
mov    %rax,-0x48(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    12d7 <main+0x157>
movl   $0x0,-0x14(%rbp)
mov    -0x18(%rbp),%esi
add    $0x1,%esi
lea    0xdf8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpl   $0xa,-0x14(%rbp)
jge    128c <main+0x10c>
mov    -0x48(%rbp),%rdi
mov    -0x28(%rbp),%rdx
mov    -0x14(%rbp),%ecx
lea    0xde9(%rip),%rsi
call   1080 <sprintf@plt>
mov    -0x48(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x3c(%rbp),%edx
call   1040 <disk_alloc_create@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jge    1270 <main+0xf0>
lea    0xdc6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0x20(%rbp)
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    128c <main+0x10c>
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    120f <main+0x8f>
cmpl   $0x0,-0x20(%rbp)
jne    129f <main+0x11f>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x28(%rbp),%rsi
call   1070 <disk_del@plt>
mov    -0x18(%rbp),%esi
add    $0x1,%esi
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x1,%edi
call   1090 <sleep@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11ea <main+0x6a>
mov    -0x48(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    0x8(%rsi),%r12
mov    0x10(%rsi),%rdi
mov    0x18(%rsi),%rbp
call   10b0 <string_metric_parse@plt>
lea    0x3ff(%rax),%r15d
test   %eax,%eax
cmovns %eax,%r15d
sar    $0xa,%r15d
mov    $0xc8,%edi
call   1070 <malloc@plt>
mov    %rax,%r14
mov    $0x1,%ebx
lea    0xe3e(%rip),%r13
movl   $0x0,0x4(%rsp)
xchg   %ax,%ax
lea    0xe19(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
xor    %ecx,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     1410 <main+0x280>
lea    0xe13(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x1,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     1420 <main+0x290>
lea    0xdde(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x2,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     1425 <main+0x295>
lea    0xda9(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x3,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     142d <main+0x29d>
lea    0xd74(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x4,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     1435 <main+0x2a5>
lea    0xd3f(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x5,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     143d <main+0x2ad>
lea    0xd0a(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x6,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     1445 <main+0x2b5>
lea    0xcd5(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x7,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     144d <main+0x2bd>
lea    0xca0(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x8,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     1455 <main+0x2c5>
lea    0xc6b(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
mov    $0x9,%ecx
call   1090 <sprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1040 <disk_alloc_create@plt>
test   %eax,%eax
js     145d <main+0x2cd>
lea    0xc3a(%rip),%rdi
call   1050 <puts@plt>
cmpl   $0x1,0x4(%rsp)
mov    $0xa,%r13d
sbb    $0x0,%r13d
jmp    1484 <main+0x2f4>
nopl   0x0(%rax)
mov    $0xffffffff,%r13d
jmp    1470 <main+0x2e0>
nopl   0x0(%rax,%rax,1)
xor    %r13d,%r13d
jmp    1470 <main+0x2e0>
mov    $0x1,%r13d
jmp    1470 <main+0x2e0>
mov    $0x2,%r13d
jmp    1470 <main+0x2e0>
mov    $0x3,%r13d
jmp    1470 <main+0x2e0>
mov    $0x4,%r13d
jmp    1470 <main+0x2e0>
mov    $0x5,%r13d
jmp    1470 <main+0x2e0>
mov    $0x6,%r13d
jmp    1470 <main+0x2e0>
mov    $0x7,%r13d
jmp    1470 <main+0x2e0>
mov    $0x8,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0xbd5(%rip),%rdi
call   1050 <puts@plt>
movl   $0x1,0x4(%rsp)
mov    %r13d,%edi
mov    %r12,%rsi
call   1080 <disk_del@plt>
lea    0xb84(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
add    $0x1,%ebx
cmp    $0x4,%ebx
lea    0xb5e(%rip),%r13
jne    11e0 <main+0x50>
mov    %r14,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [20 x i8] c"Beginning run #%d.\0A\00"
@.str.1 = [6 x i8] c"%s%d/\00"
@.str.2 = [25 x i8] c"Disk allocation failed.\0A\00"
@.str.3 = [29 x i8] c"Disk allocation successful.\0A\00"
@.str.4 = [22 x i8] c"\0A\0ARun #%d complete.\0A\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i32
%14 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %9
%15 = load i8**, i8*** %5
%16 = getelementptr inbounds i8*, i8** %15, i64 1
%17 = load i8*, i8** %16
store i8* %17, i8** %10
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 2
%20 = load i8*, i8** %19
store i8* %20, i8** %11
%21 = load i8**, i8*** %5
%22 = getelementptr inbounds i8*, i8** %21, i64 3
%23 = load i8*, i8** %22
store i8* %23, i8** %12
%24 = load i8*, i8** %11
%25 = call i32 @string_metric_parse(i8* %24)
%26 = sdiv i32 %25, 1024
store i32 %26, i32* %13
%27 = call i64 @malloc(i32 200)
%28 = inttoptr i64 %27 to i8*
store i8* %28, i8** %14
store i32 0, i32* %7
br label %29
29: ; preds = %72, %2
%30 = load i32, i32* %7
%31 = icmp slt i32 %30, 3
br i1 %31, label %32, label %75
32: ; preds = %29
store i32 0, i32* %6
%33 = load i32, i32* %7
%34 = add nsw i32 %33, 1
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %34)
br label %36
36: ; preds = %54, %32
%37 = load i32, i32* %6
%38 = icmp slt i32 %37, 10
br i1 %38, label %39, label %58
39: ; preds = %36
%40 = load i8*, i8** %14
%41 = load i8*, i8** %10
%42 = load i32, i32* %6
%43 = call i32 @sprintf(i8* %40, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %41, i32 %42)
%44 = load i8*, i8** %14
%45 = load i8*, i8** %12
%46 = load i32, i32* %13
%47 = call i32 @disk_alloc_create(i8* %44, i8* %45, i32 %46)
store i32 %47, i32* %8
%48 = load i32, i32* %8
%49 = icmp slt i32 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %39
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %9
%52 = load i32, i32* %6
%53 = add nsw i32 %52, -1
store i32 %53, i32* %6
br label %58
54: ; preds = %39
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
%56 = load i32, i32* %6
%57 = add nsw i32 %56, 1
store i32 %57, i32* %6
br label %36
58: ; preds = %50, %36
%59 = load i32, i32* %9
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, i32* %6
%63 = add nsw i32 %62, -1
store i32 %63, i32* %6
br label %64
64: ; preds = %61, %58
%65 = load i32, i32* %6
%66 = load i8*, i8** %10
%67 = call i32 @disk_del(i32 %65, i8* %66)
%68 = load i32, i32* %7
%69 = add nsw i32 %68, 1
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 %69)
%71 = call i32 @sleep(i32 1)
br label %72
72: ; preds = %64
%73 = load i32, i32* %7
%74 = add nsw i32 %73, 1
store i32 %74, i32* %7
br label %29
75: ; preds = %29
%76 = load i8*, i8** %14
%77 = call i32 @free(i8* %76)
ret i32 0
}

LLVM IR (-O2):
@.str = [20 x i8] c"Beginning run #%d.\0A\00"
@.str.1 = [6 x i8] c"%s%d/\00"
@.str.4 = [22 x i8] c"\0A\0ARun #%d complete.\0A\0A\00"
@str = [28 x i8] c"Disk allocation successful.\00"
@str.5 = [24 x i8] c"Disk allocation failed.\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = getelementptr inbounds i8*, i8** %1, i64 1
%4 = load i8*, i8** %3
%5 = getelementptr inbounds i8*, i8** %1, i64 2
%6 = load i8*, i8** %5
%7 = getelementptr inbounds i8*, i8** %1, i64 3
%8 = load i8*, i8** %7
%9 = tail call i32 @string_metric_parse(i8* %6)
%10 = sdiv i32 %9, 1024
%11 = tail call i64 @malloc(i32 200)
%12 = inttoptr i64 %11 to i8*
br label %13
13: ; preds = %2, %73
%14 = phi i32 [ 0, %2 ], [ %16, %73 ]
%15 = phi i32 [ 0, %2 ], [ %74, %73 ]
%16 = add nuw nsw i32 %14, 1
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %16)
%18 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 0)
%19 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %64, %59, %54, %49, %44, %39, %34, %29, %24, %13
%22 = phi i32 [ -1, %13 ], [ 0, %24 ], [ 1, %29 ], [ 2, %34 ], [ 3, %39 ], [ 4, %44 ], [ 5, %49 ], [ 6, %54 ], [ 7, %59 ], [ 8, %64 ]
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.5, i64 0, i64 0))
br label %73
24: ; preds = %13
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%26 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 1)
%27 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%28 = icmp slt i32 %27, 0
br i1 %28, label %21, label %29
29: ; preds = %24
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%31 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 2)
%32 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%33 = icmp slt i32 %32, 0
br i1 %33, label %21, label %34
34: ; preds = %29
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%36 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 3)
%37 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%38 = icmp slt i32 %37, 0
br i1 %38, label %21, label %39
39: ; preds = %34
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%41 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 4)
%42 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%43 = icmp slt i32 %42, 0
br i1 %43, label %21, label %44
44: ; preds = %39
%45 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%46 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 5)
%47 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%48 = icmp slt i32 %47, 0
br i1 %48, label %21, label %49
49: ; preds = %44
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%51 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 6)
%52 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%53 = icmp slt i32 %52, 0
br i1 %53, label %21, label %54
54: ; preds = %49
%55 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%56 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 7)
%57 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%58 = icmp slt i32 %57, 0
br i1 %58, label %21, label %59
59: ; preds = %54
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%61 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 8)
%62 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%63 = icmp slt i32 %62, 0
br i1 %63, label %21, label %64
64: ; preds = %59
%65 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%66 = tail call i32 @sprintf(i8* dereferenceable(1) %12, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 9)
%67 = tail call i32 @disk_alloc_create(i8* %12, i8* %8, i32 %10)
%68 = icmp slt i32 %67, 0
br i1 %68, label %21, label %69
69: ; preds = %64
%70 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%71 = icmp eq i32 %15, 0
%72 = select i1 %71, i32 9, i32 10
br label %73
73: ; preds = %69, %21
%74 = phi i32 [ 1, %21 ], [ %15, %69 ]
%75 = phi i32 [ %22, %21 ], [ %72, %69 ]
%76 = tail call i32 @disk_del(i32 %75, i8* %4)
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 %16)
%78 = tail call i32 @sleep(i32 1)
%79 = icmp eq i32 %16, 3
br i1 %79, label %80, label %13
80: ; preds = %73
%81 = tail call i32 @free(i8* %12)
ret i32 0
}