#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*/ display(int **);
char getchar();
scalar_t__ isequal(int **, int **);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  int i, j, k, t;
  int a[6][5];
  int b[6][5];
  while (1) {
    puts("Enter the elements of Incidence Matrix of the Graph(G)");
    for (i = 0; i < 6; i++) {
      for (j = 0; j < 5; j++) {
        scanf("%d", &a[i][j]);
      }
    }
    puts("Enter the elements of Incidence Matrix of the Graph(G1)");
    for (i = 0; i < 6; i++) {
      for (j = 0; j < 5; j++) {
        scanf("%d", &b[i][j]);
      }
    }
    puts("Graph G\n----------");
    display(a);
    puts("Graph G1\n-----------");
    display(b);
    printf("Okay(y/n)?");
    while (getchar() != '\n')
      ;
    char c;
    scanf("%c", &c);
    if (c == 'y')
      break;
  }
  for (i = 0; i < 6; i++) {
    for (j = 0; j < 6; j++) {
      if (j == i)
        continue;
      else {
        for (k = 0; k < 5; k++) {
          t = a[i][k];
          a[i][k] = a[j][k];
          a[j][k] = t;
        }
        if (isequal(a, b)) {
          puts("The Graphs (G) and (G1) are isomorphic!");
          return 0;
        }
      }
    }
  }
  puts("As of now the graphs are not yet proved to be isomorphic. Please "
       "confirm with other sources");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe87(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x6,-0x8(%rbp)
jge    11ec <main+0x8c>
movl   $0x0,-0xc(%rbp)
cmpl   $0x5,-0xc(%rbp)
jge    11d9 <main+0x79>
movslq -0x8(%rbp),%rax
lea    -0x90(%rbp),%rsi
imul   $0x14,%rax,%rax
add    %rax,%rsi
movslq -0xc(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1070 <scanf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1196 <main+0x36>
jmp    11de <main+0x7e>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1185 <main+0x25>
lea    0xe47(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x6,-0x8(%rbp)
jge    1266 <main+0x106>
movl   $0x0,-0xc(%rbp)
cmpl   $0x5,-0xc(%rbp)
jge    1253 <main+0xf3>
movslq -0x8(%rbp),%rax
lea    -0x110(%rbp),%rsi
imul   $0x14,%rax,%rax
add    %rax,%rsi
movslq -0xc(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdf9(%rip),%rdi
mov    $0x0,%al
call   1070 <scanf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1210 <main+0xb0>
jmp    1258 <main+0xf8>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11ff <main+0x9f>
lea    0xe05(%rip),%rdi
call   1030 <puts@plt>
lea    -0x90(%rbp),%rdi
call   1040 <display@plt>
lea    0xe00(%rip),%rdi
call   1030 <puts@plt>
lea    -0x110(%rbp),%rdi
call   1040 <display@plt>
lea    0xdfd(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <getchar@plt>
movsbl %al,%eax
cmp    $0xa,%eax
je     12ba <main+0x15a>
jmp    12a2 <main+0x142>
lea    0xde4(%rip),%rdi
lea    -0x111(%rbp),%rsi
mov    $0x0,%al
call   1070 <scanf@plt>
movsbl -0x111(%rbp),%eax
cmp    $0x79,%eax
jne    12e4 <main+0x184>
jmp    12e9 <main+0x189>
jmp    1172 <main+0x12>
movl   $0x0,-0x8(%rbp)
cmpl   $0x6,-0x8(%rbp)
jge    1405 <main+0x2a5>
movl   $0x0,-0xc(%rbp)
cmpl   $0x6,-0xc(%rbp)
jge    13f2 <main+0x292>
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    131c <main+0x1bc>
jmp    13e4 <main+0x284>
movl   $0x0,-0x10(%rbp)
cmpl   $0x5,-0x10(%rbp)
jge    13a5 <main+0x245>
movslq -0x8(%rbp),%rcx
lea    -0x90(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x14(%rbp)
movslq -0xc(%rbp),%rcx
lea    -0x90(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
movslq -0x8(%rbp),%rcx
lea    -0x90(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x14(%rbp),%edx
movslq -0xc(%rbp),%rcx
lea    -0x90(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1323 <main+0x1c3>
lea    -0x90(%rbp),%rdi
lea    -0x110(%rbp),%rsi
call   1080 <isequal@plt>
cmp    $0x0,%rax
je     13da <main+0x27a>
lea    0xcdf(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1418 <main+0x2b8>
jmp    13df <main+0x27f>
jmp    13e4 <main+0x284>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1301 <main+0x1a1>
jmp    13f7 <main+0x297>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12f0 <main+0x190>
lea    0xcc4(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
lea    0xebf(%rip),%rbp
lea    0x10(%rsp),%r14
lea    0x90(%rsp),%r12
lea    0xf0e(%rip),%r15
lea    0xf12(%rip),%r13
lea    0xf(%rsp),%rbx
nopl   0x0(%rax,%rax,1)
lea    0xe59(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x14(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x18(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x1c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x20(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x24(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x28(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x2c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x30(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x34(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x38(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x3c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x40(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x44(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x48(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x4c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x50(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x54(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x58(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x5c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x64(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x68(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x6c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x70(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x74(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x78(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x7c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x80(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x84(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
lea    0xcc1(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x94(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x98(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x9c(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xa0(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xa4(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xa8(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xac(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xb0(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xb4(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xb8(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xbc(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xc0(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xc4(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xc8(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xcc(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xd0(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xd4(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xd8(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xdc(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xe0(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xe4(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xe8(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xec(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xf0(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xf4(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xf8(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0xfc(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x100(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rbp,%rdi
lea    0x104(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
lea    0xad6(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1040 <display@plt>
lea    0xad5(%rip),%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
call   1040 <display@plt>
mov    %r15,%rdi
call   1050 <printf@plt>
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0xa,%al
jne    15d0 <main+0x470>
mov    %r13,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
cmpb   $0x79,0xf(%rsp)
jne    11a0 <main+0x40>
xor    %ebp,%ebp
lea    0x10(%rsp),%r15
lea    0x90(%rsp),%rbx
lea    0xa9f(%rip),%r14
lea    0xac0(%rip),%r12
jmp    166c <main+0x50c>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movups 0x10(%rsp,%rbp,1),%xmm0
movups 0x74(%rsp),%xmm1
movups %xmm1,0x10(%rsp,%rbp,1)
movups %xmm0,0x74(%rsp)
mov    0x20(%rsp,%rbp,1),%eax
mov    0x84(%rsp),%ecx
mov    %ecx,0x20(%rsp,%rbp,1)
mov    %eax,0x84(%rsp)
mov    %r15,%rdi
mov    %rbx,%rsi
call   1080 <isequal@plt>
test   %rax,%rax
jne    17af <main+0x64f>
add    $0x14,%rbp
cmp    $0x78,%rbp
je     17ac <main+0x64c>
test   %rbp,%rbp
je     16af <main+0x54f>
movups 0x10(%rsp,%rbp,1),%xmm0
movaps 0x10(%rsp),%xmm1
movups %xmm1,0x10(%rsp,%rbp,1)
movaps %xmm0,0x10(%rsp)
mov    0x20(%rsp,%rbp,1),%eax
mov    0x20(%rsp),%ecx
mov    %ecx,0x20(%rsp,%rbp,1)
mov    %eax,0x20(%rsp)
mov    %r15,%rdi
mov    %rbx,%rsi
call   1080 <isequal@plt>
test   %rax,%rax
jne    17af <main+0x64f>
cmp    $0x14,%rbp
je     16ed <main+0x58d>
movups 0x10(%rsp,%rbp,1),%xmm0
movups 0x24(%rsp),%xmm1
movups %xmm1,0x10(%rsp,%rbp,1)
movups %xmm0,0x24(%rsp)
mov    0x20(%rsp,%rbp,1),%eax
mov    0x34(%rsp),%ecx
mov    %ecx,0x20(%rsp,%rbp,1)
mov    %eax,0x34(%rsp)
mov    %r15,%rdi
mov    %rbx,%rsi
call   1080 <isequal@plt>
test   %rax,%rax
jne    17af <main+0x64f>
cmp    $0x28,%rbp
je     172b <main+0x5cb>
movups 0x10(%rsp,%rbp,1),%xmm0
movups 0x38(%rsp),%xmm1
movups %xmm1,0x10(%rsp,%rbp,1)
movups %xmm0,0x38(%rsp)
mov    0x20(%rsp,%rbp,1),%eax
mov    0x48(%rsp),%ecx
mov    %ecx,0x20(%rsp,%rbp,1)
mov    %eax,0x48(%rsp)
mov    %r15,%rdi
mov    %rbx,%rsi
call   1080 <isequal@plt>
test   %rax,%rax
jne    17af <main+0x64f>
cmp    $0x3c,%rbp
je     1769 <main+0x609>
movups 0x10(%rsp,%rbp,1),%xmm0
movups 0x4c(%rsp),%xmm1
movups %xmm1,0x10(%rsp,%rbp,1)
movups %xmm0,0x4c(%rsp)
mov    0x20(%rsp,%rbp,1),%eax
mov    0x5c(%rsp),%ecx
mov    %ecx,0x20(%rsp,%rbp,1)
mov    %eax,0x5c(%rsp)
mov    %r15,%rdi
mov    %rbx,%rsi
call   1080 <isequal@plt>
test   %rax,%rax
jne    17af <main+0x64f>
cmp    $0x50,%rbp
je     1620 <main+0x4c0>
movups 0x10(%rsp,%rbp,1),%xmm0
movaps 0x60(%rsp),%xmm1
movups %xmm1,0x10(%rsp,%rbp,1)
movaps %xmm0,0x60(%rsp)
mov    0x20(%rsp,%rbp,1),%eax
mov    0x70(%rsp),%ecx
mov    %ecx,0x20(%rsp,%rbp,1)
mov    %eax,0x70(%rsp)
mov    %r15,%rdi
mov    %rbx,%rsi
call   1080 <isequal@plt>
test   %rax,%rax
jne    17af <main+0x64f>
cmp    $0x64,%rbp
jne    1620 <main+0x4c0>
jmp    165e <main+0x4fe>
mov    %r12,%r14
mov    %r14,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [55 x i8] c"Enter the elements of Incidence Matrix of the Graph(G)\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [56 x i8] c"Enter the elements of Incidence Matrix of the Graph(G1)\00"
@.str.3 = [19 x i8] c"Graph G\0A----------\00"
@.str.4 = [21 x i8] c"Graph G1\0A-----------\00"
@.str.5 = [11 x i8] c"Okay(y/n)?\00"
@.str.6 = [3 x i8] c"%c\00"
@.str.7 = [40 x i8] c"The Graphs (G) and (G1) are isomorphic!\00"
@.str.8 = [92 x i8] c"As of now the graphs are not yet proved to be isomorphic. Please confirm with other sources\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca [6 x [5 x i32]]
%7 = alloca [6 x [5 x i32]]
%8 = alloca i8
store i32 0, i32* %1
br label %9
9: ; preds = %0, %78
%10 = call i32 @puts(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %2
br label %11
11: ; preds = %30, %9
%12 = load i32, i32* %2
%13 = icmp slt i32 %12, 6
br i1 %13, label %14, label %33
14: ; preds = %11
store i32 0, i32* %3
br label %15
15: ; preds = %26, %14
%16 = load i32, i32* %3
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %29
18: ; preds = %15
%19 = load i32, i32* %2
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %6, i64 0, i64 %20
%22 = load i32, i32* %3
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x i32], [5 x i32]* %21, i64 0, i64 %23
%25 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %24)
br label %26
26: ; preds = %18
%27 = load i32, i32* %3
%28 = add nsw i32 %27, 1
store i32 %28, i32* %3
br label %15
29: ; preds = %15
br label %30
30: ; preds = %29
%31 = load i32, i32* %2
%32 = add nsw i32 %31, 1
store i32 %32, i32* %2
br label %11
33: ; preds = %11
%34 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %2
br label %35
35: ; preds = %54, %33
%36 = load i32, i32* %2
%37 = icmp slt i32 %36, 6
br i1 %37, label %38, label %57
38: ; preds = %35
store i32 0, i32* %3
br label %39
39: ; preds = %50, %38
%40 = load i32, i32* %3
%41 = icmp slt i32 %40, 5
br i1 %41, label %42, label %53
42: ; preds = %39
%43 = load i32, i32* %2
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %7, i64 0, i64 %44
%46 = load i32, i32* %3
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [5 x i32], [5 x i32]* %45, i64 0, i64 %47
%49 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %48)
br label %50
50: ; preds = %42
%51 = load i32, i32* %3
%52 = add nsw i32 %51, 1
store i32 %52, i32* %3
br label %39
53: ; preds = %39
br label %54
54: ; preds = %53
%55 = load i32, i32* %2
%56 = add nsw i32 %55, 1
store i32 %56, i32* %2
br label %35
57: ; preds = %35
%58 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%59 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %6, i64 0, i64 0
%60 = bitcast [5 x i32]* %59 to i32**
%61 = call i32 @display(i32** %60)
%62 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%63 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %7, i64 0, i64 0
%64 = bitcast [5 x i32]* %63 to i32**
%65 = call i32 @display(i32** %64)
%66 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
br label %67
67: ; preds = %71, %57
%68 = call signext i8 (...) @getchar()
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 10
br i1 %70, label %71, label %72
71: ; preds = %67
br label %67
72: ; preds = %67
%73 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %8)
%74 = load i8, i8* %8
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 121
br i1 %76, label %77, label %78
77: ; preds = %72
br label %79
78: ; preds = %72
br label %9
79: ; preds = %77
store i32 0, i32* %2
br label %80
80: ; preds = %142, %79
%81 = load i32, i32* %2
%82 = icmp slt i32 %81, 6
br i1 %82, label %83, label %145
83: ; preds = %80
store i32 0, i32* %3
br label %84
84: ; preds = %138, %83
%85 = load i32, i32* %3
%86 = icmp slt i32 %85, 6
br i1 %86, label %87, label %141
87: ; preds = %84
%88 = load i32, i32* %3
%89 = load i32, i32* %2
%90 = icmp eq i32 %88, %89
br i1 %90, label %91, label %92
91: ; preds = %87
br label %138
92: ; preds = %87
store i32 0, i32* %4
br label %93
93: ; preds = %124, %92
%94 = load i32, i32* %4
%95 = icmp slt i32 %94, 5
br i1 %95, label %96, label %127
96: ; preds = %93
%97 = load i32, i32* %2
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %6, i64 0, i64 %98
%100 = load i32, i32* %4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [5 x i32], [5 x i32]* %99, i64 0, i64 %101
%103 = load i32, i32* %102
store i32 %103, i32* %5
%104 = load i32, i32* %3
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %6, i64 0, i64 %105
%107 = load i32, i32* %4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [5 x i32], [5 x i32]* %106, i64 0, i64 %108
%110 = load i32, i32* %109
%111 = load i32, i32* %2
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %6, i64 0, i64 %112
%114 = load i32, i32* %4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [5 x i32], [5 x i32]* %113, i64 0, i64 %115
store i32 %110, i32* %116
%117 = load i32, i32* %5
%118 = load i32, i32* %3
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %6, i64 0, i64 %119
%121 = load i32, i32* %4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [5 x i32], [5 x i32]* %120, i64 0, i64 %122
store i32 %117, i32* %123
br label %124
124: ; preds = %96
%125 = load i32, i32* %4
%126 = add nsw i32 %125, 1
store i32 %126, i32* %4
br label %93
127: ; preds = %93
%128 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %6, i64 0, i64 0
%129 = bitcast [5 x i32]* %128 to i32**
%130 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %7, i64 0, i64 0
%131 = bitcast [5 x i32]* %130 to i32**
%132 = call i64 @isequal(i32** %129, i32** %131)
%133 = icmp ne i64 %132, 0
br i1 %133, label %134, label %136
134: ; preds = %127
%135 = call i32 @puts(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %1
br label %147
136: ; preds = %127
br label %137
137: ; preds = %136
br label %138
138: ; preds = %137, %91
%139 = load i32, i32* %3
%140 = add nsw i32 %139, 1
store i32 %140, i32* %3
br label %84
141: ; preds = %84
br label %142
142: ; preds = %141
%143 = load i32, i32* %2
%144 = add nsw i32 %143, 1
store i32 %144, i32* %2
br label %80
145: ; preds = %80
%146 = call i32 @puts(i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %1
br label %147
147: ; preds = %145, %134
%148 = load i32, i32* %1
ret i32 %148
}

LLVM IR (-O2):
@.str = [55 x i8] c"Enter the elements of Incidence Matrix of the Graph(G)\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [56 x i8] c"Enter the elements of Incidence Matrix of the Graph(G1)\00"
@.str.3 = [19 x i8] c"Graph G\0A----------\00"
@.str.4 = [21 x i8] c"Graph G1\0A-----------\00"
@.str.5 = [11 x i8] c"Okay(y/n)?\00"
@.str.6 = [3 x i8] c"%c\00"
@.str.7 = [40 x i8] c"The Graphs (G) and (G1) are isomorphic!\00"
@.str.8 = [92 x i8] c"As of now the graphs are not yet proved to be isomorphic. Please confirm with other sources\00"
define i32 @main() {
%1 = alloca [6 x [5 x i32]]
%2 = alloca [6 x [5 x i32]]
%3 = alloca i8
%4 = bitcast [6 x [5 x i32]]* %1 to i8*
%5 = bitcast [6 x [5 x i32]]* %2 to i8*
%6 = bitcast [6 x [5 x i32]]* %1 to i32**
%7 = bitcast [6 x [5 x i32]]* %2 to i32**
%8 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 0, i64 0
%9 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 0, i64 1
%10 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 0, i64 2
%11 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 0, i64 3
%12 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 0, i64 4
%13 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 1, i64 0
%14 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 1, i64 1
%15 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 1, i64 2
%16 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 1, i64 3
%17 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 1, i64 4
%18 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 2, i64 0
%19 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 2, i64 1
%20 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 2, i64 2
%21 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 2, i64 3
%22 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 2, i64 4
%23 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 3, i64 0
%24 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 3, i64 1
%25 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 3, i64 2
%26 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 3, i64 3
%27 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 3, i64 4
%28 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 4, i64 0
%29 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 4, i64 1
%30 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 4, i64 2
%31 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 4, i64 3
%32 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 4, i64 4
%33 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 5, i64 0
%34 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 5, i64 1
%35 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 5, i64 2
%36 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 5, i64 3
%37 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 5, i64 4
%38 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 0, i64 0
%39 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 0, i64 1
%40 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 0, i64 2
%41 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 0, i64 3
%42 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 0, i64 4
%43 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 1, i64 0
%44 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 1, i64 1
%45 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 1, i64 2
%46 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 1, i64 3
%47 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 1, i64 4
%48 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 2, i64 0
%49 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 2, i64 1
%50 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 2, i64 2
%51 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 2, i64 3
%52 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 2, i64 4
%53 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 3, i64 0
%54 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 3, i64 1
%55 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 3, i64 2
%56 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 3, i64 3
%57 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 3, i64 4
%58 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 4, i64 0
%59 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 4, i64 1
%60 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 4, i64 2
%61 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 4, i64 3
%62 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 4, i64 4
%63 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 5, i64 0
%64 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 5, i64 1
%65 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 5, i64 2
%66 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 5, i64 3
%67 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %2, i64 0, i64 5, i64 4
br label %68
68: ; preds = %139, %0
%69 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0))
%70 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%71 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %9)
%72 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %10)
%73 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %11)
%74 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %12)
%75 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %13)
%76 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %14)
%77 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %15)
%78 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %16)
%79 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %17)
%80 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %18)
%81 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %19)
%82 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %20)
%83 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %21)
%84 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %22)
%85 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %23)
%86 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %24)
%87 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %25)
%88 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %26)
%89 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %27)
%90 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %28)
%91 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %29)
%92 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %30)
%93 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %31)
%94 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %32)
%95 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %33)
%96 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %34)
%97 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %35)
%98 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %36)
%99 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %37)
%100 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
%101 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %38)
%102 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %39)
%103 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %40)
%104 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %41)
%105 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %42)
%106 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %43)
%107 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %44)
%108 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %45)
%109 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %46)
%110 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %47)
%111 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %48)
%112 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %49)
%113 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %50)
%114 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %51)
%115 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %52)
%116 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %53)
%117 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %54)
%118 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %55)
%119 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %56)
%120 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %57)
%121 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %58)
%122 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %59)
%123 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %60)
%124 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %61)
%125 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %62)
%126 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %63)
%127 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %64)
%128 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %65)
%129 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %66)
%130 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %67)
%131 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%132 = call i32 @display(i32** %6)
%133 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%134 = call i32 @display(i32** %7)
%135 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
br label %136
136: ; preds = %136, %68
%137 = call signext i8 (...) @getchar()
%138 = icmp eq i8 %137, 10
br i1 %138, label %139, label %136
139: ; preds = %136
%140 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %3)
%141 = load i8, i8* %3
%142 = icmp eq i8 %141, 121
br i1 %142, label %143, label %68
143: ; preds = %139
%144 = bitcast [6 x [5 x i32]]* %1 to <4 x i32>*
%145 = bitcast [6 x [5 x i32]]* %1 to <4 x i32>*
%146 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 0, i64 4
%147 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 1, i64 0
%148 = bitcast i32* %147 to <4 x i32>*
%149 = bitcast i32* %147 to <4 x i32>*
%150 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 1, i64 4
%151 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 2, i64 0
%152 = bitcast i32* %151 to <4 x i32>*
%153 = bitcast i32* %151 to <4 x i32>*
%154 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 2, i64 4
%155 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 3, i64 0
%156 = bitcast i32* %155 to <4 x i32>*
%157 = bitcast i32* %155 to <4 x i32>*
%158 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 3, i64 4
%159 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 4, i64 0
%160 = bitcast i32* %159 to <4 x i32>*
%161 = bitcast i32* %159 to <4 x i32>*
%162 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 4, i64 4
%163 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 5, i64 0
%164 = bitcast i32* %163 to <4 x i32>*
%165 = bitcast i32* %163 to <4 x i32>*
%166 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 5, i64 4
br label %167
167: ; preds = %143, %236
%168 = phi i64 [ %237, %236 ], [ 0, %143 ]
%169 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 %168, i64 0
%170 = getelementptr inbounds [6 x [5 x i32]], [6 x [5 x i32]]* %1, i64 0, i64 %168, i64 4
%171 = icmp eq i64 %168, 0
br i1 %171, label %183, label %172
172: ; preds = %167
%173 = bitcast i32* %169 to <4 x i32>*
%174 = load <4 x i32>, <4 x i32>* %173
%175 = load <4 x i32>, <4 x i32>* %144
%176 = bitcast i32* %169 to <4 x i32>*
store <4 x i32> %175, <4 x i32>* %176
store <4 x i32> %174, <4 x i32>* %145
%177 = load i32, i32* %170
%178 = load i32, i32* %146
store i32 %178, i32* %170
store i32 %177, i32* %146
%179 = call i64 @isequal(i32** %6, i32** %7)
%180 = icmp eq i64 %179, 0
br i1 %180, label %181, label %239
181: ; preds = %172
%182 = icmp eq i64 %168, 1
br i1 %182, label %194, label %183
183: ; preds = %181, %167
%184 = bitcast i32* %169 to <4 x i32>*
%185 = load <4 x i32>, <4 x i32>* %184
%186 = load <4 x i32>, <4 x i32>* %148
%187 = bitcast i32* %169 to <4 x i32>*
store <4 x i32> %186, <4 x i32>* %187
store <4 x i32> %185, <4 x i32>* %149
%188 = load i32, i32* %170
%189 = load i32, i32* %150
store i32 %189, i32* %170
store i32 %188, i32* %150
%190 = call i64 @isequal(i32** %6, i32** %7)
%191 = icmp eq i64 %190, 0
br i1 %191, label %192, label %239
192: ; preds = %183
%193 = icmp eq i64 %168, 2
br i1 %193, label %205, label %194
194: ; preds = %192, %181
%195 = bitcast i32* %169 to <4 x i32>*
%196 = load <4 x i32>, <4 x i32>* %195
%197 = load <4 x i32>, <4 x i32>* %152
%198 = bitcast i32* %169 to <4 x i32>*
store <4 x i32> %197, <4 x i32>* %198
store <4 x i32> %196, <4 x i32>* %153
%199 = load i32, i32* %170
%200 = load i32, i32* %154
store i32 %200, i32* %170
store i32 %199, i32* %154
%201 = call i64 @isequal(i32** %6, i32** %7)
%202 = icmp eq i64 %201, 0
br i1 %202, label %203, label %239
203: ; preds = %194
%204 = icmp eq i64 %168, 3
br i1 %204, label %216, label %205
205: ; preds = %203, %192
%206 = bitcast i32* %169 to <4 x i32>*
%207 = load <4 x i32>, <4 x i32>* %206
%208 = load <4 x i32>, <4 x i32>* %156
%209 = bitcast i32* %169 to <4 x i32>*
store <4 x i32> %208, <4 x i32>* %209
store <4 x i32> %207, <4 x i32>* %157
%210 = load i32, i32* %170
%211 = load i32, i32* %158
store i32 %211, i32* %170
store i32 %210, i32* %158
%212 = call i64 @isequal(i32** %6, i32** %7)
%213 = icmp eq i64 %212, 0
br i1 %213, label %214, label %239
214: ; preds = %205
%215 = icmp eq i64 %168, 4
br i1 %215, label %227, label %216
216: ; preds = %214, %203
%217 = bitcast i32* %169 to <4 x i32>*
%218 = load <4 x i32>, <4 x i32>* %217
%219 = load <4 x i32>, <4 x i32>* %160
%220 = bitcast i32* %169 to <4 x i32>*
store <4 x i32> %219, <4 x i32>* %220
store <4 x i32> %218, <4 x i32>* %161
%221 = load i32, i32* %170
%222 = load i32, i32* %162
store i32 %222, i32* %170
store i32 %221, i32* %162
%223 = call i64 @isequal(i32** %6, i32** %7)
%224 = icmp eq i64 %223, 0
br i1 %224, label %225, label %239
225: ; preds = %216
%226 = icmp eq i64 %168, 5
br i1 %226, label %236, label %227
227: ; preds = %214, %225
%228 = bitcast i32* %169 to <4 x i32>*
%229 = load <4 x i32>, <4 x i32>* %228
%230 = load <4 x i32>, <4 x i32>* %164
%231 = bitcast i32* %169 to <4 x i32>*
store <4 x i32> %230, <4 x i32>* %231
store <4 x i32> %229, <4 x i32>* %165
%232 = load i32, i32* %170
%233 = load i32, i32* %166
store i32 %233, i32* %170
store i32 %232, i32* %166
%234 = call i64 @isequal(i32** %6, i32** %7)
%235 = icmp eq i64 %234, 0
br i1 %235, label %236, label %239
236: ; preds = %227, %225
%237 = add nuw nsw i64 %168, 1
%238 = icmp eq i64 %237, 6
br i1 %238, label %239, label %167
239: ; preds = %236, %172, %183, %194, %205, %216, %227
%240 = phi i8* [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), %227 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), %216 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), %205 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), %194 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), %183 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), %172 ], [ getelementptr inbounds ([92 x i8], [92 x i8]* @.str.8, i64 0, i64 0), %236 ]
%241 = call i32 @puts(i8* dereferenceable(1) %240)
ret i32 0
}