#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 checker(char **, char **, int);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, int);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, ...);
char **mat_copier(char **, int);
char **ninety_degree_conv(char **, int);
char **reflection_finder(char **, int);
main() {
  FILE *fin = fopen("transform.in", "r");
  FILE *fout = fopen("transform.out", "w");
  int n, i, j, no, flag = 0;
  char grid_Before[11][11], grid_After[11][11];
  char **p;
  fscanf(fin, "%d", &n);
  for (i = 0; i < n; ++i) {
    fscanf(fin, "%s", grid_Before[i]);
  }
  for (i = 0; i < n; ++i) {
    fscanf(fin, "%s", grid_After[i]);
  }
  p = mat_copier(grid_Before, n);
  for (i = 1; i < 7; ++i) {
    p = ninety_degree_conv(p, n);
    no = checker(p, grid_After, n);
    if (no) {
      fprintf(fout, "%d\n", i);
      exit(0);
    }
    if (i == 3)
      i += 2;
  }
  p = reflection_finder(p, n);
  no = checker(p, grid_After, n);
  if (no) {
    fprintf(fout, "%d\n", 4);
    exit(0);
  }
  for (i = 1; i < 4; ++i) {
    p = ninety_degree_conv(p, n);
    no = checker(p, grid_After, n);
    if (no) {
      fprintf(fout, "%d\n", 5);
      exit(0);
    }
  }
  fprintf(fout, "%d\n", 7);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe67(%rip),%rdi
lea    0xe6d(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
lea    0xe5f(%rip),%rdi
lea    0xe66(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe4d(%rip),%rsi
lea    -0x1c(%rbp),%rdx
mov    $0x0,%al
call   1040 <fscanf@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1222 <main+0xa2>
mov    -0x10(%rbp),%rdi
movslq -0x20(%rbp),%rax
lea    -0xb0(%rbp),%rdx
imul   $0xb,%rax,%rax
add    %rax,%rdx
lea    0xe15(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11e4 <main+0x64>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1267 <main+0xe7>
mov    -0x10(%rbp),%rdi
movslq -0x20(%rbp),%rax
lea    -0x130(%rbp),%rdx
imul   $0xb,%rax,%rax
add    %rax,%rdx
lea    0xdd0(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1229 <main+0xa9>
lea    -0xb0(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1030 <mat_copier@plt>
mov    %rax,-0x138(%rbp)
movl   $0x1,-0x20(%rbp)
cmpl   $0x7,-0x20(%rbp)
jge    1307 <main+0x187>
mov    -0x138(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1090 <ninety_degree_conv@plt>
mov    %rax,-0x138(%rbp)
mov    -0x138(%rbp),%rdi
lea    -0x130(%rbp),%rsi
mov    -0x1c(%rbp),%edx
call   1060 <checker@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
je     12e1 <main+0x161>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%edx
lea    0xd50(%rip),%rsi
call   1050 <fprintf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>
cmpl   $0x3,-0x20(%rbp)
jne    12f4 <main+0x174>
mov    -0x20(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x20(%rbp)
jmp    12f9 <main+0x179>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1284 <main+0x104>
mov    -0x138(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1070 <reflection_finder@plt>
mov    %rax,-0x138(%rbp)
mov    -0x138(%rbp),%rdi
lea    -0x130(%rbp),%rsi
mov    -0x1c(%rbp),%edx
call   1060 <checker@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
je     135c <main+0x1dc>
mov    -0x18(%rbp),%rdi
lea    0xcda(%rip),%rsi
mov    $0x4,%edx
call   1050 <fprintf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>
movl   $0x1,-0x20(%rbp)
cmpl   $0x4,-0x20(%rbp)
jge    13d5 <main+0x255>
mov    -0x138(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1090 <ninety_degree_conv@plt>
mov    %rax,-0x138(%rbp)
mov    -0x138(%rbp),%rdi
lea    -0x130(%rbp),%rsi
mov    -0x1c(%rbp),%edx
call   1060 <checker@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
je     13c2 <main+0x242>
mov    -0x18(%rbp),%rdi
lea    0xc74(%rip),%rsi
mov    $0x5,%edx
call   1050 <fprintf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>
jmp    13c7 <main+0x247>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1363 <main+0x1e3>
mov    -0x18(%rbp),%rdi
lea    0xc45(%rip),%rsi
mov    $0x7,%edx
call   1050 <fprintf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x110,%rsp
lea    0xe69(%rip),%rdi
lea    0xe6f(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,%r15
lea    0xe62(%rip),%rdi
lea    0xe69(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,%r14
lea    0xe5c(%rip),%rsi
lea    0xc(%rsp),%rdx
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <fscanf@plt>
mov    0xc(%rsp),%esi
test   %esi,%esi
jle    1252 <main+0xd2>
lea    0x90(%rsp),%r13
lea    0xe39(%rip),%r12
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
add    $0x1,%rbx
movslq 0xc(%rsp),%rsi
add    $0xb,%r13
cmp    %rsi,%rbx
jl     11f0 <main+0x70>
test   %esi,%esi
jle    1252 <main+0xd2>
lea    0x10(%rsp),%r13
lea    0xe00(%rip),%r12
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
add    $0x1,%rbx
movslq 0xc(%rsp),%rsi
add    $0xb,%r13
cmp    %rsi,%rbx
jl     1230 <main+0xb0>
lea    0x90(%rsp),%rdi
call   1030 <mat_copier@plt>
mov    0xc(%rsp),%esi
mov    %rax,%rdi
call   1090 <ninety_degree_conv@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
mov    $0x1,%edx
test   %eax,%eax
jne    13b5 <main+0x235>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
call   1090 <ninety_degree_conv@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
mov    $0x2,%edx
test   %eax,%eax
jne    13b5 <main+0x235>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
call   1090 <ninety_degree_conv@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
mov    $0x3,%edx
test   %eax,%eax
jne    13b5 <main+0x235>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
call   1090 <ninety_degree_conv@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
mov    $0x6,%edx
test   %eax,%eax
jne    13b5 <main+0x235>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
call   1070 <reflection_finder@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
test   %eax,%eax
jne    13cb <main+0x24b>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
call   1090 <ninety_degree_conv@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
test   %eax,%eax
jne    13dc <main+0x25c>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
call   1090 <ninety_degree_conv@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
test   %eax,%eax
jne    13dc <main+0x25c>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
call   1090 <ninety_degree_conv@plt>
mov    0xc(%rsp),%edx
lea    0x10(%rsp),%rsi
mov    %rax,%rdi
call   1060 <checker@plt>
test   %eax,%eax
jne    13dc <main+0x25c>
lea    0xc7a(%rip),%rsi
mov    %r14,%rdi
mov    $0x7,%edx
jmp    13bf <main+0x23f>
lea    0xc69(%rip),%rsi
mov    %r14,%rdi
call   1050 <fprintf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>
lea    0xc53(%rip),%rsi
mov    %r14,%rdi
mov    $0x4,%edx
jmp    13bf <main+0x23f>
lea    0xc42(%rip),%rsi
mov    %r14,%rdi
mov    $0x5,%edx
jmp    13bf <main+0x23f>

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

LLVM IR (-O2):
@.str = [13 x i8] c"transform.in\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [14 x i8] c"transform.out\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [3 x i8] c"%s\00"
@.str.6 = [4 x i8] c"%d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [11 x [11 x i8]]
%3 = alloca [11 x [11 x i8]]
%4 = tail call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%6 = bitcast i32* %1 to i8*
%7 = getelementptr inbounds [11 x [11 x i8]], [11 x [11 x i8]]* %2, i64 0, i64 0, i64 0
%8 = getelementptr inbounds [11 x [11 x i8]], [11 x [11 x i8]]* %3, i64 0, i64 0, i64 0
%9 = call i32 (i32*, i8*, ...) @fscanf(i32* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %1)
%10 = load i32, i32* %1
%11 = icmp sgt i32 %10, 0
br i1 %11, label %14, label %30
12: ; preds = %14
%13 = icmp sgt i32 %19, 0
br i1 %13, label %22, label %30
14: ; preds = %0, %14
%15 = phi i64 [ %18, %14 ], [ 0, %0 ]
%16 = getelementptr inbounds [11 x [11 x i8]], [11 x [11 x i8]]* %2, i64 0, i64 %15, i64 0
%17 = call i32 (i32*, i8*, ...) @fscanf(i32* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %16)
%18 = add nuw nsw i64 %15, 1
%19 = load i32, i32* %1
%20 = sext i32 %19 to i64
%21 = icmp slt i64 %18, %20
br i1 %21, label %14, label %12
22: ; preds = %12, %22
%23 = phi i64 [ %26, %22 ], [ 0, %12 ]
%24 = getelementptr inbounds [11 x [11 x i8]], [11 x [11 x i8]]* %3, i64 0, i64 %23, i64 0
%25 = call i32 (i32*, i8*, ...) @fscanf(i32* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %24)
%26 = add nuw nsw i64 %23, 1
%27 = load i32, i32* %1
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %22, label %30
30: ; preds = %22, %0, %12
%31 = phi i32 [ %19, %12 ], [ %10, %0 ], [ %27, %22 ]
%32 = bitcast [11 x [11 x i8]]* %2 to i8**
%33 = call i8** @mat_copier(i8** %32, i32 %31)
%34 = bitcast [11 x [11 x i8]]* %3 to i8**
%35 = load i32, i32* %1
%36 = call i8** @ninety_degree_conv(i8** %33, i32 %35)
%37 = load i32, i32* %1
%38 = call i32 @checker(i8** %36, i8** %34, i32 %37)
%39 = icmp eq i32 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %56, %50, %44, %30
%41 = phi i32 [ 1, %30 ], [ 2, %44 ], [ 3, %50 ], [ 6, %56 ]
%42 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %41)
%43 = call i32 @exit(i32 0)
unreachable
44: ; preds = %30
%45 = load i32, i32* %1
%46 = call i8** @ninety_degree_conv(i8** %36, i32 %45)
%47 = load i32, i32* %1
%48 = call i32 @checker(i8** %46, i8** %34, i32 %47)
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %40
50: ; preds = %44
%51 = load i32, i32* %1
%52 = call i8** @ninety_degree_conv(i8** %46, i32 %51)
%53 = load i32, i32* %1
%54 = call i32 @checker(i8** %52, i8** %34, i32 %53)
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %40
56: ; preds = %50
%57 = load i32, i32* %1
%58 = call i8** @ninety_degree_conv(i8** %52, i32 %57)
%59 = load i32, i32* %1
%60 = call i32 @checker(i8** %58, i8** %34, i32 %59)
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %40
62: ; preds = %56
%63 = load i32, i32* %1
%64 = call i8** @reflection_finder(i8** %58, i32 %63)
%65 = load i32, i32* %1
%66 = call i32 @checker(i8** %64, i8** %34, i32 %65)
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %74
68: ; preds = %62
%69 = load i32, i32* %1
%70 = call i8** @ninety_degree_conv(i8** %64, i32 %69)
%71 = load i32, i32* %1
%72 = call i32 @checker(i8** %70, i8** %34, i32 %71)
%73 = icmp eq i32 %72, 0
br i1 %73, label %77, label %92
74: ; preds = %62
%75 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 4)
%76 = call i32 @exit(i32 0)
unreachable
77: ; preds = %68
%78 = load i32, i32* %1
%79 = call i8** @ninety_degree_conv(i8** %70, i32 %78)
%80 = load i32, i32* %1
%81 = call i32 @checker(i8** %79, i8** %34, i32 %80)
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %92
83: ; preds = %77
%84 = load i32, i32* %1
%85 = call i8** @ninety_degree_conv(i8** %79, i32 %84)
%86 = load i32, i32* %1
%87 = call i32 @checker(i8** %85, i8** %34, i32 %86)
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %83
%90 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 7)
%91 = call i32 @exit(i32 0)
unreachable
92: ; preds = %83, %77, %68
%93 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 5)
%94 = call i32 @exit(i32 0)
unreachable
}