#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*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *, int *, int *, int *, int *);
int main(void) {
  int a[5][5];
  int sum = 0;
  for (int i = 0; i < 5; i += 1) {
    printf("Enter row %d: ", i + 1);
    scanf("%d %d %d %d %d", &a[i][0], &a[i][1], &a[i][2], &a[i][3], &a[i][4]);
  }
  printf("Row totals: ");
  for (int i = 0; i < 5; i += 1) {
    sum = 0;
    for (int j = 0; j < 5; j += 1) {
      sum += a[i][j];
    }
    printf("%d ", sum);
  }
  printf("\n");
  printf("Column totals: ");
  for (int j = 0; j < 5; j += 1) {
    sum = 0;
    for (int i = 0; i < 5; i += 1) {
      sum += a[i][j];
    }
    printf("%d ", sum);
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x78(%rbp)
cmpl   $0x5,-0x78(%rbp)
jge    11d3 <main+0xb3>
mov    -0x78(%rbp),%esi
add    $0x1,%esi
lea    0xea9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x78(%rbp),%rax
lea    -0x70(%rbp),%rsi
imul   $0x14,%rax,%rax
add    %rax,%rsi
movslq -0x78(%rbp),%rax
lea    -0x70(%rbp),%rdx
imul   $0x14,%rax,%rax
add    %rax,%rdx
add    $0x4,%rdx
movslq -0x78(%rbp),%rax
lea    -0x70(%rbp),%rcx
imul   $0x14,%rax,%rax
add    %rax,%rcx
add    $0x8,%rcx
movslq -0x78(%rbp),%rax
lea    -0x70(%rbp),%r8
imul   $0x14,%rax,%rax
add    %rax,%r8
add    $0xc,%r8
movslq -0x78(%rbp),%rax
lea    -0x70(%rbp),%r9
imul   $0x14,%rax,%rax
add    %rax,%r9
add    $0x10,%r9
lea    0xe4f(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    1140 <main+0x20>
lea    0xe44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x7c(%rbp)
cmpl   $0x5,-0x7c(%rbp)
jge    1253 <main+0x133>
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x80(%rbp)
cmpl   $0x5,-0x80(%rbp)
jge    1234 <main+0x114>
movslq -0x7c(%rbp),%rcx
lea    -0x70(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0x80(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    -0x74(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80(%rbp)
jmp    1200 <main+0xe0>
mov    -0x74(%rbp),%esi
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    11e8 <main+0xc8>
lea    0xdd5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdc9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x84(%rbp)
cmpl   $0x5,-0x84(%rbp)
jge    12ff <main+0x1df>
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x88(%rbp)
cmpl   $0x5,-0x88(%rbp)
jge    12da <main+0x1ba>
movslq -0x88(%rbp),%rcx
lea    -0x70(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0x84(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    -0x74(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    1297 <main+0x177>
mov    -0x74(%rbp),%esi
lea    0xd47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
jmp    1279 <main+0x159>
lea    0xd29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x68,%rsp
lea    0xec2(%rip),%r14
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%rsp),%rdx
lea    0x8(%rsp),%rcx
lea    0xc(%rsp),%r8
lea    0x10(%rsp),%r9
lea    0xea7(%rip),%rbx
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x14(%rsp),%rsi
lea    0x18(%rsp),%rdx
lea    0x1c(%rsp),%rcx
lea    0x20(%rsp),%r8
lea    0x24(%rsp),%r9
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x28(%rsp),%rsi
lea    0x2c(%rsp),%rdx
lea    0x30(%rsp),%rcx
lea    0x34(%rsp),%r8
lea    0x38(%rsp),%r9
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3c(%rsp),%rsi
lea    0x40(%rsp),%rdx
lea    0x44(%rsp),%rcx
lea    0x48(%rsp),%r8
lea    0x4c(%rsp),%r9
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x50(%rsp),%rsi
lea    0x54(%rsp),%rdx
lea    0x58(%rsp),%rcx
lea    0x5c(%rsp),%r8
lea    0x60(%rsp),%r9
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0xde4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movdqu 0x4(%rsp),%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%esi
add    (%rsp),%esi
lea    0xdc4(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movdqu 0x18(%rsp),%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%esi
add    0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movdqu 0x2c(%rsp),%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%esi
add    0x28(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movdqa 0x40(%rsp),%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%esi
add    0x3c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movdqu 0x54(%rsp),%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%esi
add    0x50(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd05(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%esi
add    (%rsp),%esi
add    0x28(%rsp),%esi
add    0x3c(%rsp),%esi
add    0x50(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%esi
add    0x4(%rsp),%esi
add    0x2c(%rsp),%esi
add    0x40(%rsp),%esi
add    0x54(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rsp),%esi
add    0x8(%rsp),%esi
add    0x30(%rsp),%esi
add    0x44(%rsp),%esi
add    0x58(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%esi
add    0xc(%rsp),%esi
add    0x34(%rsp),%esi
add    0x48(%rsp),%esi
add    0x5c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x24(%rsp),%esi
add    0x10(%rsp),%esi
add    0x38(%rsp),%esi
add    0x4c(%rsp),%esi
add    0x60(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
@.str = [15 x i8] c"Enter row %d: \00"
@.str.1 = [15 x i8] c"%d %d %d %d %d\00"
@.str.2 = [13 x i8] c"Row totals: \00"
@.str.3 = [4 x i8] c"%d \00"
@.str.5 = [16 x i8] c"Column totals: \00"
define i32 @main() {
%1 = alloca [5 x [5 x i32]]
%2 = bitcast [5 x [5 x i32]]* %1 to i8*
%3 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 1)
%4 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 0, i64 0
%5 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 0, i64 1
%6 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 0, i64 2
%7 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 0, i64 3
%8 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 0, i64 4
%9 = call i32 @scanf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32* %4, i32* %5, i32* %6, i32* %7, i32* %8)
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 2)
%11 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 1, i64 0
%12 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 1, i64 1
%13 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 1, i64 2
%14 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 1, i64 3
%15 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 1, i64 4
%16 = call i32 @scanf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32* %11, i32* %12, i32* %13, i32* %14, i32* %15)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 3)
%18 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 2, i64 0
%19 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 2, i64 1
%20 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 2, i64 2
%21 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 2, i64 3
%22 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 2, i64 4
%23 = call i32 @scanf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32* %18, i32* %19, i32* %20, i32* %21, i32* %22)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 4)
%25 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 3, i64 0
%26 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 3, i64 1
%27 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 3, i64 2
%28 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 3, i64 3
%29 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 3, i64 4
%30 = call i32 @scanf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32* %25, i32* %26, i32* %27, i32* %28, i32* %29)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 5)
%32 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 4, i64 0
%33 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 4, i64 1
%34 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 4, i64 2
%35 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 4, i64 3
%36 = getelementptr inbounds [5 x [5 x i32]], [5 x [5 x i32]]* %1, i64 0, i64 4, i64 4
%37 = call i32 @scanf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32* %32, i32* %33, i32* %34, i32* %35, i32* %36)
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%39 = load i32, i32* %4
%40 = bitcast i32* %5 to <4 x i32>*
%41 = load <4 x i32>, <4 x i32>* %40
%42 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %41)
%43 = add nsw i32 %42, %39
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %43)
%45 = load i32, i32* %11
%46 = bitcast i32* %12 to <4 x i32>*
%47 = load <4 x i32>, <4 x i32>* %46
%48 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %47)
%49 = add nsw i32 %48, %45
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %49)
%51 = load i32, i32* %18
%52 = bitcast i32* %19 to <4 x i32>*
%53 = load <4 x i32>, <4 x i32>* %52
%54 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %53)
%55 = add nsw i32 %54, %51
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %55)
%57 = load i32, i32* %25
%58 = bitcast i32* %26 to <4 x i32>*
%59 = load <4 x i32>, <4 x i32>* %58
%60 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %59)
%61 = add nsw i32 %60, %57
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %61)
%63 = load i32, i32* %32
%64 = bitcast i32* %33 to <4 x i32>*
%65 = load <4 x i32>, <4 x i32>* %64
%66 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %65)
%67 = add nsw i32 %66, %63
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %67)
%69 = call i32 @putchar(i32 10)
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%71 = load i32, i32* %4
%72 = load i32, i32* %11
%73 = add nsw i32 %72, %71
%74 = load i32, i32* %18
%75 = add nsw i32 %74, %73
%76 = load i32, i32* %25
%77 = add nsw i32 %76, %75
%78 = load i32, i32* %32
%79 = add nsw i32 %78, %77
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %79)
%81 = load i32, i32* %5
%82 = load i32, i32* %12
%83 = add nsw i32 %82, %81
%84 = load i32, i32* %19
%85 = add nsw i32 %84, %83
%86 = load i32, i32* %26
%87 = add nsw i32 %86, %85
%88 = load i32, i32* %33
%89 = add nsw i32 %88, %87
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %89)
%91 = load i32, i32* %6
%92 = load i32, i32* %13
%93 = add nsw i32 %92, %91
%94 = load i32, i32* %20
%95 = add nsw i32 %94, %93
%96 = load i32, i32* %27
%97 = add nsw i32 %96, %95
%98 = load i32, i32* %34
%99 = add nsw i32 %98, %97
%100 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %99)
%101 = load i32, i32* %7
%102 = load i32, i32* %14
%103 = add nsw i32 %102, %101
%104 = load i32, i32* %21
%105 = add nsw i32 %104, %103
%106 = load i32, i32* %28
%107 = add nsw i32 %106, %105
%108 = load i32, i32* %35
%109 = add nsw i32 %108, %107
%110 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %109)
%111 = load i32, i32* %8
%112 = load i32, i32* %15
%113 = add nsw i32 %112, %111
%114 = load i32, i32* %22
%115 = add nsw i32 %114, %113
%116 = load i32, i32* %29
%117 = add nsw i32 %116, %115
%118 = load i32, i32* %36
%119 = add nsw i32 %118, %117
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %119)
%121 = call i32 @putchar(i32 10)
ret i32 0
}