#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 */
scalar_t__ calloc(int, int);
int compute_point(int *, int, int, char *);
int /*<<< orphan*/ free(int *);
int /*<<< orphan*/ printf(char *, int);
int /*<<< orphan*/ strncpy(char *, char *, int);
int main() {
  int orig[20][20] = {
      {8, 2, 22, 97, 38, 15, 0, 40, 0, 75, 4, 5, 7, 78, 52, 12, 50, 77, 91, 8},
      {49, 49, 99, 40, 17, 81, 18, 57, 60, 87,
       17, 40, 98, 43, 69, 48, 4,  56, 62, 0},
      {81, 49, 31, 73, 55, 79, 14, 29, 93, 71,
       40, 67, 53, 88, 30, 3,  49, 13, 36, 65},
      {52, 70, 95, 23, 4,  60, 11, 42, 69, 24,
       68, 56, 1,  32, 56, 71, 37, 2,  36, 91},
      {22, 31, 16, 71, 51, 67, 63, 89, 41, 92,
       36, 54, 22, 40, 40, 28, 66, 33, 13, 80},
      {24, 47, 32, 60, 99, 3,  45, 2,  44, 75,
       33, 53, 78, 36, 84, 20, 35, 17, 12, 50},
      {32, 98, 81, 28, 64, 23, 67, 10, 26, 38,
       40, 67, 59, 54, 70, 66, 18, 38, 64, 70},
      {67, 26, 20, 68, 2,  62, 12, 20, 95, 63,
       94, 39, 63, 8,  40, 91, 66, 49, 94, 21},
      {24, 55, 58, 5,  66, 73, 99, 26, 97, 17,
       78, 78, 96, 83, 14, 88, 34, 89, 63, 72},
      {21, 36, 23, 9,  75, 0,  76, 44, 20, 45,
       35, 14, 0,  61, 33, 97, 34, 31, 33, 95},
      {78, 17, 53, 28, 22, 75, 31, 67, 15, 94,
       3,  80, 4,  62, 16, 14, 9,  53, 56, 92},
      {16, 39, 5, 42, 96, 35, 31, 47, 55, 58,
       88, 24, 0, 17, 54, 24, 36, 29, 85, 57},
      {86, 56, 0,  48, 35, 71, 89, 7,  5,  44,
       44, 37, 44, 60, 21, 58, 51, 54, 17, 58},
      {19, 80, 81, 68, 5,  94, 47, 69, 28, 73,
       92, 13, 86, 52, 17, 77, 4,  89, 55, 40},
      {4,  52, 8,  83, 97, 35, 99, 16, 7,  97,
       57, 32, 16, 26, 26, 79, 33, 27, 98, 66},
      {88, 36, 68, 87, 57, 62, 20, 72, 3,  46,
       33, 67, 46, 55, 12, 32, 63, 93, 53, 69},
      {4,  42, 16, 73, 38, 25, 39, 11, 24, 94,
       72, 18, 8,  46, 29, 32, 40, 62, 76, 36},
      {20, 69, 36, 41, 72, 30, 23, 88, 34, 62,
       99, 69, 82, 67, 59, 85, 74, 4,  36, 16},
      {20, 73, 35, 29, 78, 31, 90, 1,  74, 31,
       49, 71, 48, 86, 81, 16, 23, 57, 5,  54},
      {1,  70, 54, 71, 83, 51, 54, 69, 16, 92,
       33, 48, 61, 43, 52, 1,  89, 19, 67, 48}};
  int *a = (int *)calloc(26 * 26, sizeof(int));
  int i, j;
  for (i = 0; i < 20; ++i) {
    for (j = 0; j < 20; ++j) {
      *(a + (26 * (i + 3)) + j + 3) = orig[i][j];
    }
  }
  int max = 0;
  char type[10];
  for (i = 22; i > 2; --i) {
    for (j = 3; j < 23; ++j) {
      char ttype[10];
      int point = compute_point(a, i, j, ttype);
      if (point > max) {
        max = point;
        strncpy(type, ttype, 10);
      }
    }
  }
  printf("%d\n", max);
  free(a);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x680,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x650(%rbp),%rdi
lea    0xe80(%rip),%rsi
mov    $0x640,%edx
call   1070 <memcpy@plt>
mov    $0x2a4,%edi
mov    $0x4,%esi
call   1060 <calloc@plt>
mov    %rax,-0x658(%rbp)
movl   $0x0,-0x65c(%rbp)
cmpl   $0x14,-0x65c(%rbp)
jge    1242 <main+0xe2>
movl   $0x0,-0x660(%rbp)
cmpl   $0x14,-0x660(%rbp)
jge    1229 <main+0xc9>
movslq -0x65c(%rbp),%rcx
lea    -0x650(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x660(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x658(%rbp),%rax
mov    -0x65c(%rbp),%ecx
add    $0x3,%ecx
imul   $0x1a,%ecx,%ecx
movslq %ecx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x660(%rbp),%rcx
mov    %edx,0xc(%rax,%rcx,4)
mov    -0x660(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x660(%rbp)
jmp    11c1 <main+0x61>
jmp    122e <main+0xce>
mov    -0x65c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x65c(%rbp)
jmp    11aa <main+0x4a>
movl   $0x0,-0x664(%rbp)
movl   $0x16,-0x65c(%rbp)
cmpl   $0x2,-0x65c(%rbp)
jle    1307 <main+0x1a7>
movl   $0x3,-0x660(%rbp)
cmpl   $0x17,-0x660(%rbp)
jge    12ee <main+0x18e>
mov    -0x658(%rbp),%rdi
mov    -0x65c(%rbp),%esi
mov    -0x660(%rbp),%edx
lea    -0x678(%rbp),%rcx
call   1080 <compute_point@plt>
mov    %eax,-0x67c(%rbp)
mov    -0x67c(%rbp),%eax
cmp    -0x664(%rbp),%eax
jle    12d5 <main+0x175>
mov    -0x67c(%rbp),%eax
mov    %eax,-0x664(%rbp)
lea    -0x66e(%rbp),%rdi
lea    -0x678(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strncpy@plt>
jmp    12da <main+0x17a>
mov    -0x660(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x660(%rbp)
jmp    126d <main+0x10d>
jmp    12f3 <main+0x193>
mov    -0x65c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x65c(%rbp)
jmp    1256 <main+0xf6>
mov    -0x664(%rbp),%esi
lea    0x132c(%rip),%rdi
call   1050 <printf@plt>
mov    -0x658(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x680,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    $0x2a4,%edi
mov    $0x4,%esi
call   1060 <calloc@plt>
mov    %rax,%r15
lea    0xed5(%rip),%rax
mov    $0x190,%ecx
nopl   0x0(%rax)
mov    -0x4c(%rax),%edx
mov    %edx,-0x4c(%r15,%rcx,1)
mov    -0x48(%rax),%edx
mov    %edx,-0x48(%r15,%rcx,1)
mov    -0x44(%rax),%edx
mov    %edx,-0x44(%r15,%rcx,1)
mov    -0x40(%rax),%edx
mov    %edx,-0x40(%r15,%rcx,1)
mov    -0x3c(%rax),%edx
mov    %edx,-0x3c(%r15,%rcx,1)
mov    -0x38(%rax),%edx
mov    %edx,-0x38(%r15,%rcx,1)
mov    -0x34(%rax),%edx
mov    %edx,-0x34(%r15,%rcx,1)
mov    -0x30(%rax),%edx
mov    %edx,-0x30(%r15,%rcx,1)
mov    -0x2c(%rax),%edx
mov    %edx,-0x2c(%r15,%rcx,1)
mov    -0x28(%rax),%edx
mov    %edx,-0x28(%r15,%rcx,1)
mov    -0x24(%rax),%edx
mov    %edx,-0x24(%r15,%rcx,1)
mov    -0x20(%rax),%edx
mov    %edx,-0x20(%r15,%rcx,1)
mov    -0x1c(%rax),%edx
mov    %edx,-0x1c(%r15,%rcx,1)
mov    -0x18(%rax),%edx
mov    %edx,-0x18(%r15,%rcx,1)
mov    -0x14(%rax),%edx
mov    %edx,-0x14(%r15,%rcx,1)
mov    -0x10(%rax),%edx
mov    %edx,-0x10(%r15,%rcx,1)
mov    -0xc(%rax),%edx
mov    %edx,-0xc(%r15,%rcx,1)
mov    -0x8(%rax),%edx
mov    %edx,-0x8(%r15,%rcx,1)
mov    -0x4(%rax),%edx
mov    %edx,-0x4(%r15,%rcx,1)
mov    (%rax),%edx
mov    %edx,(%r15,%rcx,1)
add    $0x50,%rax
add    $0x68,%rcx
cmp    $0x9b0,%rcx
jne    1180 <main+0x30>
xor    %r12d,%r12d
mov    $0x16,%r13d
lea    0x4(%rsp),%r14
jmp    125d <main+0x10d>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    -0x1(%r13),%eax
cmp    $0x3,%r13d
mov    %eax,%r13d
jbe    12a6 <main+0x156>
mov    $0x3,%ebx
jmp    1278 <main+0x128>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%ebx
cmp    $0x17,%ebx
je     1250 <main+0x100>
mov    %r15,%rdi
mov    %r13d,%esi
mov    %ebx,%edx
mov    %r14,%rcx
call   1070 <compute_point@plt>
cmp    %r12d,%eax
jle    1270 <main+0x120>
mov    %eax,%ebp
lea    0xe(%rsp),%rdi
mov    %r14,%rsi
mov    $0xa,%edx
call   1040 <strncpy@plt>
mov    %ebp,%r12d
jmp    1270 <main+0x120>
lea    0x1393(%rip),%rdi
mov    %r12d,%esi
call   1050 <printf@plt>
mov    %r15,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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