#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 names;
typedef int /*<<< orphan*/ ages;

/* Variables and functions */
int /*<<< orphan*/ print_index(int *, char **, int);
int /*<<< orphan*/ print_pointers_as_arrays(int *, char **, int);
int /*<<< orphan*/ print_startpointers(int *, char **, int);
int /*<<< orphan*/ print_stupid(int *, char **, int);
int /*<<< orphan*/ printf(char *, ...);
int strlen(char *);
int main(int argc, char *argv[]) {
  int ages[] = {23, 43, 12, 89, 2};
  char *names[] = {"Alan", "Frank", "Mary", "John", "Lisa"};
  int count = sizeof(ages) / sizeof(int);
  int name_count = sizeof(names) / sizeof(names[0]);
  int name_length = 0;
  int i = 0;
  int j = 0;
  print_index(ages, names, count);
  printf("---\n");
  print_startpointers(ages, names, count);
  printf("---\n");
  print_pointers_as_arrays(ages, names, count);
  printf("---\n");
  print_stupid(ages, names, count);
  printf("---\n");
  for (i = 0; i < name_count; ++i) {
    printf("%s(%p)\n", names[i], &names[i]);
    name_length = strlen(names[i]);
    for (j = 0; j < name_length; ++j) {
      printf("\t%c(%p)\n", *((names[i]) + j), (names[i] + j));
    }
  }
  printf("+++\n");
  for (i = 0; i < count; ++i) {
    printf("%d(%p)\n", ages[i], &ages[i]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0xe70(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xe6d(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xe6b(%rip),%eax
mov    %eax,-0x20(%rbp)
lea    -0x60(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <memset@plt>
lea    0xe55(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0xe4f(%rip),%rax
mov    %rax,-0x58(%rbp)
lea    0xe4a(%rip),%rax
mov    %rax,-0x50(%rbp)
lea    0xe44(%rip),%rax
mov    %rax,-0x48(%rbp)
lea    0xe3e(%rip),%rax
mov    %rax,-0x40(%rbp)
movl   $0x5,-0x64(%rbp)
movl   $0x5,-0x68(%rbp)
movl   $0x0,-0x6c(%rbp)
movl   $0x0,-0x70(%rbp)
movl   $0x0,-0x74(%rbp)
lea    -0x30(%rbp),%rdi
lea    -0x60(%rbp),%rsi
mov    -0x64(%rbp),%edx
call   1090 <print_index@plt>
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
lea    -0x60(%rbp),%rsi
mov    -0x64(%rbp),%edx
call   1070 <print_startpointers@plt>
lea    0xde7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
lea    -0x60(%rbp),%rsi
mov    -0x64(%rbp),%edx
call   1080 <print_pointers_as_arrays@plt>
lea    0xdc9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
lea    -0x60(%rbp),%rsi
mov    -0x64(%rbp),%edx
call   1060 <print_stupid@plt>
lea    0xdab(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x70(%rbp)
mov    -0x70(%rbp),%eax
cmp    -0x68(%rbp),%eax
jge    1337 <main+0x1c7>
movslq -0x70(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rsi
movslq -0x70(%rbp),%rax
lea    -0x60(%rbp),%rdx
shl    $0x3,%rax
add    %rax,%rdx
lea    0xd77(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0x70(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rdi
call   1030 <strlen@plt>
mov    %eax,-0x6c(%rbp)
movl   $0x0,-0x74(%rbp)
mov    -0x74(%rbp),%eax
cmp    -0x6c(%rbp),%eax
jge    1324 <main+0x1b4>
movslq -0x70(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rax
movslq -0x74(%rbp),%rcx
movsbl (%rax,%rcx,1),%esi
movslq -0x70(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rdx
movslq -0x74(%rbp),%rax
add    %rax,%rdx
lea    0xd2c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    12db <main+0x16b>
jmp    1329 <main+0x1b9>
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    1291 <main+0x121>
lea    0xd06(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x70(%rbp)
mov    -0x70(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    138b <main+0x21b>
movslq -0x70(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%esi
movslq -0x70(%rbp),%rax
lea    -0x30(%rbp),%rdx
shl    $0x2,%rax
add    %rax,%rdx
lea    0xcd3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    134c <main+0x1dc>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    0xe8f(%rip),%eax
mov    %eax,0x10(%rsp)
movaps 0xe74(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0xe7d(%rip),%rax
mov    %rax,0x20(%rsp)
lea    0x28(%rsp),%r14
lea    0xe71(%rip),%rax
mov    %rax,0x28(%rsp)
lea    0xe6b(%rip),%rax
mov    %rax,0x30(%rsp)
lea    0xe64(%rip),%rax
mov    %rax,0x38(%rsp)
lea    0xe5d(%rip),%rax
mov    %rax,0x40(%rsp)
mov    %rsp,%r12
lea    0x20(%rsp),%r15
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
call   1090 <print_index@plt>
lea    0xe57(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
call   1070 <print_startpointers@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
call   1080 <print_pointers_as_arrays@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
call   1060 <print_stupid@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    0x20(%rsp),%rsi
lea    0xde2(%rip),%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    128f <main+0x11f>
mov    %eax,%r12d
lea    0xdc8(%rip),%r15
xor    %ebx,%ebx
mov    0x20(%rsp),%rdx
movsbl (%rdx,%rbx,1),%esi
add    %rbx,%rdx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    1270 <main+0x100>
lea    0x30(%rsp),%r15
mov    0x28(%rsp),%rsi
lea    0xd8e(%rip),%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x28(%rsp),%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    12ef <main+0x17f>
mov    %eax,%r12d
lea    0xd74(%rip),%r14
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x28(%rsp),%rdx
movsbl (%rdx,%rbx,1),%esi
add    %rbx,%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    12d0 <main+0x160>
lea    0x38(%rsp),%r14
mov    0x30(%rsp),%rsi
lea    0xd2e(%rip),%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x30(%rsp),%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    134f <main+0x1df>
mov    %eax,%r12d
lea    0xd14(%rip),%r15
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x30(%rsp),%rdx
movsbl (%rdx,%rbx,1),%esi
add    %rbx,%rdx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    1330 <main+0x1c0>
lea    0x40(%rsp),%r15
mov    0x38(%rsp),%rsi
lea    0xcce(%rip),%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x38(%rsp),%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    13af <main+0x23f>
mov    %eax,%r12d
lea    0xcb4(%rip),%r14
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x38(%rsp),%rdx
movsbl (%rdx,%rbx,1),%esi
add    %rbx,%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    1390 <main+0x220>
mov    0x40(%rsp),%rsi
lea    0xc73(%rip),%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x40(%rsp),%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    13ff <main+0x28f>
mov    %eax,%r15d
lea    0xc59(%rip),%r14
xor    %ebx,%ebx
nop
mov    0x40(%rsp),%rdx
movsbl (%rdx,%rbx,1),%esi
add    %rbx,%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    13e0 <main+0x270>
lea    0xc45(%rip),%rdi
call   1030 <puts@plt>
mov    (%rsp),%esi
lea    0xc2a(%rip),%rbx
mov    %rsp,%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rsp),%rdx
mov    0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rsp),%rdx
mov    0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rdx
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x10(%rsp),%rdx
mov    0x10(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.ages = [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2]
@.str = [5 x i8] c"Alan\00"
@.str.1 = [6 x i8] c"Frank\00"
@.str.2 = [5 x i8] c"Mary\00"
@.str.3 = [5 x i8] c"John\00"
@.str.4 = [5 x i8] c"Lisa\00"
@.str.5 = [5 x i8] c"---\0A\00"
@.str.6 = [8 x i8] c"%s(%p)\0A\00"
@.str.7 = [9 x i8] c"\09%c(%p)\0A\00"
@.str.8 = [5 x i8] c"+++\0A\00"
@.str.9 = [8 x i8] c"%d(%p)\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [5 x i32]
%7 = alloca [5 x i8*]
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = bitcast [5 x i32]* %6 to i8*
%14 = bitcast [5 x i8*]* %7 to i8*
%15 = bitcast i8* %14 to [5 x i8*]*
%16 = getelementptr inbounds [5 x i8*], [5 x i8*]* %15, i32 0, i32 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i32 0, i32 0), i8** %16
%17 = getelementptr inbounds [5 x i8*], [5 x i8*]* %15, i32 0, i32 1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i32 0, i32 0), i8** %17
%18 = getelementptr inbounds [5 x i8*], [5 x i8*]* %15, i32 0, i32 2
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i8** %18
%19 = getelementptr inbounds [5 x i8*], [5 x i8*]* %15, i32 0, i32 3
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8** %19
%20 = getelementptr inbounds [5 x i8*], [5 x i8*]* %15, i32 0, i32 4
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i8** %20
store i32 5, i32* %8
store i32 5, i32* %9
store i32 0, i32* %10
store i32 0, i32* %11
store i32 0, i32* %12
%21 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 0
%22 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 0
%23 = load i32, i32* %8
%24 = call i32 @print_index(i32* %21, i8** %22, i32 %23)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%26 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 0
%27 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 0
%28 = load i32, i32* %8
%29 = call i32 @print_startpointers(i32* %26, i8** %27, i32 %28)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%31 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 0
%32 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 0
%33 = load i32, i32* %8
%34 = call i32 @print_pointers_as_arrays(i32* %31, i8** %32, i32 %33)
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%36 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 0
%37 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 0
%38 = load i32, i32* %8
%39 = call i32 @print_stupid(i32* %36, i8** %37, i32 %38)
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %11
br label %41
41: ; preds = %85, %2
%42 = load i32, i32* %11
%43 = load i32, i32* %9
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %88
45: ; preds = %41
%46 = load i32, i32* %11
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 %47
%49 = load i8*, i8** %48
%50 = load i32, i32* %11
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 %51
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %49, i8** %52)
%54 = load i32, i32* %11
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 %55
%57 = load i8*, i8** %56
%58 = call i32 @strlen(i8* %57)
store i32 %58, i32* %10
store i32 0, i32* %12
br label %59
59: ; preds = %81, %45
%60 = load i32, i32* %12
%61 = load i32, i32* %10
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %84
63: ; preds = %59
%64 = load i32, i32* %11
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 %65
%67 = load i8*, i8** %66
%68 = load i32, i32* %12
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, i8* %67, i64 %69
%71 = load i8, i8* %70
%72 = sext i8 %71 to i32
%73 = load i32, i32* %11
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [5 x i8*], [5 x i8*]* %7, i64 0, i64 %74
%76 = load i8*, i8** %75
%77 = load i32, i32* %12
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, i8* %76, i64 %78
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 %72, i8* %79)
br label %81
81: ; preds = %63
%82 = load i32, i32* %12
%83 = add nsw i32 %82, 1
store i32 %83, i32* %12
br label %59
84: ; preds = %59
br label %85
85: ; preds = %84
%86 = load i32, i32* %11
%87 = add nsw i32 %86, 1
store i32 %87, i32* %11
br label %41
88: ; preds = %41
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %11
br label %90
90: ; preds = %103, %88
%91 = load i32, i32* %11
%92 = load i32, i32* %8
%93 = icmp slt i32 %91, %92
br i1 %93, label %94, label %106
94: ; preds = %90
%95 = load i32, i32* %11
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 %96
%98 = load i32, i32* %97
%99 = load i32, i32* %11
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 %100
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 %98, i32* %101)
br label %103
103: ; preds = %94
%104 = load i32, i32* %11
%105 = add nsw i32 %104, 1
store i32 %105, i32* %11
br label %90
106: ; preds = %90
ret i32 0
}

LLVM IR (-O2):
@__const.main.ages = [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2]
@.str = [5 x i8] c"Alan\00"
@.str.1 = [6 x i8] c"Frank\00"
@.str.2 = [5 x i8] c"Mary\00"
@.str.3 = [5 x i8] c"John\00"
@.str.4 = [5 x i8] c"Lisa\00"
@.str.6 = [8 x i8] c"%s(%p)\0A\00"
@.str.7 = [9 x i8] c"\09%c(%p)\0A\00"
@.str.9 = [8 x i8] c"%d(%p)\0A\00"
@str.12 = [4 x i8] c"---\00"
@str.13 = [4 x i8] c"+++\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [5 x i32]
%4 = alloca [5 x i8*]
%5 = bitcast [5 x i32]* %3 to i8*
%6 = bitcast [5 x i8*]* %4 to i8*
%7 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %7
%8 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %8
%9 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 2
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %9
%10 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 3
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %10
%11 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 4
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8** %11
%12 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 0
%13 = call i32 @print_index(i32* %12, i8** %7, i32 5)
%14 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.12, i64 0, i64 0))
%15 = call i32 @print_startpointers(i32* %12, i8** %7, i32 5)
%16 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.12, i64 0, i64 0))
%17 = call i32 @print_pointers_as_arrays(i32* %12, i8** %7, i32 5)
%18 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.12, i64 0, i64 0))
%19 = call i32 @print_stupid(i32* %12, i8** %7, i32 5)
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.12, i64 0, i64 0))
%21 = load i8*, i8** %7
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %21, i8** %7)
%23 = load i8*, i8** %7
%24 = call i32 @strlen(i8* %23)
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %37
26: ; preds = %2
%27 = zext i32 %24 to i64
br label %28
28: ; preds = %26, %28
%29 = phi i64 [ 0, %26 ], [ %35, %28 ]
%30 = load i8*, i8** %7
%31 = getelementptr inbounds i8, i8* %30, i64 %29
%32 = load i8, i8* %31
%33 = sext i8 %32 to i32
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 %33, i8* %31)
%35 = add nuw nsw i64 %29, 1
%36 = icmp eq i64 %35, %27
br i1 %36, label %37, label %28
37: ; preds = %28, %2
%38 = load i8*, i8** %8
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %38, i8** %8)
%40 = load i8*, i8** %8
%41 = call i32 @strlen(i8* %40)
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %54
43: ; preds = %37
%44 = zext i32 %41 to i64
br label %45
45: ; preds = %45, %43
%46 = phi i64 [ 0, %43 ], [ %52, %45 ]
%47 = load i8*, i8** %8
%48 = getelementptr inbounds i8, i8* %47, i64 %46
%49 = load i8, i8* %48
%50 = sext i8 %49 to i32
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 %50, i8* %48)
%52 = add nuw nsw i64 %46, 1
%53 = icmp eq i64 %52, %44
br i1 %53, label %54, label %45
54: ; preds = %45, %37
%55 = load i8*, i8** %9
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %55, i8** %9)
%57 = load i8*, i8** %9
%58 = call i32 @strlen(i8* %57)
%59 = icmp sgt i32 %58, 0
br i1 %59, label %60, label %71
60: ; preds = %54
%61 = zext i32 %58 to i64
br label %62
62: ; preds = %62, %60
%63 = phi i64 [ 0, %60 ], [ %69, %62 ]
%64 = load i8*, i8** %9
%65 = getelementptr inbounds i8, i8* %64, i64 %63
%66 = load i8, i8* %65
%67 = sext i8 %66 to i32
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 %67, i8* %65)
%69 = add nuw nsw i64 %63, 1
%70 = icmp eq i64 %69, %61
br i1 %70, label %71, label %62
71: ; preds = %62, %54
%72 = load i8*, i8** %10
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %72, i8** %10)
%74 = load i8*, i8** %10
%75 = call i32 @strlen(i8* %74)
%76 = icmp sgt i32 %75, 0
br i1 %76, label %77, label %88
77: ; preds = %71
%78 = zext i32 %75 to i64
br label %79
79: ; preds = %79, %77
%80 = phi i64 [ 0, %77 ], [ %86, %79 ]
%81 = load i8*, i8** %10
%82 = getelementptr inbounds i8, i8* %81, i64 %80
%83 = load i8, i8* %82
%84 = sext i8 %83 to i32
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 %84, i8* %82)
%86 = add nuw nsw i64 %80, 1
%87 = icmp eq i64 %86, %78
br i1 %87, label %88, label %79
88: ; preds = %79, %71
%89 = load i8*, i8** %11
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %89, i8** %11)
%91 = load i8*, i8** %11
%92 = call i32 @strlen(i8* %91)
%93 = icmp sgt i32 %92, 0
br i1 %93, label %94, label %105
94: ; preds = %88
%95 = zext i32 %92 to i64
br label %96
96: ; preds = %96, %94
%97 = phi i64 [ 0, %94 ], [ %103, %96 ]
%98 = load i8*, i8** %11
%99 = getelementptr inbounds i8, i8* %98, i64 %97
%100 = load i8, i8* %99
%101 = sext i8 %100 to i32
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 %101, i8* %99)
%103 = add nuw nsw i64 %97, 1
%104 = icmp eq i64 %103, %95
br i1 %104, label %105, label %96
105: ; preds = %96, %88
%106 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.13, i64 0, i64 0))
%107 = load i32, i32* %12
%108 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 %107, i32* %12)
%109 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 1
%110 = load i32, i32* %109
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 %110, i32* %109)
%112 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 2
%113 = load i32, i32* %112
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 %113, i32* %112)
%115 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 3
%116 = load i32, i32* %115
%117 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 %116, i32* %115)
%118 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 4
%119 = load i32, i32* %118
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 %119, i32* %118)
ret i32 0
}