#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 /*<<< orphan*/ cumulativeSum(int, double *);
int integerMultipleIndices(int, int *, int, int *);
int /*<<< orphan*/ printf(char *, ...);
double sum(int, double *);
int main(void) {
  double myArray[4] = {1.5, 2.3, 3.7, 4.1};
  int i;
  printf("Here are the elements of myArray:\n");
  for (i = 0; i < 4; i += 1)
    printf("    myArray[%d] = %f.\n", i, myArray[i]);
  printf("The sum of myArray is %f.\n", sum(4, myArray));
  printf("Now let's compute the cumulative sums of myArray:\n");
  cumulativeSum(4, myArray);
  for (i = 0; i < 4; i += 1)
    printf("    myArray[%d] = %f.\n", i, myArray[i]);
  int myInts[7] = {9, 13, 14, 21, -3, 0, -1};
  printf("Here is myInts, exactly as we initialized it.\n");
  for (i = 0; i < 7; i += 1)
    printf("    myInts[%d] = %d.\n", i, myInts[i]);
  int indices[7];
  printf("Here is indices, holding whatever it happens to hold.\n");
  for (i = 0; i < 7; i += 1)
    printf("    indices[%d] = %d.\n", i, indices[i]);
  int divisor = 3;
  int count = integerMultipleIndices(7, myInts, divisor, indices);
  printf("Here are the entries of myInts that are divisible by %d.\n", divisor);
  for (i = 0; i < count; i += 1)
    printf("myInts[%d] = %d.\n", indices[i], myInts[indices[i]]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xea7(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xea4(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xea1(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xe9e(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xe9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x4,-0x34(%rbp)
jge    11c6 <main+0x86>
mov    -0x34(%rbp),%esi
movslq -0x34(%rbp),%rax
movsd  -0x30(%rbp,%rax,8),%xmm0
lea    0xe92(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1193 <main+0x53>
lea    -0x30(%rbp),%rsi
mov    $0x4,%edi
call   1050 <sum@plt>
lea    0xe7f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x30(%rbp),%rsi
mov    $0x4,%edi
call   1060 <cumulativeSum@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x4,-0x34(%rbp)
jge    1238 <main+0xf8>
mov    -0x34(%rbp),%esi
movslq -0x34(%rbp),%rax
movsd  -0x30(%rbp,%rax,8),%xmm0
lea    0xe20(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1205 <main+0xc5>
mov    0xf41(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xf3e(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xf3b(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xf39(%rip),%eax
mov    %eax,-0x38(%rbp)
lea    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x7,-0x34(%rbp)
jge    12a8 <main+0x168>
mov    -0x34(%rbp),%esi
movslq -0x34(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%edx
lea    0xe44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1277 <main+0x137>
lea    0xe3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x7,-0x34(%rbp)
jge    12ee <main+0x1ae>
mov    -0x34(%rbp),%esi
movslq -0x34(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%edx
lea    0xe4b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12bd <main+0x17d>
movl   $0x3,-0x74(%rbp)
lea    -0x50(%rbp),%rsi
mov    -0x74(%rbp),%edx
lea    -0x70(%rbp),%rcx
mov    $0x7,%edi
call   1040 <integerMultipleIndices@plt>
mov    %eax,-0x78(%rbp)
mov    -0x74(%rbp),%esi
lea    0xe24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x78(%rbp),%eax
jge    1362 <main+0x222>
movslq -0x34(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%esi
movslq -0x34(%rbp),%rax
movslq -0x70(%rbp,%rax,4),%rax
mov    -0x50(%rbp,%rax,4),%edx
lea    0xd8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1325 <main+0x1e5>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x60,%rsp
movaps 0xed0(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xeb4(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0xf62(%rip),%rdi
call   1030 <puts@plt>
lea    0xebd(%rip),%rbx
movsd  0xe75(%rip),%xmm0
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe69(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe5a(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe4b(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    %rsp,%r14
mov    $0x4,%edi
mov    %r14,%rsi
call   1060 <sum@plt>
lea    0xe64(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
mov    $0x4,%edi
mov    %r14,%rsi
call   1070 <cumulativeSum@plt>
movsd  (%rsp),%xmm0
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x10(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x18(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%al
call   1040 <printf@plt>
movups 0xf42(%rip),%xmm0
movups %xmm0,0x2c(%rsp)
movaps 0xf2a(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
lea    0xeab(%rip),%rdi
call   1030 <puts@plt>
lea    0xde4(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x9,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0xd,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0xe,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x15,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0xfffffffd,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0xffffffff,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe40(%rip),%rdi
call   1030 <puts@plt>
lea    0xd61(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x20(%rsp),%rsi
lea    0x40(%rsp),%rcx
mov    $0x7,%edi
mov    $0x3,%edx
call   1050 <integerMultipleIndices@plt>
mov    %eax,%ebx
lea    0xcf0(%rip),%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %ebx,%ebx
jle    13ec <main+0x29c>
mov    %ebx,%r15d
lea    0xcad(%rip),%r14
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
movslq 0x40(%rsp,%rbx,4),%rsi
mov    0x20(%rsp,%rsi,4),%edx
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    13d0 <main+0x280>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.myArray = [4 x double] [double 1.500000e+00, double 2.300000e+00, double 3.700000e+00, double 4.100000e+00]
@.str = [35 x i8] c"Here are the elements of myArray:\0A\00"
@.str.1 = [23 x i8] c" myArray[%d] = %f.\0A\00"
@.str.2 = [27 x i8] c"The sum of myArray is %f.\0A\00"
@.str.3 = [51 x i8] c"Now let's compute the cumulative sums of myArray:\0A\00"
@__const.main.myInts = [7 x i32] [i32 9, i32 13, i32 14, i32 21, i32 -3, i32 0, i32 -1]
@.str.4 = [47 x i8] c"Here is myInts, exactly as we initialized it.\0A\00"
@.str.5 = [22 x i8] c" myInts[%d] = %d.\0A\00"
@.str.6 = [55 x i8] c"Here is indices, holding whatever it happens to hold.\0A\00"
@.str.7 = [23 x i8] c" indices[%d] = %d.\0A\00"
@.str.8 = [58 x i8] c"Here are the entries of myInts that are divisible by %d.\0A\00"
@.str.9 = [18 x i8] c"myInts[%d] = %d.\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [4 x double]
%3 = alloca i32
%4 = alloca [7 x i32]
%5 = alloca [7 x i32]
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = bitcast [4 x double]* %2 to i8*
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
br label %10
10: ; preds = %20, %0
%11 = load i32, i32* %3
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %23
13: ; preds = %10
%14 = load i32, i32* %3
%15 = load i32, i32* %3
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [4 x double], [4 x double]* %2, i64 0, i64 %16
%18 = load double, double* %17
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 %14, double %18)
br label %20
20: ; preds = %13
%21 = load i32, i32* %3
%22 = add nsw i32 %21, 1
store i32 %22, i32* %3
br label %10
23: ; preds = %10
%24 = getelementptr inbounds [4 x double], [4 x double]* %2, i64 0, i64 0
%25 = call double @sum(i32 4, double* %24)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0), double %25)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%28 = getelementptr inbounds [4 x double], [4 x double]* %2, i64 0, i64 0
%29 = call i32 @cumulativeSum(i32 4, double* %28)
store i32 0, i32* %3
br label %30
30: ; preds = %40, %23
%31 = load i32, i32* %3
%32 = icmp slt i32 %31, 4
br i1 %32, label %33, label %43
33: ; preds = %30
%34 = load i32, i32* %3
%35 = load i32, i32* %3
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x double], [4 x double]* %2, i64 0, i64 %36
%38 = load double, double* %37
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 %34, double %38)
br label %40
40: ; preds = %33
%41 = load i32, i32* %3
%42 = add nsw i32 %41, 1
store i32 %42, i32* %3
br label %30
43: ; preds = %30
%44 = bitcast [7 x i32]* %4 to i8*
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %3
br label %46
46: ; preds = %56, %43
%47 = load i32, i32* %3
%48 = icmp slt i32 %47, 7
br i1 %48, label %49, label %59
49: ; preds = %46
%50 = load i32, i32* %3
%51 = load i32, i32* %3
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [7 x i32], [7 x i32]* %4, i64 0, i64 %52
%54 = load i32, i32* %53
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 %50, i32 %54)
br label %56
56: ; preds = %49
%57 = load i32, i32* %3
%58 = add nsw i32 %57, 1
store i32 %58, i32* %3
br label %46
59: ; preds = %46
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %3
br label %61
61: ; preds = %71, %59
%62 = load i32, i32* %3
%63 = icmp slt i32 %62, 7
br i1 %63, label %64, label %74
64: ; preds = %61
%65 = load i32, i32* %3
%66 = load i32, i32* %3
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [7 x i32], [7 x i32]* %5, i64 0, i64 %67
%69 = load i32, i32* %68
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %65, i32 %69)
br label %71
71: ; preds = %64
%72 = load i32, i32* %3
%73 = add nsw i32 %72, 1
store i32 %73, i32* %3
br label %61
74: ; preds = %61
store i32 3, i32* %6
%75 = getelementptr inbounds [7 x i32], [7 x i32]* %4, i64 0, i64 0
%76 = load i32, i32* %6
%77 = getelementptr inbounds [7 x i32], [7 x i32]* %5, i64 0, i64 0
%78 = call i32 @integerMultipleIndices(i32 7, i32* %75, i32 %76, i32* %77)
store i32 %78, i32* %7
%79 = load i32, i32* %6
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0), i32 %79)
store i32 0, i32* %3
br label %81
81: ; preds = %98, %74
%82 = load i32, i32* %3
%83 = load i32, i32* %7
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %101
85: ; preds = %81
%86 = load i32, i32* %3
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [7 x i32], [7 x i32]* %5, i64 0, i64 %87
%89 = load i32, i32* %88
%90 = load i32, i32* %3
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [7 x i32], [7 x i32]* %5, i64 0, i64 %91
%93 = load i32, i32* %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [7 x i32], [7 x i32]* %4, i64 0, i64 %94
%96 = load i32, i32* %95
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %89, i32 %96)
br label %98
98: ; preds = %85
%99 = load i32, i32* %3
%100 = add nsw i32 %99, 1
store i32 %100, i32* %3
br label %81
101: ; preds = %81
ret i32 0
}

LLVM IR (-O2):
@__const.main.myArray = [4 x double] [double 1.500000e+00, double 2.300000e+00, double 3.700000e+00, double 4.100000e+00]
@.str.1 = [23 x i8] c" myArray[%d] = %f.\0A\00"
@.str.2 = [27 x i8] c"The sum of myArray is %f.\0A\00"
@__const.main.myInts = [7 x i32] [i32 9, i32 13, i32 14, i32 21, i32 -3, i32 0, i32 -1]
@.str.5 = [22 x i8] c" myInts[%d] = %d.\0A\00"
@.str.7 = [23 x i8] c" indices[%d] = %d.\0A\00"
@.str.8 = [58 x i8] c"Here are the entries of myInts that are divisible by %d.\0A\00"
@.str.9 = [18 x i8] c"myInts[%d] = %d.\0A\00"
@str = [34 x i8] c"Here are the elements of myArray:\00"
@str.10 = [50 x i8] c"Now let's compute the cumulative sums of myArray:\00"
@str.11 = [46 x i8] c"Here is myInts, exactly as we initialized it.\00"
@str.12 = [54 x i8] c"Here is indices, holding whatever it happens to hold.\00"
define i32 @main() {
%1 = alloca [4 x double]
%2 = alloca [7 x i32]
%3 = alloca [7 x i32]
%4 = bitcast [4 x double]* %1 to i8*
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%6 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 0
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 0, double 1.500000e+00)
%8 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 1
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 1, double 2.300000e+00)
%10 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 2
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 2, double 3.700000e+00)
%12 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 3
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 3, double 4.100000e+00)
%14 = call double @sum(i32 4, double* %6)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0), double %14)
%16 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.10, i64 0, i64 0))
%17 = call i32 @cumulativeSum(i32 4, double* %6)
%18 = load double, double* %6
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 0, double %18)
%20 = load double, double* %8
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 1, double %20)
%22 = load double, double* %10
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 2, double %22)
%24 = load double, double* %12
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 3, double %24)
%26 = bitcast [7 x i32]* %2 to i8*
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.11, i64 0, i64 0))
%28 = getelementptr inbounds [7 x i32], [7 x i32]* %2, i64 0, i64 0
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 0, i32 9)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 13)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 2, i32 14)
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 3, i32 21)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 -3)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 5, i32 0)
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 6, i32 -1)
%36 = bitcast [7 x i32]* %3 to i8*
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.12, i64 0, i64 0))
%38 = getelementptr inbounds [7 x i32], [7 x i32]* %3, i64 0, i64 0
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 0, i32 undef)
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 1, i32 undef)
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 2, i32 undef)
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 3, i32 undef)
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 4, i32 undef)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 5, i32 undef)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 6, i32 undef)
%46 = call i32 @integerMultipleIndices(i32 7, i32* %28, i32 3, i32* %38)
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0), i32 3)
%48 = icmp sgt i32 %46, 0
br i1 %48, label %49, label %61
49: ; preds = %0
%50 = zext i32 %46 to i64
br label %51
51: ; preds = %49, %51
%52 = phi i64 [ 0, %49 ], [ %59, %51 ]
%53 = getelementptr inbounds [7 x i32], [7 x i32]* %3, i64 0, i64 %52
%54 = load i32, i32* %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [7 x i32], [7 x i32]* %2, i64 0, i64 %55
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %54, i32 %57)
%59 = add nuw nsw i64 %52, 1
%60 = icmp eq i64 %59, %50
br i1 %60, label %61, label %51
61: ; preds = %51, %0
ret i32 0
}