int main(int argc, char *argv[]) {
  long total = 0;
  long count[100];
  int *known = (int *)calloc(100, sizeof(int));
  int i, j;
  recordStats(argv, known);
  for (i = 0; i < 100; ++i)
    count[i] = 0;
  int ships[5];
  int directions[5];
  int lengths[5] = {5, 4, 3, 3, 2};
  for (ships[0] = 0; ships[0] < 100; ++ships[0]) {
    for (directions[0] = 0; directions[0] < 2; ++directions[0]) {
      if (illegal(known, ships[0], directions[0], lengths[0]))
        continue;
      for (ships[1] = 0; ships[1] < 100; ++ships[1]) {
        for (directions[1] = 0; directions[1] < 2; ++directions[1]) {
          if (illegal(known, ships[1], directions[1], lengths[1]))
            continue;
          if (collision(ships[0], directions[0], lengths[0], ships[1],
                        directions[1], lengths[1]))
            continue;
          for (ships[2] = 0; ships[2] < 100; ++ships[2]) {
            for (directions[2] = 0; directions[2] < 2; ++directions[2]) {
              if (illegal(known, ships[2], directions[2], lengths[2]))
                continue;
              if (collision(ships[0], directions[0], lengths[0], ships[2],
                            directions[2], lengths[2]) ||
                  collision(ships[1], directions[1], lengths[0], ships[2],
                            directions[2], lengths[2]))
                continue;
              for (ships[3] = 0; ships[3] < 100; ++ships[3]) {
                for (directions[3] = 0; directions[3] < 2; ++directions[3]) {
                  if (illegal(known, ships[3], directions[3], lengths[3]))
                    continue;
                  if (collision(ships[0], directions[0], lengths[0], ships[3],
                                directions[3], lengths[3]) ||
                      collision(ships[1], directions[1], lengths[1], ships[3],
                                directions[3], lengths[3]) ||
                      collision(ships[2], directions[2], lengths[2], ships[3],
                                directions[3], lengths[3]))
                    continue;
                  for (ships[4] = 0; ships[4] < 100; ++ships[4]) {
                    for (directions[4] = 0; directions[4] < 2;
                         ++directions[4]) {
                      if (illegal(known, ships[4], directions[4], lengths[4]))
                        continue;
                      if (collision(ships[0], directions[0], lengths[0],
                                    ships[4], directions[4], lengths[4]) ||
                          collision(ships[1], directions[1], lengths[1],
                                    ships[4], directions[4], lengths[4]) ||
                          collision(ships[2], directions[2], lengths[2],
                                    ships[4], directions[4], lengths[4]) ||
                          collision(ships[3], directions[3], lengths[3],
                                    ships[4], directions[4], lengths[4]))
                        continue;
                      if (!requirements_met(known, 5, ships, directions,
                                            lengths)) {
                        continue;
                      }
                      increment(known, count, ships[4], directions[4],
                                lengths[4]);
                      increment(known, count, ships[3], directions[3],
                                lengths[3]);
                      increment(known, count, ships[2], directions[2],
                                lengths[2]);
                      increment(known, count, ships[1], directions[1],
                                lengths[1]);
                      increment(known, count, ships[0], directions[0],
                                lengths[0]);
                      ++total;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  free((void *)known);
  int max_index = 0;
  for (i = 1; i < 100; ++i) {
    if (count[i] > count[max_index]) {
      max_index = i;
    }
  }
  return max_index;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3c0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
mov    $0x64,%edi
mov    $0x4,%esi
call   1060 <calloc@plt>
mov    %rax,-0x348(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x348(%rbp),%rsi
mov    $0x0,%al
call   1070 <recordStats@plt>
movl   $0x0,-0x34c(%rbp)
cmpl   $0x64,-0x34c(%rbp)
jge    11f7 <main+0x87>
movslq -0x34c(%rbp),%rax
movq   $0x0,-0x340(%rbp,%rax,8)
mov    -0x34c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34c(%rbp)
jmp    11c3 <main+0x53>
mov    0xe02(%rip),%rax
mov    %rax,-0x3b0(%rbp)
mov    0xdfc(%rip),%rax
mov    %rax,-0x3a8(%rbp)
mov    0xdf7(%rip),%eax
mov    %eax,-0x3a0(%rbp)
movl   $0x0,-0x370(%rbp)
cmpl   $0x64,-0x370(%rbp)
jge    181a <main+0x6aa>
movl   $0x0,-0x390(%rbp)
cmpl   $0x2,-0x390(%rbp)
jge    1801 <main+0x691>
mov    -0x348(%rbp),%rdi
mov    -0x370(%rbp),%esi
mov    -0x390(%rbp),%edx
mov    -0x3b0(%rbp),%ecx
mov    $0x0,%al
call   1080 <illegal@plt>
cmp    $0x0,%eax
je     127b <main+0x10b>
jmp    17ed <main+0x67d>
movl   $0x0,-0x36c(%rbp)
cmpl   $0x64,-0x36c(%rbp)
jge    17e8 <main+0x678>
movl   $0x0,-0x38c(%rbp)
cmpl   $0x2,-0x38c(%rbp)
jge    17cf <main+0x65f>
mov    -0x348(%rbp),%rdi
mov    -0x36c(%rbp),%esi
mov    -0x38c(%rbp),%edx
mov    -0x3ac(%rbp),%ecx
mov    $0x0,%al
call   1080 <illegal@plt>
cmp    $0x0,%eax
je     12d7 <main+0x167>
jmp    17bb <main+0x64b>
mov    -0x370(%rbp),%edi
mov    -0x390(%rbp),%esi
mov    -0x3b0(%rbp),%edx
mov    -0x36c(%rbp),%ecx
mov    -0x38c(%rbp),%r8d
mov    -0x3ac(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
je     1312 <main+0x1a2>
jmp    17bb <main+0x64b>
movl   $0x0,-0x368(%rbp)
cmpl   $0x64,-0x368(%rbp)
jge    17b6 <main+0x646>
movl   $0x0,-0x388(%rbp)
cmpl   $0x2,-0x388(%rbp)
jge    179d <main+0x62d>
mov    -0x348(%rbp),%rdi
mov    -0x368(%rbp),%esi
mov    -0x388(%rbp),%edx
mov    -0x3a8(%rbp),%ecx
mov    $0x0,%al
call   1080 <illegal@plt>
cmp    $0x0,%eax
je     136e <main+0x1fe>
jmp    1789 <main+0x619>
mov    -0x370(%rbp),%edi
mov    -0x390(%rbp),%esi
mov    -0x3b0(%rbp),%edx
mov    -0x368(%rbp),%ecx
mov    -0x388(%rbp),%r8d
mov    -0x3a8(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
jne    13da <main+0x26a>
mov    -0x36c(%rbp),%edi
mov    -0x38c(%rbp),%esi
mov    -0x3b0(%rbp),%edx
mov    -0x368(%rbp),%ecx
mov    -0x388(%rbp),%r8d
mov    -0x3a8(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
je     13df <main+0x26f>
jmp    1789 <main+0x619>
movl   $0x0,-0x364(%rbp)
cmpl   $0x64,-0x364(%rbp)
jge    1784 <main+0x614>
movl   $0x0,-0x384(%rbp)
cmpl   $0x2,-0x384(%rbp)
jge    176b <main+0x5fb>
mov    -0x348(%rbp),%rdi
mov    -0x364(%rbp),%esi
mov    -0x384(%rbp),%edx
mov    -0x3a4(%rbp),%ecx
mov    $0x0,%al
call   1080 <illegal@plt>
cmp    $0x0,%eax
je     143b <main+0x2cb>
jmp    1757 <main+0x5e7>
mov    -0x370(%rbp),%edi
mov    -0x390(%rbp),%esi
mov    -0x3b0(%rbp),%edx
mov    -0x364(%rbp),%ecx
mov    -0x384(%rbp),%r8d
mov    -0x3a4(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
jne    14dd <main+0x36d>
mov    -0x36c(%rbp),%edi
mov    -0x38c(%rbp),%esi
mov    -0x3ac(%rbp),%edx
mov    -0x364(%rbp),%ecx
mov    -0x384(%rbp),%r8d
mov    -0x3a4(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
jne    14dd <main+0x36d>
mov    -0x368(%rbp),%edi
mov    -0x388(%rbp),%esi
mov    -0x3a8(%rbp),%edx
mov    -0x364(%rbp),%ecx
mov    -0x384(%rbp),%r8d
mov    -0x3a4(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
je     14e2 <main+0x372>
jmp    1757 <main+0x5e7>
movl   $0x0,-0x360(%rbp)
cmpl   $0x64,-0x360(%rbp)
jge    1752 <main+0x5e2>
movl   $0x0,-0x380(%rbp)
cmpl   $0x2,-0x380(%rbp)
jge    1739 <main+0x5c9>
mov    -0x348(%rbp),%rdi
mov    -0x360(%rbp),%esi
mov    -0x380(%rbp),%edx
mov    -0x3a0(%rbp),%ecx
mov    $0x0,%al
call   1080 <illegal@plt>
cmp    $0x0,%eax
je     153e <main+0x3ce>
jmp    1725 <main+0x5b5>
mov    -0x370(%rbp),%edi
mov    -0x390(%rbp),%esi
mov    -0x3b0(%rbp),%edx
mov    -0x360(%rbp),%ecx
mov    -0x380(%rbp),%r8d
mov    -0x3a0(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
jne    1616 <main+0x4a6>
mov    -0x36c(%rbp),%edi
mov    -0x38c(%rbp),%esi
mov    -0x3ac(%rbp),%edx
mov    -0x360(%rbp),%ecx
mov    -0x380(%rbp),%r8d
mov    -0x3a0(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
jne    1616 <main+0x4a6>
mov    -0x368(%rbp),%edi
mov    -0x388(%rbp),%esi
mov    -0x3a8(%rbp),%edx
mov    -0x360(%rbp),%ecx
mov    -0x380(%rbp),%r8d
mov    -0x3a0(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
jne    1616 <main+0x4a6>
mov    -0x364(%rbp),%edi
mov    -0x384(%rbp),%esi
mov    -0x3a4(%rbp),%edx
mov    -0x360(%rbp),%ecx
mov    -0x380(%rbp),%r8d
mov    -0x3a0(%rbp),%r9d
mov    $0x0,%al
call   1050 <collision@plt>
cmp    $0x0,%eax
je     161b <main+0x4ab>
jmp    1725 <main+0x5b5>
mov    -0x348(%rbp),%rdi
lea    -0x370(%rbp),%rdx
lea    -0x390(%rbp),%rcx
lea    -0x3b0(%rbp),%r8
mov    $0x5,%esi
mov    $0x0,%al
call   1090 <requirements_met@plt>
cmp    $0x0,%eax
jne    1651 <main+0x4e1>
jmp    1725 <main+0x5b5>
mov    -0x348(%rbp),%rdi
lea    -0x340(%rbp),%rsi
mov    -0x360(%rbp),%edx
mov    -0x380(%rbp),%ecx
mov    -0x3a0(%rbp),%r8d
mov    $0x0,%al
call   1040 <increment@plt>
mov    -0x348(%rbp),%rdi
lea    -0x340(%rbp),%rsi
mov    -0x364(%rbp),%edx
mov    -0x384(%rbp),%ecx
mov    -0x3a4(%rbp),%r8d
mov    $0x0,%al
call   1040 <increment@plt>
mov    -0x348(%rbp),%rdi
lea    -0x340(%rbp),%rsi
mov    -0x368(%rbp),%edx
mov    -0x388(%rbp),%ecx
mov    -0x3a8(%rbp),%r8d
mov    $0x0,%al
call   1040 <increment@plt>
mov    -0x348(%rbp),%rdi
lea    -0x340(%rbp),%rsi
mov    -0x36c(%rbp),%edx
mov    -0x38c(%rbp),%ecx
mov    -0x3ac(%rbp),%r8d
mov    $0x0,%al
call   1040 <increment@plt>
mov    -0x348(%rbp),%rdi
lea    -0x340(%rbp),%rsi
mov    -0x370(%rbp),%edx
mov    -0x390(%rbp),%ecx
mov    -0x3b0(%rbp),%r8d
mov    $0x0,%al
call   1040 <increment@plt>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
mov    -0x380(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x380(%rbp)
jmp    1503 <main+0x393>
jmp    173e <main+0x5ce>
mov    -0x360(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x360(%rbp)
jmp    14ec <main+0x37c>
jmp    1757 <main+0x5e7>
mov    -0x384(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x384(%rbp)
jmp    1400 <main+0x290>
jmp    1770 <main+0x600>
mov    -0x364(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x364(%rbp)
jmp    13e9 <main+0x279>
jmp    1789 <main+0x619>
mov    -0x388(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x388(%rbp)
jmp    1333 <main+0x1c3>
jmp    17a2 <main+0x632>
mov    -0x368(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x368(%rbp)
jmp    131c <main+0x1ac>
jmp    17bb <main+0x64b>
mov    -0x38c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38c(%rbp)
jmp    129c <main+0x12c>
jmp    17d4 <main+0x664>
mov    -0x36c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x36c(%rbp)
jmp    1285 <main+0x115>
jmp    17ed <main+0x67d>
mov    -0x390(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x390(%rbp)
jmp    1240 <main+0xd0>
jmp    1806 <main+0x696>
mov    -0x370(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x370(%rbp)
jmp    1229 <main+0xb9>
mov    -0x348(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x3b4(%rbp)
movl   $0x1,-0x34c(%rbp)
cmpl   $0x64,-0x34c(%rbp)
jge    1890 <main+0x720>
movslq -0x34c(%rbp),%rax
mov    -0x340(%rbp,%rax,8),%rax
ff
movslq -0x3b4(%rbp),%rcx
cmp    -0x340(%rbp,%rcx,8),%rax
ff
jle    1877 <main+0x707>
mov    -0x34c(%rbp),%eax
mov    %eax,-0x3b4(%rbp)
jmp    187c <main+0x70c>
mov    -0x34c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34c(%rbp)
jmp    183a <main+0x6ca>
mov    -0x3b4(%rbp),%eax
add    $0x3c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x380,%rsp
mov    %rsi,%r14
mov    $0x64,%edi
mov    $0x4,%esi
call   1070 <calloc@plt>
mov    %rax,%rbx
mov    %r14,%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1080 <recordStats@plt>
lea    0x60(%rsp),%r14
mov    $0x320,%edx
mov    %r14,%rdi
xor    %esi,%esi
call   1060 <memset@plt>
mov    0xe44(%rip),%eax
mov    %eax,0x50(%rsp)
movaps 0xe29(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movl   $0x0,0x20(%rsp)
lea    0x20(%rsp),%r15
mov    %rsp,%r12
lea    0x40(%rsp),%r13
xor    %esi,%esi
jmp    1212 <main+0x92>
cs nopw 0x0(%rax,%rax,1)
nop
lea    0x1(%rsi),%eax
mov    %eax,0x20(%rsp)
cmp    $0x63,%esi
mov    %eax,%esi
jge    15c6 <main+0x446>
movl   $0x0,(%rsp)
xor    %edx,%edx
jmp    1231 <main+0xb1>
nopl   (%rax)
mov    (%rsp),%eax
lea    0x1(%rax),%edx
mov    %edx,(%rsp)
mov    0x20(%rsp),%esi
test   %eax,%eax
jg     1200 <main+0x80>
mov    0x40(%rsp),%ecx
mov    %rbx,%rdi
xor    %eax,%eax
call   1090 <illegal@plt>
test   %eax,%eax
jne    1220 <main+0xa0>
movl   $0x0,0x24(%rsp)
xor    %esi,%esi
jmp    125e <main+0xde>
nop
lea    0x1(%rsi),%eax
mov    %eax,0x24(%rsp)
cmp    $0x63,%esi
mov    %eax,%esi
jge    1220 <main+0xa0>
movl   $0x0,0x4(%rsp)
xor    %edx,%edx
jmp    1283 <main+0x103>
nopw   0x0(%rax,%rax,1)
mov    0x4(%rsp),%eax
lea    0x1(%rax),%edx
mov    %edx,0x4(%rsp)
mov    0x24(%rsp),%esi
test   %eax,%eax
jg     1250 <main+0xd0>
mov    0x44(%rsp),%ecx
mov    %rbx,%rdi
xor    %eax,%eax
call   1090 <illegal@plt>
test   %eax,%eax
jne    1270 <main+0xf0>
mov    0x20(%rsp),%edi
mov    0x24(%rsp),%ecx
mov    (%rsp),%esi
mov    0x4(%rsp),%r8d
mov    0x40(%rsp),%edx
mov    0x44(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1270 <main+0xf0>
movl   $0x0,0x28(%rsp)
xor    %esi,%esi
jmp    12de <main+0x15e>
cs nopw 0x0(%rax,%rax,1)
nop
lea    0x1(%rsi),%eax
mov    %eax,0x28(%rsp)
cmp    $0x63,%esi
mov    %eax,%esi
jge    1270 <main+0xf0>
movl   $0x0,0x8(%rsp)
xor    %edx,%edx
jmp    1303 <main+0x183>
nopw   0x0(%rax,%rax,1)
mov    0x8(%rsp),%eax
lea    0x1(%rax),%edx
mov    %edx,0x8(%rsp)
mov    0x28(%rsp),%esi
test   %eax,%eax
jg     12d0 <main+0x150>
mov    0x48(%rsp),%ecx
mov    %rbx,%rdi
xor    %eax,%eax
call   1090 <illegal@plt>
test   %eax,%eax
jne    12f0 <main+0x170>
mov    0x20(%rsp),%edi
mov    0x28(%rsp),%ecx
mov    (%rsp),%esi
mov    0x8(%rsp),%r8d
mov    0x40(%rsp),%edx
mov    0x48(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    12f0 <main+0x170>
mov    0x24(%rsp),%edi
mov    0x28(%rsp),%ecx
mov    0x4(%rsp),%esi
mov    0x8(%rsp),%r8d
mov    0x40(%rsp),%edx
mov    0x48(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    12f0 <main+0x170>
movl   $0x0,0x2c(%rsp)
xor    %esi,%esi
jmp    1382 <main+0x202>
nopw   0x0(%rax,%rax,1)
lea    0x1(%rsi),%eax
mov    %eax,0x2c(%rsp)
cmp    $0x63,%esi
mov    %eax,%esi
jge    12f0 <main+0x170>
movl   $0x0,0xc(%rsp)
xor    %edx,%edx
jmp    13a3 <main+0x223>
xchg   %ax,%ax
mov    0xc(%rsp),%eax
lea    0x1(%rax),%edx
mov    %edx,0xc(%rsp)
mov    0x2c(%rsp),%esi
test   %eax,%eax
jg     1370 <main+0x1f0>
mov    0x4c(%rsp),%ecx
mov    %rbx,%rdi
xor    %eax,%eax
call   1090 <illegal@plt>
test   %eax,%eax
jne    1390 <main+0x210>
mov    0x20(%rsp),%edi
mov    0x2c(%rsp),%ecx
mov    (%rsp),%esi
mov    0xc(%rsp),%r8d
mov    0x40(%rsp),%edx
mov    0x4c(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1390 <main+0x210>
mov    0x24(%rsp),%edi
mov    0x2c(%rsp),%ecx
mov    0x4(%rsp),%esi
mov    0xc(%rsp),%r8d
mov    0x44(%rsp),%edx
mov    0x4c(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1390 <main+0x210>
mov    0x28(%rsp),%edi
mov    0x2c(%rsp),%ecx
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%r8d
mov    0x48(%rsp),%edx
mov    0x4c(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1390 <main+0x210>
movl   $0x0,0x30(%rsp)
xor    %esi,%esi
jmp    1452 <main+0x2d2>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x1(%rsi),%eax
mov    %eax,0x30(%rsp)
cmp    $0x63,%esi
mov    %eax,%esi
jge    1390 <main+0x210>
movl   $0x0,0x10(%rsp)
xor    %edx,%edx
jmp    1473 <main+0x2f3>
xchg   %ax,%ax
mov    0x10(%rsp),%eax
lea    0x1(%rax),%edx
mov    %edx,0x10(%rsp)
mov    0x30(%rsp),%esi
test   %eax,%eax
jg     1440 <main+0x2c0>
mov    0x50(%rsp),%ecx
mov    %rbx,%rdi
xor    %eax,%eax
call   1090 <illegal@plt>
test   %eax,%eax
jne    1460 <main+0x2e0>
mov    0x20(%rsp),%edi
mov    0x30(%rsp),%ecx
mov    (%rsp),%esi
mov    0x10(%rsp),%r8d
mov    0x40(%rsp),%edx
mov    0x50(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1460 <main+0x2e0>
mov    0x24(%rsp),%edi
mov    0x30(%rsp),%ecx
mov    0x4(%rsp),%esi
mov    0x10(%rsp),%r8d
mov    0x44(%rsp),%edx
mov    0x50(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1460 <main+0x2e0>
mov    0x28(%rsp),%edi
mov    0x30(%rsp),%ecx
mov    0x8(%rsp),%esi
mov    0x10(%rsp),%r8d
mov    0x48(%rsp),%edx
mov    0x50(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1460 <main+0x2e0>
mov    0x2c(%rsp),%edi
mov    0x30(%rsp),%ecx
mov    0xc(%rsp),%esi
mov    0x10(%rsp),%r8d
mov    0x4c(%rsp),%edx
mov    0x50(%rsp),%r9d
xor    %eax,%eax
call   1050 <collision@plt>
test   %eax,%eax
jne    1460 <main+0x2e0>
mov    %rbx,%rdi
mov    $0x5,%esi
mov    %r15,%rdx
mov    %r12,%rcx
mov    %r13,%r8
xor    %eax,%eax
call   10a0 <requirements_met@plt>
test   %eax,%eax
je     1460 <main+0x2e0>
mov    0x30(%rsp),%edx
mov    0x10(%rsp),%ecx
mov    0x50(%rsp),%r8d
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <increment@plt>
mov    0x2c(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x4c(%rsp),%r8d
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <increment@plt>
mov    0x28(%rsp),%edx
mov    0x8(%rsp),%ecx
mov    0x48(%rsp),%r8d
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <increment@plt>
mov    0x24(%rsp),%edx
mov    0x4(%rsp),%ecx
mov    0x44(%rsp),%r8d
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <increment@plt>
mov    0x20(%rsp),%edx
mov    (%rsp),%ecx
mov    0x40(%rsp),%r8d
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <increment@plt>
jmp    1460 <main+0x2e0>
mov    %rbx,%rdi
call   1030 <free@plt>
xor    %eax,%eax
mov    $0x1,%ecx
jmp    15ec <main+0x46c>
nopw   0x0(%rax,%rax,1)
mov    %edx,%eax
add    $0x3,%rcx
cmp    $0x64,%rcx
je     1625 <main+0x4a5>
movslq %eax,%rsi
mov    0x60(%rsp,%rcx,8),%rdi
mov    %ecx,%edx
cmp    0x60(%rsp,%rsi,8),%rdi
jg     15ff <main+0x47f>
mov    %eax,%edx
mov    0x68(%rsp,%rcx,8),%rax
movslq %edx,%rsi
cmp    0x60(%rsp,%rsi,8),%rax
jle    1611 <main+0x491>
lea    0x1(%rcx),%edx
mov    0x70(%rsp,%rcx,8),%rax
movslq %edx,%rsi
cmp    0x60(%rsp,%rsi,8),%rax
jle    15e0 <main+0x460>
lea    0x2(%rcx),%eax
jmp    15e2 <main+0x462>
add    $0x380,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

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

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