#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ stderr;
int main() {
  int i, j, sumMatrix[25][25];
  int rows1, columns1, matrix1[25][25];
  int rows2, columns2, matrix2[25][25];
  printf("Matrix - Sum \n");
  printf("Maximum Permissible Rows/Columns = 24 \n");
  printf("\n");
  printf("Rows (Matrix1) = ");
  scanf("%d", &rows1);
  printf("Columns (Matrix1) = ");
  scanf("%d", &columns1);
  if ((rows1 > 24) || (columns1 > 24)) {
    fprintf(stderr, "Rows/Columns > 24 \nAborting! \n");
    return -1;
  }
  printf("\n");
  printf("Input the Matrix1: \n");
  for (i = 0; i < rows1; i++) {
    for (j = 0; j < columns1; j++) {
      scanf("%d", &matrix1[i][j]);
    }
  }
  printf("\n");
  printf("Rows (Matrix2) = ");
  scanf("%d", &rows2);
  printf("Columns (Matrix2) = ");
  scanf("%d", &columns2);
  if ((rows2 > 24) || (columns2 > 24)) {
    fprintf(stderr, "Rows/Columns > 24 \nAborting! \n");
    return -1;
  }
  printf("\n");
  printf("Input the Matrix2: \n");
  for (i = 0; i < rows2; i++) {
    for (j = 0; j < columns2; j++) {
      scanf("%d", &matrix2[i][j]);
    }
  }
  printf("\n");
  if (rows1 != rows2 || columns1 != columns2) {
    fprintf(stderr, "Rows/Columns of 2 Matrices Not Equal \nAborting! \n");
    return -1;
  }
  printf("Matrix1: \n");
  for (i = 0; i < rows1; i++) {
    for (j = 0; j < columns1; j++) {
      printf("%d	", matrix1[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  printf("Matrix2: \n");
  for (i = 0; i < rows2; i++) {
    for (j = 0; j < columns2; j++) {
      printf("%d	", matrix2[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  printf("Sum: \n");
  for (i = 0; i < rows1; i++) {
    for (j = 0; j < columns1; j++) {
      sumMatrix[i][j] = matrix1[i][j] + matrix2[i][j];
      printf("%d	", sumMatrix[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1d70,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec8(%rip),%rdi
lea    -0x9d4(%rbp),%rsi
call   1050 <scanf@plt>
lea    0xeb8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xea7(%rip),%rdi
lea    -0x9d8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x18,-0x9d4(%rbp)
jg     11c8 <main+0x98>
cmpl   $0x18,-0x9d8(%rbp)
jle    11e9 <main+0xb9>
mov    0x2e11(%rip),%rax
mov    (%rax),%edi
lea    0xe89(%rip),%rsi
call   1040 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1608 <main+0x4d8>
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x9d4(%rbp),%eax
jge    127b <main+0x14b>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x9d8(%rbp),%eax
jge    1268 <main+0x138>
movslq -0x8(%rbp),%rax
lea    -0x13a0(%rbp),%rsi
imul   $0x64,%rax,%rax
add    %rax,%rsi
movslq -0xc(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdf4(%rip),%rdi
call   1050 <scanf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1222 <main+0xf2>
jmp    126d <main+0x13d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    120c <main+0xdc>
lea    0xdfc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdab(%rip),%rdi
lea    -0x13a4(%rbp),%rsi
call   1050 <scanf@plt>
lea    0xdf6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd8a(%rip),%rdi
lea    -0x13a8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x18,-0x13a4(%rbp)
jg     12e5 <main+0x1b5>
cmpl   $0x18,-0x13a8(%rbp)
jle    1306 <main+0x1d6>
mov    0x2cf4(%rip),%rax
mov    (%rax),%edi
lea    0xd6c(%rip),%rsi
call   1040 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1608 <main+0x4d8>
lea    0xd71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xda1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x13a4(%rbp),%eax
jge    1398 <main+0x268>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x13a8(%rbp),%eax
jge    1385 <main+0x255>
movslq -0x8(%rbp),%rax
lea    -0x1d70(%rbp),%rsi
imul   $0x64,%rax,%rax
add    %rax,%rsi
movslq -0xc(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xcd7(%rip),%rdi
call   1050 <scanf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    133f <main+0x20f>
jmp    138a <main+0x25a>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1329 <main+0x1f9>
lea    0xcdf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x9d4(%rbp),%eax
cmp    -0x13a4(%rbp),%eax
jne    13ca <main+0x29a>
mov    -0x9d8(%rbp),%eax
cmp    -0x13a8(%rbp),%eax
je     13eb <main+0x2bb>
mov    0x2c0f(%rip),%rax
mov    (%rax),%edi
lea    0xcf7(%rip),%rsi
call   1040 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1608 <main+0x4d8>
lea    0xc98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x9d4(%rbp),%eax
jge    1476 <main+0x346>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x9d8(%rbp),%eax
jge    145a <main+0x32a>
movslq -0x8(%rbp),%rcx
lea    -0x13a0(%rbp),%rax
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1416 <main+0x2e6>
lea    0xc1d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1400 <main+0x2d0>
lea    0xc01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc3b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x13a4(%rbp),%eax
jge    150f <main+0x3df>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x13a8(%rbp),%eax
jge    14f3 <main+0x3c3>
movslq -0x8(%rbp),%rcx
lea    -0x1d70(%rbp),%rax
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xc25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    14af <main+0x37f>
lea    0xb84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1499 <main+0x369>
lea    0xb68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbe3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x9d4(%rbp),%eax
jge    15f3 <main+0x4c3>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x9d8(%rbp),%eax
jge    15d7 <main+0x4a7>
movslq -0x8(%rbp),%rcx
lea    -0x13a0(%rbp),%rax
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
movslq -0x8(%rbp),%rcx
lea    -0x1d70(%rbp),%rax
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
add    (%rax,%rcx,4),%edx
movslq -0x8(%rbp),%rcx
lea    -0x9d0(%rbp),%rax
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
movslq -0x8(%rbp),%rcx
lea    -0x9d0(%rbp),%rax
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xb41(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1548 <main+0x418>
lea    0xaa0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1532 <main+0x402>
lea    0xa84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1d70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x13b0,%rsp
lea    0xf3f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf41(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe77(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe7b(%rip),%rbx
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
lea    0xe6a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
cmpl   $0x18,0x4(%rsp)
jg     1323 <main+0x1d3>
cmpl   $0x19,(%rsp)
jge    1323 <main+0x1d3>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xef8(%rip),%rdi
call   1040 <puts@plt>
mov    0x4(%rsp),%ecx
test   %ecx,%ecx
jle    1252 <main+0x102>
lea    0x9e0(%rsp),%r15
mov    (%rsp),%eax
xor    %r12d,%r12d
lea    0xe0d(%rip),%r14
jmp    1220 <main+0xd0>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r12
movslq %ecx,%rdx
add    $0x64,%r15
cmp    %rdx,%r12
jge    1252 <main+0x102>
test   %eax,%eax
jle    1210 <main+0xc0>
mov    %r15,%r13
xor    %ebx,%ebx
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %r13,%rsi
call   1070 <scanf@plt>
add    $0x1,%rbx
movslq (%rsp),%rax
add    $0x4,%r13
cmp    %rax,%rbx
jl     1230 <main+0xe0>
mov    0x4(%rsp),%ecx
jmp    1210 <main+0xc0>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xde6(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xda1(%rip),%rbx
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
lea    0xdd6(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
cmpl   $0x18,0xc(%rsp)
jg     1323 <main+0x1d3>
cmpl   $0x19,0x8(%rsp)
jge    1323 <main+0x1d3>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe33(%rip),%rdi
call   1040 <puts@plt>
mov    0xc(%rsp),%ecx
test   %ecx,%ecx
jle    1338 <main+0x1e8>
lea    0x10(%rsp),%r15
mov    0x8(%rsp),%eax
xor    %r12d,%r12d
lea    0xd36(%rip),%r14
jmp    12f0 <main+0x1a0>
xchg   %ax,%ax
add    $0x1,%r12
movslq %ecx,%rdx
add    $0x64,%r15
cmp    %rdx,%r12
jge    1338 <main+0x1e8>
test   %eax,%eax
jle    12e0 <main+0x190>
mov    %r15,%r13
xor    %ebx,%ebx
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %r13,%rsi
call   1070 <scanf@plt>
add    $0x1,%rbx
movslq 0x8(%rsp),%rax
add    $0x4,%r13
cmp    %rax,%rbx
jl     1300 <main+0x1b0>
mov    0xc(%rsp),%ecx
jmp    12e0 <main+0x190>
mov    0x2cb6(%rip),%rax
mov    (%rax),%edi
lea    0xcf7(%rip),%rsi
jmp    13ed <main+0x29d>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x4(%rsp),%eax
cmp    0xc(%rsp),%eax
jne    13dd <main+0x28d>
mov    (%rsp),%eax
cmp    0x8(%rsp),%eax
jne    13dd <main+0x28d>
lea    0xd81(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,0x4(%rsp)
jle    1408 <main+0x2b8>
lea    0x9e0(%rsp),%r12
lea    0xd1f(%rip),%r14
xor    %r15d,%r15d
jmp    13ac <main+0x25c>
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r15
movslq 0x4(%rsp),%rax
add    $0x64,%r12
cmp    %rax,%r15
jge    1408 <main+0x2b8>
cmpl   $0x0,(%rsp)
jle    1390 <main+0x240>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%r12,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq (%rsp),%rax
cmp    %rax,%rbx
jl     13c0 <main+0x270>
jmp    1390 <main+0x240>
mov    0x2bfc(%rip),%rax
mov    (%rax),%edi
lea    0xc83(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0xffffffff,%eax
add    $0x13b0,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xce0(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,0xc(%rsp)
jle    148e <main+0x33e>
lea    0x10(%rsp),%r12
lea    0xc71(%rip),%r14
xor    %r15d,%r15d
jmp    145c <main+0x30c>
cs nopw 0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r15
movslq 0xc(%rsp),%rax
add    $0x64,%r12
cmp    %rax,%r15
jge    148e <main+0x33e>
cmpl   $0x0,0x8(%rsp)
jle    1440 <main+0x2f0>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%r12,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x8(%rsp),%rax
cmp    %rax,%rbx
jl     1470 <main+0x320>
jmp    1440 <main+0x2f0>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xc64(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,0x4(%rsp)
jle    1522 <main+0x3d2>
lea    0x9e0(%rsp),%r15
lea    0x10(%rsp),%r13
lea    0xbe3(%rip),%r14
xor    %r12d,%r12d
jmp    14f0 <main+0x3a0>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r12
movslq 0x4(%rsp),%rax
add    $0x64,%r15
add    $0x64,%r13
cmp    %rax,%r12
jge    1522 <main+0x3d2>
cmpl   $0x0,(%rsp)
jle    14d0 <main+0x380>
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
mov    0x0(%r13,%rbx,4),%esi
add    (%r15,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq (%rsp),%rax
cmp    %rax,%rbx
jl     1500 <main+0x3b0>
jmp    14d0 <main+0x380>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
jmp    13f7 <main+0x2a7>

LLVM IR (-O0):
@.str = [15 x i8] c"Matrix - Sum \0A\00"
@.str.1 = [40 x i8] c"Maximum Permissible Rows/Columns = 24 \0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [18 x i8] c"Rows (Matrix1) = \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [21 x i8] c"Columns (Matrix1) = \00"
@stderr = global i32 0
@.str.6 = [31 x i8] c"Rows/Columns > 24 \0AAborting! \0A\00"
@.str.7 = [21 x i8] c"Input the Matrix1: \0A\00"
@.str.8 = [18 x i8] c"Rows (Matrix2) = \00"
@.str.9 = [21 x i8] c"Columns (Matrix2) = \00"
@.str.10 = [21 x i8] c"Input the Matrix2: \0A\00"
@.str.11 = [50 x i8] c"Rows/Columns of 2 Matrices Not Equal \0AAborting! \0A\00"
@.str.12 = [11 x i8] c"Matrix1: \0A\00"
@.str.13 = [4 x i8] c"%d\09\00"
@.str.14 = [11 x i8] c"Matrix2: \0A\00"
@.str.15 = [7 x i8] c"Sum: \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [25 x [25 x i32]]
%5 = alloca i32
%6 = alloca i32
%7 = alloca [25 x [25 x i32]]
%8 = alloca i32
%9 = alloca i32
%10 = alloca [25 x [25 x i32]]
store i32 0, i32* %1
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %5)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %6)
%18 = load i32, i32* %5
%19 = icmp sgt i32 %18, 24
br i1 %19, label %23, label %20
20: ; preds = %0
%21 = load i32, i32* %6
%22 = icmp sgt i32 %21, 24
br i1 %22, label %23, label %26
23: ; preds = %20, %0
%24 = load i32, i32* @stderr
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
store i32 -1, i32* %1
br label %215
26: ; preds = %20
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %2
br label %29
29: ; preds = %50, %26
%30 = load i32, i32* %2
%31 = load i32, i32* %5
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %53
33: ; preds = %29
store i32 0, i32* %3
br label %34
34: ; preds = %46, %33
%35 = load i32, i32* %3
%36 = load i32, i32* %6
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %49
38: ; preds = %34
%39 = load i32, i32* %2
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %7, i64 0, i64 %40
%42 = load i32, i32* %3
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [25 x i32], [25 x i32]* %41, i64 0, i64 %43
%45 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %44)
br label %46
46: ; preds = %38
%47 = load i32, i32* %3
%48 = add nsw i32 %47, 1
store i32 %48, i32* %3
br label %34
49: ; preds = %34
br label %50
50: ; preds = %49
%51 = load i32, i32* %2
%52 = add nsw i32 %51, 1
store i32 %52, i32* %2
br label %29
53: ; preds = %29
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
%56 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %8)
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%58 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %9)
%59 = load i32, i32* %8
%60 = icmp sgt i32 %59, 24
br i1 %60, label %64, label %61
61: ; preds = %53
%62 = load i32, i32* %9
%63 = icmp sgt i32 %62, 24
br i1 %63, label %64, label %67
64: ; preds = %61, %53
%65 = load i32, i32* @stderr
%66 = call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
store i32 -1, i32* %1
br label %215
67: ; preds = %61
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0))
store i32 0, i32* %2
br label %70
70: ; preds = %91, %67
%71 = load i32, i32* %2
%72 = load i32, i32* %8
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %94
74: ; preds = %70
store i32 0, i32* %3
br label %75
75: ; preds = %87, %74
%76 = load i32, i32* %3
%77 = load i32, i32* %9
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %90
79: ; preds = %75
%80 = load i32, i32* %2
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %10, i64 0, i64 %81
%83 = load i32, i32* %3
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [25 x i32], [25 x i32]* %82, i64 0, i64 %84
%86 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %85)
br label %87
87: ; preds = %79
%88 = load i32, i32* %3
%89 = add nsw i32 %88, 1
store i32 %89, i32* %3
br label %75
90: ; preds = %75
br label %91
91: ; preds = %90
%92 = load i32, i32* %2
%93 = add nsw i32 %92, 1
store i32 %93, i32* %2
br label %70
94: ; preds = %70
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%96 = load i32, i32* %5
%97 = load i32, i32* %8
%98 = icmp ne i32 %96, %97
br i1 %98, label %103, label %99
99: ; preds = %94
%100 = load i32, i32* %6
%101 = load i32, i32* %9
%102 = icmp ne i32 %100, %101
br i1 %102, label %103, label %106
103: ; preds = %99, %94
%104 = load i32, i32* @stderr
%105 = call i32 @fprintf(i32 %104, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.11, i64 0, i64 0))
store i32 -1, i32* %1
br label %215
106: ; preds = %99
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0))
store i32 0, i32* %2
br label %108
108: ; preds = %131, %106
%109 = load i32, i32* %2
%110 = load i32, i32* %5
%111 = icmp slt i32 %109, %110
br i1 %111, label %112, label %134
112: ; preds = %108
store i32 0, i32* %3
br label %113
113: ; preds = %126, %112
%114 = load i32, i32* %3
%115 = load i32, i32* %6
%116 = icmp slt i32 %114, %115
br i1 %116, label %117, label %129
117: ; preds = %113
%118 = load i32, i32* %2
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %7, i64 0, i64 %119
%121 = load i32, i32* %3
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [25 x i32], [25 x i32]* %120, i64 0, i64 %122
%124 = load i32, i32* %123
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 %124)
br label %126
126: ; preds = %117
%127 = load i32, i32* %3
%128 = add nsw i32 %127, 1
store i32 %128, i32* %3
br label %113
129: ; preds = %113
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %131
131: ; preds = %129
%132 = load i32, i32* %2
%133 = add nsw i32 %132, 1
store i32 %133, i32* %2
br label %108
134: ; preds = %108
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%136 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %2
br label %137
137: ; preds = %160, %134
%138 = load i32, i32* %2
%139 = load i32, i32* %8
%140 = icmp slt i32 %138, %139
br i1 %140, label %141, label %163
141: ; preds = %137
store i32 0, i32* %3
br label %142
142: ; preds = %155, %141
%143 = load i32, i32* %3
%144 = load i32, i32* %9
%145 = icmp slt i32 %143, %144
br i1 %145, label %146, label %158
146: ; preds = %142
%147 = load i32, i32* %2
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %10, i64 0, i64 %148
%150 = load i32, i32* %3
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [25 x i32], [25 x i32]* %149, i64 0, i64 %151
%153 = load i32, i32* %152
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 %153)
br label %155
155: ; preds = %146
%156 = load i32, i32* %3
%157 = add nsw i32 %156, 1
store i32 %157, i32* %3
br label %142
158: ; preds = %142
%159 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %160
160: ; preds = %158
%161 = load i32, i32* %2
%162 = add nsw i32 %161, 1
store i32 %162, i32* %2
br label %137
163: ; preds = %137
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0))
store i32 0, i32* %2
br label %166
166: ; preds = %210, %163
%167 = load i32, i32* %2
%168 = load i32, i32* %5
%169 = icmp slt i32 %167, %168
br i1 %169, label %170, label %213
170: ; preds = %166
store i32 0, i32* %3
br label %171
171: ; preds = %205, %170
%172 = load i32, i32* %3
%173 = load i32, i32* %6
%174 = icmp slt i32 %172, %173
br i1 %174, label %175, label %208
175: ; preds = %171
%176 = load i32, i32* %2
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %7, i64 0, i64 %177
%179 = load i32, i32* %3
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [25 x i32], [25 x i32]* %178, i64 0, i64 %180
%182 = load i32, i32* %181
%183 = load i32, i32* %2
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %10, i64 0, i64 %184
%186 = load i32, i32* %3
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [25 x i32], [25 x i32]* %185, i64 0, i64 %187
%189 = load i32, i32* %188
%190 = add nsw i32 %182, %189
%191 = load i32, i32* %2
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %4, i64 0, i64 %192
%194 = load i32, i32* %3
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds [25 x i32], [25 x i32]* %193, i64 0, i64 %195
store i32 %190, i32* %196
%197 = load i32, i32* %2
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %4, i64 0, i64 %198
%200 = load i32, i32* %3
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [25 x i32], [25 x i32]* %199, i64 0, i64 %201
%203 = load i32, i32* %202
%204 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 %203)
br label %205
205: ; preds = %175
%206 = load i32, i32* %3
%207 = add nsw i32 %206, 1
store i32 %207, i32* %3
br label %171
208: ; preds = %171
%209 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %210
210: ; preds = %208
%211 = load i32, i32* %2
%212 = add nsw i32 %211, 1
store i32 %212, i32* %2
br label %166
213: ; preds = %166
%214 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %1
br label %215
215: ; preds = %213, %103, %64, %23
%216 = load i32, i32* %1
ret i32 %216
}

LLVM IR (-O2):
@.str.3 = [18 x i8] c"Rows (Matrix1) = \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [21 x i8] c"Columns (Matrix1) = \00"
@stderr = global i32 0
@.str.6 = [31 x i8] c"Rows/Columns > 24 \0AAborting! \0A\00"
@.str.8 = [18 x i8] c"Rows (Matrix2) = \00"
@.str.9 = [21 x i8] c"Columns (Matrix2) = \00"
@.str.11 = [50 x i8] c"Rows/Columns of 2 Matrices Not Equal \0AAborting! \0A\00"
@.str.13 = [4 x i8] c"%d\09\00"
@str = [14 x i8] c"Matrix - Sum \00"
@str.16 = [39 x i8] c"Maximum Permissible Rows/Columns = 24 \00"
@str.17 = [20 x i8] c"Input the Matrix1: \00"
@str.18 = [20 x i8] c"Input the Matrix2: \00"
@str.19 = [10 x i8] c"Matrix1: \00"
@str.20 = [10 x i8] c"Matrix2: \00"
@str.21 = [6 x i8] c"Sum: \00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [25 x [25 x i32]]
%4 = alloca i32
%5 = alloca i32
%6 = alloca [25 x [25 x i32]]
%7 = bitcast i32* %1 to i8*
%8 = bitcast i32* %2 to i8*
%9 = bitcast [25 x [25 x i32]]* %3 to i8*
%10 = bitcast i32* %4 to i8*
%11 = bitcast i32* %5 to i8*
%12 = bitcast [25 x [25 x i32]]* %6 to i8*
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.16, i64 0, i64 0))
%15 = tail call i32 @putchar(i32 10)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %1)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %2)
%20 = load i32, i32* %1
%21 = icmp sgt i32 %20, 24
%22 = load i32, i32* %2
%23 = icmp sgt i32 %22, 24
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %28
25: ; preds = %0
%26 = load i32, i32* @stderr
%27 = call i32 @fprintf(i32 %26, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
br label %186
28: ; preds = %0
%29 = call i32 @putchar(i32 10)
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.17, i64 0, i64 0))
%31 = load i32, i32* %1
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %56
33: ; preds = %28
%34 = load i32, i32* %2
br label %35
35: ; preds = %33, %50
%36 = phi i32 [ %31, %33 ], [ %51, %50 ]
%37 = phi i32 [ %34, %33 ], [ %52, %50 ]
%38 = phi i64 [ 0, %33 ], [ %53, %50 ]
%39 = icmp sgt i32 %37, 0
br i1 %39, label %40, label %50
40: ; preds = %35, %40
%41 = phi i64 [ %44, %40 ], [ 0, %35 ]
%42 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %3, i64 0, i64 %38, i64 %41
%43 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %42)
%44 = add nuw nsw i64 %41, 1
%45 = load i32, i32* %2
%46 = sext i32 %45 to i64
%47 = icmp slt i64 %44, %46
br i1 %47, label %40, label %48
48: ; preds = %40
%49 = load i32, i32* %1
br label %50
50: ; preds = %48, %35
%51 = phi i32 [ %49, %48 ], [ %36, %35 ]
%52 = phi i32 [ %45, %48 ], [ %37, %35 ]
%53 = add nuw nsw i64 %38, 1
%54 = sext i32 %51 to i64
%55 = icmp slt i64 %53, %54
br i1 %55, label %35, label %56
56: ; preds = %50, %28
%57 = call i32 @putchar(i32 10)
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
%59 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %4)
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%61 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %5)
%62 = load i32, i32* %4
%63 = icmp sgt i32 %62, 24
%64 = load i32, i32* %5
%65 = icmp sgt i32 %64, 24
%66 = select i1 %63, i1 true, i1 %65
br i1 %66, label %67, label %70
67: ; preds = %56
%68 = load i32, i32* @stderr
%69 = call i32 @fprintf(i32 %68, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
br label %186
70: ; preds = %56
%71 = call i32 @putchar(i32 10)
%72 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.18, i64 0, i64 0))
%73 = load i32, i32* %4
%74 = icmp sgt i32 %73, 0
br i1 %74, label %75, label %98
75: ; preds = %70
%76 = load i32, i32* %5
br label %77
77: ; preds = %75, %92
%78 = phi i32 [ %73, %75 ], [ %93, %92 ]
%79 = phi i32 [ %76, %75 ], [ %94, %92 ]
%80 = phi i64 [ 0, %75 ], [ %95, %92 ]
%81 = icmp sgt i32 %79, 0
br i1 %81, label %82, label %92
82: ; preds = %77, %82
%83 = phi i64 [ %86, %82 ], [ 0, %77 ]
%84 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %6, i64 0, i64 %80, i64 %83
%85 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %84)
%86 = add nuw nsw i64 %83, 1
%87 = load i32, i32* %5
%88 = sext i32 %87 to i64
%89 = icmp slt i64 %86, %88
br i1 %89, label %82, label %90
90: ; preds = %82
%91 = load i32, i32* %4
br label %92
92: ; preds = %90, %77
%93 = phi i32 [ %91, %90 ], [ %78, %77 ]
%94 = phi i32 [ %87, %90 ], [ %79, %77 ]
%95 = add nuw nsw i64 %80, 1
%96 = sext i32 %93 to i64
%97 = icmp slt i64 %95, %96
br i1 %97, label %77, label %98
98: ; preds = %92, %70
%99 = call i32 @putchar(i32 10)
%100 = load i32, i32* %1
%101 = load i32, i32* %4
%102 = icmp eq i32 %100, %101
br i1 %102, label %103, label %107
103: ; preds = %98
%104 = load i32, i32* %2
%105 = load i32, i32* %5
%106 = icmp eq i32 %104, %105
br i1 %106, label %110, label %107
107: ; preds = %103, %98
%108 = load i32, i32* @stderr
%109 = call i32 @fprintf(i32 %108, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.11, i64 0, i64 0))
br label %186
110: ; preds = %103
%111 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.19, i64 0, i64 0))
%112 = load i32, i32* %1
%113 = icmp sgt i32 %112, 0
br i1 %113, label %114, label %133
114: ; preds = %110, %127
%115 = phi i64 [ %129, %127 ], [ 0, %110 ]
%116 = load i32, i32* %2
%117 = icmp sgt i32 %116, 0
br i1 %117, label %118, label %127
118: ; preds = %114, %118
%119 = phi i64 [ %123, %118 ], [ 0, %114 ]
%120 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %3, i64 0, i64 %115, i64 %119
%121 = load i32, i32* %120
%122 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 %121)
%123 = add nuw nsw i64 %119, 1
%124 = load i32, i32* %2
%125 = sext i32 %124 to i64
%126 = icmp slt i64 %123, %125
br i1 %126, label %118, label %127
127: ; preds = %118, %114
%128 = call i32 @putchar(i32 10)
%129 = add nuw nsw i64 %115, 1
%130 = load i32, i32* %1
%131 = sext i32 %130 to i64
%132 = icmp slt i64 %129, %131
br i1 %132, label %114, label %133
133: ; preds = %127, %110
%134 = call i32 @putchar(i32 10)
%135 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.20, i64 0, i64 0))
%136 = load i32, i32* %4
%137 = icmp sgt i32 %136, 0
br i1 %137, label %138, label %157
138: ; preds = %133, %151
%139 = phi i64 [ %153, %151 ], [ 0, %133 ]
%140 = load i32, i32* %5
%141 = icmp sgt i32 %140, 0
br i1 %141, label %142, label %151
142: ; preds = %138, %142
%143 = phi i64 [ %147, %142 ], [ 0, %138 ]
%144 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %6, i64 0, i64 %139, i64 %143
%145 = load i32, i32* %144
%146 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 %145)
%147 = add nuw nsw i64 %143, 1
%148 = load i32, i32* %5
%149 = sext i32 %148 to i64
%150 = icmp slt i64 %147, %149
br i1 %150, label %142, label %151
151: ; preds = %142, %138
%152 = call i32 @putchar(i32 10)
%153 = add nuw nsw i64 %139, 1
%154 = load i32, i32* %4
%155 = sext i32 %154 to i64
%156 = icmp slt i64 %153, %155
br i1 %156, label %138, label %157
157: ; preds = %151, %133
%158 = call i32 @putchar(i32 10)
%159 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.21, i64 0, i64 0))
%160 = load i32, i32* %1
%161 = icmp sgt i32 %160, 0
br i1 %161, label %162, label %184
162: ; preds = %157, %178
%163 = phi i64 [ %180, %178 ], [ 0, %157 ]
%164 = load i32, i32* %2
%165 = icmp sgt i32 %164, 0
br i1 %165, label %166, label %178
166: ; preds = %162, %166
%167 = phi i64 [ %174, %166 ], [ 0, %162 ]
%168 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %3, i64 0, i64 %163, i64 %167
%169 = load i32, i32* %168
%170 = getelementptr inbounds [25 x [25 x i32]], [25 x [25 x i32]]* %6, i64 0, i64 %163, i64 %167
%171 = load i32, i32* %170
%172 = add nsw i32 %171, %169
%173 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 %172)
%174 = add nuw nsw i64 %167, 1
%175 = load i32, i32* %2
%176 = sext i32 %175 to i64
%177 = icmp slt i64 %174, %176
br i1 %177, label %166, label %178
178: ; preds = %166, %162
%179 = call i32 @putchar(i32 10)
%180 = add nuw nsw i64 %163, 1
%181 = load i32, i32* %1
%182 = sext i32 %181 to i64
%183 = icmp slt i64 %180, %182
br i1 %183, label %162, label %184
184: ; preds = %178, %157
%185 = call i32 @putchar(i32 10)
br label %186
186: ; preds = %184, %107, %67, %25
%187 = phi i32 [ -1, %25 ], [ -1, %67 ], [ -1, %107 ], [ 0, %184 ]
ret i32 %187
}