#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__ _(float, float);
scalar_t__ gets(char *);
scalar_t__ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ scanf(char *, int *, int *);
int /*<<< orphan*/ sprintf(char *, char *, char *, ...);
int /*<<< orphan*/ sscanf(char *, char *, int *, int *, float *, float *,
                          float *, float *, int *, int *, int *, int);
int /*<<< orphan*/ strncpy(char *, char *, int);
int main() {
  char a[2][20][51], c[9][4][51][51], d[100];
  int e, f, g, h = 0, i, j = 0, k, b = 0, n[9], o[9], p[9], x[9], y[9], q[9], r,
               s, t;
  float u[9], v[9], w[9], z[9];
  printf("i%s\033Yppppppppppppppppppp1G0",
         "==================================================");
  do
    sprintf(a[0][j], "%s", "                                                  ",
            sprintf(a[1][j], "%s",
                    "=================================================="));
  while (++j < 20);
  scanf("%d %d\n", &r, &s);
  gets(d);
  do {
    sscanf(d, "%d %d %f %f %f %f %d %d %d", &o[b], &p[b], &u[b], &v[b], &w[b],
           &z[b], &x[b], &y[b], &q[b], j = n[b] = i = 0);
    do
      do
        c[b][i][j][x[b]] = !gets(c[b][i][j]);
      while (++j < y[b]);
    while (++i < q[b] + (j = 0) || !++b);
  } while (gets(d) || (i = t = e = f = 0));
  do {
    do
      strncpy(a[h][i], "                                                  ",
              50);
    while (++i < 20 || (i = 0));
    do
      if (t >= o[i] && t <= p[i] && !(k = j = 0))
        do
          do
            if (_(u[i] + k, v[i] + j))
              a[h][(int)v[i] + j][(int)u[i] + k] = c[i][n[i]][j][k];
          while (++k < x[i]);
        while (++j < y[i] + (k = 0) ||
               ((++n[i] - q[i] || (n[i] = 0)), u[i] += w[i], v[i] += z[i], 0));
    while (++i < b || (k = j = g = 0));
    do
      do
        if (a[1 - h][j][k] != a[h][j][k]) {
          f - j &&printf("%dG0", j + 1, e = 0, g += 4);
          k &&e > k &&printf("0%d ", k, g += 4);
          k &&e<k && k - e> 1 && printf("%d ", k - e, g += 3);
          k &&e < k &&k - e == 1 && printf(" ", g++);
          printf("r%c", a[h][j][k], g += 2, e = k, f = j);
        }
      while (++k < 50);
    while (++j < 20 + (k = 0));
    do
      printf("1G0", g += 3, e = f = 0);
    while (g < s);
    h = 1 - h;
  } while (++t <= r + (i = 0));
  return !puts("");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x17898,%rsp
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x17670(%rbp)
movl   $0x0,-0x17678(%rbp)
movl   $0x0,-0x17680(%rbp)
lea    0xe44(%rip),%rdi
lea    0xe59(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x820(%rbp),%rax
movslq -0x17678(%rbp),%rcx
imul   $0x33,%rcx,%rcx
add    %rcx,%rax
mov    %rax,-0x17868(%rbp)
lea    -0x820(%rbp),%rdi
add    $0x3fc,%rdi
movslq -0x17678(%rbp),%rax
imul   $0x33,%rax,%rax
add    %rax,%rdi
lea    0xe46(%rip),%rsi
lea    0xe0c(%rip),%rdx
mov    $0x0,%al
call   10a0 <sprintf@plt>
mov    -0x17868(%rbp),%rdi
mov    %eax,%ecx
lea    0xe28(%rip),%rsi
lea    0xe24(%rip),%rdx
mov    $0x0,%al
call   10a0 <sprintf@plt>
mov    -0x17678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x17678(%rbp)
cmp    $0x14,%eax
jl     11ca <main+0x4a>
lea    0xe31(%rip),%rdi
lea    -0x177a4(%rbp),%rsi
lea    -0x177a8(%rbp),%rdx
call   1090 <scanf@plt>
lea    -0x17660(%rbp),%rdi
call   1060 <gets@plt>
lea    -0x17660(%rbp),%rdi
movslq -0x17680(%rbp),%rax
lea    -0x176e0(%rbp),%rdx
shl    $0x2,%rax
add    %rax,%rdx
movslq -0x17680(%rbp),%rax
lea    -0x17710(%rbp),%rcx
shl    $0x2,%rax
add    %rax,%rcx
movslq -0x17680(%rbp),%rax
lea    -0x177d0(%rbp),%r8
shl    $0x2,%rax
add    %rax,%r8
movslq -0x17680(%rbp),%rax
lea    -0x17800(%rbp),%r9
shl    $0x2,%rax
add    %rax,%r9
movslq -0x17680(%rbp),%rax
lea    -0x17830(%rbp),%r14
shl    $0x2,%rax
add    %rax,%r14
movslq -0x17680(%rbp),%rax
lea    -0x17860(%rbp),%rbx
shl    $0x2,%rax
add    %rax,%rbx
movslq -0x17680(%rbp),%rax
lea    -0x17740(%rbp),%r11
shl    $0x2,%rax
add    %rax,%r11
movslq -0x17680(%rbp),%rax
lea    -0x17770(%rbp),%r10
shl    $0x2,%rax
add    %rax,%r10
movslq -0x17680(%rbp),%rsi
lea    -0x177a0(%rbp),%rax
shl    $0x2,%rsi
add    %rsi,%rax
movl   $0x0,-0x17674(%rbp)
movslq -0x17680(%rbp),%rsi
movl   $0x0,-0x176b0(%rbp,%rsi,4)
movl   $0x0,-0x17678(%rbp)
lea    0xd28(%rip),%rsi
xor    %r15d,%r15d
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %rax,0x20(%rsp)
movl   $0x0,0x28(%rsp)
call   1070 <sscanf@plt>
jmp    1391 <main+0x211>
movslq -0x17680(%rbp),%rax
lea    -0x175f0(%rbp),%rdi
imul   $0x28a4,%rax,%rax
add    %rax,%rdi
movslq -0x17674(%rbp),%rax
imul   $0xa29,%rax,%rax
add    %rax,%rdi
movslq -0x17678(%rbp),%rax
imul   $0x33,%rax,%rax
add    %rax,%rdi
call   1060 <gets@plt>
cmp    $0x0,%rax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
mov    %al,%dl
movslq -0x17680(%rbp),%rcx
lea    -0x175f0(%rbp),%rax
imul   $0x28a4,%rcx,%rcx
add    %rcx,%rax
movslq -0x17674(%rbp),%rcx
imul   $0xa29,%rcx,%rcx
add    %rcx,%rax
movslq -0x17678(%rbp),%rcx
imul   $0x33,%rcx,%rcx
add    %rcx,%rax
movslq -0x17680(%rbp),%rcx
movslq -0x17740(%rbp,%rcx,4),%rcx
ff
mov    %dl,(%rax,%rcx,1)
mov    -0x17678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x17678(%rbp)
movslq -0x17680(%rbp),%rcx
cmp    -0x17770(%rbp,%rcx,4),%eax
jl     1391 <main+0x211>
jmp    144e <main+0x2ce>
mov    -0x17674(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,-0x17674(%rbp)
movslq -0x17680(%rbp),%rax
mov    -0x177a0(%rbp,%rax,4),%edx
movl   $0x0,-0x17678(%rbp)
add    $0x0,%edx
mov    $0x1,%al
cmp    %edx,%ecx
mov    %al,-0x17869(%rbp)
jl     14a5 <main+0x325>
mov    -0x17680(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x17680(%rbp)
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
mov    %al,-0x17869(%rbp)
mov    -0x17869(%rbp),%al
test   $0x1,%al
jne    138c <main+0x20c>
jmp    14b8 <main+0x338>
lea    -0x17660(%rbp),%rdi
call   1060 <gets@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x1786a(%rbp)
jne    1509 <main+0x389>
movl   $0x0,-0x17668(%rbp)
movl   $0x0,-0x17664(%rbp)
movl   $0x0,-0x177ac(%rbp)
movl   $0x0,-0x17674(%rbp)
xor    %eax,%eax
mov    %al,-0x1786a(%rbp)
mov    -0x1786a(%rbp),%al
test   $0x1,%al
jne    1273 <main+0xf3>
jmp    151c <main+0x39c>
jmp    1521 <main+0x3a1>
movslq -0x17670(%rbp),%rax
lea    -0x820(%rbp),%rdi
imul   $0x3fc,%rax,%rax
add    %rax,%rdi
movslq -0x17674(%rbp),%rax
imul   $0x33,%rax,%rax
add    %rax,%rdi
lea    0xb04(%rip),%rsi
mov    $0x32,%edx
call   1030 <strncpy@plt>
mov    -0x17674(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,-0x17674(%rbp)
mov    $0x1,%al
cmp    $0x14,%ecx
mov    %al,-0x1786b(%rbp)
jl     158a <main+0x40a>
movl   $0x0,-0x17674(%rbp)
xor    %eax,%eax
mov    %al,-0x1786b(%rbp)
mov    -0x1786b(%rbp),%al
test   $0x1,%al
jne    1521 <main+0x3a1>
jmp    159d <main+0x41d>
mov    -0x177ac(%rbp),%eax
movslq -0x17674(%rbp),%rcx
cmp    -0x176e0(%rbp,%rcx,4),%eax
jl     1808 <main+0x688>
mov    -0x177ac(%rbp),%eax
movslq -0x17674(%rbp),%rcx
cmp    -0x17710(%rbp,%rcx,4),%eax
jg     1808 <main+0x688>
movl   $0x0,-0x17678(%rbp)
movl   $0x0,-0x1767c(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1808 <main+0x688>
jmp    15f4 <main+0x474>
jmp    15f9 <main+0x479>
movslq -0x17674(%rbp),%rax
movss  -0x177d0(%rbp,%rax,4),%xmm0
fe ff
cvtsi2ssl -0x1767c(%rbp),%xmm1
ff
addss  %xmm1,%xmm0
movslq -0x17674(%rbp),%rax
movss  -0x17800(%rbp,%rax,4),%xmm1
fe ff
cvtsi2ssl -0x17678(%rbp),%xmm2
ff
addss  %xmm2,%xmm1
call   1080 <_@plt>
cmp    $0x0,%rax
je     16dd <main+0x55d>
movslq -0x17674(%rbp),%rcx
lea    -0x175f0(%rbp),%rax
imul   $0x28a4,%rcx,%rcx
add    %rcx,%rax
movslq -0x17674(%rbp),%rcx
movslq -0x176b0(%rbp,%rcx,4),%rcx
ff
imul   $0xa29,%rcx,%rcx
add    %rcx,%rax
movslq -0x17678(%rbp),%rcx
imul   $0x33,%rcx,%rcx
add    %rcx,%rax
movslq -0x1767c(%rbp),%rcx
mov    (%rax,%rcx,1),%dl
movslq -0x17670(%rbp),%rcx
lea    -0x820(%rbp),%rax
imul   $0x3fc,%rcx,%rcx
add    %rcx,%rax
movslq -0x17674(%rbp),%rcx
cvttss2si -0x17800(%rbp,%rcx,4),%ecx
fe ff
add    -0x17678(%rbp),%ecx
movslq %ecx,%rcx
imul   $0x33,%rcx,%rcx
add    %rcx,%rax
movslq -0x17674(%rbp),%rcx
cvttss2si -0x177d0(%rbp,%rcx,4),%ecx
fe ff
add    -0x1767c(%rbp),%ecx
movslq %ecx,%rcx
mov    %dl,(%rax,%rcx,1)
jmp    16e2 <main+0x562>
mov    -0x1767c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1767c(%rbp)
movslq -0x17674(%rbp),%rcx
cmp    -0x17740(%rbp,%rcx,4),%eax
jl     15f9 <main+0x479>
jmp    170a <main+0x58a>
mov    -0x17678(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,-0x17678(%rbp)
movslq -0x17674(%rbp),%rax
mov    -0x17770(%rbp,%rax,4),%edx
movl   $0x0,-0x1767c(%rbp)
add    $0x0,%edx
mov    $0x1,%al
cmp    %edx,%ecx
mov    %al,-0x1786c(%rbp)
jl     17f5 <main+0x675>
movslq -0x17674(%rbp),%rax
mov    -0x176b0(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x176b0(%rbp,%rax,4)
movslq -0x17674(%rbp),%rax
sub    -0x177a0(%rbp,%rax,4),%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0x1786d(%rbp)
jne    1795 <main+0x615>
movslq -0x17674(%rbp),%rax
movl   $0x0,-0x176b0(%rbp,%rax,4)
xor    %eax,%eax
mov    %al,-0x1786d(%rbp)
mov    -0x1786d(%rbp),%al
movslq -0x17674(%rbp),%rax
movss  -0x17830(%rbp,%rax,4),%xmm0
fe ff
movslq -0x17674(%rbp),%rax
addss  -0x177d0(%rbp,%rax,4),%xmm0
fe ff
movss  %xmm0,-0x177d0(%rbp,%rax,4)
fe ff
movslq -0x17674(%rbp),%rax
movss  -0x17860(%rbp,%rax,4),%xmm0
fe ff
movslq -0x17674(%rbp),%rax
addss  -0x17800(%rbp,%rax,4),%xmm0
fe ff
movss  %xmm0,-0x17800(%rbp,%rax,4)
fe ff
xor    %eax,%eax
mov    %al,-0x1786c(%rbp)
mov    -0x1786c(%rbp),%al
test   $0x1,%al
jne    15f4 <main+0x474>
jmp    1808 <main+0x688>
jmp    180d <main+0x68d>
mov    -0x17674(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,-0x17674(%rbp)
mov    $0x1,%al
cmp    -0x17680(%rbp),%ecx
mov    %al,-0x1786e(%rbp)
jl     1856 <main+0x6d6>
movl   $0x0,-0x1766c(%rbp)
movl   $0x0,-0x17678(%rbp)
movl   $0x0,-0x1767c(%rbp)
xor    %eax,%eax
mov    %al,-0x1786e(%rbp)
mov    -0x1786e(%rbp),%al
test   $0x1,%al
jne    159d <main+0x41d>
jmp    1869 <main+0x6e9>
jmp    186e <main+0x6ee>
mov    $0x1,%eax
sub    -0x17670(%rbp),%eax
movslq %eax,%rcx
lea    -0x820(%rbp),%rax
imul   $0x3fc,%rcx,%rcx
add    %rcx,%rax
movslq -0x17678(%rbp),%rcx
imul   $0x33,%rcx,%rcx
add    %rcx,%rax
movslq -0x1767c(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
movslq -0x17670(%rbp),%rdx
lea    -0x820(%rbp),%rcx
imul   $0x3fc,%rdx,%rdx
add    %rdx,%rcx
movslq -0x17678(%rbp),%rdx
imul   $0x33,%rdx,%rdx
add    %rdx,%rcx
movslq -0x1767c(%rbp),%rdx
movsbl (%rcx,%rdx,1),%ecx
cmp    %ecx,%eax
je     1b14 <main+0x994>
mov    -0x17668(%rbp),%ecx
sub    -0x17678(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1786f(%rbp)
je     193b <main+0x7bb>
mov    -0x17678(%rbp),%esi
add    $0x1,%esi
movl   $0x0,-0x17664(%rbp)
mov    -0x1766c(%rbp),%ecx
add    $0x4,%ecx
mov    %ecx,-0x1766c(%rbp)
lea    0x782(%rip),%rdi
xor    %edx,%edx
mov    $0x0,%al
call   1050 <printf@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x1786f(%rbp)
mov    -0x1786f(%rbp),%al
xor    %eax,%eax
cmpl   $0x0,-0x1767c(%rbp)
mov    %al,-0x17870(%rbp)
je     19a0 <main+0x820>
mov    -0x17664(%rbp),%ecx
xor    %eax,%eax
cmp    -0x1767c(%rbp),%ecx
mov    %al,-0x17870(%rbp)
jle    19a0 <main+0x820>
mov    -0x1767c(%rbp),%esi
mov    -0x1766c(%rbp),%edx
add    $0x4,%edx
mov    %edx,-0x1766c(%rbp)
lea    0x720(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x17870(%rbp)
mov    -0x17870(%rbp),%al
xor    %eax,%eax
cmpl   $0x0,-0x1767c(%rbp)
mov    %al,-0x17871(%rbp)
je     1a28 <main+0x8a8>
mov    -0x17664(%rbp),%ecx
xor    %eax,%eax
cmp    -0x1767c(%rbp),%ecx
mov    %al,-0x17871(%rbp)
jge    1a28 <main+0x8a8>
mov    -0x1767c(%rbp),%ecx
sub    -0x17664(%rbp),%ecx
xor    %eax,%eax
cmp    $0x1,%ecx
mov    %al,-0x17871(%rbp)
jle    1a28 <main+0x8a8>
mov    -0x1767c(%rbp),%esi
sub    -0x17664(%rbp),%esi
mov    -0x1766c(%rbp),%edx
add    $0x3,%edx
mov    %edx,-0x1766c(%rbp)
lea    0x699(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x17871(%rbp)
mov    -0x17871(%rbp),%al
xor    %eax,%eax
cmpl   $0x0,-0x1767c(%rbp)
mov    %al,-0x17872(%rbp)
je     1aa6 <main+0x926>
mov    -0x17664(%rbp),%ecx
xor    %eax,%eax
cmp    -0x1767c(%rbp),%ecx
mov    %al,-0x17872(%rbp)
jge    1aa6 <main+0x926>
mov    -0x1767c(%rbp),%ecx
sub    -0x17664(%rbp),%ecx
xor    %eax,%eax
cmp    $0x1,%ecx
mov    %al,-0x17872(%rbp)
jne    1aa6 <main+0x926>
mov    -0x1766c(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x1766c(%rbp)
lea    0x5f1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x17872(%rbp)
mov    -0x17872(%rbp),%al
movslq -0x17670(%rbp),%rcx
lea    -0x820(%rbp),%rax
imul   $0x3fc,%rcx,%rcx
add    %rcx,%rax
movslq -0x17678(%rbp),%rcx
imul   $0x33,%rcx,%rcx
add    %rcx,%rax
movslq -0x1767c(%rbp),%rcx
movsbl (%rax,%rcx,1),%esi
mov    -0x1766c(%rbp),%edx
add    $0x2,%edx
mov    %edx,-0x1766c(%rbp)
mov    -0x1767c(%rbp),%ecx
mov    %ecx,-0x17664(%rbp)
mov    -0x17678(%rbp),%r8d
mov    %r8d,-0x17668(%rbp)
lea    0x5a4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1b19 <main+0x999>
mov    -0x1767c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1767c(%rbp)
cmp    $0x32,%eax
jl     186e <main+0x6ee>
jmp    1b36 <main+0x9b6>
mov    -0x17678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x17678(%rbp)
movl   $0x0,-0x1767c(%rbp)
cmp    $0x14,%eax
jl     1869 <main+0x6e9>
jmp    1b5d <main+0x9dd>
mov    -0x1766c(%rbp),%esi
add    $0x3,%esi
mov    %esi,-0x1766c(%rbp)
movl   $0x0,-0x17668(%rbp)
movl   $0x0,-0x17664(%rbp)
lea    0x491(%rip),%rdi
xor    %edx,%edx
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x1766c(%rbp),%eax
cmp    -0x177a8(%rbp),%eax
jl     1b5d <main+0x9dd>
mov    $0x1,%eax
sub    -0x17670(%rbp),%eax
mov    %eax,-0x17670(%rbp)
mov    -0x177ac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x177ac(%rbp)
mov    -0x177a4(%rbp),%ecx
movl   $0x0,-0x17674(%rbp)
add    $0x0,%ecx
cmp    %ecx,%eax
jle    151c <main+0x39c>
lea    0x4a7(%rip),%rdi
call   1040 <puts@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
add    $0x17898,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x17858,%rsp
lea    0xe68(%rip),%rdi
lea    0xe7d(%rip),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xfffffffffffffc04,%rax
lea    0x6bf(%rsp),%rcx
movups 0xe80(%rip),%xmm0
movups 0xe69(%rip),%xmm1
movups 0xe52(%rip),%xmm2
movups 0xe9e(%rip),%xmm3
movups 0xe87(%rip),%xmm4
movups 0xe70(%rip),%xmm5
nop
movups %xmm0,0x3e9(%rcx,%rax,1)
movups %xmm1,0x3d9(%rcx,%rax,1)
movups %xmm2,0x3c9(%rcx,%rax,1)
movl   $0x3d3d3d,0x3f8(%rcx,%rax,1)
movups %xmm3,-0x13(%rcx,%rax,1)
movups %xmm4,-0x23(%rcx,%rax,1)
movups %xmm5,-0x33(%rcx,%rax,1)
movl   $0x202020,-0x4(%rcx,%rax,1)
movups %xmm0,0x41c(%rcx,%rax,1)
movups %xmm1,0x40c(%rcx,%rax,1)
movups %xmm2,0x3fc(%rcx,%rax,1)
movl   $0x3d3d3d,0x42b(%rcx,%rax,1)
movups %xmm5,(%rcx,%rax,1)
movups %xmm4,0x10(%rcx,%rax,1)
movups %xmm3,0x20(%rcx,%rax,1)
movl   $0x202020,0x2f(%rcx,%rax,1)
add    $0x66,%rax
jne    11e0 <main+0x60>
lea    0xe22(%rip),%rdi
lea    0x24(%rsp),%rsi
lea    0x20(%rsp),%rdx
call   10a0 <scanf@plt>
lea    0x220(%rsp),%r15
mov    %r15,%rdi
call   1070 <gets@plt>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movslq %ebp,%rax
lea    (%rsp,%rax,4),%rdx
add    $0x1f0,%rdx
lea    0x1c0(%rsp,%rax,4),%rcx
lea    0x70(%rsp,%rax,4),%r8
lea    0x40(%rsp,%rax,4),%r9
lea    0x190(%rsp,%rax,4),%r10
lea    0x160(%rsp,%rax,4),%r11
lea    0x130(%rsp,%rax,4),%r14
lea    0x100(%rsp,%rax,4),%r12
lea    0xd0(%rsp,%rax,4),%rbx
movl   $0x0,0xa0(%rsp,%rax,4)
mov    %r15,%rdi
lea    0xd9c(%rip),%rsi
push   $0x0
push   %rbx
push   %r12
push   %r14
push   %r11
push   %r10
call   1080 <sscanf@plt>
add    $0x30,%rsp
xor    %r12d,%r12d
mov    %ebp,%eax
cs nopw 0x0(%rax,%rax,1)
mov    %rax,%r15
movslq %eax,%rbx
movslq %r12d,%r12
imul   $0xa29,%r12,%r13
imul   $0x28a4,%rbx,%rax
add    %rsp,%rax
add    $0xa90,%rax
add    %rax,%r13
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r13,%rbp
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
mov    %rbp,%rdi
call   1070 <gets@plt>
test   %rax,%rax
movslq 0x130(%rsp,%rbx,4),%rax
sete   0x0(%rbp,%rax,1)
add    $0x1,%r14
movslq 0x100(%rsp,%rbx,4),%rax
add    $0x33,%rbp
cmp    %rax,%r14
jl     1350 <main+0x1d0>
add    $0x1,%r12
movslq 0xd0(%rsp,%rbx,4),%rax
add    $0xa29,%r13
cmp    %rax,%r12
jl     1340 <main+0x1c0>
xor    %eax,%eax
mov    %r15,%rbx
mov    %ebx,%ebp
inc    %ebp
je     1310 <main+0x190>
lea    0x220(%rsp),%r15
mov    %r15,%rdi
call   1070 <gets@plt>
test   %rax,%rax
jne    1290 <main+0x110>
xor    %eax,%eax
test   %ebx,%ebx
cmovle %eax,%ebx
add    $0x1,%ebx
xor    %edx,%edx
xor    %r15d,%r15d
mov    %rbx,0x28(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %edx,0x18(%rsp)
mov    %edx,%eax
imul   $0x3fc,%rax,%rbp
lea    (%rsp,%rbp,1),%rdi
add    $0x290,%rdi
mov    %rdi,0x8(%rsp)
lea    0xc4b(%rip),%r14
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x2c3,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x2f6,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x329,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x35c,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x38f,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x3c2,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x3f5,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x428,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x45b,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x48e,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x4c1,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x4f4,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x527,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x55a,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x58d,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x5c0,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x5f3,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x626,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    (%rsp,%rbp,1),%rdi
add    $0x659,%rdi
mov    %r14,%rsi
mov    $0x32,%edx
call   1040 <strncpy@plt>
lea    0xa90(%rsp),%r14
xor    %ebp,%ebp
mov    %r15,0x30(%rsp)
jmp    1658 <main+0x4d8>
nopw   0x0(%rax,%rax,1)
mov    0xa0(%rsp,%rbp,4),%eax
add    $0x1,%eax
cmp    0xd0(%rsp,%rbp,4),%eax
mov    $0x0,%ecx
cmove  %ecx,%eax
mov    %eax,0xa0(%rsp,%rbp,4)
movss  0x190(%rsp,%rbp,4),%xmm0
addss  0x70(%rsp,%rbp,4),%xmm0
movss  %xmm0,0x70(%rsp,%rbp,4)
movss  0x160(%rsp,%rbp,4),%xmm0
addss  0x40(%rsp,%rbp,4),%xmm0
movss  %xmm0,0x40(%rsp,%rbp,4)
mov    0x28(%rsp),%rbx
mov    0x30(%rsp),%r15
add    $0x1,%rbp
add    $0x28a4,%r14
cmp    %rbx,%rbp
je     1720 <main+0x5a0>
cmp    0x1f0(%rsp,%rbp,4),%r15d
jl     1644 <main+0x4c4>
cmp    0x1c0(%rsp,%rbp,4),%r15d
jg     1644 <main+0x4c4>
mov    0x8(%rsp),%r13
mov    %r14,%rbx
xor    %r15d,%r15d
jmp    169d <main+0x51d>
nopl   0x0(%rax)
add    $0x1,%r15
movslq 0x100(%rsp,%rbp,4),%rax
add    $0x33,%rbx
add    $0x33,%r13
cmp    %rax,%r15
jge    15f0 <main+0x470>
xorps  %xmm0,%xmm0
cvtsi2ss %r15d,%xmm0
movss  %xmm0,0x10(%rsp)
xor    %r12d,%r12d
jmp    16c1 <main+0x541>
add    $0x1,%r12
movslq 0x130(%rsp,%rbp,4),%rax
cmp    %rax,%r12
jge    1680 <main+0x500>
xorps  %xmm0,%xmm0
cvtsi2ss %r12d,%xmm0
addss  0x70(%rsp,%rbp,4),%xmm0
movss  0x40(%rsp,%rbp,4),%xmm1
addss  0x10(%rsp),%xmm1
call   1090 <_@plt>
test   %rax,%rax
je     16b0 <main+0x530>
movslq 0xa0(%rsp,%rbp,4),%rax
cvttss2si 0x40(%rsp,%rbp,4),%ecx
imul   $0xa29,%rax,%rax
cvttss2si 0x70(%rsp,%rbp,4),%edx
add    %rbx,%rax
movzbl (%r12,%rax,1),%eax
movslq %ecx,%rcx
imul   $0x33,%rcx,%rcx
movslq %edx,%rdx
add    %rcx,%rdx
add    %r13,%rdx
mov    %al,(%r12,%rdx,1)
jmp    16b0 <main+0x530>
xchg   %ax,%ax
mov    $0x1,%eax
sub    0x18(%rsp),%eax
mov    %rax,0x38(%rsp)
imul   $0x3fc,%rax,%rax
lea    (%rsp,%rax,1),%r14
add    $0x290,%r14
xor    %r12d,%r12d
xor    %r13d,%r13d
xor    %eax,%eax
xor    %r15d,%r15d
mov    0x8(%rsp),%rbx
jmp    177a <main+0x5fa>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x33,%r14
add    $0x33,%rbx
mov    0x18(%rsp),%rcx
mov    %rcx,%r12
cmp    $0x14,%rcx
je     18a0 <main+0x720>
lea    0x1(%r12),%rcx
mov    %rcx,0x18(%rsp)
xor    %ebp,%ebp
mov    %rbx,0x8(%rsp)
mov    %r14,0x10(%rsp)
jmp    17d8 <main+0x658>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x8(%rsp),%rbx
mov    0x10(%rsp),%r14
movsbl (%rbx,%rbp,1),%esi
add    $0x2,%r15d
lea    0x8f5(%rip),%rdi
mov    %r15d,%edx
mov    %ebp,%ecx
mov    %r12d,%r8d
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%r13d
mov    %r12d,%eax
add    $0x1,%rbp
cmp    $0x32,%rbp
je     1760 <main+0x5e0>
movzbl (%r14,%rbp,1),%ecx
cmp    (%rbx,%rbp,1),%cl
je     17ce <main+0x64e>
mov    %eax,%eax
cmp    %rax,%r12
je     1808 <main+0x688>
add    $0x4,%r15d
xor    %r13d,%r13d
lea    0x8ad(%rip),%rdi
mov    0x18(%rsp),%rsi
xor    %edx,%edx
mov    %r15d,%ecx
xor    %eax,%eax
call   1060 <printf@plt>
movslq %r13d,%r14
test   %rbp,%rbp
je     182c <main+0x6ac>
cmp    %r14,%rbp
jge    182c <main+0x6ac>
add    $0x4,%r15d
lea    0x889(%rip),%rdi
mov    %ebp,%esi
mov    %r15d,%edx
xor    %eax,%eax
call   1060 <printf@plt>
test   %rbp,%rbp
je     17a0 <main+0x620>
cmp    %r14,%rbp
jle    17a0 <main+0x620>
neg    %r13d
mov    %rbp,%rsi
add    %r13,%rsi
cmp    $0x2,%esi
mov    0x8(%rsp),%rbx
mov    0x10(%rsp),%r14
jl     1870 <main+0x6f0>
add    $0x3,%r15d
lea    0x849(%rip),%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   1060 <printf@plt>
jmp    17aa <main+0x62a>
lea    -0x1(,%r13,1),%rax
ff
add    %rbp,%rax
test   %eax,%eax
jne    17aa <main+0x62a>
add    $0x1,%r15d
mov    $0x20,%edi
call   1030 <putchar@plt>
jmp    17aa <main+0x62a>
cs nopw 0x0(%rax,%rax,1)
lea    0x771(%rip),%rbx
nopw   0x0(%rax,%rax,1)
add    $0x3,%r15d
mov    %rbx,%rdi
mov    %r15d,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1060 <printf@plt>
cmp    0x20(%rsp),%r15d
jl     18b0 <main+0x730>
mov    0x30(%rsp),%rcx
lea    0x1(%rcx),%eax
mov    0x38(%rsp),%rdx
cmp    0x24(%rsp),%ecx
mov    %eax,%r15d
mov    0x28(%rsp),%rbx
jl     13e0 <main+0x260>
lea    0x798(%rip),%rdi
call   1050 <puts@plt>
xor    %ecx,%ecx
test   %eax,%eax
sete   %cl
mov    %ecx,%eax
add    $0x17858,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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