#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int abs(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main(void) {
  int n, q = 0, d10, d9, d8, d7, d6, d5, d4, d3, d2, d1;
  printf("\nEnter an integer > ");
  scanf("%d", &n);
  if (n < 0) {
    q = 11;
    n = abs(n);
  }
  d1 = n % 10;
  d2 = (n % 100 - n % 10) / 10;
  d3 = (n % 1000 - n % 100) / 100;
  d4 = (n % 10000 - n % 1000) / 1000;
  d5 = (n % 100000 - n % 10000) / 10000;
  d6 = (n % 1000000 - n % 100000) / 100000;
  d7 = (n % 10000000 - n % 1000000) / 1000000;
  d8 = (n % 100000000 - n % 10000000) / 10000000;
  d9 = (n % 1000000000 - n % 100000000) / 100000000;
  d10 = (n % 10000000000 - n % 1000000000) / 1000000000;
  if (q == 11) {
    if (n < 10)
      q = 1;
    else if (n < 100)
      q = 2;
    else if (n < 1000)
      q = 3;
    else if (n < 10000)
      q = 4;
    else if (n < 100000)
      q = 5;
    else if (n < 1000000)
      q = 6;
    else if (n < 10000000)
      q = 7;
    else if (n < 100000000)
      q = 8;
    else if (n < 1000000000)
      q = 9;
    else if (n < 10000000000)
      q = 10;
    if (q == 1)
      d1 *= -1;
    if (q == 2)
      d2 *= -1;
    if (q == 3)
      d3 *= -1;
    if (q == 4)
      d4 *= -1;
    if (q == 5)
      d5 *= -1;
    if (q == 6)
      d6 *= -1;
    if (q == 7)
      d7 *= -1;
    if (q == 8)
      d8 *= -1;
    if (q == 9)
      d9 *= -1;
    if (q == 10)
      d10 *= -1;
  }
  if (q == 0) {
    if (n < 10)
      q = 1;
    else if (n < 100)
      q = 2;
    else if (n < 1000)
      q = 3;
    else if (n < 10000)
      q = 4;
    else if (n < 100000)
      q = 5;
    else if (n < 1000000)
      q = 6;
    else if (n < 10000000)
      q = 7;
    else if (n < 100000000)
      q = 8;
    else if (n < 1000000000)
      q = 9;
    else if (n < 10000000000)
      q = 10;
  }
  if (q >= 1)
    printf("\n%d", d1);
  if (q >= 2)
    printf("\n%d", d2);
  if (q >= 3)
    printf("\n%d", d3);
  if (q >= 4)
    printf("\n%d", d4);
  if (q >= 5)
    printf("\n%d", d5);
  if (q >= 6)
    printf("\n%d", d6);
  if (q >= 7)
    printf("\n%d", d7);
  if (q >= 8)
    printf("\n%d", d8);
  if (q >= 9)
    printf("\n%d", d9);
  if (q >= 10)
    printf("\n%d", d10);
  printf("\nThat's all, have a nice day!\n");
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
lea    0xeb3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xebb(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x0,-0x8(%rbp)
jge    1180 <main+0x50>
movl   $0xb,-0xc(%rbp)
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    %edx,-0x34(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,-0x60(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    -0x60(%rbp),%eax
sub    %edx,%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,-0x5c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    -0x5c(%rbp),%eax
sub    %edx,%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x2710,%ecx
cltd
idiv   %ecx
mov    %edx,-0x58(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    -0x58(%rbp),%eax
sub    %edx,%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
mov    %edx,-0x54(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x2710,%ecx
cltd
idiv   %ecx
mov    -0x54(%rbp),%eax
sub    %edx,%eax
mov    $0x2710,%ecx
cltd
idiv   %ecx
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xf4240,%ecx
cltd
idiv   %ecx
mov    %edx,-0x50(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
mov    -0x50(%rbp),%eax
sub    %edx,%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x989680,%ecx
cltd
idiv   %ecx
mov    %edx,-0x4c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xf4240,%ecx
cltd
idiv   %ecx
mov    -0x4c(%rbp),%eax
sub    %edx,%eax
mov    $0xf4240,%ecx
cltd
idiv   %ecx
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x5f5e100,%ecx
cltd
idiv   %ecx
mov    %edx,-0x48(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x989680,%ecx
cltd
idiv   %ecx
mov    -0x48(%rbp),%eax
sub    %edx,%eax
mov    $0x989680,%ecx
cltd
idiv   %ecx
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x3b9aca00,%ecx
cltd
idiv   %ecx
mov    %edx,-0x44(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x5f5e100,%ecx
cltd
idiv   %ecx
mov    -0x44(%rbp),%eax
sub    %edx,%eax
mov    $0x5f5e100,%ecx
cltd
idiv   %ecx
mov    %eax,-0x14(%rbp)
movslq -0x8(%rbp),%rax
movabs $0x2540be400,%rcx
cqto
idiv   %rcx
mov    %rdx,-0x40(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x3b9aca00,%ecx
cltd
idiv   %ecx
mov    -0x40(%rbp),%rax
movslq %edx,%rcx
sub    %rcx,%rax
mov    $0x3b9aca00,%ecx
cqto
idiv   %rcx
mov    %eax,-0x10(%rbp)
cmpl   $0xb,-0xc(%rbp)
jne    14ee <main+0x3be>
cmpl   $0xa,-0x8(%rbp)
jge    132f <main+0x1ff>
movl   $0x1,-0xc(%rbp)
jmp    143f <main+0x30f>
cmpl   $0x64,-0x8(%rbp)
jge    1345 <main+0x215>
movl   $0x2,-0xc(%rbp)
jmp    143a <main+0x30a>
cmpl   $0x3e8,-0x8(%rbp)
jge    135e <main+0x22e>
movl   $0x3,-0xc(%rbp)
jmp    1435 <main+0x305>
cmpl   $0x2710,-0x8(%rbp)
jge    1377 <main+0x247>
movl   $0x4,-0xc(%rbp)
jmp    1430 <main+0x300>
cmpl   $0x186a0,-0x8(%rbp)
jge    1390 <main+0x260>
movl   $0x5,-0xc(%rbp)
jmp    142b <main+0x2fb>
cmpl   $0xf4240,-0x8(%rbp)
jge    13a9 <main+0x279>
movl   $0x6,-0xc(%rbp)
jmp    1426 <main+0x2f6>
cmpl   $0x989680,-0x8(%rbp)
jge    13c2 <main+0x292>
movl   $0x7,-0xc(%rbp)
jmp    1421 <main+0x2f1>
cmpl   $0x5f5e100,-0x8(%rbp)
jge    13db <main+0x2ab>
movl   $0x8,-0xc(%rbp)
jmp    141c <main+0x2ec>
cmpl   $0x3b9aca00,-0x8(%rbp)
jge    13f4 <main+0x2c4>
movl   $0x9,-0xc(%rbp)
jmp    1417 <main+0x2e7>
movslq -0x8(%rbp),%rax
movabs $0x2540be400,%rcx
cmp    %rcx,%rax
jge    1412 <main+0x2e2>
movl   $0xa,-0xc(%rbp)
jmp    1417 <main+0x2e7>
jmp    141c <main+0x2ec>
jmp    1421 <main+0x2f1>
jmp    1426 <main+0x2f6>
jmp    142b <main+0x2fb>
jmp    1430 <main+0x300>
jmp    1435 <main+0x305>
jmp    143a <main+0x30a>
jmp    143f <main+0x30f>
cmpl   $0x1,-0xc(%rbp)
jne    1450 <main+0x320>
imul   $0xffffffff,-0x34(%rbp),%eax
mov    %eax,-0x34(%rbp)
cmpl   $0x2,-0xc(%rbp)
jne    1461 <main+0x331>
imul   $0xffffffff,-0x30(%rbp),%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x3,-0xc(%rbp)
jne    1472 <main+0x342>
imul   $0xffffffff,-0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
cmpl   $0x4,-0xc(%rbp)
jne    1483 <main+0x353>
imul   $0xffffffff,-0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
cmpl   $0x5,-0xc(%rbp)
jne    1494 <main+0x364>
imul   $0xffffffff,-0x24(%rbp),%eax
mov    %eax,-0x24(%rbp)
cmpl   $0x6,-0xc(%rbp)
jne    14a5 <main+0x375>
imul   $0xffffffff,-0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
cmpl   $0x7,-0xc(%rbp)
jne    14b6 <main+0x386>
imul   $0xffffffff,-0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x8,-0xc(%rbp)
jne    14c7 <main+0x397>
imul   $0xffffffff,-0x18(%rbp),%eax
mov    %eax,-0x18(%rbp)
cmpl   $0x9,-0xc(%rbp)
jne    14d8 <main+0x3a8>
imul   $0xffffffff,-0x14(%rbp),%eax
mov    %eax,-0x14(%rbp)
cmpl   $0xa,-0xc(%rbp)
jne    14e9 <main+0x3b9>
imul   $0xffffffff,-0x10(%rbp),%eax
mov    %eax,-0x10(%rbp)
jmp    14ee <main+0x3be>
cmpl   $0x0,-0xc(%rbp)
jne    1623 <main+0x4f3>
cmpl   $0xa,-0x8(%rbp)
jge    150e <main+0x3de>
movl   $0x1,-0xc(%rbp)
jmp    161e <main+0x4ee>
cmpl   $0x64,-0x8(%rbp)
jge    1524 <main+0x3f4>
movl   $0x2,-0xc(%rbp)
jmp    1619 <main+0x4e9>
cmpl   $0x3e8,-0x8(%rbp)
jge    153d <main+0x40d>
movl   $0x3,-0xc(%rbp)
jmp    1614 <main+0x4e4>
cmpl   $0x2710,-0x8(%rbp)
jge    1556 <main+0x426>
movl   $0x4,-0xc(%rbp)
jmp    160f <main+0x4df>
cmpl   $0x186a0,-0x8(%rbp)
jge    156f <main+0x43f>
movl   $0x5,-0xc(%rbp)
jmp    160a <main+0x4da>
cmpl   $0xf4240,-0x8(%rbp)
jge    1588 <main+0x458>
movl   $0x6,-0xc(%rbp)
jmp    1605 <main+0x4d5>
cmpl   $0x989680,-0x8(%rbp)
jge    15a1 <main+0x471>
movl   $0x7,-0xc(%rbp)
jmp    1600 <main+0x4d0>
cmpl   $0x5f5e100,-0x8(%rbp)
jge    15ba <main+0x48a>
movl   $0x8,-0xc(%rbp)
jmp    15fb <main+0x4cb>
cmpl   $0x3b9aca00,-0x8(%rbp)
jge    15d3 <main+0x4a3>
movl   $0x9,-0xc(%rbp)
jmp    15f6 <main+0x4c6>
movslq -0x8(%rbp),%rax
movabs $0x2540be400,%rcx
cmp    %rcx,%rax
jge    15f1 <main+0x4c1>
movl   $0xa,-0xc(%rbp)
jmp    15f6 <main+0x4c6>
jmp    15fb <main+0x4cb>
jmp    1600 <main+0x4d0>
jmp    1605 <main+0x4d5>
jmp    160a <main+0x4da>
jmp    160f <main+0x4df>
jmp    1614 <main+0x4e4>
jmp    1619 <main+0x4e9>
jmp    161e <main+0x4ee>
jmp    1623 <main+0x4f3>
cmpl   $0x1,-0xc(%rbp)
jl     163e <main+0x50e>
mov    -0x34(%rbp),%esi
lea    0x9de(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x2,-0xc(%rbp)
jl     1659 <main+0x529>
mov    -0x30(%rbp),%esi
lea    0x9c3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x3,-0xc(%rbp)
jl     1674 <main+0x544>
mov    -0x2c(%rbp),%esi
lea    0x9a8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x4,-0xc(%rbp)
jl     168f <main+0x55f>
mov    -0x28(%rbp),%esi
lea    0x98d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x5,-0xc(%rbp)
jl     16aa <main+0x57a>
mov    -0x24(%rbp),%esi
lea    0x972(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x6,-0xc(%rbp)
jl     16c5 <main+0x595>
mov    -0x20(%rbp),%esi
lea    0x957(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x7,-0xc(%rbp)
jl     16e0 <main+0x5b0>
mov    -0x1c(%rbp),%esi
lea    0x93c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x8,-0xc(%rbp)
jl     16fb <main+0x5cb>
mov    -0x18(%rbp),%esi
lea    0x921(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x9,-0xc(%rbp)
jl     1716 <main+0x5e6>
mov    -0x14(%rbp),%esi
lea    0x906(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0xa,-0xc(%rbp)
jl     1731 <main+0x601>
mov    -0x10(%rbp),%esi
lea    0x8eb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x8e1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
lea    0xebb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec3(%rip),%rdi
lea    0x14(%rsp),%rsi
call   1050 <scanf@plt>
mov    0x14(%rsp),%r12d
mov    %r12d,%r8d
test   %r12d,%r12d
jns    1175 <main+0x45>
mov    %r12d,%r8d
neg    %r8d
mov    %r8d,0x14(%rsp)
mov    %r8d,%edi
mov    $0xcccccccd,%eax
imul   %rdi,%rax
shr    $0x23,%rax
add    %eax,%eax
lea    (%rax,%rax,4),%eax
mov    %r8d,%esi
sub    %eax,%esi
imul   $0x51eb851f,%rdi,%rax
shr    $0x25,%rax
imul   $0x64,%eax,%eax
mov    %r8d,%r9d
sub    %eax,%r9d
imul   $0x10624dd3,%rdi,%rax
shr    $0x26,%rax
imul   $0x3e8,%eax,%eax
mov    %r8d,%r10d
sub    %eax,%r10d
mov    $0xd1b71759,%eax
imul   %rdi,%rax
shr    $0x2d,%rax
imul   $0x2710,%eax,%eax
mov    %r8d,%r11d
sub    %eax,%r11d
mov    %r8d,%eax
shr    $0x5,%eax
imul   $0xa7c5ac5,%rax,%rax
shr    $0x27,%rax
imul   $0x186a0,%eax,%eax
mov    %r8d,%r14d
sub    %eax,%r14d
imul   $0x431bde83,%rdi,%rax
shr    $0x32,%rax
imul   $0xf4240,%eax,%edx
mov    %r8d,%eax
sub    %edx,%eax
imul   $0x6b5fca6b,%rdi,%rdx
shr    $0x36,%rdx
imul   $0x989680,%edx,%ebp
mov    %r8d,%edx
sub    %ebp,%edx
imul   $0x55e63b89,%rdi,%rdi
shr    $0x39,%rdi
imul   $0x5f5e100,%edi,%edi
mov    %r8d,%ebx
sub    %edi,%ebx
mov    %r8d,%edi
shr    $0x9,%edi
imul   $0x44b83,%rdi,%rdi
shr    $0x27,%rdi
imul   $0x3b9aca00,%edi,%r13d
mov    %r8d,%ebp
sub    %r13d,%ebp
sub    %ebx,%ebp
sub    %edx,%ebx
sub    %eax,%edx
mov    %eax,%edi
sub    %r14d,%edi
sub    %r11d,%r14d
sub    %r10d,%r11d
sub    %r9d,%r10d
sub    %esi,%r9d
movsbl %r9b,%eax
imul   $0x67,%eax,%eax
movzwl %ax,%ecx
movswl %cx,%r9d
shr    $0xf,%ecx
shr    $0xa,%r9d
add    %cl,%r9b
imul   $0x147b,%r10d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
sar    $0x13,%eax
add    %ecx,%eax
imul   $0xffff8313,%r11d,%ecx
shr    $0x10,%ecx
add    %r11d,%ecx
movzwl %cx,%ecx
movswl %cx,%r10d
shr    $0xf,%ecx
sar    $0x9,%r10d
add    %ecx,%r10d
movslq %r14d,%rcx
imul   $0x68db8bad,%rcx,%r15
mov    %r15,%rcx
shr    $0x3f,%rcx
sar    $0x2c,%r15
add    %ecx,%r15d
movslq %edi,%rcx
imul   $0x14f8b589,%rcx,%r11
mov    %r11,%rcx
shr    $0x3f,%rcx
sar    $0x2d,%r11
add    %ecx,%r11d
movslq %edx,%rcx
imul   $0x431bde83,%rcx,%r14
mov    %r14,%rcx
shr    $0x3f,%rcx
sar    $0x32,%r14
add    %ecx,%r14d
movslq %ebx,%rcx
imul   $0x6b5fca6b,%rcx,%rbx
mov    %rbx,%rcx
shr    $0x3f,%rcx
sar    $0x36,%rbx
add    %ecx,%ebx
movslq %ebp,%rcx
imul   $0x55e63b89,%rcx,%rbp
mov    %rbp,%rcx
shr    $0x3f,%rcx
sar    $0x39,%rbp
add    %ecx,%ebp
movslq %r13d,%rcx
imul   $0x44b82fa1,%rcx,%r13
mov    %r13,%rcx
shr    $0x3f,%rcx
sar    $0x3c,%r13
add    %ecx,%r13d
movzbl %r9b,%edx
movzwl %ax,%ecx
movzwl %r10w,%eax
test   %r12d,%r12d
js     138c <main+0x25c>
cmp    $0xa,%r8d
jb     1394 <main+0x264>
mov    $0x2,%r12d
cmp    $0x64,%r8d
mov    %r14,0x20(%rsp)
mov    %r11,0x18(%rsp)
mov    %eax,0x8(%rsp)
mov    %ecx,0xc(%rsp)
mov    %edx,0x10(%rsp)
jb     14fc <main+0x3cc>
cmp    $0x3e8,%r8d
jae    13f8 <main+0x2c8>
mov    $0x3,%r12d
jmp    14fc <main+0x3cc>
cmp    $0xa,%r8d
jae    13ad <main+0x27d>
neg    %esi
mov    %esi,%r13d
lea    0xc77(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    15d2 <main+0x4a2>
cmp    $0x64,%r8d
mov    %r14,0x20(%rsp)
mov    %r11,0x18(%rsp)
jae    13d6 <main+0x2a6>
mov    %ecx,0xc(%rsp)
mov    %eax,0x8(%rsp)
neg    %edx
mov    %edx,0x10(%rsp)
mov    $0x2,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x3e8,%r8d
mov    %edx,0x10(%rsp)
jae    140c <main+0x2dc>
mov    %eax,0x8(%rsp)
neg    %ecx
mov    %ecx,0xc(%rsp)
mov    $0x3,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x2710,%r8d
jae    142a <main+0x2fa>
mov    $0x4,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x2710,%r8d
mov    %ecx,0xc(%rsp)
jae    143e <main+0x30e>
neg    %eax
mov    %eax,0x8(%rsp)
mov    $0x4,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x186a0,%r8d
jae    1459 <main+0x329>
mov    $0x5,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x186a0,%r8d
mov    %eax,0x8(%rsp)
jae    146d <main+0x33d>
neg    %r15d
mov    $0x5,%r12d
jmp    14fc <main+0x3cc>
cmp    $0xf4240,%r8d
jae    1486 <main+0x356>
mov    $0x6,%r12d
jmp    14fc <main+0x3cc>
cmp    $0xf4240,%r8d
jae    1497 <main+0x367>
neg    %r11d
mov    %r11,0x18(%rsp)
mov    $0x6,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x989680,%r8d
jae    14b0 <main+0x380>
mov    $0x7,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x989680,%r8d
jae    14c1 <main+0x391>
neg    %r14d
mov    %r14,0x20(%rsp)
mov    $0x7,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x5f5e100,%r8d
jae    14d4 <main+0x3a4>
mov    $0x8,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x5f5e100,%r8d
jae    14e7 <main+0x3b7>
neg    %ebx
mov    $0x8,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x3b9aca00,%r8d
mov    $0xa,%r12d
sbb    $0x0,%r12d
jmp    14fc <main+0x3cc>
cmp    $0x3b9aca00,%r8d
jae    15ef <main+0x4bf>
neg    %ebp
mov    $0x9,%r12d
lea    0xb12(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
mov    0x10(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x3,%r12d
jb     15d2 <main+0x4a2>
lea    0xae9(%rip),%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x3,%r12d
je     15d2 <main+0x4a2>
lea    0xacd(%rip),%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x5,%r12d
jb     15d2 <main+0x4a2>
lea    0xab5(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x5,%r12d
je     15d2 <main+0x4a2>
lea    0xa9e(%rip),%rdi
mov    0x18(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x7,%r12d
jb     15d2 <main+0x4a2>
lea    0xa85(%rip),%rdi
mov    0x20(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x7,%r12d
je     15d2 <main+0x4a2>
lea    0xa6c(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x9,%r12d
jb     15d2 <main+0x4a2>
lea    0xa56(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x9,%r12d
jne    1397 <main+0x267>
lea    0xa40(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
neg    %r13d
lea    0xa1c(%rip),%rdi
xor    %eax,%eax
mov    %edx,%r12d
call   1040 <printf@plt>
lea    0xa0b(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x9fa(%rip),%r12
mov    %r12,%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
mov    0x18(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1397 <main+0x267>

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

LLVM IR (-O2):
@.str = [21 x i8] c"\0AEnter an integer > \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [4 x i8] c"\0A%d\00"
@str = [30 x i8] c"\0AThat's all, have a nice day!\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%5 = load i32, i32* %1
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = sub nsw i32 0, %5
store i32 %8, i32* %1
br label %9
9: ; preds = %7, %0
%10 = phi i32 [ %8, %7 ], [ %5, %0 ]
%11 = urem i32 %10, 10
%12 = urem i32 %10, 100
%13 = sub nsw i32 %12, %11
%14 = trunc i32 %13 to i8
%15 = sdiv i8 %14, 10
%16 = zext i8 %15 to i32
%17 = urem i32 %10, 1000
%18 = sub nsw i32 %17, %12
%19 = trunc i32 %18 to i16
%20 = sdiv i16 %19, 100
%21 = zext i16 %20 to i32
%22 = urem i32 %10, 10000
%23 = sub nsw i32 %22, %17
%24 = trunc i32 %23 to i16
%25 = sdiv i16 %24, 1000
%26 = zext i16 %25 to i32
%27 = urem i32 %10, 100000
%28 = sub nsw i32 %27, %22
%29 = sdiv i32 %28, 10000
%30 = urem i32 %10, 1000000
%31 = sub nsw i32 %30, %27
%32 = sdiv i32 %31, 100000
%33 = urem i32 %10, 10000000
%34 = sub nsw i32 %33, %30
%35 = sdiv i32 %34, 1000000
%36 = urem i32 %10, 100000000
%37 = sub nsw i32 %36, %33
%38 = sdiv i32 %37, 10000000
%39 = urem i32 %10, 1000000000
%40 = sub nsw i32 %39, %36
%41 = sdiv i32 %40, 100000000
%42 = sub nsw i32 %10, %39
%43 = sdiv i32 %42, 1000000000
%44 = icmp ult i32 %10, 10
br i1 %6, label %45, label %91
45: ; preds = %9
br i1 %44, label %78, label %46
46: ; preds = %45
%47 = icmp ult i32 %10, 100
br i1 %47, label %62, label %48
48: ; preds = %46
%49 = icmp ult i32 %10, 1000
br i1 %49, label %64, label %50
50: ; preds = %48
%51 = icmp ult i32 %10, 10000
br i1 %51, label %66, label %52
52: ; preds = %50
%53 = icmp ult i32 %10, 100000
br i1 %53, label %68, label %54
54: ; preds = %52
%55 = icmp ult i32 %10, 1000000
br i1 %55, label %70, label %56
56: ; preds = %54
%57 = icmp ult i32 %10, 10000000
br i1 %57, label %72, label %58
58: ; preds = %56
%59 = icmp ult i32 %10, 100000000
br i1 %59, label %74, label %60
60: ; preds = %58
%61 = icmp ult i32 %10, 1000000000
br i1 %61, label %76, label %80
62: ; preds = %46
%63 = sub nsw i32 0, %16
br label %109
64: ; preds = %48
%65 = sub nsw i32 0, %21
br label %109
66: ; preds = %50
%67 = sub nsw i32 0, %26
br label %109
68: ; preds = %52
%69 = sub nsw i32 0, %29
br label %109
70: ; preds = %54
%71 = sub nsw i32 0, %32
br label %109
72: ; preds = %56
%73 = sub nsw i32 0, %35
br label %109
74: ; preds = %58
%75 = sub nsw i32 0, %38
br label %109
76: ; preds = %60
%77 = sub nsw i32 0, %41
br label %109
78: ; preds = %45
%79 = sub nsw i32 0, %11
br label %143
80: ; preds = %60
%81 = sub nsw i32 0, %43
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %11)
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %16)
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %21)
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %26)
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %29)
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %32)
%88 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %35)
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %38)
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %41)
br label %143
91: ; preds = %9
br i1 %44, label %143, label %92
92: ; preds = %91
%93 = icmp ult i32 %10, 100
br i1 %93, label %109, label %94
94: ; preds = %92
%95 = icmp ult i32 %10, 1000
br i1 %95, label %109, label %96
96: ; preds = %94
%97 = icmp ult i32 %10, 10000
br i1 %97, label %109, label %98
98: ; preds = %96
%99 = icmp ult i32 %10, 100000
br i1 %99, label %109, label %100
100: ; preds = %98
%101 = icmp ult i32 %10, 1000000
br i1 %101, label %109, label %102
102: ; preds = %100
%103 = icmp ult i32 %10, 10000000
br i1 %103, label %109, label %104
104: ; preds = %102
%105 = icmp ult i32 %10, 100000000
br i1 %105, label %109, label %106
106: ; preds = %104
%107 = icmp ult i32 %10, 1000000000
%108 = select i1 %107, i32 9, i32 10
br label %109
109: ; preds = %64, %62, %66, %68, %70, %72, %74, %76, %106, %104, %102, %100, %98, %96, %94, %92
%110 = phi i32 [ %108, %106 ], [ 8, %104 ], [ 7, %102 ], [ 6, %100 ], [ 5, %98 ], [ 4, %96 ], [ 3, %94 ], [ 2, %92 ], [ 3, %64 ], [ 2, %62 ], [ 4, %66 ], [ 5, %68 ], [ 6, %70 ], [ 7, %72 ], [ 8, %74 ], [ 9, %76 ]
%111 = phi i32 [ %41, %106 ], [ %41, %104 ], [ %41, %102 ], [ %41, %100 ], [ %41, %98 ], [ %41, %96 ], [ %41, %94 ], [ %41, %92 ], [ %41, %64 ], [ %41, %62 ], [ %41, %66 ], [ %41, %68 ], [ %41, %70 ], [ %41, %72 ], [ %41, %74 ], [ %77, %76 ]
%112 = phi i32 [ %38, %106 ], [ %38, %104 ], [ %38, %102 ], [ %38, %100 ], [ %38, %98 ], [ %38, %96 ], [ %38, %94 ], [ %38, %92 ], [ %38, %64 ], [ %38, %62 ], [ %38, %66 ], [ %38, %68 ], [ %38, %70 ], [ %38, %72 ], [ %75, %74 ], [ %38, %76 ]
%113 = phi i32 [ %35, %106 ], [ %35, %104 ], [ %35, %102 ], [ %35, %100 ], [ %35, %98 ], [ %35, %96 ], [ %35, %94 ], [ %35, %92 ], [ %35, %64 ], [ %35, %62 ], [ %35, %66 ], [ %35, %68 ], [ %35, %70 ], [ %73, %72 ], [ %35, %74 ], [ %35, %76 ]
%114 = phi i32 [ %32, %106 ], [ %32, %104 ], [ %32, %102 ], [ %32, %100 ], [ %32, %98 ], [ %32, %96 ], [ %32, %94 ], [ %32, %92 ], [ %32, %64 ], [ %32, %62 ], [ %32, %66 ], [ %32, %68 ], [ %71, %70 ], [ %32, %72 ], [ %32, %74 ], [ %32, %76 ]
%115 = phi i32 [ %29, %106 ], [ %29, %104 ], [ %29, %102 ], [ %29, %100 ], [ %29, %98 ], [ %29, %96 ], [ %29, %94 ], [ %29, %92 ], [ %29, %64 ], [ %29, %62 ], [ %29, %66 ], [ %69, %68 ], [ %29, %70 ], [ %29, %72 ], [ %29, %74 ], [ %29, %76 ]
%116 = phi i32 [ %26, %106 ], [ %26, %104 ], [ %26, %102 ], [ %26, %100 ], [ %26, %98 ], [ %26, %96 ], [ %26, %94 ], [ %26, %92 ], [ %26, %64 ], [ %26, %62 ], [ %67, %66 ], [ %26, %68 ], [ %26, %70 ], [ %26, %72 ], [ %26, %74 ], [ %26, %76 ]
%117 = phi i32 [ %21, %106 ], [ %21, %104 ], [ %21, %102 ], [ %21, %100 ], [ %21, %98 ], [ %21, %96 ], [ %21, %94 ], [ %21, %92 ], [ %65, %64 ], [ %21, %62 ], [ %21, %66 ], [ %21, %68 ], [ %21, %70 ], [ %21, %72 ], [ %21, %74 ], [ %21, %76 ]
%118 = phi i32 [ %16, %106 ], [ %16, %104 ], [ %16, %102 ], [ %16, %100 ], [ %16, %98 ], [ %16, %96 ], [ %16, %94 ], [ %16, %92 ], [ %16, %64 ], [ %63, %62 ], [ %16, %66 ], [ %16, %68 ], [ %16, %70 ], [ %16, %72 ], [ %16, %74 ], [ %16, %76 ]
%119 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %11)
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %118)
%121 = icmp ugt i32 %110, 2
br i1 %121, label %122, label %146
122: ; preds = %109
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %117)
%124 = icmp eq i32 %110, 3
br i1 %124, label %146, label %125
125: ; preds = %122
%126 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %116)
%127 = icmp ugt i32 %110, 4
br i1 %127, label %128, label %146
128: ; preds = %125
%129 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %115)
%130 = icmp eq i32 %110, 5
br i1 %130, label %146, label %131
131: ; preds = %128
%132 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %114)
%133 = icmp ugt i32 %110, 6
br i1 %133, label %134, label %146
134: ; preds = %131
%135 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %113)
%136 = icmp eq i32 %110, 7
br i1 %136, label %146, label %137
137: ; preds = %134
%138 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %112)
%139 = icmp ugt i32 %110, 8
br i1 %139, label %140, label %146
140: ; preds = %137
%141 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %111)
%142 = icmp eq i32 %110, 9
br i1 %142, label %146, label %143
143: ; preds = %140, %80, %91, %78
%144 = phi i32 [ %79, %78 ], [ %11, %91 ], [ %81, %80 ], [ %43, %140 ]
%145 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %144)
br label %146
146: ; preds = %143, %109, %122, %125, %128, %131, %134, %137, %140
%147 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
ret i32 0
}