char Chk(unsigned long A, unsigned long B) {
  unsigned long C, D, C2, D2;
  int Cnt;
  unsigned char Rtn, A1[5], B1[5], C1[5], D1[5];
  char LInt_Div(unsigned char *, unsigned char *, unsigned char *,
                unsigned char *);
  C = A / B;
  D = A % B;
  A1[0] = (char)4;
  B1[0] = (char)4;
  A1[1] = (char)(A % 256);
  B1[1] = (char)(B % 256);
  A1[2] = (char)((A / 256) % 256);
  B1[2] = (char)((B / 256) % 256);
  A1[3] = (char)((A / 65536) % 256);
  B1[3] = (char)((B / 65536) % 256);
  A1[4] = (char)(A / 16777216);
  B1[4] = (char)(B / 16777216);
  LInt_Div(A1, B1, C1, D1);
  if ((int)C1[0] > 0) {
    C2 = (long)C1[1];
    if (C1[0] > (char)1)
      C2 += (unsigned long)C1[2] * 256;
    if (C1[0] > (char)2)
      C2 += (unsigned long)C1[3] * 65536;
    if (C1[0] > (char)3)
      C2 += (unsigned long)C1[4] * 16777216;
  } else
    C2 = 0;
  if ((int)D1[0] > 0) {
    D2 = (long)D1[1];
    if (D1[0] > (char)1)
      D2 += (unsigned long)D1[2] * 256;
    if (D1[0] > (char)2)
      D2 += (unsigned long)D1[3] * 65536;
    if (D1[0] > (char)3)
      D2 += (unsigned long)D1[4] * 16777216;
  } else
    D2 = 0;
  if (C != C2 || D != D2) {
    printf("\nWarning! %2d%04d%04d /", (int)(A / 100000000),
           (int)(A / 10000 % 10000), (int)(A % 10000));
    printf(" %2d%04d%04d =", (int)(B / 100000000), (int)(B / 10000 % 10000),
           (int)(B % 10000));
    printf(" %2d%04d%04d ..", (int)(C / 100000000), (int)(C / 10000 % 10000),
           (int)(C % 10000));
    printf(" %2d%04d%04d but", (int)(D / 100000000), (int)(D / 10000 % 10000),
           (int)(D % 10000));
    printf(" %2d%04d%04d ..", (int)(C2 / 100000000), (int)(C2 / 10000 % 10000),
           (int)(C2 % 10000));
    printf(" %2d%04d%04d\n", (int)(D2 / 100000000), (int)(D2 / 10000 % 10000),
           (int)(D2 % 10000));
  }
  for (Cnt = (int)A1[0]; Cnt != 0 && A1[Cnt] == (char)0; Cnt--)
    ;
  A1[0] = (char)Cnt;
  for (Cnt = (int)B1[0]; Cnt != 0 && B1[Cnt] == (char)0; Cnt--)
    ;
  B1[0] = (char)Cnt;
  LInt_Div(A1, B1, C1, D1);
  if ((int)C1[0] > 0) {
    C2 = (long)C1[1];
    if (C1[0] > (char)1)
      C2 += (unsigned long)C1[2] * 256;
    if (C1[0] > (char)2)
      C2 += (unsigned long)C1[3] * 65536;
    if (C1[0] > (char)3)
      C2 += (unsigned long)C1[4] * 16777216;
  } else
    C2 = 0;
  if ((int)D1[0] > 0) {
    D2 = (long)D1[1];
    if (D1[0] > (char)1)
      D2 += (unsigned long)D1[2] * 256;
    if (D1[0] > (char)2)
      D2 += (unsigned long)D1[3] * 65536;
    if (D1[0] > (char)3)
      D2 += (unsigned long)D1[4] * 16777216;
  } else
    D2 = 0;
  if (C != C2 || D != D2) {
    printf("\nError! %2d%04d%04d /", (int)(A / 100000000),
           (int)(A / 10000 % 10000), (int)(A % 10000));
    printf(" %2d%04d%04d =", (int)(B / 100000000), (int)(B / 10000 % 10000),
           (int)(B % 10000));
    printf(" %2d%04d%04d ..", (int)(C / 100000000), (int)(C / 10000 % 10000),
           (int)(C % 10000));
    printf(" %2d%04d%04d but", (int)(D / 100000000), (int)(D / 10000 % 10000),
           (int)(D % 10000));
    printf(" %2d%04d%04d ..", (int)(C2 / 100000000), (int)(C2 / 10000 % 10000),
           (int)(C2 % 10000));
    printf(" %2d%04d%04d\n", (int)(D2 / 100000000), (int)(D2 / 10000 % 10000),
           (int)(D2 % 10000));
    return (char)1;
  }
  return (char)0;
}


x86 assembly (clang, -O0):
<Chk>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rax
xor    %ecx,%ecx
mov    %ecx,%edx
divq   -0x18(%rbp)
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
xor    %ecx,%ecx
mov    %ecx,%edx
divq   -0x18(%rbp)
mov    %rdx,-0x28(%rbp)
movb   $0x4,-0x42(%rbp)
movb   $0x4,-0x47(%rbp)
mov    -0x10(%rbp),%rax
and    $0xff,%rax
mov    %al,-0x41(%rbp)
mov    -0x18(%rbp),%rax
and    $0xff,%rax
mov    %al,-0x46(%rbp)
mov    -0x10(%rbp),%rax
shr    $0x8,%rax
and    $0xff,%rax
mov    %al,-0x40(%rbp)
mov    -0x18(%rbp),%rax
shr    $0x8,%rax
and    $0xff,%rax
mov    %al,-0x45(%rbp)
mov    -0x10(%rbp),%rax
shr    $0x10,%rax
and    $0xff,%rax
mov    %al,-0x3f(%rbp)
mov    -0x18(%rbp),%rax
shr    $0x10,%rax
and    $0xff,%rax
mov    %al,-0x44(%rbp)
mov    -0x10(%rbp),%rax
shr    $0x18,%rax
mov    %al,-0x3e(%rbp)
mov    -0x18(%rbp),%rax
shr    $0x18,%rax
mov    %al,-0x43(%rbp)
lea    -0x42(%rbp),%rdi
lea    -0x47(%rbp),%rsi
lea    -0x4c(%rbp),%rdx
lea    -0x51(%rbp),%rcx
call   1040 <LInt_Div@plt>
movzbl -0x4c(%rbp),%eax
cmp    $0x0,%eax
jle    1255 <Chk+0x135>
movzbl -0x4b(%rbp),%eax
mov    %rax,-0x30(%rbp)
movzbl -0x4c(%rbp),%eax
cmp    $0x1,%eax
jle    1216 <Chk+0xf6>
movzbl -0x4a(%rbp),%eax
shl    $0x8,%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
movzbl -0x4c(%rbp),%eax
cmp    $0x2,%eax
jle    1233 <Chk+0x113>
movzbl -0x49(%rbp),%eax
shl    $0x10,%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
movzbl -0x4c(%rbp),%eax
cmp    $0x3,%eax
jle    1250 <Chk+0x130>
movzbl -0x48(%rbp),%eax
shl    $0x18,%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
jmp    125d <Chk+0x13d>
movq   $0x0,-0x30(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x0,%eax
jle    12ce <Chk+0x1ae>
movzbl -0x50(%rbp),%eax
mov    %rax,-0x38(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x1,%eax
jle    128f <Chk+0x16f>
movzbl -0x4f(%rbp),%eax
shl    $0x8,%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x2,%eax
jle    12ac <Chk+0x18c>
movzbl -0x4e(%rbp),%eax
shl    $0x10,%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x3,%eax
jle    12c9 <Chk+0x1a9>
movzbl -0x4d(%rbp),%eax
shl    $0x18,%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
jmp    12d6 <Chk+0x1b6>
movq   $0x0,-0x38(%rbp)
mov    -0x20(%rbp),%rax
cmp    -0x30(%rbp),%rax
jne    12f2 <Chk+0x1d2>
mov    -0x28(%rbp),%rax
cmp    -0x38(%rbp),%rax
je     14d8 <Chk+0x3b8>
mov    -0x10(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x10(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x6c(%rbp)
mov    -0x10(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x6c(%rbp),%edx
mov    %eax,%ecx
lea    0xcc4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x18(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x68(%rbp)
mov    -0x18(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x68(%rbp),%edx
mov    %eax,%ecx
lea    0xc8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x20(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x64(%rbp)
mov    -0x20(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x64(%rbp),%edx
mov    %eax,%ecx
lea    0xc49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x28(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x60(%rbp)
mov    -0x28(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x60(%rbp),%edx
mov    %eax,%ecx
lea    0xc08(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x30(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x30(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x5c(%rbp),%edx
mov    %eax,%ecx
lea    0xba7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x38(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x58(%rbp)
mov    -0x38(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x58(%rbp),%edx
mov    %eax,%ecx
lea    0xb77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movzbl -0x42(%rbp),%eax
mov    %eax,-0x3c(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x3c(%rbp)
mov    %al,-0x6d(%rbp)
je     1500 <Chk+0x3e0>
movslq -0x3c(%rbp),%rax
movzbl -0x42(%rbp,%rax,1),%eax
cmp    $0x0,%eax
sete   %al
mov    %al,-0x6d(%rbp)
mov    -0x6d(%rbp),%al
test   $0x1,%al
jne    1510 <Chk+0x3f0>
jmp    1523 <Chk+0x403>
jmp    1515 <Chk+0x3f5>
mov    -0x3c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x3c(%rbp)
jmp    14df <Chk+0x3bf>
mov    -0x3c(%rbp),%eax
mov    %al,-0x42(%rbp)
movzbl -0x47(%rbp),%eax
mov    %eax,-0x3c(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x3c(%rbp)
mov    %al,-0x6e(%rbp)
je     1551 <Chk+0x431>
movslq -0x3c(%rbp),%rax
movzbl -0x47(%rbp,%rax,1),%eax
cmp    $0x0,%eax
sete   %al
mov    %al,-0x6e(%rbp)
mov    -0x6e(%rbp),%al
test   $0x1,%al
jne    1561 <Chk+0x441>
jmp    1574 <Chk+0x454>
jmp    1566 <Chk+0x446>
mov    -0x3c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x3c(%rbp)
jmp    1530 <Chk+0x410>
mov    -0x3c(%rbp),%eax
mov    %al,-0x47(%rbp)
lea    -0x42(%rbp),%rdi
lea    -0x47(%rbp),%rsi
lea    -0x4c(%rbp),%rdx
lea    -0x51(%rbp),%rcx
call   1040 <LInt_Div@plt>
movzbl -0x4c(%rbp),%eax
cmp    $0x0,%eax
jle    1600 <Chk+0x4e0>
movzbl -0x4b(%rbp),%eax
mov    %rax,-0x30(%rbp)
movzbl -0x4c(%rbp),%eax
cmp    $0x1,%eax
jle    15c1 <Chk+0x4a1>
movzbl -0x4a(%rbp),%eax
shl    $0x8,%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
movzbl -0x4c(%rbp),%eax
cmp    $0x2,%eax
jle    15de <Chk+0x4be>
movzbl -0x49(%rbp),%eax
shl    $0x10,%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
movzbl -0x4c(%rbp),%eax
cmp    $0x3,%eax
jle    15fb <Chk+0x4db>
movzbl -0x48(%rbp),%eax
shl    $0x18,%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
jmp    1608 <Chk+0x4e8>
movq   $0x0,-0x30(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x0,%eax
jle    1679 <Chk+0x559>
movzbl -0x50(%rbp),%eax
mov    %rax,-0x38(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x1,%eax
jle    163a <Chk+0x51a>
movzbl -0x4f(%rbp),%eax
shl    $0x8,%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x2,%eax
jle    1657 <Chk+0x537>
movzbl -0x4e(%rbp),%eax
shl    $0x10,%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x3,%eax
jle    1674 <Chk+0x554>
movzbl -0x4d(%rbp),%eax
shl    $0x18,%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
jmp    1681 <Chk+0x561>
movq   $0x0,-0x38(%rbp)
mov    -0x20(%rbp),%rax
cmp    -0x30(%rbp),%rax
jne    169d <Chk+0x57d>
mov    -0x28(%rbp),%rax
cmp    -0x38(%rbp),%rax
je     1898 <Chk+0x778>
mov    -0x10(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x10(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x88(%rbp)
mov    -0x10(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x88(%rbp),%edx
mov    %eax,%ecx
lea    0x969(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x18(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x18(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x84(%rbp),%edx
mov    %eax,%ecx
lea    0x8d4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x20(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x80(%rbp)
mov    -0x20(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x80(%rbp),%edx
mov    %eax,%ecx
lea    0x892(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x28(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x7c(%rbp)
mov    -0x28(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x7c(%rbp),%edx
mov    %eax,%ecx
lea    0x851(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x30(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x78(%rbp)
mov    -0x30(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x78(%rbp),%edx
mov    %eax,%ecx
lea    0x7f0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%rax
mov    $0x5f5e100,%ecx
xor    %edx,%edx
div    %rcx
mov    %eax,%esi
mov    -0x38(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %edx,%eax
mov    %eax,-0x74(%rbp)
mov    -0x38(%rbp),%rax
mov    $0x2710,%ecx
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
mov    -0x74(%rbp),%edx
mov    %eax,%ecx
lea    0x7c0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movb   $0x1,-0x1(%rbp)
jmp    189c <Chk+0x77c>
movb   $0x0,-0x1(%rbp)
movsbl -0x1(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Chk>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%rcx
mov    %rdi,%rbx
mov    %rdi,%rax
or     %rsi,%rax
shr    $0x20,%rax
je     1152 <Chk+0x32>
mov    %rbx,%rax
xor    %edx,%edx
div    %rcx
mov    %rdx,0x18(%rsp)
mov    %rax,%r15
jmp    1160 <Chk+0x40>
mov    %ebx,%eax
xor    %edx,%edx
div    %ecx
mov    %rdx,0x18(%rsp)
mov    %eax,%r15d
movb   $0x4,0x13(%rsp)
movb   $0x4,0xe(%rsp)
mov    %bl,0x14(%rsp)
mov    %cl,0xf(%rsp)
mov    %bh,0x15(%rsp)
mov    %ch,0x10(%rsp)
mov    %rbx,%rax
shr    $0x10,%rax
mov    %al,0x16(%rsp)
mov    %rcx,%rax
shr    $0x10,%rax
mov    %al,0x11(%rsp)
mov    %rbx,%rax
shr    $0x18,%rax
mov    %al,0x17(%rsp)
mov    %rcx,0x30(%rsp)
mov    %rcx,%rax
shr    $0x18,%rax
mov    %al,0x12(%rsp)
lea    0x13(%rsp),%rdi
lea    0xe(%rsp),%rsi
lea    0x9(%rsp),%rdx
lea    0x4(%rsp),%rcx
call   1040 <LInt_Div@plt>
mov    0x9(%rsp),%al
test   %al,%al
je     120a <Chk+0xea>
movzbl 0xa(%rsp),%ecx
movzbl 0xb(%rsp),%edx
shl    $0x8,%rdx
xor    %esi,%esi
cmp    $0x1,%al
cmove  %rsi,%rdx
or     %rcx,%rdx
movzbl 0xc(%rsp),%r12d
shl    $0x10,%r12
cmp    $0x3,%al
cmovb  %rsi,%r12
or     %rdx,%r12
cmp    $0x4,%al
jb     120d <Chk+0xed>
movzbl 0xd(%rsp),%eax
shl    $0x18,%rax
or     %rax,%r12
jmp    120d <Chk+0xed>
xor    %r12d,%r12d
mov    0x4(%rsp),%al
test   %al,%al
je     1257 <Chk+0x137>
movzbl 0x5(%rsp),%ecx
movzbl 0x6(%rsp),%edx
shl    $0x8,%rdx
xor    %esi,%esi
cmp    $0x1,%al
cmove  %rsi,%rdx
or     %rcx,%rdx
movzbl 0x7(%rsp),%ebp
shl    $0x10,%rbp
cmp    $0x3,%al
cmovb  %rsi,%rbp
or     %rdx,%rbp
cmp    $0x4,%al
jb     1250 <Chk+0x130>
movzbl 0x8(%rsp),%eax
shl    $0x18,%rax
or     %rax,%rbp
cmp    %r12,%r15
je     125e <Chk+0x13e>
jmp    1269 <Chk+0x149>
xor    %ebp,%ebp
cmp    %r12,%r15
jne    1269 <Chk+0x149>
cmp    %rbp,0x18(%rsp)
je     1451 <Chk+0x331>
movabs $0xabcc77118461cefd,%rcx
77 cc ab
mov    %rbx,%rax
mul    %rcx
mov    %r15,0x20(%rsp)
mov    %rcx,%r15
mov    %rdx,%rsi
shr    $0x1a,%rsi
movabs $0x346dc5d63886594b,%r13
c5 6d 34
mov    %rbx,%rax
mul    %r13
mov    0x18(%rsp),%r14
mov    %rbx,0x28(%rsp)
mov    %rdx,%rbx
shr    $0xb,%rbx
mov    %rbx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ebx,%edx
sub    %eax,%ebx
mov    0x28(%rsp),%rax
mov    %eax,%ecx
sub    %edx,%ecx
lea    0xd2f(%rip),%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x30(%rsp),%rcx
mov    %rcx,%rax
mul    %r15
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %rcx,%rax
mul    %r13
mov    %rdx,%rbx
shr    $0xb,%rbx
mov    %rbx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ebx,%edx
sub    %eax,%ebx
sub    %edx,%ecx
lea    0xcfe(%rip),%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x20(%rsp),%rax
mul    %r15
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    0x20(%rsp),%rax
mul    %r13
mov    %rdx,%rbx
shr    $0xb,%rbx
mov    %rbx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ebx,%edx
sub    %eax,%ebx
mov    0x20(%rsp),%rax
mov    %eax,%ecx
sub    %edx,%ecx
lea    0xcbe(%rip),%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r14,%rax
mul    %r15
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %r14,%rax
mul    %r13
mov    %rdx,%rbx
shr    $0xb,%rbx
mov    %rbx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ebx,%edx
sub    %eax,%ebx
mov    %r14d,%ecx
sub    %edx,%ecx
lea    0xc87(%rip),%rdi
mov    %ebx,%edx
mov    0x28(%rsp),%rbx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rax
mul    %r15
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %r12,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%r12d
lea    0xc2d(%rip),%rdi
mov    %ecx,%edx
mov    %r12d,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbp,%rax
mul    %r15
mov    0x20(%rsp),%r15
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %rbp,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%ebp
lea    0xc02(%rip),%rdi
mov    %ecx,%edx
mov    %ebp,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
movzbl 0x13(%rsp),%eax
test   %rax,%rax
je     146d <Chk+0x34d>
nopl   0x0(%rax,%rax,1)
cmpb   $0x0,0x13(%rsp,%rax,1)
jne    146f <Chk+0x34f>
add    $0xffffffffffffffff,%rax
jne    1460 <Chk+0x340>
xor    %eax,%eax
mov    %al,0x13(%rsp)
movzbl 0xe(%rsp),%eax
test   %rax,%rax
je     148d <Chk+0x36d>
nopl   (%rax)
cmpb   $0x0,0xe(%rsp,%rax,1)
jne    148f <Chk+0x36f>
add    $0xffffffffffffffff,%rax
jne    1480 <Chk+0x360>
xor    %eax,%eax
mov    %al,0xe(%rsp)
lea    0x13(%rsp),%rdi
lea    0xe(%rsp),%rsi
lea    0x9(%rsp),%rdx
lea    0x4(%rsp),%rcx
call   1040 <LInt_Div@plt>
mov    0x9(%rsp),%al
test   %al,%al
je     14f2 <Chk+0x3d2>
movzbl 0xa(%rsp),%ecx
movzbl 0xb(%rsp),%edx
shl    $0x8,%rdx
xor    %esi,%esi
cmp    $0x1,%al
cmove  %rsi,%rdx
or     %rcx,%rdx
movzbl 0xc(%rsp),%r12d
shl    $0x10,%r12
cmp    $0x3,%al
cmovb  %rsi,%r12
or     %rdx,%r12
cmp    $0x4,%al
jb     14f5 <Chk+0x3d5>
movzbl 0xd(%rsp),%eax
shl    $0x18,%rax
or     %rax,%r12
jmp    14f5 <Chk+0x3d5>
xor    %r12d,%r12d
mov    0x4(%rsp),%al
test   %al,%al
je     1540 <Chk+0x420>
movzbl 0x5(%rsp),%ecx
movzbl 0x6(%rsp),%edx
shl    $0x8,%rdx
xor    %esi,%esi
cmp    $0x1,%al
cmove  %rsi,%rdx
or     %rcx,%rdx
movzbl 0x7(%rsp),%r14d
shl    $0x10,%r14
cmp    $0x3,%al
cmovb  %rsi,%r14
or     %rdx,%r14
cmp    $0x4,%al
jb     1539 <Chk+0x419>
movzbl 0x8(%rsp),%eax
shl    $0x18,%rax
or     %rax,%r14
cmp    %r12,%r15
je     1548 <Chk+0x428>
jmp    1556 <Chk+0x436>
xor    %r14d,%r14d
cmp    %r12,%r15
jne    1556 <Chk+0x436>
cmp    %r14,0x18(%rsp)
jne    1556 <Chk+0x436>
xor    %eax,%eax
jmp    1729 <Chk+0x609>
movabs $0xabcc77118461cefd,%rcx
77 cc ab
mov    %rbx,%rbp
mov    %rbx,%rax
mul    %rcx
mov    %rcx,%rbx
mov    %rdx,%rsi
shr    $0x1a,%rsi
movabs $0x346dc5d63886594b,%r13
c5 6d 34
mov    %rbp,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%ebp
lea    0xaab(%rip),%rdi
mov    %ecx,%edx
mov    %ebp,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x30(%rsp),%rbp
mov    %rbp,%rax
mul    %rbx
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %rbp,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%ebp
lea    0xa22(%rip),%rdi
mov    %ecx,%edx
mov    %ebp,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r15,%rax
mov    %rbx,%rbp
mul    %rbx
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %r15,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%r15d
lea    0x9e7(%rip),%rdi
mov    %ecx,%edx
mov    %r15d,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x18(%rsp),%rbx
mov    %rbx,%rax
mul    %rbp
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %rbx,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%ebx
lea    0x9ab(%rip),%rdi
mov    %ecx,%edx
mov    %ebx,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rax
mul    %rbp
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %r12,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%r12d
lea    0x954(%rip),%rdi
mov    %ecx,%edx
mov    %r12d,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r14,%rax
mul    %rbp
mov    %rdx,%rsi
shr    $0x1a,%rsi
mov    %r14,%rax
mul    %r13
mov    %rdx,%rcx
shr    $0xb,%rcx
mov    %rcx,%rax
mul    %r13
shr    $0xb,%rdx
imul   $0x2710,%edx,%eax
imul   $0x2710,%ecx,%edx
sub    %eax,%ecx
sub    %edx,%r14d
lea    0x92d(%rip),%rdi
mov    %ecx,%edx
mov    %r14d,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%al
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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