#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 */
int MAP_ANON;
void *MAP_FAILED;
int MAP_SHARED;
int PROT_READ;
int PROT_WRITE;
int /*<<< orphan*/ memset(void *, int, int);
void *mmap(int /*<<< orphan*/ *, int, int, int, int, int /*<<< orphan*/);
int /*<<< orphan*/ munmap(void *, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  void *fp_ptr3;
  int i;
  fp_ptr3 = mmap(NULL, 4096 * 10, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON,
                 -1, 0);
  if (fp_ptr3 == MAP_FAILED) {
    printf("mmap anon fp_ptr3 failed\n");
    perror("mmap");
    return 0;
  }
  printf("anon fp_ptr3 = %p\n", fp_ptr3);
  memset(fp_ptr3, 0xaa, 4096 * 10);
  munmap(fp_ptr3, 4096 * 10);
  fp_ptr3 = mmap(NULL, 4096 * 10, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON,
                 -1, 0);
  if (fp_ptr3 == MAP_FAILED) {
    printf("mmap anon fp_ptr3 failed\n");
    perror("mmap");
    return 0;
  }
  printf("after unmap anon fp_ptr3 = %p\n", fp_ptr3);
  ((char *)fp_ptr3)[0] = 0xcc;
  for (i = 0; i < 100; i += 4)
    printf("[%x]", ((int *)fp_ptr3)[i]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2e92(%rip),%rax
mov    (%rax),%edx
mov    0x2e61(%rip),%rax
or     (%rax),%edx
mov    0x2e70(%rip),%rax
mov    (%rax),%ecx
mov    0x2e47(%rip),%rax
or     (%rax),%ecx
xor    %eax,%eax
mov    %eax,%edi
mov    $0xa000,%esi
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1030 <mmap@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x2e17(%rip),%rcx
cmp    (%rcx),%rax
jne    11d8 <main+0x88>
lea    0xe47(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe53(%rip),%rdi
call   1070 <perror@plt>
movl   $0x0,-0x4(%rbp)
jmp    12dc <main+0x18c>
mov    -0x10(%rbp),%rsi
lea    0xe48(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    $0xaa,%esi
mov    $0xa000,%edx
call   1050 <memset@plt>
mov    -0x10(%rbp),%rdi
mov    $0xa000,%esi
call   1060 <munmap@plt>
mov    0x2de6(%rip),%rax
mov    (%rax),%edx
mov    0x2db5(%rip),%rax
or     (%rax),%edx
mov    0x2dc4(%rip),%rax
mov    (%rax),%ecx
mov    0x2d9b(%rip),%rax
or     (%rax),%ecx
xor    %eax,%eax
mov    %eax,%edi
mov    $0xa000,%esi
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1030 <mmap@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x2d6b(%rip),%rcx
cmp    (%rcx),%rax
jne    1284 <main+0x134>
lea    0xd9b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xda7(%rip),%rdi
call   1070 <perror@plt>
movl   $0x0,-0x4(%rbp)
jmp    12dc <main+0x18c>
mov    -0x10(%rbp),%rsi
lea    0xd90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rax
movb   $0xcc,(%rax)
movl   $0x0,-0x14(%rbp)
cmpl   $0x64,-0x14(%rbp)
jge    12d5 <main+0x185>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd7e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x14(%rbp)
jmp    12a4 <main+0x154>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    0x2e86(%rip),%r14
mov    0x2e57(%rip),%r12
mov    (%r12),%edx
or     (%r14),%edx
mov    0x2e61(%rip),%r15
mov    0x2e3a(%rip),%r13
mov    0x0(%r13),%ecx
or     (%r15),%ecx
xor    %edi,%edi
mov    $0xa000,%esi
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1040 <mmap@plt>
mov    0x2e0f(%rip),%rbp
cmp    0x0(%rbp),%rax
je     13c1 <main+0x261>
mov    %rax,%rbx
lea    0xe4c(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0xaa,%esi
mov    $0xa000,%edx
call   1060 <memset@plt>
mov    %rbx,%rdi
mov    $0xa000,%esi
call   1070 <munmap@plt>
mov    (%r12),%edx
or     (%r14),%edx
mov    0x0(%r13),%ecx
or     (%r15),%ecx
xor    %edi,%edi
mov    $0xa000,%esi
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1040 <mmap@plt>
cmp    0x0(%rbp),%rax
je     13c1 <main+0x261>
mov    %rax,%rbx
lea    0xde0(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0xcc,(%rbx)
mov    (%rbx),%esi
lea    0xde9(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x40(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x50(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x60(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x70(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x80(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x90(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xa0(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xb0(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc0(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xd0(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xe0(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xf0(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x100(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x110(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x120(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x130(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x140(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x150(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x160(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x170(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x180(%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xc61(%rip),%rdi
call   1030 <puts@plt>
lea    0xc2c(%rip),%rdi
call   1080 <perror@plt>
jmp    13b0 <main+0x250>

LLVM IR (-O0):
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_SHARED = global i32 0
@MAP_ANON = global i32 0
@MAP_FAILED = global i8* null
@.str = [26 x i8] c"mmap anon fp_ptr3 failed\0A\00"
@.str.1 = [5 x i8] c"mmap\00"
@.str.2 = [19 x i8] c"anon fp_ptr3 = %p\0A\00"
@.str.3 = [31 x i8] c"after unmap anon fp_ptr3 = %p\0A\00"
@.str.4 = [5 x i8] c"[%x]\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i32
store i32 0, i32* %1
%4 = load i32, i32* @PROT_READ
%5 = load i32, i32* @PROT_WRITE
%6 = or i32 %4, %5
%7 = load i32, i32* @MAP_SHARED
%8 = load i32, i32* @MAP_ANON
%9 = or i32 %7, %8
%10 = call i8* @mmap(i32* null, i32 40960, i32 %6, i32 %9, i32 -1, i32 0)
store i8* %10, i8** %2
%11 = load i8*, i8** %2
%12 = load i8*, i8** @MAP_FAILED
%13 = icmp eq i8* %11, %12
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %1
br label %57
17: ; preds = %0
%18 = load i8*, i8** %2
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* %18)
%20 = load i8*, i8** %2
%21 = call i32 @memset(i8* %20, i32 170, i32 40960)
%22 = load i8*, i8** %2
%23 = call i32 @munmap(i8* %22, i32 40960)
%24 = load i32, i32* @PROT_READ
%25 = load i32, i32* @PROT_WRITE
%26 = or i32 %24, %25
%27 = load i32, i32* @MAP_SHARED
%28 = load i32, i32* @MAP_ANON
%29 = or i32 %27, %28
%30 = call i8* @mmap(i32* null, i32 40960, i32 %26, i32 %29, i32 -1, i32 0)
store i8* %30, i8** %2
%31 = load i8*, i8** %2
%32 = load i8*, i8** @MAP_FAILED
%33 = icmp eq i8* %31, %32
br i1 %33, label %34, label %37
34: ; preds = %17
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%36 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %1
br label %57
37: ; preds = %17
%38 = load i8*, i8** %2
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %38)
%40 = load i8*, i8** %2
%41 = getelementptr inbounds i8, i8* %40, i64 0
store i8 -52, i8* %41
store i32 0, i32* %3
br label %42
42: ; preds = %53, %37
%43 = load i32, i32* %3
%44 = icmp slt i32 %43, 100
br i1 %44, label %45, label %56
45: ; preds = %42
%46 = load i8*, i8** %2
%47 = bitcast i8* %46 to i32*
%48 = load i32, i32* %3
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, i32* %47, i64 %49
%51 = load i32, i32* %50
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %51)
br label %53
53: ; preds = %45
%54 = load i32, i32* %3
%55 = add nsw i32 %54, 4
store i32 %55, i32* %3
br label %42
56: ; preds = %42
store i32 0, i32* %1
br label %57
57: ; preds = %56, %34, %14
%58 = load i32, i32* %1
ret i32 %58
}

LLVM IR (-O2):
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_SHARED = global i32 0
@MAP_ANON = global i32 0
@MAP_FAILED = global i8* null
@.str.1 = [5 x i8] c"mmap\00"
@.str.2 = [19 x i8] c"anon fp_ptr3 = %p\0A\00"
@.str.3 = [31 x i8] c"after unmap anon fp_ptr3 = %p\0A\00"
@.str.4 = [5 x i8] c"[%x]\00"
@str.5 = [25 x i8] c"mmap anon fp_ptr3 failed\00"
define i32 @main() {
%1 = load i32, i32* @PROT_READ
%2 = load i32, i32* @PROT_WRITE
%3 = or i32 %2, %1
%4 = load i32, i32* @MAP_SHARED
%5 = load i32, i32* @MAP_ANON
%6 = or i32 %5, %4
%7 = tail call i8* @mmap(i32* null, i32 40960, i32 %3, i32 %6, i32 -1, i32 0)
%8 = load i8*, i8** @MAP_FAILED
%9 = icmp eq i8* %7, %8
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.5, i64 0, i64 0))
%12 = tail call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %130
13: ; preds = %0
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* %7)
%15 = tail call i32 @memset(i8* %7, i32 170, i32 40960)
%16 = tail call i32 @munmap(i8* %7, i32 40960)
%17 = load i32, i32* @PROT_READ
%18 = load i32, i32* @PROT_WRITE
%19 = or i32 %18, %17
%20 = load i32, i32* @MAP_SHARED
%21 = load i32, i32* @MAP_ANON
%22 = or i32 %21, %20
%23 = tail call i8* @mmap(i32* null, i32 40960, i32 %19, i32 %22, i32 -1, i32 0)
%24 = load i8*, i8** @MAP_FAILED
%25 = icmp eq i8* %23, %24
br i1 %25, label %26, label %29
26: ; preds = %13
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.5, i64 0, i64 0))
%28 = tail call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %130
29: ; preds = %13
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %23)
store i8 -52, i8* %23
%31 = bitcast i8* %23 to i32*
%32 = load i32, i32* %31
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %32)
%34 = getelementptr inbounds i8, i8* %23, i64 16
%35 = bitcast i8* %34 to i32*
%36 = load i32, i32* %35
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %36)
%38 = getelementptr inbounds i8, i8* %23, i64 32
%39 = bitcast i8* %38 to i32*
%40 = load i32, i32* %39
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %40)
%42 = getelementptr inbounds i8, i8* %23, i64 48
%43 = bitcast i8* %42 to i32*
%44 = load i32, i32* %43
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %44)
%46 = getelementptr inbounds i8, i8* %23, i64 64
%47 = bitcast i8* %46 to i32*
%48 = load i32, i32* %47
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %48)
%50 = getelementptr inbounds i8, i8* %23, i64 80
%51 = bitcast i8* %50 to i32*
%52 = load i32, i32* %51
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %52)
%54 = getelementptr inbounds i8, i8* %23, i64 96
%55 = bitcast i8* %54 to i32*
%56 = load i32, i32* %55
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %56)
%58 = getelementptr inbounds i8, i8* %23, i64 112
%59 = bitcast i8* %58 to i32*
%60 = load i32, i32* %59
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %60)
%62 = getelementptr inbounds i8, i8* %23, i64 128
%63 = bitcast i8* %62 to i32*
%64 = load i32, i32* %63
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %64)
%66 = getelementptr inbounds i8, i8* %23, i64 144
%67 = bitcast i8* %66 to i32*
%68 = load i32, i32* %67
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %68)
%70 = getelementptr inbounds i8, i8* %23, i64 160
%71 = bitcast i8* %70 to i32*
%72 = load i32, i32* %71
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %72)
%74 = getelementptr inbounds i8, i8* %23, i64 176
%75 = bitcast i8* %74 to i32*
%76 = load i32, i32* %75
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %76)
%78 = getelementptr inbounds i8, i8* %23, i64 192
%79 = bitcast i8* %78 to i32*
%80 = load i32, i32* %79
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %80)
%82 = getelementptr inbounds i8, i8* %23, i64 208
%83 = bitcast i8* %82 to i32*
%84 = load i32, i32* %83
%85 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %84)
%86 = getelementptr inbounds i8, i8* %23, i64 224
%87 = bitcast i8* %86 to i32*
%88 = load i32, i32* %87
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %88)
%90 = getelementptr inbounds i8, i8* %23, i64 240
%91 = bitcast i8* %90 to i32*
%92 = load i32, i32* %91
%93 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %92)
%94 = getelementptr inbounds i8, i8* %23, i64 256
%95 = bitcast i8* %94 to i32*
%96 = load i32, i32* %95
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %96)
%98 = getelementptr inbounds i8, i8* %23, i64 272
%99 = bitcast i8* %98 to i32*
%100 = load i32, i32* %99
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %100)
%102 = getelementptr inbounds i8, i8* %23, i64 288
%103 = bitcast i8* %102 to i32*
%104 = load i32, i32* %103
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %104)
%106 = getelementptr inbounds i8, i8* %23, i64 304
%107 = bitcast i8* %106 to i32*
%108 = load i32, i32* %107
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %108)
%110 = getelementptr inbounds i8, i8* %23, i64 320
%111 = bitcast i8* %110 to i32*
%112 = load i32, i32* %111
%113 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %112)
%114 = getelementptr inbounds i8, i8* %23, i64 336
%115 = bitcast i8* %114 to i32*
%116 = load i32, i32* %115
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %116)
%118 = getelementptr inbounds i8, i8* %23, i64 352
%119 = bitcast i8* %118 to i32*
%120 = load i32, i32* %119
%121 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %120)
%122 = getelementptr inbounds i8, i8* %23, i64 368
%123 = bitcast i8* %122 to i32*
%124 = load i32, i32* %123
%125 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %124)
%126 = getelementptr inbounds i8, i8* %23, i64 384
%127 = bitcast i8* %126 to i32*
%128 = load i32, i32* %127
%129 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %128)
br label %130
130: ; preds = %29, %26, %10
ret i32 0
}