#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*/ assertEquals(int, int);
int /*<<< orphan*/ assertEqualsArray(int *, int *, int);
int /*<<< orphan*/ generateFiboNumbers(int, int *);
int /*<<< orphan*/ printf(char *, ...);
int sumArray(int *, int);
int main() {
  int N = 32;
  int fibonacci[N];
  printf("testing sum...\n");
  int a[] = {0};
  assertEquals(0, sumArray(a, 1));
  int b[] = {0, 1, 1, 1};
  assertEquals(0, sumArray(b, 4));
  int b1[] = {0, 1, 2, 2};
  assertEquals(4, sumArray(b1, 4));
  int c[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  assertEquals(30, sumArray(c, 11));
  printf("testing fibonacci...\n");
  int exp1[] = {1};
  generateFiboNumbers(1, fibonacci);
  assertEqualsArray(exp1, fibonacci, 1);
  int exp2[] = {1, 2};
  generateFiboNumbers(2, fibonacci);
  assertEqualsArray(exp2, fibonacci, 2);
  int exp4[] = {1, 2, 3, 5};
  generateFiboNumbers(4, fibonacci);
  assertEqualsArray(exp4, fibonacci, 4);
  int expMany[] = {1, 2, 3, 5, 8, 13, 21, 34, 55, 89};
  generateFiboNumbers(10, fibonacci);
  assertEqualsArray(expMany, fibonacci, 10);
  generateFiboNumbers(N, fibonacci);
  for (int i = 0; i < N; i++) {
    printf("%d:\t%d\n", i, fibonacci[i]);
  }
  printf("sum of evens: %d\n", sumArray(fibonacci, N));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x20,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x10(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0xd0(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x18(%rbp)
lea    0xe46(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x1c(%rbp),%rdi
xor    %esi,%esi
mov    $0x4,%edx
call   1060 <memset@plt>
lea    -0x1c(%rbp),%rdi
mov    $0x1,%esi
call   1030 <sumArray@plt>
mov    %eax,%esi
xor    %edi,%edi
call   1040 <assertEquals@plt>
mov    0xe51(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xe4e(%rip),%rax
mov    %rax,-0x28(%rbp)
lea    -0x30(%rbp),%rdi
mov    $0x4,%esi
call   1030 <sumArray@plt>
mov    %eax,%esi
xor    %edi,%edi
call   1040 <assertEquals@plt>
mov    0xe34(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xe31(%rip),%rax
mov    %rax,-0x38(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x4,%esi
call   1030 <sumArray@plt>
mov    %eax,%esi
mov    $0x4,%edi
call   1040 <assertEquals@plt>
lea    -0x70(%rbp),%rdi
lea    0xe20(%rip),%rsi
mov    $0x2c,%edx
call   1080 <memcpy@plt>
lea    -0x70(%rbp),%rdi
mov    $0xb,%esi
call   1030 <sumArray@plt>
mov    %eax,%esi
mov    $0x1e,%edi
call   1040 <assertEquals@plt>
lea    0xd95(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xd0(%rbp),%rsi
mov    0xe39(%rip),%eax
mov    %eax,-0x74(%rbp)
mov    $0x1,%edi
call   1070 <generateFiboNumbers@plt>
mov    -0xd0(%rbp),%rsi
lea    -0x74(%rbp),%rdi
mov    $0x1,%edx
call   1090 <assertEqualsArray@plt>
mov    -0xd0(%rbp),%rsi
mov    0xe0d(%rip),%rax
mov    %rax,-0x7c(%rbp)
mov    $0x2,%edi
call   1070 <generateFiboNumbers@plt>
mov    -0xd0(%rbp),%rsi
lea    -0x7c(%rbp),%rdi
mov    $0x2,%edx
call   1090 <assertEqualsArray@plt>
mov    -0xd0(%rbp),%rsi
mov    0xd70(%rip),%rax
mov    %rax,-0x90(%rbp)
mov    0xd6a(%rip),%rax
mov    %rax,-0x88(%rbp)
mov    $0x4,%edi
call   1070 <generateFiboNumbers@plt>
mov    -0xd0(%rbp),%rsi
lea    -0x90(%rbp),%rdi
mov    $0x4,%edx
call   1090 <assertEqualsArray@plt>
lea    -0xc0(%rbp),%rdi
lea    0xd6b(%rip),%rsi
mov    $0x28,%edx
call   1080 <memcpy@plt>
mov    -0xd0(%rbp),%rsi
mov    $0xa,%edi
call   1070 <generateFiboNumbers@plt>
mov    -0xd0(%rbp),%rsi
lea    -0xc0(%rbp),%rdi
mov    $0xa,%edx
call   1090 <assertEqualsArray@plt>
mov    -0xd0(%rbp),%rsi
mov    -0x8(%rbp),%edi
call   1070 <generateFiboNumbers@plt>
movl   $0x0,-0xc4(%rbp)
mov    -0xc4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    13c9 <main+0x259>
mov    -0xd0(%rbp),%rax
mov    -0xc4(%rbp),%esi
movslq -0xc4(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0xc78(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc4(%rbp)
jmp    1381 <main+0x211>
mov    -0xd0(%rbp),%rdi
mov    -0x8(%rbp),%esi
call   1030 <sumArray@plt>
mov    %eax,%esi
lea    0xc4d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x138,%rsp
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,0xc(%rsp)
lea    0xc(%rsp),%rdi
mov    $0x1,%esi
call   1040 <sumArray@plt>
xor    %edi,%edi
mov    %eax,%esi
call   1050 <assertEquals@plt>
movaps 0xe63(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
lea    0xc0(%rsp),%rdi
mov    $0x4,%esi
call   1040 <sumArray@plt>
xor    %edi,%edi
mov    %eax,%esi
call   1050 <assertEquals@plt>
movaps 0xe49(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
lea    0xb0(%rsp),%rdi
mov    $0x4,%esi
call   1040 <sumArray@plt>
mov    $0x4,%edi
mov    %eax,%esi
call   1050 <assertEquals@plt>
movups 0xe58(%rip),%xmm0
movups %xmm0,0x11c(%rsp)
movaps 0xe3d(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movaps 0xe1e(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
lea    0x100(%rsp),%rdi
mov    $0xb,%esi
call   1040 <sumArray@plt>
mov    $0x1e,%edi
mov    %eax,%esi
call   1050 <assertEquals@plt>
lea    0xe72(%rip),%rdi
call   1030 <puts@plt>
movl   $0x1,0x8(%rsp)
lea    0x10(%rsp),%r14
mov    $0x1,%edi
mov    %r14,%rsi
call   1070 <generateFiboNumbers@plt>
lea    0x8(%rsp),%rdi
mov    %r14,%rsi
mov    $0x1,%edx
call   1080 <assertEqualsArray@plt>
movabs $0x200000001,%rax
mov    %rax,0x98(%rsp)
mov    $0x2,%edi
mov    %r14,%rsi
call   1070 <generateFiboNumbers@plt>
lea    0x98(%rsp),%rdi
mov    %r14,%rsi
mov    $0x2,%edx
call   1080 <assertEqualsArray@plt>
movaps 0xd75(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
mov    $0x4,%edi
mov    %r14,%rsi
call   1070 <generateFiboNumbers@plt>
lea    0xa0(%rsp),%rdi
mov    %r14,%rsi
mov    $0x4,%edx
call   1080 <assertEqualsArray@plt>
mov    0xda4(%rip),%rax
mov    %rax,0xf0(%rsp)
movaps 0xd85(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xd66(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
mov    $0xa,%edi
mov    %r14,%rsi
call   1070 <generateFiboNumbers@plt>
lea    0xd0(%rsp),%rdi
mov    %r14,%rsi
mov    $0xa,%edx
call   1080 <assertEqualsArray@plt>
mov    $0x20,%edi
mov    %r14,%rsi
call   1070 <generateFiboNumbers@plt>
mov    0x10(%rsp),%edx
lea    0xd4c(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x14(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x18(%rsp),%edx
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x1c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x20(%rsp),%edx
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x24(%rsp),%edx
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x28(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x30(%rsp),%edx
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x34(%rsp),%edx
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x38(%rsp),%edx
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x3c(%rsp),%edx
mov    %rbx,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x40(%rsp),%edx
mov    %rbx,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x44(%rsp),%edx
mov    %rbx,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x48(%rsp),%edx
mov    %rbx,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x4c(%rsp),%edx
mov    %rbx,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x50(%rsp),%edx
mov    %rbx,%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x54(%rsp),%edx
mov    %rbx,%rdi
mov    $0x11,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x58(%rsp),%edx
mov    %rbx,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x5c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x13,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x60(%rsp),%edx
mov    %rbx,%rdi
mov    $0x14,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x64(%rsp),%edx
mov    %rbx,%rdi
mov    $0x15,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x68(%rsp),%edx
mov    %rbx,%rdi
mov    $0x16,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x6c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x17,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x70(%rsp),%edx
mov    %rbx,%rdi
mov    $0x18,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x74(%rsp),%edx
mov    %rbx,%rdi
mov    $0x19,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x78(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1a,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x7c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1b,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x80(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1c,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x84(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x88(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1e,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x8c(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1f,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x20,%esi
call   1040 <sumArray@plt>
lea    0xadb(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x138,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [16 x i8] c"testing sum...\0A\00"
@__const.main.b = [4 x i32] [i32 0, i32 1, i32 1, i32 1]
@__const.main.b1 = [4 x i32] [i32 0, i32 1, i32 2, i32 2]
@__const.main.c = [11 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10]
@.str.1 = [22 x i8] c"testing fibonacci...\0A\00"
@__const.main.exp1 = [1 x i32] [i32 1]
@__const.main.exp2 = [2 x i32] [i32 1, i32 2]
@__const.main.exp4 = [4 x i32] [i32 1, i32 2, i32 3, i32 5]
@__const.main.expMany = [10 x i32] [i32 1, i32 2, i32 3, i32 5, i32 8, i32 13, i32 21, i32 34, i32 55, i32 89]
@.str.2 = [8 x i8] c"%d:\09%d\0A\00"
@.str.3 = [18 x i8] c"sum of evens: %d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i64
%5 = alloca [1 x i32]
%6 = alloca [4 x i32]
%7 = alloca [4 x i32]
%8 = alloca [11 x i32]
%9 = alloca [1 x i32]
%10 = alloca [2 x i32]
%11 = alloca [4 x i32]
%12 = alloca [10 x i32]
%13 = alloca i32
store i32 0, i32* %1
store i32 32, i32* %2
%14 = load i32, i32* %2
%15 = zext i32 %14 to i64
%16 = call i8* @llvm.stacksave()
store i8* %16, i8** %3
%17 = alloca i32, i64 %15
store i64 %15, i64* %4
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%19 = bitcast [1 x i32]* %5 to i8*
%20 = getelementptr inbounds [1 x i32], [1 x i32]* %5, i64 0, i64 0
%21 = call i32 @sumArray(i32* %20, i32 1)
%22 = call i32 @assertEquals(i32 0, i32 %21)
%23 = bitcast [4 x i32]* %6 to i8*
%24 = getelementptr inbounds [4 x i32], [4 x i32]* %6, i64 0, i64 0
%25 = call i32 @sumArray(i32* %24, i32 4)
%26 = call i32 @assertEquals(i32 0, i32 %25)
%27 = bitcast [4 x i32]* %7 to i8*
%28 = getelementptr inbounds [4 x i32], [4 x i32]* %7, i64 0, i64 0
%29 = call i32 @sumArray(i32* %28, i32 4)
%30 = call i32 @assertEquals(i32 4, i32 %29)
%31 = bitcast [11 x i32]* %8 to i8*
%32 = getelementptr inbounds [11 x i32], [11 x i32]* %8, i64 0, i64 0
%33 = call i32 @sumArray(i32* %32, i32 11)
%34 = call i32 @assertEquals(i32 30, i32 %33)
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%36 = bitcast [1 x i32]* %9 to i8*
%37 = call i32 @generateFiboNumbers(i32 1, i32* %17)
%38 = getelementptr inbounds [1 x i32], [1 x i32]* %9, i64 0, i64 0
%39 = call i32 @assertEqualsArray(i32* %38, i32* %17, i32 1)
%40 = bitcast [2 x i32]* %10 to i8*
%41 = call i32 @generateFiboNumbers(i32 2, i32* %17)
%42 = getelementptr inbounds [2 x i32], [2 x i32]* %10, i64 0, i64 0
%43 = call i32 @assertEqualsArray(i32* %42, i32* %17, i32 2)
%44 = bitcast [4 x i32]* %11 to i8*
%45 = call i32 @generateFiboNumbers(i32 4, i32* %17)
%46 = getelementptr inbounds [4 x i32], [4 x i32]* %11, i64 0, i64 0
%47 = call i32 @assertEqualsArray(i32* %46, i32* %17, i32 4)
%48 = bitcast [10 x i32]* %12 to i8*
%49 = call i32 @generateFiboNumbers(i32 10, i32* %17)
%50 = getelementptr inbounds [10 x i32], [10 x i32]* %12, i64 0, i64 0
%51 = call i32 @assertEqualsArray(i32* %50, i32* %17, i32 10)
%52 = load i32, i32* %2
%53 = call i32 @generateFiboNumbers(i32 %52, i32* %17)
store i32 0, i32* %13
br label %54
54: ; preds = %65, %0
%55 = load i32, i32* %13
%56 = load i32, i32* %2
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %68
58: ; preds = %54
%59 = load i32, i32* %13
%60 = load i32, i32* %13
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, i32* %17, i64 %61
%63 = load i32, i32* %62
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 %59, i32 %63)
br label %65
65: ; preds = %58
%66 = load i32, i32* %13
%67 = add nsw i32 %66, 1
store i32 %67, i32* %13
br label %54
68: ; preds = %54
%69 = load i32, i32* %2
%70 = call i32 @sumArray(i32* %17, i32 %69)
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %70)
store i32 0, i32* %1
%72 = load i8*, i8** %3
%73 = load i32, i32* %1
ret i32 %73
}

LLVM IR (-O2):
@__const.main.b = [4 x i32] [i32 0, i32 1, i32 1, i32 1]
@__const.main.b1 = [4 x i32] [i32 0, i32 1, i32 2, i32 2]
@__const.main.c = [11 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10]
@__const.main.exp4 = [4 x i32] [i32 1, i32 2, i32 3, i32 5]
@__const.main.expMany = [10 x i32] [i32 1, i32 2, i32 3, i32 5, i32 8, i32 13, i32 21, i32 34, i32 55, i32 89]
@.str.2 = [8 x i8] c"%d:\09%d\0A\00"
@.str.3 = [18 x i8] c"sum of evens: %d\0A\00"
@str = [15 x i8] c"testing sum...\00"
@str.4 = [21 x i8] c"testing fibonacci...\00"
define i32 @main() {
%1 = alloca [1 x i32]
%2 = alloca [4 x i32]
%3 = alloca [4 x i32]
%4 = alloca [11 x i32]
%5 = alloca [1 x i32]
%6 = alloca i64
%7 = alloca [4 x i32]
%8 = alloca [10 x i32]
%9 = alloca [32 x i32]
%10 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 0
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str, i64 0, i64 0))
%12 = bitcast [1 x i32]* %1 to i8*
%13 = getelementptr inbounds [1 x i32], [1 x i32]* %1, i64 0, i64 0
store i32 0, i32* %13
%14 = call i32 @sumArray(i32* %13, i32 1)
%15 = call i32 @assertEquals(i32 0, i32 %14)
%16 = bitcast [4 x i32]* %2 to i8*
%17 = getelementptr inbounds [4 x i32], [4 x i32]* %2, i64 0, i64 0
%18 = call i32 @sumArray(i32* %17, i32 4)
%19 = call i32 @assertEquals(i32 0, i32 %18)
%20 = bitcast [4 x i32]* %3 to i8*
%21 = getelementptr inbounds [4 x i32], [4 x i32]* %3, i64 0, i64 0
%22 = call i32 @sumArray(i32* %21, i32 4)
%23 = call i32 @assertEquals(i32 4, i32 %22)
%24 = bitcast [11 x i32]* %4 to i8*
%25 = getelementptr inbounds [11 x i32], [11 x i32]* %4, i64 0, i64 0
%26 = call i32 @sumArray(i32* %25, i32 11)
%27 = call i32 @assertEquals(i32 30, i32 %26)
%28 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.4, i64 0, i64 0))
%29 = bitcast [1 x i32]* %5 to i8*
%30 = getelementptr inbounds [1 x i32], [1 x i32]* %5, i64 0, i64 0
store i32 1, i32* %30
%31 = call i32 @generateFiboNumbers(i32 1, i32* %10)
%32 = call i32 @assertEqualsArray(i32* %30, i32* %10, i32 1)
%33 = bitcast i64* %6 to i8*
store i64 8589934593, i64* %6
%34 = call i32 @generateFiboNumbers(i32 2, i32* %10)
%35 = bitcast i64* %6 to i32*
%36 = call i32 @assertEqualsArray(i32* %35, i32* %10, i32 2)
%37 = bitcast [4 x i32]* %7 to i8*
%38 = call i32 @generateFiboNumbers(i32 4, i32* %10)
%39 = getelementptr inbounds [4 x i32], [4 x i32]* %7, i64 0, i64 0
%40 = call i32 @assertEqualsArray(i32* %39, i32* %10, i32 4)
%41 = bitcast [10 x i32]* %8 to i8*
%42 = call i32 @generateFiboNumbers(i32 10, i32* %10)
%43 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 0
%44 = call i32 @assertEqualsArray(i32* %43, i32* %10, i32 10)
%45 = call i32 @generateFiboNumbers(i32 32, i32* %10)
%46 = load i32, i32* %10
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 %46)
%48 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 1
%49 = load i32, i32* %48
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 %49)
%51 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 2
%52 = load i32, i32* %51
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 %52)
%54 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 3
%55 = load i32, i32* %54
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 %55)
%57 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 4
%58 = load i32, i32* %57
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 %58)
%60 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 5
%61 = load i32, i32* %60
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 5, i32 %61)
%63 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 6
%64 = load i32, i32* %63
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 6, i32 %64)
%66 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 7
%67 = load i32, i32* %66
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 7, i32 %67)
%69 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 8
%70 = load i32, i32* %69
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 8, i32 %70)
%72 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 9
%73 = load i32, i32* %72
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 %73)
%75 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 10
%76 = load i32, i32* %75
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 10, i32 %76)
%78 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 11
%79 = load i32, i32* %78
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 11, i32 %79)
%81 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 12
%82 = load i32, i32* %81
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 12, i32 %82)
%84 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 13
%85 = load i32, i32* %84
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 13, i32 %85)
%87 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 14
%88 = load i32, i32* %87
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 14, i32 %88)
%90 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 15
%91 = load i32, i32* %90
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 15, i32 %91)
%93 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 16
%94 = load i32, i32* %93
%95 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 16, i32 %94)
%96 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 17
%97 = load i32, i32* %96
%98 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 17, i32 %97)
%99 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 18
%100 = load i32, i32* %99
%101 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 18, i32 %100)
%102 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 19
%103 = load i32, i32* %102
%104 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 19, i32 %103)
%105 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 20
%106 = load i32, i32* %105
%107 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 20, i32 %106)
%108 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 21
%109 = load i32, i32* %108
%110 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 21, i32 %109)
%111 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 22
%112 = load i32, i32* %111
%113 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 22, i32 %112)
%114 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 23
%115 = load i32, i32* %114
%116 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 23, i32 %115)
%117 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 24
%118 = load i32, i32* %117
%119 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 24, i32 %118)
%120 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 25
%121 = load i32, i32* %120
%122 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 25, i32 %121)
%123 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 26
%124 = load i32, i32* %123
%125 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 26, i32 %124)
%126 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 27
%127 = load i32, i32* %126
%128 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 27, i32 %127)
%129 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 28
%130 = load i32, i32* %129
%131 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 28, i32 %130)
%132 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 29
%133 = load i32, i32* %132
%134 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 29, i32 %133)
%135 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 30
%136 = load i32, i32* %135
%137 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 30, i32 %136)
%138 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 31
%139 = load i32, i32* %138
%140 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 31, i32 %139)
%141 = call i32 @sumArray(i32* %10, i32 32)
%142 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %141)
ret i32 0
}