#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*/ printf(char *, int);
short strtol(char *, char **, int);
int main() {
  char arr[] =
      "08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 "
      "17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 81 49 31 73 55 79 14 29 "
      "93 71 40 67 53 88 30 03 49 13 36 65 52 70 95 23 04 60 11 42 69 24 68 56 "
      "01 32 56 71 37 02 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 03 45 02 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 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21 24 55 58 05 66 73 99 "
      "26 97 17 78 78 96 83 14 88 34 89 63 72 21 36 23 09 75 00 76 44 20 45 35 "
      "14 00 61 33 97 34 31 33 95 78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 "
      "14 09 53 56 92 16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 "
      "57 86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58 19 80 81 "
      "68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40 04 52 08 83 97 35 99 "
      "16 07 97 57 32 16 26 26 79 33 27 98 66 88 36 68 87 57 62 20 72 03 46 33 "
      "67 46 55 12 32 63 93 53 69 04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 "
      "32 40 62 76 36 20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 "
      "16 20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54 01 70 54 "
      "71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48";
  short arr_int[20][20];
  char *ptr = arr;
  for (int i = 0; i < 20; i++)
    for (int j = 0; j < 20; j++)
      arr_int[i][j] = strtol(ptr, &ptr, 10);
  int max_product = 0, product = 0;
  for (int i = 0; i < 20; i++)
    for (int j = 0; j < 16; j++) {
      product = arr_int[i][j] * arr_int[i][j + 1] * arr_int[i][j + 2] *
                arr_int[i][j + 3];
      if (product > max_product)
        max_product = product;
    }
  for (int i = 0; i < 16; i++)
    for (int j = 0; j < 20; j++) {
      product = arr_int[i][j] * arr_int[i + 1][j] * arr_int[i + 2][j] *
                arr_int[i + 3][j];
      if (product > max_product)
        max_product = product;
    }
  for (int i = 0; i <= 16; i++)
    for (int j = 0; j <= 16; j++) {
      product = arr_int[i][j] * arr_int[i + 1][j + 1] * arr_int[i + 2][j + 2] *
                arr_int[i + 3][j + 3];
      if (product > max_product)
        max_product = product;
    }
  for (int i = 0; i <= 16; i++)
    for (int j = 3; j <= 19; j++) {
      product = arr_int[i][j] * arr_int[i + 1][j - 1] * arr_int[i + 2][j - 2] *
                arr_int[i + 3][j - 3];
      if (product > max_product)
        max_product = product;
    }
  printf("%d", max_product);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x820,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x4c0(%rbp),%rdi
lea    0xeb0(%rip),%rsi
mov    $0x4b1,%edx
call   1050 <memcpy@plt>
lea    -0x4c0(%rbp),%rax
mov    %rax,-0x7e8(%rbp)
movl   $0x0,-0x7ec(%rbp)
cmpl   $0x14,-0x7ec(%rbp)
jge    11fe <main+0xce>
movl   $0x0,-0x7f0(%rbp)
cmpl   $0x14,-0x7f0(%rbp)
jge    11e5 <main+0xb5>
mov    -0x7e8(%rbp),%rdi
lea    -0x7e8(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtol@plt>
mov    %ax,%dx
movslq -0x7ec(%rbp),%rcx
lea    -0x7e0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x7f0(%rbp),%rcx
mov    %dx,(%rax,%rcx,2)
mov    -0x7f0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7f0(%rbp)
jmp    1189 <main+0x59>
jmp    11ea <main+0xba>
mov    -0x7ec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7ec(%rbp)
jmp    1172 <main+0x42>
movl   $0x0,-0x7f4(%rbp)
movl   $0x0,-0x7f8(%rbp)
movl   $0x0,-0x7fc(%rbp)
cmpl   $0x14,-0x7fc(%rbp)
jge    132e <main+0x1fe>
movl   $0x0,-0x800(%rbp)
cmpl   $0x10,-0x800(%rbp)
jge    1315 <main+0x1e5>
movslq -0x7fc(%rbp),%rcx
lea    -0x7e0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x800(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
movslq -0x7fc(%rbp),%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x800(%rbp),%edx
add    $0x1,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
movslq -0x7fc(%rbp),%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x800(%rbp),%edx
add    $0x2,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
movslq -0x7fc(%rbp),%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x800(%rbp),%edx
add    $0x3,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    %eax,-0x7f8(%rbp)
mov    -0x7f8(%rbp),%eax
cmp    -0x7f4(%rbp),%eax
jle    12fc <main+0x1cc>
mov    -0x7f8(%rbp),%eax
mov    %eax,-0x7f4(%rbp)
jmp    1301 <main+0x1d1>
mov    -0x800(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x800(%rbp)
jmp    1233 <main+0x103>
jmp    131a <main+0x1ea>
mov    -0x7fc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7fc(%rbp)
jmp    121c <main+0xec>
movl   $0x0,-0x804(%rbp)
cmpl   $0x10,-0x804(%rbp)
jge    144a <main+0x31a>
movl   $0x0,-0x808(%rbp)
cmpl   $0x14,-0x808(%rbp)
jge    1431 <main+0x301>
movslq -0x804(%rbp),%rcx
lea    -0x7e0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x808(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
mov    -0x804(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
movslq -0x808(%rbp),%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    -0x804(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
movslq -0x808(%rbp),%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    -0x804(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
movslq -0x808(%rbp),%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    %eax,-0x7f8(%rbp)
mov    -0x7f8(%rbp),%eax
cmp    -0x7f4(%rbp),%eax
jle    1418 <main+0x2e8>
mov    -0x7f8(%rbp),%eax
mov    %eax,-0x7f4(%rbp)
jmp    141d <main+0x2ed>
mov    -0x808(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x808(%rbp)
jmp    134f <main+0x21f>
jmp    1436 <main+0x306>
mov    -0x804(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x804(%rbp)
jmp    1338 <main+0x208>
movl   $0x0,-0x80c(%rbp)
cmpl   $0x10,-0x80c(%rbp)
jg     1575 <main+0x445>
movl   $0x0,-0x810(%rbp)
cmpl   $0x10,-0x810(%rbp)
jg     155c <main+0x42c>
movslq -0x80c(%rbp),%rcx
lea    -0x7e0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x810(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
mov    -0x80c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x810(%rbp),%edx
add    $0x1,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    -0x80c(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x810(%rbp),%edx
add    $0x2,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    -0x80c(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x810(%rbp),%edx
add    $0x3,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    %eax,-0x7f8(%rbp)
mov    -0x7f8(%rbp),%eax
cmp    -0x7f4(%rbp),%eax
jle    1543 <main+0x413>
mov    -0x7f8(%rbp),%eax
mov    %eax,-0x7f4(%rbp)
jmp    1548 <main+0x418>
mov    -0x810(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x810(%rbp)
jmp    146b <main+0x33b>
jmp    1561 <main+0x431>
mov    -0x80c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80c(%rbp)
jmp    1454 <main+0x324>
movl   $0x0,-0x814(%rbp)
cmpl   $0x10,-0x814(%rbp)
jg     16a0 <main+0x570>
movl   $0x3,-0x818(%rbp)
cmpl   $0x13,-0x818(%rbp)
jg     1687 <main+0x557>
movslq -0x814(%rbp),%rcx
lea    -0x7e0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x818(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
mov    -0x814(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x818(%rbp),%edx
sub    $0x1,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    -0x814(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x818(%rbp),%edx
sub    $0x2,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    -0x814(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rdx
lea    -0x7e0(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
mov    -0x818(%rbp),%edx
sub    $0x3,%edx
movslq %edx,%rdx
movswl (%rcx,%rdx,2),%ecx
imul   %ecx,%eax
mov    %eax,-0x7f8(%rbp)
mov    -0x7f8(%rbp),%eax
cmp    -0x7f4(%rbp),%eax
jle    166e <main+0x53e>
mov    -0x7f8(%rbp),%eax
mov    %eax,-0x7f4(%rbp)
jmp    1673 <main+0x543>
mov    -0x818(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x818(%rbp)
jmp    1596 <main+0x466>
jmp    168c <main+0x55c>
mov    -0x814(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x814(%rbp)
jmp    157f <main+0x44f>
mov    -0x7f4(%rbp),%esi
lea    0xe04(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x820,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x7e8,%rsp
lea    0xebb(%rip),%rsi
lea    0x330(%rsp),%rbx
mov    $0x4b1,%edx
mov    %rbx,%rdi
call   1050 <memcpy@plt>
mov    %rbx,0x8(%rsp)
lea    0x10(%rsp),%r12
xor    %r15d,%r15d
lea    0x8(%rsp),%r14
nopl   0x0(%rax)
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x8(%rsp),%rdi
mov    %r14,%rsi
mov    $0xa,%edx
call   1040 <strtol@plt>
mov    %ax,(%r12,%rbx,2)
add    $0x1,%rbx
cmp    $0x14,%rbx
jne    1180 <main+0x50>
add    $0x1,%r15
add    $0x28,%r12
cmp    $0x14,%r15
jne    1170 <main+0x40>
lea    0x18(%rsp),%r9
xor    %r8d,%r8d
xor    %esi,%esi
nopl   0x0(%rax)
lea    (%r8,%r8,4),%rax
movzwl 0x10(%rsp,%rax,8),%ecx
movzwl 0x12(%rsp,%rax,8),%r10d
movzwl 0x14(%rsp,%rax,8),%eax
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
movswl %cx,%ebx
mov    %eax,%ecx
movswl %r10w,%eax
imul   %eax,%ebx
movswl %cx,%edx
imul   %edx,%ebx
movswl -0x2(%r9,%rdi,2),%r10d
imul   %r10d,%ebx
cmp    %esi,%ebx
cmovle %esi,%ebx
imul   %eax,%edx
imul   %r10d,%edx
movswl (%r9,%rdi,2),%eax
add    $0x2,%rdi
imul   %eax,%edx
cmp    %ebx,%edx
mov    %edx,%esi
cmovle %ebx,%esi
cmp    $0x10,%rdi
jne    11e0 <main+0xb0>
add    $0x1,%r8
add    $0x28,%r9
cmp    $0x14,%r8
jne    11c0 <main+0x90>
mov    $0x98,%eax
pxor   %xmm8,%xmm8
nopl   0x0(%rax)
movd   %esi,%xmm9
movq   -0x88(%rsp,%rax,1),%xmm6
ff ff
movq   -0x60(%rsp,%rax,1),%xmm0
punpcklwd %xmm0,%xmm0
punpcklwd %xmm8,%xmm6
movq   -0x38(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm2
pmaddwd %xmm0,%xmm6
psrad  $0x10,%xmm2
movq   -0x10(%rsp,%rax,1),%xmm0
punpcklwd %xmm0,%xmm3
pshufd $0xf5,%xmm2,%xmm13
psrad  $0x10,%xmm3
movq   -0x80(%rsp,%rax,1),%xmm0
movq   -0x58(%rsp,%rax,1),%xmm1
pshufd $0xf5,%xmm3,%xmm12
punpcklwd %xmm1,%xmm1
punpcklwd %xmm8,%xmm0
pmaddwd %xmm1,%xmm0
pshufd $0xf5,%xmm6,%xmm10
movq   -0x30(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm7
psrad  $0x10,%xmm7
pmuludq %xmm6,%xmm2
pshufd $0xf5,%xmm0,%xmm11
pshufd $0xf5,%xmm7,%xmm6
movq   -0x78(%rsp,%rax,1),%xmm1
pmuludq %xmm0,%xmm7
movq   -0x50(%rsp,%rax,1),%xmm0
punpcklwd %xmm0,%xmm0
punpcklwd %xmm8,%xmm1
pmuludq %xmm10,%xmm13
pmaddwd %xmm0,%xmm1
movq   -0x28(%rsp,%rax,1),%xmm0
punpcklwd %xmm0,%xmm5
pmuludq %xmm11,%xmm6
psrad  $0x10,%xmm5
pshufd $0xf5,%xmm1,%xmm0
pshufd $0xf5,%xmm5,%xmm4
pmuludq %xmm3,%xmm2
pmuludq %xmm0,%xmm4
movq   -0x8(%rsp,%rax,1),%xmm0
punpcklwd %xmm0,%xmm0
pmuludq %xmm13,%xmm12
psrad  $0x10,%xmm0
pmuludq %xmm0,%xmm7
pshufd $0xf5,%xmm0,%xmm0
pmuludq %xmm6,%xmm0
pshufd $0x0,%xmm9,%xmm9
pshufd $0xe8,%xmm2,%xmm6
pshufd $0xe8,%xmm7,%xmm3
pshufd $0xe8,%xmm12,%xmm2
pshufd $0xe8,%xmm0,%xmm0
pmuludq %xmm1,%xmm5
movq   (%rsp,%rax,1),%xmm1
punpckldq %xmm2,%xmm6
punpcklwd %xmm1,%xmm2
psrad  $0x10,%xmm2
pmuludq %xmm2,%xmm5
punpckldq %xmm0,%xmm3
movdqa %xmm6,%xmm0
pshufd $0xe8,%xmm5,%xmm10
pshufd $0xf5,%xmm2,%xmm5
pmuludq %xmm4,%xmm5
pcmpgtd %xmm9,%xmm0
movdqa %xmm3,%xmm2
pshufd $0xe8,%xmm5,%xmm4
punpckldq %xmm4,%xmm10
movq   -0x70(%rsp,%rax,1),%xmm5
pand   %xmm0,%xmm6
movq   -0x48(%rsp,%rax,1),%xmm4
punpcklwd %xmm4,%xmm4
punpcklwd %xmm8,%xmm5
pandn  %xmm9,%xmm0
pmaddwd %xmm4,%xmm5
movq   -0x20(%rsp,%rax,1),%xmm4
punpcklwd %xmm4,%xmm7
por    %xmm6,%xmm0
psrad  $0x10,%xmm7
pshufd $0xf5,%xmm5,%xmm4
pshufd $0xf5,%xmm7,%xmm6
pcmpgtd %xmm0,%xmm2
pmuludq %xmm4,%xmm6
movdqa %xmm10,%xmm4
pmuludq %xmm5,%xmm7
movq   0x8(%rsp,%rax,1),%xmm5
pand   %xmm2,%xmm3
punpcklwd %xmm5,%xmm1
psrad  $0x10,%xmm1
pmuludq %xmm1,%xmm7
pandn  %xmm0,%xmm2
pshufd $0xe8,%xmm7,%xmm5
pshufd $0xf5,%xmm1,%xmm0
pmuludq %xmm6,%xmm0
por    %xmm3,%xmm2
pshufd $0xe8,%xmm0,%xmm0
punpckldq %xmm0,%xmm5
movq   -0x68(%rsp,%rax,1),%xmm0
pcmpgtd %xmm2,%xmm4
movq   -0x40(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
punpcklwd %xmm8,%xmm0
pand   %xmm4,%xmm10
pmaddwd %xmm1,%xmm0
movq   -0x18(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
pandn  %xmm2,%xmm4
psrad  $0x10,%xmm1
pshufd $0xf5,%xmm0,%xmm2
pshufd $0xf5,%xmm1,%xmm3
por    %xmm10,%xmm4
pmuludq %xmm2,%xmm3
movdqa %xmm5,%xmm2
pcmpgtd %xmm4,%xmm2
pmuludq %xmm0,%xmm1
pand   %xmm2,%xmm5
movq   0x10(%rsp,%rax,1),%xmm0
punpcklwd %xmm0,%xmm0
psrad  $0x10,%xmm0
pandn  %xmm4,%xmm2
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pshufd $0xf5,%xmm0,%xmm0
por    %xmm5,%xmm2
pmuludq %xmm3,%xmm0
pshufd $0xe8,%xmm0,%xmm0
punpckldq %xmm0,%xmm1
movdqa %xmm1,%xmm0
pcmpgtd %xmm2,%xmm0
pand   %xmm0,%xmm1
pandn  %xmm2,%xmm0
por    %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
movdqa %xmm0,%xmm2
pcmpgtd %xmm1,%xmm2
pand   %xmm2,%xmm0
pandn  %xmm1,%xmm2
por    %xmm0,%xmm2
pshufd $0x55,%xmm2,%xmm0
movdqa %xmm2,%xmm1
pcmpgtd %xmm0,%xmm1
pand   %xmm1,%xmm2
pandn  %xmm0,%xmm1
por    %xmm2,%xmm1
movd   %xmm1,%esi
add    $0x28,%rax
cmp    $0x318,%rax
jne    1240 <main+0x110>
mov    $0x9e,%eax
pxor   %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movd   %esi,%xmm1
pshufd $0x0,%xmm1,%xmm2
movq   -0x8e(%rsp,%rax,1),%xmm1
ff ff
punpcklwd %xmm1,%xmm1
movq   -0x64(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm1,%xmm3
movq   -0x3a(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x10,%xmm1
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm1,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm1
movq   -0x10(%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xe8,%xmm1,%xmm4
pshufd $0xf5,%xmm3,%xmm1
pmuludq %xmm5,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm1,%xmm4
movdqa %xmm4,%xmm1
pcmpgtd %xmm2,%xmm1
pand   %xmm1,%xmm4
pandn  %xmm2,%xmm1
por    %xmm4,%xmm1
movq   -0x86(%rsp,%rax,1),%xmm2
ff ff
punpcklwd %xmm2,%xmm2
movq   -0x5c(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm2,%xmm3
movq   -0x32(%rsp,%rax,1),%xmm2
punpcklwd %xmm2,%xmm2
psrad  $0x10,%xmm2
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm2,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm2
movq   -0x8(%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm4
pshufd $0xf5,%xmm3,%xmm2
pmuludq %xmm5,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm4
movdqa %xmm4,%xmm2
pcmpgtd %xmm1,%xmm2
pand   %xmm2,%xmm4
pandn  %xmm1,%xmm2
por    %xmm4,%xmm2
movq   -0x7e(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
movq   -0x54(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm1,%xmm3
movq   -0x2a(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x10,%xmm1
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm1,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm1
movq   (%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xe8,%xmm1,%xmm4
pshufd $0xf5,%xmm3,%xmm1
pmuludq %xmm5,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm1,%xmm4
movdqa %xmm4,%xmm1
pcmpgtd %xmm2,%xmm1
pand   %xmm1,%xmm4
pandn  %xmm2,%xmm1
por    %xmm4,%xmm1
movq   -0x76(%rsp,%rax,1),%xmm2
punpcklwd %xmm2,%xmm2
movq   -0x4c(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm2,%xmm3
movq   -0x22(%rsp,%rax,1),%xmm2
punpcklwd %xmm2,%xmm2
psrad  $0x10,%xmm2
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm2,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm2
movq   0x8(%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm3,%xmm3
pmuludq %xmm5,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm2,%xmm3
pcmpgtd %xmm1,%xmm3
pand   %xmm3,%xmm2
pandn  %xmm1,%xmm3
por    %xmm2,%xmm3
pshufd $0xee,%xmm3,%xmm1
movdqa %xmm3,%xmm2
pcmpgtd %xmm1,%xmm2
pand   %xmm2,%xmm3
pandn  %xmm1,%xmm2
por    %xmm3,%xmm2
pshufd $0x55,%xmm2,%xmm1
movdqa %xmm2,%xmm3
pcmpgtd %xmm1,%xmm3
pand   %xmm3,%xmm2
pandn  %xmm1,%xmm3
por    %xmm2,%xmm3
movd   %xmm3,%ecx
movswl -0x6e(%rsp,%rax,1),%edx
movswl -0x44(%rsp,%rax,1),%edi
imul   %edx,%edi
movswl -0x1a(%rsp,%rax,1),%edx
movswl 0x10(%rsp,%rax,1),%esi
imul   %edx,%esi
imul   %edi,%esi
cmp    %ecx,%esi
cmovle %ecx,%esi
add    $0x28,%rax
cmp    $0x346,%rax
jne    1510 <main+0x3e0>
mov    $0x98,%eax
pxor   %xmm0,%xmm0
nopl   0x0(%rax,%rax,1)
movd   %esi,%xmm1
pshufd $0x0,%xmm1,%xmm2
movq   -0x82(%rsp,%rax,1),%xmm1
ff ff
punpcklwd %xmm1,%xmm1
movq   -0x5c(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm1,%xmm3
movq   -0x36(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x10,%xmm1
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm1,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm1
movq   -0x10(%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xe8,%xmm1,%xmm4
pshufd $0xf5,%xmm3,%xmm1
pmuludq %xmm5,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm1,%xmm4
movdqa %xmm4,%xmm1
pcmpgtd %xmm2,%xmm1
pand   %xmm1,%xmm4
pandn  %xmm2,%xmm1
por    %xmm4,%xmm1
movq   -0x7a(%rsp,%rax,1),%xmm2
punpcklwd %xmm2,%xmm2
movq   -0x54(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm2,%xmm3
movq   -0x2e(%rsp,%rax,1),%xmm2
punpcklwd %xmm2,%xmm2
psrad  $0x10,%xmm2
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm2,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm2
movq   -0x8(%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm4
pshufd $0xf5,%xmm3,%xmm2
pmuludq %xmm5,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm4
movdqa %xmm4,%xmm2
pcmpgtd %xmm1,%xmm2
pand   %xmm2,%xmm4
pandn  %xmm1,%xmm2
por    %xmm4,%xmm2
movq   -0x72(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
movq   -0x4c(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm1,%xmm3
movq   -0x26(%rsp,%rax,1),%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x10,%xmm1
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm1,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm1
movq   (%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xe8,%xmm1,%xmm4
pshufd $0xf5,%xmm3,%xmm1
pmuludq %xmm5,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm1,%xmm4
movdqa %xmm4,%xmm1
pcmpgtd %xmm2,%xmm1
pand   %xmm1,%xmm4
pandn  %xmm2,%xmm1
por    %xmm4,%xmm1
movq   -0x6a(%rsp,%rax,1),%xmm2
punpcklwd %xmm2,%xmm2
movq   -0x44(%rsp,%rax,1),%xmm3
punpcklwd %xmm0,%xmm3
pmaddwd %xmm2,%xmm3
movq   -0x1e(%rsp,%rax,1),%xmm2
punpcklwd %xmm2,%xmm2
psrad  $0x10,%xmm2
pshufd $0xf5,%xmm3,%xmm4
pshufd $0xf5,%xmm2,%xmm5
pmuludq %xmm4,%xmm5
pmuludq %xmm3,%xmm2
movq   0x8(%rsp,%rax,1),%xmm3
punpcklwd %xmm3,%xmm3
psrad  $0x10,%xmm3
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm3,%xmm3
pmuludq %xmm5,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
movdqa %xmm2,%xmm3
pcmpgtd %xmm1,%xmm3
pand   %xmm3,%xmm2
pandn  %xmm1,%xmm3
por    %xmm2,%xmm3
pshufd $0xee,%xmm3,%xmm1
movdqa %xmm3,%xmm2
pcmpgtd %xmm1,%xmm2
pand   %xmm2,%xmm3
pandn  %xmm1,%xmm2
por    %xmm3,%xmm2
pshufd $0x55,%xmm2,%xmm1
movdqa %xmm2,%xmm3
pcmpgtd %xmm1,%xmm3
pand   %xmm3,%xmm2
pandn  %xmm1,%xmm3
por    %xmm2,%xmm3
movd   %xmm3,%ecx
movswl -0x62(%rsp,%rax,1),%edx
movswl -0x3c(%rsp,%rax,1),%edi
imul   %edx,%edi
movswl -0x16(%rsp,%rax,1),%edx
movswl 0x10(%rsp,%rax,1),%esi
imul   %edx,%esi
imul   %edi,%esi
cmp    %ecx,%esi
cmovle %ecx,%esi
add    $0x28,%rax
cmp    $0x340,%rax
jne    1770 <main+0x640>
lea    0xaeb(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x7e8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.arr = [1201 x i8] c"08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 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 03 45 02 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 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21 24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72 21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95 78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92 16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57 86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58 19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40 04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66 88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69 04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36 20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16 20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54 01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48\00"
@.str = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [1201 x i8]
%3 = alloca [20 x [20 x i16]]
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
store i32 0, i32* %1
%17 = bitcast [1201 x i8]* %2 to i8*
%18 = getelementptr inbounds [1201 x i8], [1201 x i8]* %2, i64 0, i64 0
store i8* %18, i8** %4
store i32 0, i32* %5
br label %19
19: ; preds = %39, %0
%20 = load i32, i32* %5
%21 = icmp slt i32 %20, 20
br i1 %21, label %22, label %42
22: ; preds = %19
store i32 0, i32* %6
br label %23
23: ; preds = %35, %22
%24 = load i32, i32* %6
%25 = icmp slt i32 %24, 20
br i1 %25, label %26, label %38
26: ; preds = %23
%27 = load i8*, i8** %4
%28 = call signext i16 @strtol(i8* %27, i8** %4, i32 10)
%29 = load i32, i32* %5
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %30
%32 = load i32, i32* %6
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [20 x i16], [20 x i16]* %31, i64 0, i64 %33
store i16 %28, i16* %34
br label %35
35: ; preds = %26
%36 = load i32, i32* %6
%37 = add nsw i32 %36, 1
store i32 %37, i32* %6
br label %23
38: ; preds = %23
br label %39
39: ; preds = %38
%40 = load i32, i32* %5
%41 = add nsw i32 %40, 1
store i32 %41, i32* %5
br label %19
42: ; preds = %19
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
br label %43
43: ; preds = %99, %42
%44 = load i32, i32* %9
%45 = icmp slt i32 %44, 20
br i1 %45, label %46, label %102
46: ; preds = %43
store i32 0, i32* %10
br label %47
47: ; preds = %95, %46
%48 = load i32, i32* %10
%49 = icmp slt i32 %48, 16
br i1 %49, label %50, label %98
50: ; preds = %47
%51 = load i32, i32* %9
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %52
%54 = load i32, i32* %10
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x i16], [20 x i16]* %53, i64 0, i64 %55
%57 = load i16, i16* %56
%58 = sext i16 %57 to i32
%59 = load i32, i32* %9
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %60
%62 = load i32, i32* %10
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [20 x i16], [20 x i16]* %61, i64 0, i64 %64
%66 = load i16, i16* %65
%67 = sext i16 %66 to i32
%68 = mul nsw i32 %58, %67
%69 = load i32, i32* %9
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %70
%72 = load i32, i32* %10
%73 = add nsw i32 %72, 2
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [20 x i16], [20 x i16]* %71, i64 0, i64 %74
%76 = load i16, i16* %75
%77 = sext i16 %76 to i32
%78 = mul nsw i32 %68, %77
%79 = load i32, i32* %9
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %80
%82 = load i32, i32* %10
%83 = add nsw i32 %82, 3
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [20 x i16], [20 x i16]* %81, i64 0, i64 %84
%86 = load i16, i16* %85
%87 = sext i16 %86 to i32
%88 = mul nsw i32 %78, %87
store i32 %88, i32* %8
%89 = load i32, i32* %8
%90 = load i32, i32* %7
%91 = icmp sgt i32 %89, %90
br i1 %91, label %92, label %94
92: ; preds = %50
%93 = load i32, i32* %8
store i32 %93, i32* %7
br label %94
94: ; preds = %92, %50
br label %95
95: ; preds = %94
%96 = load i32, i32* %10
%97 = add nsw i32 %96, 1
store i32 %97, i32* %10
br label %47
98: ; preds = %47
br label %99
99: ; preds = %98
%100 = load i32, i32* %9
%101 = add nsw i32 %100, 1
store i32 %101, i32* %9
br label %43
102: ; preds = %43
store i32 0, i32* %11
br label %103
103: ; preds = %159, %102
%104 = load i32, i32* %11
%105 = icmp slt i32 %104, 16
br i1 %105, label %106, label %162
106: ; preds = %103
store i32 0, i32* %12
br label %107
107: ; preds = %155, %106
%108 = load i32, i32* %12
%109 = icmp slt i32 %108, 20
br i1 %109, label %110, label %158
110: ; preds = %107
%111 = load i32, i32* %11
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %112
%114 = load i32, i32* %12
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [20 x i16], [20 x i16]* %113, i64 0, i64 %115
%117 = load i16, i16* %116
%118 = sext i16 %117 to i32
%119 = load i32, i32* %11
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %121
%123 = load i32, i32* %12
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [20 x i16], [20 x i16]* %122, i64 0, i64 %124
%126 = load i16, i16* %125
%127 = sext i16 %126 to i32
%128 = mul nsw i32 %118, %127
%129 = load i32, i32* %11
%130 = add nsw i32 %129, 2
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %131
%133 = load i32, i32* %12
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [20 x i16], [20 x i16]* %132, i64 0, i64 %134
%136 = load i16, i16* %135
%137 = sext i16 %136 to i32
%138 = mul nsw i32 %128, %137
%139 = load i32, i32* %11
%140 = add nsw i32 %139, 3
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %141
%143 = load i32, i32* %12
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [20 x i16], [20 x i16]* %142, i64 0, i64 %144
%146 = load i16, i16* %145
%147 = sext i16 %146 to i32
%148 = mul nsw i32 %138, %147
store i32 %148, i32* %8
%149 = load i32, i32* %8
%150 = load i32, i32* %7
%151 = icmp sgt i32 %149, %150
br i1 %151, label %152, label %154
152: ; preds = %110
%153 = load i32, i32* %8
store i32 %153, i32* %7
br label %154
154: ; preds = %152, %110
br label %155
155: ; preds = %154
%156 = load i32, i32* %12
%157 = add nsw i32 %156, 1
store i32 %157, i32* %12
br label %107
158: ; preds = %107
br label %159
159: ; preds = %158
%160 = load i32, i32* %11
%161 = add nsw i32 %160, 1
store i32 %161, i32* %11
br label %103
162: ; preds = %103
store i32 0, i32* %13
br label %163
163: ; preds = %222, %162
%164 = load i32, i32* %13
%165 = icmp sle i32 %164, 16
br i1 %165, label %166, label %225
166: ; preds = %163
store i32 0, i32* %14
br label %167
167: ; preds = %218, %166
%168 = load i32, i32* %14
%169 = icmp sle i32 %168, 16
br i1 %169, label %170, label %221
170: ; preds = %167
%171 = load i32, i32* %13
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %172
%174 = load i32, i32* %14
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [20 x i16], [20 x i16]* %173, i64 0, i64 %175
%177 = load i16, i16* %176
%178 = sext i16 %177 to i32
%179 = load i32, i32* %13
%180 = add nsw i32 %179, 1
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %181
%183 = load i32, i32* %14
%184 = add nsw i32 %183, 1
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [20 x i16], [20 x i16]* %182, i64 0, i64 %185
%187 = load i16, i16* %186
%188 = sext i16 %187 to i32
%189 = mul nsw i32 %178, %188
%190 = load i32, i32* %13
%191 = add nsw i32 %190, 2
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %192
%194 = load i32, i32* %14
%195 = add nsw i32 %194, 2
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [20 x i16], [20 x i16]* %193, i64 0, i64 %196
%198 = load i16, i16* %197
%199 = sext i16 %198 to i32
%200 = mul nsw i32 %189, %199
%201 = load i32, i32* %13
%202 = add nsw i32 %201, 3
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %203
%205 = load i32, i32* %14
%206 = add nsw i32 %205, 3
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [20 x i16], [20 x i16]* %204, i64 0, i64 %207
%209 = load i16, i16* %208
%210 = sext i16 %209 to i32
%211 = mul nsw i32 %200, %210
store i32 %211, i32* %8
%212 = load i32, i32* %8
%213 = load i32, i32* %7
%214 = icmp sgt i32 %212, %213
br i1 %214, label %215, label %217
215: ; preds = %170
%216 = load i32, i32* %8
store i32 %216, i32* %7
br label %217
217: ; preds = %215, %170
br label %218
218: ; preds = %217
%219 = load i32, i32* %14
%220 = add nsw i32 %219, 1
store i32 %220, i32* %14
br label %167
221: ; preds = %167
br label %222
222: ; preds = %221
%223 = load i32, i32* %13
%224 = add nsw i32 %223, 1
store i32 %224, i32* %13
br label %163
225: ; preds = %163
store i32 0, i32* %15
br label %226
226: ; preds = %285, %225
%227 = load i32, i32* %15
%228 = icmp sle i32 %227, 16
br i1 %228, label %229, label %288
229: ; preds = %226
store i32 3, i32* %16
br label %230
230: ; preds = %281, %229
%231 = load i32, i32* %16
%232 = icmp sle i32 %231, 19
br i1 %232, label %233, label %284
233: ; preds = %230
%234 = load i32, i32* %15
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %235
%237 = load i32, i32* %16
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds [20 x i16], [20 x i16]* %236, i64 0, i64 %238
%240 = load i16, i16* %239
%241 = sext i16 %240 to i32
%242 = load i32, i32* %15
%243 = add nsw i32 %242, 1
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %244
%246 = load i32, i32* %16
%247 = sub nsw i32 %246, 1
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds [20 x i16], [20 x i16]* %245, i64 0, i64 %248
%250 = load i16, i16* %249
%251 = sext i16 %250 to i32
%252 = mul nsw i32 %241, %251
%253 = load i32, i32* %15
%254 = add nsw i32 %253, 2
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %255
%257 = load i32, i32* %16
%258 = sub nsw i32 %257, 2
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds [20 x i16], [20 x i16]* %256, i64 0, i64 %259
%261 = load i16, i16* %260
%262 = sext i16 %261 to i32
%263 = mul nsw i32 %252, %262
%264 = load i32, i32* %15
%265 = add nsw i32 %264, 3
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %3, i64 0, i64 %266
%268 = load i32, i32* %16
%269 = sub nsw i32 %268, 3
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds [20 x i16], [20 x i16]* %267, i64 0, i64 %270
%272 = load i16, i16* %271
%273 = sext i16 %272 to i32
%274 = mul nsw i32 %263, %273
store i32 %274, i32* %8
%275 = load i32, i32* %8
%276 = load i32, i32* %7
%277 = icmp sgt i32 %275, %276
br i1 %277, label %278, label %280
278: ; preds = %233
%279 = load i32, i32* %8
store i32 %279, i32* %7
br label %280
280: ; preds = %278, %233
br label %281
281: ; preds = %280
%282 = load i32, i32* %16
%283 = add nsw i32 %282, 1
store i32 %283, i32* %16
br label %230
284: ; preds = %230
br label %285
285: ; preds = %284
%286 = load i32, i32* %15
%287 = add nsw i32 %286, 1
store i32 %287, i32* %15
br label %226
288: ; preds = %226
%289 = load i32, i32* %7
%290 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %289)
ret i32 0
}

LLVM IR (-O2):
@__const.main.arr = [1201 x i8] c"08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 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 03 45 02 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 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21 24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72 21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95 78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92 16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57 86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58 19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40 04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66 88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69 04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36 20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16 20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54 01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48\00"
@.str = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca [1201 x i8]
%2 = alloca [20 x [20 x i16]]
%3 = alloca i8*
%4 = getelementptr inbounds [1201 x i8], [1201 x i8]* %1, i64 0, i64 0
%5 = bitcast [20 x [20 x i16]]* %2 to i8*
%6 = bitcast i8** %3 to i8*
store i8* %4, i8** %3
br label %7
7: ; preds = %0, %9
%8 = phi i64 [ 0, %0 ], [ %10, %9 ]
br label %12
9: ; preds = %12
%10 = add nuw nsw i64 %8, 1
%11 = icmp eq i64 %10, 20
br i1 %11, label %19, label %7
12: ; preds = %7, %12
%13 = phi i64 [ 0, %7 ], [ %17, %12 ]
%14 = load i8*, i8** %3
%15 = call signext i16 @strtol(i8* %14, i8** %3, i32 10)
%16 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %8, i64 %13
store i16 %15, i16* %16
%17 = add nuw nsw i64 %13, 1
%18 = icmp eq i64 %17, 20
br i1 %18, label %9, label %12
19: ; preds = %9, %28
%20 = phi i64 [ %29, %28 ], [ 0, %9 ]
%21 = phi i32 [ %61, %28 ], [ 0, %9 ]
%22 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %20, i64 0
%23 = load i16, i16* %22
%24 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %20, i64 1
%25 = load i16, i16* %24
%26 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %20, i64 2
%27 = load i16, i16* %26
br label %31
28: ; preds = %31
%29 = add nuw nsw i64 %20, 1
%30 = icmp eq i64 %29, 20
br i1 %30, label %63, label %19
31: ; preds = %31, %19
%32 = phi i16 [ %27, %19 ], [ %57, %31 ]
%33 = phi i16 [ %25, %19 ], [ %44, %31 ]
%34 = phi i16 [ %23, %19 ], [ %32, %31 ]
%35 = phi i64 [ 0, %19 ], [ %50, %31 ]
%36 = phi i32 [ %21, %19 ], [ %61, %31 ]
%37 = sext i16 %34 to i32
%38 = sext i16 %33 to i32
%39 = mul nsw i32 %38, %37
%40 = sext i16 %32 to i32
%41 = mul nsw i32 %39, %40
%42 = add nuw nsw i64 %35, 3
%43 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %20, i64 %42
%44 = load i16, i16* %43
%45 = sext i16 %44 to i32
%46 = mul nsw i32 %41, %45
%47 = icmp sgt i32 %46, %36
%48 = select i1 %47, i32 %46, i32 %36
%49 = sext i16 %33 to i32
%50 = add nuw nsw i64 %35, 2
%51 = sext i16 %32 to i32
%52 = mul nsw i32 %51, %49
%53 = sext i16 %44 to i32
%54 = mul nsw i32 %52, %53
%55 = add nuw i64 %35, 4
%56 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %20, i64 %55
%57 = load i16, i16* %56
%58 = sext i16 %57 to i32
%59 = mul nsw i32 %54, %58
%60 = icmp sgt i32 %59, %48
%61 = select i1 %60, i32 %59, i32 %48
%62 = icmp eq i64 %50, 16
br i1 %62, label %28, label %31
63: ; preds = %28, %63
%64 = phi i64 [ %66, %63 ], [ 0, %28 ]
%65 = phi i32 [ %176, %63 ], [ %61, %28 ]
%66 = add nuw nsw i64 %64, 1
%67 = add nuw nsw i64 %64, 2
%68 = add nuw nsw i64 %64, 3
%69 = insertelement <4 x i32> poison, i32 %65, i64 0
%70 = shufflevector <4 x i32> %69, <4 x i32> poison, <4 x i32> zeroinitializer
%71 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %64, i64 0
%72 = bitcast i16* %71 to <4 x i16>*
%73 = load <4 x i16>, <4 x i16>* %72
%74 = sext <4 x i16> %73 to <4 x i32>
%75 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %66, i64 0
%76 = bitcast i16* %75 to <4 x i16>*
%77 = load <4 x i16>, <4 x i16>* %76
%78 = sext <4 x i16> %77 to <4 x i32>
%79 = mul nsw <4 x i32> %78, %74
%80 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %67, i64 0
%81 = bitcast i16* %80 to <4 x i16>*
%82 = load <4 x i16>, <4 x i16>* %81
%83 = sext <4 x i16> %82 to <4 x i32>
%84 = mul nsw <4 x i32> %79, %83
%85 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %68, i64 0
%86 = bitcast i16* %85 to <4 x i16>*
%87 = load <4 x i16>, <4 x i16>* %86
%88 = sext <4 x i16> %87 to <4 x i32>
%89 = mul nsw <4 x i32> %84, %88
%90 = icmp sgt <4 x i32> %89, %70
%91 = select <4 x i1> %90, <4 x i32> %89, <4 x i32> %70
%92 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %64, i64 4
%93 = bitcast i16* %92 to <4 x i16>*
%94 = load <4 x i16>, <4 x i16>* %93
%95 = sext <4 x i16> %94 to <4 x i32>
%96 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %66, i64 4
%97 = bitcast i16* %96 to <4 x i16>*
%98 = load <4 x i16>, <4 x i16>* %97
%99 = sext <4 x i16> %98 to <4 x i32>
%100 = mul nsw <4 x i32> %99, %95
%101 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %67, i64 4
%102 = bitcast i16* %101 to <4 x i16>*
%103 = load <4 x i16>, <4 x i16>* %102
%104 = sext <4 x i16> %103 to <4 x i32>
%105 = mul nsw <4 x i32> %100, %104
%106 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %68, i64 4
%107 = bitcast i16* %106 to <4 x i16>*
%108 = load <4 x i16>, <4 x i16>* %107
%109 = sext <4 x i16> %108 to <4 x i32>
%110 = mul nsw <4 x i32> %105, %109
%111 = icmp sgt <4 x i32> %110, %91
%112 = select <4 x i1> %111, <4 x i32> %110, <4 x i32> %91
%113 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %64, i64 8
%114 = bitcast i16* %113 to <4 x i16>*
%115 = load <4 x i16>, <4 x i16>* %114
%116 = sext <4 x i16> %115 to <4 x i32>
%117 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %66, i64 8
%118 = bitcast i16* %117 to <4 x i16>*
%119 = load <4 x i16>, <4 x i16>* %118
%120 = sext <4 x i16> %119 to <4 x i32>
%121 = mul nsw <4 x i32> %120, %116
%122 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %67, i64 8
%123 = bitcast i16* %122 to <4 x i16>*
%124 = load <4 x i16>, <4 x i16>* %123
%125 = sext <4 x i16> %124 to <4 x i32>
%126 = mul nsw <4 x i32> %121, %125
%127 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %68, i64 8
%128 = bitcast i16* %127 to <4 x i16>*
%129 = load <4 x i16>, <4 x i16>* %128
%130 = sext <4 x i16> %129 to <4 x i32>
%131 = mul nsw <4 x i32> %126, %130
%132 = icmp sgt <4 x i32> %131, %112
%133 = select <4 x i1> %132, <4 x i32> %131, <4 x i32> %112
%134 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %64, i64 12
%135 = bitcast i16* %134 to <4 x i16>*
%136 = load <4 x i16>, <4 x i16>* %135
%137 = sext <4 x i16> %136 to <4 x i32>
%138 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %66, i64 12
%139 = bitcast i16* %138 to <4 x i16>*
%140 = load <4 x i16>, <4 x i16>* %139
%141 = sext <4 x i16> %140 to <4 x i32>
%142 = mul nsw <4 x i32> %141, %137
%143 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %67, i64 12
%144 = bitcast i16* %143 to <4 x i16>*
%145 = load <4 x i16>, <4 x i16>* %144
%146 = sext <4 x i16> %145 to <4 x i32>
%147 = mul nsw <4 x i32> %142, %146
%148 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %68, i64 12
%149 = bitcast i16* %148 to <4 x i16>*
%150 = load <4 x i16>, <4 x i16>* %149
%151 = sext <4 x i16> %150 to <4 x i32>
%152 = mul nsw <4 x i32> %147, %151
%153 = icmp sgt <4 x i32> %152, %133
%154 = select <4 x i1> %153, <4 x i32> %152, <4 x i32> %133
%155 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %64, i64 16
%156 = bitcast i16* %155 to <4 x i16>*
%157 = load <4 x i16>, <4 x i16>* %156
%158 = sext <4 x i16> %157 to <4 x i32>
%159 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %66, i64 16
%160 = bitcast i16* %159 to <4 x i16>*
%161 = load <4 x i16>, <4 x i16>* %160
%162 = sext <4 x i16> %161 to <4 x i32>
%163 = mul nsw <4 x i32> %162, %158
%164 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %67, i64 16
%165 = bitcast i16* %164 to <4 x i16>*
%166 = load <4 x i16>, <4 x i16>* %165
%167 = sext <4 x i16> %166 to <4 x i32>
%168 = mul nsw <4 x i32> %163, %167
%169 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %68, i64 16
%170 = bitcast i16* %169 to <4 x i16>*
%171 = load <4 x i16>, <4 x i16>* %170
%172 = sext <4 x i16> %171 to <4 x i32>
%173 = mul nsw <4 x i32> %168, %172
%174 = icmp sgt <4 x i32> %173, %154
%175 = select <4 x i1> %174, <4 x i32> %173, <4 x i32> %154
%176 = call i32 @llvm.vector.reduce.smax.v4i32(<4 x i32> %175)
%177 = icmp eq i64 %66, 16
br i1 %177, label %178, label %63
178: ; preds = %63, %178
%179 = phi i64 [ %181, %178 ], [ 0, %63 ]
%180 = phi i32 [ %287, %178 ], [ %176, %63 ]
%181 = add nuw nsw i64 %179, 1
%182 = add nuw nsw i64 %179, 2
%183 = add nuw nsw i64 %179, 3
%184 = insertelement <4 x i32> poison, i32 %180, i64 0
%185 = shufflevector <4 x i32> %184, <4 x i32> poison, <4 x i32> zeroinitializer
%186 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %179, i64 0
%187 = bitcast i16* %186 to <4 x i16>*
%188 = load <4 x i16>, <4 x i16>* %187
%189 = sext <4 x i16> %188 to <4 x i32>
%190 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %181, i64 1
%191 = bitcast i16* %190 to <4 x i16>*
%192 = load <4 x i16>, <4 x i16>* %191
%193 = sext <4 x i16> %192 to <4 x i32>
%194 = mul nsw <4 x i32> %193, %189
%195 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %182, i64 2
%196 = bitcast i16* %195 to <4 x i16>*
%197 = load <4 x i16>, <4 x i16>* %196
%198 = sext <4 x i16> %197 to <4 x i32>
%199 = mul nsw <4 x i32> %194, %198
%200 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %183, i64 3
%201 = bitcast i16* %200 to <4 x i16>*
%202 = load <4 x i16>, <4 x i16>* %201
%203 = sext <4 x i16> %202 to <4 x i32>
%204 = mul nsw <4 x i32> %199, %203
%205 = icmp sgt <4 x i32> %204, %185
%206 = select <4 x i1> %205, <4 x i32> %204, <4 x i32> %185
%207 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %179, i64 4
%208 = bitcast i16* %207 to <4 x i16>*
%209 = load <4 x i16>, <4 x i16>* %208
%210 = sext <4 x i16> %209 to <4 x i32>
%211 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %181, i64 5
%212 = bitcast i16* %211 to <4 x i16>*
%213 = load <4 x i16>, <4 x i16>* %212
%214 = sext <4 x i16> %213 to <4 x i32>
%215 = mul nsw <4 x i32> %214, %210
%216 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %182, i64 6
%217 = bitcast i16* %216 to <4 x i16>*
%218 = load <4 x i16>, <4 x i16>* %217
%219 = sext <4 x i16> %218 to <4 x i32>
%220 = mul nsw <4 x i32> %215, %219
%221 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %183, i64 7
%222 = bitcast i16* %221 to <4 x i16>*
%223 = load <4 x i16>, <4 x i16>* %222
%224 = sext <4 x i16> %223 to <4 x i32>
%225 = mul nsw <4 x i32> %220, %224
%226 = icmp sgt <4 x i32> %225, %206
%227 = select <4 x i1> %226, <4 x i32> %225, <4 x i32> %206
%228 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %179, i64 8
%229 = bitcast i16* %228 to <4 x i16>*
%230 = load <4 x i16>, <4 x i16>* %229
%231 = sext <4 x i16> %230 to <4 x i32>
%232 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %181, i64 9
%233 = bitcast i16* %232 to <4 x i16>*
%234 = load <4 x i16>, <4 x i16>* %233
%235 = sext <4 x i16> %234 to <4 x i32>
%236 = mul nsw <4 x i32> %235, %231
%237 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %182, i64 10
%238 = bitcast i16* %237 to <4 x i16>*
%239 = load <4 x i16>, <4 x i16>* %238
%240 = sext <4 x i16> %239 to <4 x i32>
%241 = mul nsw <4 x i32> %236, %240
%242 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %183, i64 11
%243 = bitcast i16* %242 to <4 x i16>*
%244 = load <4 x i16>, <4 x i16>* %243
%245 = sext <4 x i16> %244 to <4 x i32>
%246 = mul nsw <4 x i32> %241, %245
%247 = icmp sgt <4 x i32> %246, %227
%248 = select <4 x i1> %247, <4 x i32> %246, <4 x i32> %227
%249 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %179, i64 12
%250 = bitcast i16* %249 to <4 x i16>*
%251 = load <4 x i16>, <4 x i16>* %250
%252 = sext <4 x i16> %251 to <4 x i32>
%253 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %181, i64 13
%254 = bitcast i16* %253 to <4 x i16>*
%255 = load <4 x i16>, <4 x i16>* %254
%256 = sext <4 x i16> %255 to <4 x i32>
%257 = mul nsw <4 x i32> %256, %252
%258 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %182, i64 14
%259 = bitcast i16* %258 to <4 x i16>*
%260 = load <4 x i16>, <4 x i16>* %259
%261 = sext <4 x i16> %260 to <4 x i32>
%262 = mul nsw <4 x i32> %257, %261
%263 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %183, i64 15
%264 = bitcast i16* %263 to <4 x i16>*
%265 = load <4 x i16>, <4 x i16>* %264
%266 = sext <4 x i16> %265 to <4 x i32>
%267 = mul nsw <4 x i32> %262, %266
%268 = icmp sgt <4 x i32> %267, %248
%269 = select <4 x i1> %268, <4 x i32> %267, <4 x i32> %248
%270 = call i32 @llvm.vector.reduce.smax.v4i32(<4 x i32> %269)
%271 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %179, i64 16
%272 = load i16, i16* %271
%273 = sext i16 %272 to i32
%274 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %181, i64 17
%275 = load i16, i16* %274
%276 = sext i16 %275 to i32
%277 = mul nsw i32 %276, %273
%278 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %182, i64 18
%279 = load i16, i16* %278
%280 = sext i16 %279 to i32
%281 = mul nsw i32 %277, %280
%282 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %183, i64 19
%283 = load i16, i16* %282
%284 = sext i16 %283 to i32
%285 = mul nsw i32 %281, %284
%286 = icmp sgt i32 %285, %270
%287 = select i1 %286, i32 %285, i32 %270
%288 = icmp eq i64 %181, 17
br i1 %288, label %289, label %178
289: ; preds = %178, %289
%290 = phi i64 [ %292, %289 ], [ 0, %178 ]
%291 = phi i32 [ %398, %289 ], [ %287, %178 ]
%292 = add nuw nsw i64 %290, 1
%293 = add nuw nsw i64 %290, 2
%294 = add nuw nsw i64 %290, 3
%295 = insertelement <4 x i32> poison, i32 %291, i64 0
%296 = shufflevector <4 x i32> %295, <4 x i32> poison, <4 x i32> zeroinitializer
%297 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %290, i64 3
%298 = bitcast i16* %297 to <4 x i16>*
%299 = load <4 x i16>, <4 x i16>* %298
%300 = sext <4 x i16> %299 to <4 x i32>
%301 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %292, i64 2
%302 = bitcast i16* %301 to <4 x i16>*
%303 = load <4 x i16>, <4 x i16>* %302
%304 = sext <4 x i16> %303 to <4 x i32>
%305 = mul nsw <4 x i32> %304, %300
%306 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %293, i64 1
%307 = bitcast i16* %306 to <4 x i16>*
%308 = load <4 x i16>, <4 x i16>* %307
%309 = sext <4 x i16> %308 to <4 x i32>
%310 = mul nsw <4 x i32> %305, %309
%311 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %294, i64 0
%312 = bitcast i16* %311 to <4 x i16>*
%313 = load <4 x i16>, <4 x i16>* %312
%314 = sext <4 x i16> %313 to <4 x i32>
%315 = mul nsw <4 x i32> %310, %314
%316 = icmp sgt <4 x i32> %315, %296
%317 = select <4 x i1> %316, <4 x i32> %315, <4 x i32> %296
%318 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %290, i64 7
%319 = bitcast i16* %318 to <4 x i16>*
%320 = load <4 x i16>, <4 x i16>* %319
%321 = sext <4 x i16> %320 to <4 x i32>
%322 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %292, i64 6
%323 = bitcast i16* %322 to <4 x i16>*
%324 = load <4 x i16>, <4 x i16>* %323
%325 = sext <4 x i16> %324 to <4 x i32>
%326 = mul nsw <4 x i32> %325, %321
%327 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %293, i64 5
%328 = bitcast i16* %327 to <4 x i16>*
%329 = load <4 x i16>, <4 x i16>* %328
%330 = sext <4 x i16> %329 to <4 x i32>
%331 = mul nsw <4 x i32> %326, %330
%332 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %294, i64 4
%333 = bitcast i16* %332 to <4 x i16>*
%334 = load <4 x i16>, <4 x i16>* %333
%335 = sext <4 x i16> %334 to <4 x i32>
%336 = mul nsw <4 x i32> %331, %335
%337 = icmp sgt <4 x i32> %336, %317
%338 = select <4 x i1> %337, <4 x i32> %336, <4 x i32> %317
%339 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %290, i64 11
%340 = bitcast i16* %339 to <4 x i16>*
%341 = load <4 x i16>, <4 x i16>* %340
%342 = sext <4 x i16> %341 to <4 x i32>
%343 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %292, i64 10
%344 = bitcast i16* %343 to <4 x i16>*
%345 = load <4 x i16>, <4 x i16>* %344
%346 = sext <4 x i16> %345 to <4 x i32>
%347 = mul nsw <4 x i32> %346, %342
%348 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %293, i64 9
%349 = bitcast i16* %348 to <4 x i16>*
%350 = load <4 x i16>, <4 x i16>* %349
%351 = sext <4 x i16> %350 to <4 x i32>
%352 = mul nsw <4 x i32> %347, %351
%353 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %294, i64 8
%354 = bitcast i16* %353 to <4 x i16>*
%355 = load <4 x i16>, <4 x i16>* %354
%356 = sext <4 x i16> %355 to <4 x i32>
%357 = mul nsw <4 x i32> %352, %356
%358 = icmp sgt <4 x i32> %357, %338
%359 = select <4 x i1> %358, <4 x i32> %357, <4 x i32> %338
%360 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %290, i64 15
%361 = bitcast i16* %360 to <4 x i16>*
%362 = load <4 x i16>, <4 x i16>* %361
%363 = sext <4 x i16> %362 to <4 x i32>
%364 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %292, i64 14
%365 = bitcast i16* %364 to <4 x i16>*
%366 = load <4 x i16>, <4 x i16>* %365
%367 = sext <4 x i16> %366 to <4 x i32>
%368 = mul nsw <4 x i32> %367, %363
%369 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %293, i64 13
%370 = bitcast i16* %369 to <4 x i16>*
%371 = load <4 x i16>, <4 x i16>* %370
%372 = sext <4 x i16> %371 to <4 x i32>
%373 = mul nsw <4 x i32> %368, %372
%374 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %294, i64 12
%375 = bitcast i16* %374 to <4 x i16>*
%376 = load <4 x i16>, <4 x i16>* %375
%377 = sext <4 x i16> %376 to <4 x i32>
%378 = mul nsw <4 x i32> %373, %377
%379 = icmp sgt <4 x i32> %378, %359
%380 = select <4 x i1> %379, <4 x i32> %378, <4 x i32> %359
%381 = call i32 @llvm.vector.reduce.smax.v4i32(<4 x i32> %380)
%382 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %290, i64 19
%383 = load i16, i16* %382
%384 = sext i16 %383 to i32
%385 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %292, i64 18
%386 = load i16, i16* %385
%387 = sext i16 %386 to i32
%388 = mul nsw i32 %387, %384
%389 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %293, i64 17
%390 = load i16, i16* %389
%391 = sext i16 %390 to i32
%392 = mul nsw i32 %388, %391
%393 = getelementptr inbounds [20 x [20 x i16]], [20 x [20 x i16]]* %2, i64 0, i64 %294, i64 16
%394 = load i16, i16* %393
%395 = sext i16 %394 to i32
%396 = mul nsw i32 %392, %395
%397 = icmp sgt i32 %396, %381
%398 = select i1 %397, i32 %396, i32 %381
%399 = icmp eq i64 %292, 17
br i1 %399, label %400, label %289
400: ; preds = %289
%401 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %398)
ret i32 0
}