#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 /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ findLineLargestPairSum(int /*<<< orphan*/ *, int *, int *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, int *);
int /*<<< orphan*/ printf(char *, int, int, int, int);
int main(int argc, char *argv[]) {
  FILE *input;
  int line[6][10];
  int info[6][4] = {0, 0, 0, 0};
  int i, j, k = 0;
  input = fopen(argv[1], "r");
  for (i = 0; i < 6; i++) {
    for (j = 0; j < 10; j++)
      fscanf(input, "%d ,", &line[i][j]);
    info[i][3] = i;
    findLineLargestPairSum(input, line[i], info[i]);
    if (k < info[i][2])
      k = info[i][2];
  }
  for (i = 0; i < 6; i++) {
    if (k == info[i][2])
      printf("Line %d: largest pair is %d and %d, with a total of %d\n",
             info[i][3], info[i][0], info[i][1], info[i][2]);
  }
  fclose(input);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x180,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x170(%rbp),%rdi
xor    %esi,%esi
mov    $0x60,%edx
call   1050 <memset@plt>
movl   $0x0,-0x17c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe5b(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x174(%rbp)
cmpl   $0x6,-0x174(%rbp)
jge    12cf <main+0x16f>
movl   $0x0,-0x178(%rbp)
cmpl   $0xa,-0x178(%rbp)
jge    1223 <main+0xc3>
mov    -0x18(%rbp),%rdi
movslq -0x174(%rbp),%rax
lea    -0x110(%rbp),%rdx
imul   $0x28,%rax,%rax
add    %rax,%rdx
movslq -0x178(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdx
lea    0xdf8(%rip),%rsi
call   1060 <fscanf@plt>
mov    -0x178(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x178(%rbp)
jmp    11cf <main+0x6f>
mov    -0x174(%rbp),%ecx
movslq -0x174(%rbp),%rdx
lea    -0x170(%rbp),%rax
shl    $0x4,%rdx
add    %rdx,%rax
mov    %ecx,0xc(%rax)
mov    -0x18(%rbp),%rdi
movslq -0x174(%rbp),%rax
lea    -0x110(%rbp),%rsi
imul   $0x28,%rax,%rax
add    %rax,%rsi
movslq -0x174(%rbp),%rax
lea    -0x170(%rbp),%rdx
shl    $0x4,%rax
add    %rax,%rdx
call   1070 <findLineLargestPairSum@plt>
mov    -0x17c(%rbp),%eax
movslq -0x174(%rbp),%rdx
lea    -0x170(%rbp),%rcx
shl    $0x4,%rdx
add    %rdx,%rcx
cmp    0x8(%rcx),%eax
jge    12b6 <main+0x156>
movslq -0x174(%rbp),%rcx
lea    -0x170(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    0x8(%rax),%eax
mov    %eax,-0x17c(%rbp)
jmp    12bb <main+0x15b>
mov    -0x174(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x174(%rbp)
jmp    11b8 <main+0x58>
movl   $0x0,-0x174(%rbp)
cmpl   $0x6,-0x174(%rbp)
jge    138f <main+0x22f>
mov    -0x17c(%rbp),%eax
movslq -0x174(%rbp),%rdx
lea    -0x170(%rbp),%rcx
shl    $0x4,%rdx
add    %rdx,%rcx
cmp    0x8(%rcx),%eax
jne    1376 <main+0x216>
movslq -0x174(%rbp),%rcx
lea    -0x170(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    0xc(%rax),%esi
movslq -0x174(%rbp),%rcx
lea    -0x170(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    (%rax),%edx
movslq -0x174(%rbp),%rcx
lea    -0x170(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    0x4(%rax),%ecx
movslq -0x174(%rbp),%rdi
lea    -0x170(%rbp),%rax
shl    $0x4,%rdi
add    %rdi,%rax
mov    0x8(%rax),%r8d
lea    0xc96(%rip),%rdi
call   1040 <printf@plt>
jmp    137b <main+0x21b>
mov    -0x174(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x174(%rbp)
jmp    12d9 <main+0x179>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0x180,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x168,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
mov    0x8(%rsi),%rdi
lea    0xe74(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%r13
xor    %ebx,%ebx
mov    %rsp,%rbp
lea    0xe62(%rip),%r15
xor    %r12d,%r12d
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
lea    (%rsp,%rbx,1),%rdx
add    $0x70,%rdx
mov    %rdx,0x68(%rsp)
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x74,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x78,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x7c,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x80,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x84,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x88,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x8c,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x90,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
lea    (%rsp,%rbx,1),%rdx
add    $0x94,%rdx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
mov    %r12d,0xc(%rbp)
mov    %r13,%rdi
mov    0x68(%rsp),%rsi
mov    %rbp,%rdx
call   1060 <findLineLargestPairSum@plt>
mov    0x8(%rbp),%eax
cmp    %eax,%r14d
cmovl  %eax,%r14d
add    $0x1,%r12d
add    $0x10,%rbp
add    $0x28,%rbx
cmp    $0xf0,%rbx
jne    11b0 <main+0x60>
cmp    0x8(%rsp),%r14d
je     132d <main+0x1dd>
cmp    0x18(%rsp),%r14d
je     134e <main+0x1fe>
cmp    0x28(%rsp),%r14d
je     1374 <main+0x224>
cmp    0x38(%rsp),%r14d
je     139a <main+0x24a>
cmp    0x48(%rsp),%r14d
je     13c0 <main+0x270>
cmp    0x58(%rsp),%r14d
jne    1311 <main+0x1c1>
mov    0x5c(%rsp),%esi
mov    0x50(%rsp),%edx
mov    0x54(%rsp),%ecx
lea    0xcfe(%rip),%rdi
mov    %r14d,%r8d
call   1040 <printf@plt>
mov    %r13,%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0x168,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0xc(%rsp),%esi
mov    (%rsp),%edx
mov    0x4(%rsp),%ecx
lea    0xcc8(%rip),%rdi
mov    %r14d,%r8d
call   1040 <printf@plt>
cmp    0x18(%rsp),%r14d
jne    12ce <main+0x17e>
mov    0x1c(%rsp),%esi
mov    0x10(%rsp),%edx
mov    0x14(%rsp),%ecx
lea    0xca6(%rip),%rdi
mov    %r14d,%r8d
call   1040 <printf@plt>
cmp    0x28(%rsp),%r14d
jne    12d9 <main+0x189>
mov    0x2c(%rsp),%esi
mov    0x20(%rsp),%edx
mov    0x24(%rsp),%ecx
lea    0xc80(%rip),%rdi
mov    %r14d,%r8d
call   1040 <printf@plt>
cmp    0x38(%rsp),%r14d
jne    12e4 <main+0x194>
mov    0x3c(%rsp),%esi
mov    0x30(%rsp),%edx
mov    0x34(%rsp),%ecx
lea    0xc5a(%rip),%rdi
mov    %r14d,%r8d
call   1040 <printf@plt>
cmp    0x48(%rsp),%r14d
jne    12ef <main+0x19f>
mov    0x4c(%rsp),%esi
mov    0x40(%rsp),%edx
mov    0x44(%rsp),%ecx
lea    0xc34(%rip),%rdi
mov    %r14d,%r8d
call   1040 <printf@plt>
cmp    0x58(%rsp),%r14d
je     12f6 <main+0x1a6>
jmp    1311 <main+0x1c1>

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

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [5 x i8] c"%d ,\00"
@.str.2 = [56 x i8] c"Line %d: largest pair is %d and %d, with a total of %d\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [6 x [10 x i32]]
%4 = alloca [6 x [4 x i32]]
%5 = bitcast [6 x [10 x i32]]* %3 to i8*
%6 = bitcast [6 x [4 x i32]]* %4 to i8*
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
%9 = tail call i32* @fopen(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %2, %10
%11 = phi i64 [ 0, %2 ], [ %41, %10 ]
%12 = phi i32 [ 0, %2 ], [ %40, %10 ]
%13 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 0
%14 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %13)
%15 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 1
%16 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %15)
%17 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 2
%18 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %17)
%19 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 3
%20 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %19)
%21 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 4
%22 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %21)
%23 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 5
%24 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %23)
%25 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 6
%26 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %25)
%27 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 7
%28 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %27)
%29 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 8
%30 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %29)
%31 = getelementptr inbounds [6 x [10 x i32]], [6 x [10 x i32]]* %3, i64 0, i64 %11, i64 9
%32 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %31)
%33 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 %11, i64 3
%34 = trunc i64 %11 to i32
store i32 %34, i32* %33
%35 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 %11, i64 0
%36 = call i32 @findLineLargestPairSum(i32* %9, i32* %13, i32* %35)
%37 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 %11, i64 2
%38 = load i32, i32* %37
%39 = icmp slt i32 %12, %38
%40 = select i1 %39, i32 %38, i32 %12
%41 = add nuw nsw i64 %11, 1
%42 = icmp eq i64 %41, 6
br i1 %42, label %43, label %10
43: ; preds = %10
%44 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 0, i64 2
%45 = load i32, i32* %44
%46 = icmp eq i32 %40, %45
br i1 %46, label %47, label %55
47: ; preds = %43
%48 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 0, i64 3
%49 = load i32, i32* %48
%50 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 0, i64 0
%51 = load i32, i32* %50
%52 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 0, i64 1
%53 = load i32, i32* %52
%54 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i32 %49, i32 %51, i32 %53, i32 %40)
br label %55
55: ; preds = %43, %47
%56 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 1, i64 2
%57 = load i32, i32* %56
%58 = icmp eq i32 %40, %57
br i1 %58, label %59, label %67
59: ; preds = %55
%60 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 1, i64 3
%61 = load i32, i32* %60
%62 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 1, i64 0
%63 = load i32, i32* %62
%64 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 1, i64 1
%65 = load i32, i32* %64
%66 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i32 %61, i32 %63, i32 %65, i32 %40)
br label %67
67: ; preds = %59, %55
%68 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 2, i64 2
%69 = load i32, i32* %68
%70 = icmp eq i32 %40, %69
br i1 %70, label %71, label %79
71: ; preds = %67
%72 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 2, i64 3
%73 = load i32, i32* %72
%74 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 2, i64 0
%75 = load i32, i32* %74
%76 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 2, i64 1
%77 = load i32, i32* %76
%78 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i32 %73, i32 %75, i32 %77, i32 %40)
br label %79
79: ; preds = %71, %67
%80 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 3, i64 2
%81 = load i32, i32* %80
%82 = icmp eq i32 %40, %81
br i1 %82, label %83, label %91
83: ; preds = %79
%84 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 3, i64 3
%85 = load i32, i32* %84
%86 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 3, i64 0
%87 = load i32, i32* %86
%88 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 3, i64 1
%89 = load i32, i32* %88
%90 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i32 %85, i32 %87, i32 %89, i32 %40)
br label %91
91: ; preds = %83, %79
%92 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 4, i64 2
%93 = load i32, i32* %92
%94 = icmp eq i32 %40, %93
br i1 %94, label %95, label %103
95: ; preds = %91
%96 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 4, i64 3
%97 = load i32, i32* %96
%98 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 4, i64 0
%99 = load i32, i32* %98
%100 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 4, i64 1
%101 = load i32, i32* %100
%102 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i32 %97, i32 %99, i32 %101, i32 %40)
br label %103
103: ; preds = %95, %91
%104 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 5, i64 2
%105 = load i32, i32* %104
%106 = icmp eq i32 %40, %105
br i1 %106, label %107, label %115
107: ; preds = %103
%108 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 5, i64 3
%109 = load i32, i32* %108
%110 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 5, i64 0
%111 = load i32, i32* %110
%112 = getelementptr inbounds [6 x [4 x i32]], [6 x [4 x i32]]* %4, i64 0, i64 5, i64 1
%113 = load i32, i32* %112
%114 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i32 %109, i32 %111, i32 %113, i32 %40)
br label %115
115: ; preds = %107, %103
%116 = call i32 @fclose(i32* %9)
ret i32 0
}