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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  int i, j, n, igno = 0, maior = 0;
  int vetor[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
      vetor2[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
  float aux;
  scanf("%d\n", &n);
  for (i = 0; i < n; i++) {
    scanf("%f", &aux);
    for (j = 0; j < 10; j++) {
      if (j == 0) {
        if ((j <= aux) && (aux <= (j + 1))) {
          vetor[j]++;
          j = 10;
        }
      } else {
        if ((j < aux) && (aux <= (j + 1))) {
          vetor[j]++;
          j = 10;
        }
      }
      if ((aux < 0) || (10 < aux)) {
        igno++;
      }
    }
  }
  for (j = 0; j < 10; j++) {
    if (vetor[j] > maior) {
      maior = vetor[j];
    }
  }
  for (j = 0; j < 10; j++) {
    vetor[j] = (vetor[j] * 20) / maior;
    vetor2[j] = vetor[j];
  }
  printf("     ^\n");
  for (i = 20; i >= 0; i--) {
    switch ((i + 1)) {
    case 20:
      printf("%4d +", maior);
      break;
    case 15:
      printf("%4d +", (maior / 2));
      break;
    case 10:
      printf("%4d +", (maior / 4));
      break;
    case 5:
      printf("%4d +", ((3 * maior) / 4));
      break;
    default:
      printf("     |");
      break;
    }
    if (i == 20) {
      for (j = 0; j < 10; j++) {
        (vetor[j] == i) ? printf("_ ") : printf("  ");
      }
    } else {
      for (j = 0; j < 10; j++) {
        if (vetor[j] == (i + 1)) {
          printf("*|");
          vetor[j]--;
        } else {
          ((vetor2[j] + 1) == (i + 1)) ? printf("_") : printf(" ");
          (vetor[j + 1] == (i + 1)) ? printf("|") : printf(" ");
        }
      }
    }
    printf("\n");
  }
  printf("   0 +--------+---------+->\n");
  printf("    0.0       5.0      10.0\n");
  printf("Valores ignorados: %d\n", igno);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
lea    -0x70(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
lea    0xf3d(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    12a0 <main+0x170>
lea    0xea8(%rip),%rdi
lea    -0x74(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    128d <main+0x15d>
cmpl   $0x0,-0xc(%rbp)
jne    1208 <main+0xd8>
cvtsi2ssl -0xc(%rbp),%xmm1
movss  -0x74(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jb     1203 <main+0xd3>
movss  -0x74(%rbp),%xmm1
mov    -0xc(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
ucomiss %xmm1,%xmm0
jb     1203 <main+0xd3>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x40(%rbp,%rax,4)
movl   $0xa,-0xc(%rbp)
jmp    124e <main+0x11e>
cvtsi2ssl -0xc(%rbp),%xmm1
movss  -0x74(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1249 <main+0x119>
movss  -0x74(%rbp),%xmm1
mov    -0xc(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
ucomiss %xmm1,%xmm0
jb     1249 <main+0x119>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x40(%rbp,%rax,4)
movl   $0xa,-0xc(%rbp)
jmp    124e <main+0x11e>
xorps  %xmm0,%xmm0
ucomiss -0x74(%rbp),%xmm0
ja     1271 <main+0x141>
movss  -0x74(%rbp),%xmm0
movss  0xd98(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    127a <main+0x14a>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    127f <main+0x14f>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11ae <main+0x7e>
jmp    1292 <main+0x162>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1189 <main+0x59>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    12e0 <main+0x1b0>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
cmp    -0x18(%rbp),%eax
jle    12cd <main+0x19d>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    %eax,-0x18(%rbp)
jmp    12d2 <main+0x1a2>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12a7 <main+0x177>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    1326 <main+0x1f6>
movslq -0xc(%rbp),%rax
imul   $0x14,-0x40(%rbp,%rax,4),%eax
cltd
idivl  -0x18(%rbp)
mov    %eax,%ecx
movslq -0xc(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
movslq -0xc(%rbp),%rax
mov    %ecx,-0x70(%rbp,%rax,4)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12e7 <main+0x1b7>
lea    0xd1a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x14,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jl     1545 <main+0x415>
mov    -0x8(%rbp),%eax
add    $0xfffffffc,%eax
mov    %eax,%ecx
mov    %rcx,-0x80(%rbp)
sub    $0xf,%eax
ja     13e5 <main+0x2b5>
mov    -0x80(%rbp),%rax
lea    0xc9f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x18(%rbp),%esi
lea    0xcd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13f3 <main+0x2c3>
mov    -0x18(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xcb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13f3 <main+0x2c3>
mov    -0x18(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xc97(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13f3 <main+0x2c3>
imul   $0x3,-0x18(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xc76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13f3 <main+0x2c3>
lea    0xc69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x14,-0x8(%rbp)
jne    1453 <main+0x323>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    144e <main+0x31e>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
cmp    -0x8(%rbp),%eax
jne    1432 <main+0x302>
lea    0xc36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1440 <main+0x310>
lea    0xc26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1404 <main+0x2d4>
jmp    1529 <main+0x3f9>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    1524 <main+0x3f4>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jne    149c <main+0x36c>
lea    0xbe1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x40(%rbp,%rax,4)
jmp    1511 <main+0x3e1>
movslq -0xc(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%eax
add    $0x1,%eax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jne    14c8 <main+0x398>
lea    0xba9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14d6 <main+0x3a6>
lea    0xb91(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x40(%rbp,%rax,4),%eax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jne    1503 <main+0x3d3>
lea    0xb63(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1511 <main+0x3e1>
lea    0xb56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1516 <main+0x3e6>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    145a <main+0x32a>
jmp    1529 <main+0x3f9>
lea    0xb6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    133b <main+0x20b>
lea    0xb1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xb36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movq   $0x0,0x20(%rsp)
lea    0xf2a(%rip),%rdi
xor    %r15d,%r15d
lea    0x2c(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
cmpl   $0x0,0x2c(%rsp)
mov    $0x0,%ebx
mov    $0x0,%ecx
mov    $0x0,%edi
mov    $0x0,%r12d
mov    $0x0,%r11d
mov    $0x0,%r8d
mov    $0x0,%ebp
jle    1375 <main+0x235>
mov    (%rsp),%ebx
lea    0xeb4(%rip),%r14
lea    0x3c(%rsp),%r12
xor    %r15d,%r15d
xor    %ebp,%ebp
jmp    11d9 <main+0x99>
addl   $0x1,(%rsp,%rdx,4)
movzbl %cl,%ecx
add    %ecx,%ebx
add    %eax,%r15d
add    $0x1,%ebp
cmp    0x2c(%rsp),%ebp
jge    1357 <main+0x217>
mov    %r14,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
movss  0xe16(%rip),%xmm2
movss  0x3c(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm0,%xmm1
seta   %al
ucomiss 0xdfc(%rip),%xmm0
seta   %dl
or     %al,%dl
ucomiss %xmm1,%xmm0
setae  %al
ucomiss %xmm0,%xmm2
setae  %cl
and    %al,%cl
ucomiss %xmm1,%xmm0
movzbl %dl,%eax
jb     1224 <main+0xe4>
ucomiss %xmm0,%xmm2
jae    11c4 <main+0x84>
add    %eax,%r15d
ucomiss %xmm2,%xmm0
jbe    123e <main+0xfe>
mov    $0x1,%edx
movss  0xdcf(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xdc0(%rip),%xmm0
jbe    1260 <main+0x120>
mov    $0x2,%edx
movss  0xdb5(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xda2(%rip),%xmm0
jbe    1282 <main+0x142>
mov    $0x3,%edx
movss  0xd97(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xd84(%rip),%xmm0
jbe    12a4 <main+0x164>
mov    $0x4,%edx
movss  0xd79(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xd66(%rip),%xmm0
jbe    12c6 <main+0x186>
mov    $0x5,%edx
movss  0xd5b(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xd48(%rip),%xmm0
jbe    12e8 <main+0x1a8>
mov    $0x6,%edx
movss  0xd3d(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xd2a(%rip),%xmm0
jbe    130a <main+0x1ca>
mov    $0x7,%edx
movss  0xd1f(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xd0c(%rip),%xmm0
jbe    132c <main+0x1ec>
mov    $0x8,%edx
movss  0xd01(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
add    %eax,%r15d
ucomiss 0xcee(%rip),%xmm0
jbe    11c4 <main+0x84>
mov    $0x9,%edx
movss  0xcb7(%rip),%xmm1
ucomiss %xmm0,%xmm1
jae    11c0 <main+0x80>
jmp    11c4 <main+0x84>
mov    0x4(%rsp),%ecx
mov    0x8(%rsp),%edi
mov    0xc(%rsp),%r12d
mov    0x10(%rsp),%r11d
mov    0x14(%rsp),%r8d
xor    %ebp,%ebp
test   %ebx,%ebx
cmovns %ebx,%ebp
cmp    %ebp,%ecx
cmovg  %ecx,%ebp
cmp    %ebp,%edi
cmovg  %edi,%ebp
cmp    %ebp,%r12d
cmovg  %r12d,%ebp
cmp    %ebp,%r11d
cmovg  %r11d,%ebp
cmp    %ebp,%r8d
cmovg  %r8d,%ebp
mov    0x18(%rsp),%esi
cmp    %ebp,%esi
cmovg  %esi,%ebp
mov    0x1c(%rsp),%r14d
cmp    %ebp,%r14d
cmovg  %r14d,%ebp
mov    0x20(%rsp),%r10d
cmp    %ebp,%r10d
cmovg  %r10d,%ebp
mov    0x24(%rsp),%r9d
cmp    %ebp,%r9d
cmovg  %r9d,%ebp
shl    $0x2,%ebx
lea    (%rbx,%rbx,4),%eax
cltd
idiv   %ebp
mov    %eax,(%rsp)
mov    %eax,0x40(%rsp)
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%eax
cltd
idiv   %ebp
mov    %eax,0x4(%rsp)
mov    %eax,0x44(%rsp)
shl    $0x2,%edi
lea    (%rdi,%rdi,4),%eax
cltd
idiv   %ebp
mov    %eax,0x8(%rsp)
mov    %eax,0x48(%rsp)
shl    $0x2,%r12d
lea    (%r12,%r12,4),%eax
cltd
idiv   %ebp
mov    %eax,0xc(%rsp)
mov    %eax,0x4c(%rsp)
shl    $0x2,%r11d
lea    (%r11,%r11,4),%eax
cltd
idiv   %ebp
mov    %eax,0x10(%rsp)
mov    %eax,0x50(%rsp)
shl    $0x2,%r8d
lea    (%r8,%r8,4),%eax
cltd
idiv   %ebp
mov    %eax,0x14(%rsp)
mov    %eax,0x54(%rsp)
shl    $0x2,%esi
lea    (%rsi,%rsi,4),%eax
cltd
idiv   %ebp
mov    %eax,0x18(%rsp)
mov    %eax,0x58(%rsp)
shl    $0x2,%r14d
lea    (%r14,%r14,4),%eax
cltd
idiv   %ebp
mov    %eax,0x1c(%rsp)
mov    %eax,0x5c(%rsp)
shl    $0x2,%r10d
lea    (%r10,%r10,4),%eax
cltd
idiv   %ebp
mov    %eax,0x20(%rsp)
mov    %eax,0x60(%rsp)
shl    $0x2,%r9d
lea    (%r9,%r9,4),%eax
cltd
idiv   %ebp
mov    %eax,0x24(%rsp)
mov    %eax,0x64(%rsp)
lea    0xc1b(%rip),%rdi
call   1040 <puts@plt>
lea    0x0(%rbp,%rbp,2),%eax
lea    0x3(%rbp,%rbp,2),%ecx
test   %eax,%eax
cmovns %eax,%ecx
sar    $0x2,%ecx
mov    %ecx,0x38(%rsp)
mov    %ebp,%eax
shr    $0x2,%eax
mov    %eax,0x34(%rsp)
mov    %rbp,0x70(%rsp)
mov    %ebp,%eax
shr    %eax
mov    %eax,0x30(%rsp)
mov    $0x14,%r14d
lea    0xbc5(%rip),%rbx
jmp    15a4 <main+0x464>
cmpl   $0x14,(%rsp)
lea    0xbb2(%rip),%r12
mov    %r12,%rdi
lea    0xba5(%rip),%rbp
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x4(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x8(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0xc(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x10(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x14(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x18(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x1c(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x20(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x14,0x24(%rsp)
mov    %r12,%rdi
cmove  %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
nopl   0x0(%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
sub    $0x1,%r14d
jb     167c <main+0x53c>
lea    -0x4(%r14),%eax
cmp    $0xf,%eax
ja     15d0 <main+0x490>
lea    0xa74(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
mov    0x70(%rsp),%rcx
mov    %ecx,%esi
jmp    *%rax
mov    0x38(%rsp),%esi
jmp    1604 <main+0x4c4>
nopw   0x0(%rax,%rax,1)
lea    0xa9a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x14,%r14d
je     14be <main+0x37e>
jmp    1612 <main+0x4d2>
nopw   0x0(%rax,%rax,1)
mov    0x34(%rsp),%esi
jmp    1604 <main+0x4c4>
cs nopw 0x0(%rax,%rax,1)
mov    0x30(%rsp),%esi
lea    0xa60(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1(%r14),%ebp
xor    %r13d,%r13d
jmp    1642 <main+0x502>
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14d,(%rsp,%r13,4)
add    $0x1,%r13
mov    %r13,%r12
mov    %r12,%r13
cmp    $0xa,%r12
je     1590 <main+0x450>
cmp    %ebp,(%rsp,%r13,4)
je     1620 <main+0x4e0>
mov    $0x5f,%edi
cmp    %r14d,0x40(%rsp,%r13,4)
je     1659 <main+0x519>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0x1(%r13),%r12
cmp    %ebp,0x4(%rsp,%r13,4)
jne    1670 <main+0x530>
mov    $0x7c,%edi
jmp    1675 <main+0x535>
mov    $0x20,%edi
call   1030 <putchar@plt>
jmp    1635 <main+0x4f5>
lea    0xa1c(%rip),%rdi
call   1040 <puts@plt>
lea    0xa2c(%rip),%rdi
call   1040 <puts@plt>
lea    0x9e6(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%d\0A\00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [8 x i8] c" ^\0A\00"
@.str.3 = [6 x i8] c"%4d +\00"
@.str.4 = [7 x i8] c" |\00"
@.str.5 = [3 x i8] c"_ \00"
@.str.6 = [3 x i8] c" \00"
@.str.7 = [3 x i8] c"*|\00"
@.str.8 = [2 x i8] c"_\00"
@.str.9 = [2 x i8] c" \00"
@.str.10 = [2 x i8] c"|\00"
@.str.11 = [2 x i8] c"\0A\00"
@.str.12 = [29 x i8] c" 0 +--------+---------+->\0A\00"
@.str.13 = [29 x i8] c" 0.0 5.0 10.0\0A\00"
@.str.14 = [23 x i8] c"Valores ignorados: %d\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 [10 x i32]
%8 = alloca [10 x i32]
%9 = alloca float
store i32 0, i32* %1
store i32 0, i32* %5
store i32 0, i32* %6
%10 = bitcast [10 x i32]* %7 to i8*
%11 = bitcast [10 x i32]* %8 to i8*
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %4)
store i32 0, i32* %2
br label %13
13: ; preds = %75, %0
%14 = load i32, i32* %2
%15 = load i32, i32* %4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %78
17: ; preds = %13
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %9)
store i32 0, i32* %3
br label %19
19: ; preds = %71, %17
%20 = load i32, i32* %3
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %74
22: ; preds = %19
%23 = load i32, i32* %3
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %43
25: ; preds = %22
%26 = load i32, i32* %3
%27 = sitofp i32 %26 to float
%28 = load float, float* %9
%29 = fcmp ole float %27, %28
br i1 %29, label %30, label %42
30: ; preds = %25
%31 = load float, float* %9
%32 = load i32, i32* %3
%33 = add nsw i32 %32, 1
%34 = sitofp i32 %33 to float
%35 = fcmp ole float %31, %34
br i1 %35, label %36, label %42
36: ; preds = %30
%37 = load i32, i32* %3
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %38
%40 = load i32, i32* %39
%41 = add nsw i32 %40, 1
store i32 %41, i32* %39
store i32 10, i32* %3
br label %42
42: ; preds = %36, %30, %25
br label %61
43: ; preds = %22
%44 = load i32, i32* %3
%45 = sitofp i32 %44 to float
%46 = load float, float* %9
%47 = fcmp olt float %45, %46
br i1 %47, label %48, label %60
48: ; preds = %43
%49 = load float, float* %9
%50 = load i32, i32* %3
%51 = add nsw i32 %50, 1
%52 = sitofp i32 %51 to float
%53 = fcmp ole float %49, %52
br i1 %53, label %54, label %60
54: ; preds = %48
%55 = load i32, i32* %3
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %56
%58 = load i32, i32* %57
%59 = add nsw i32 %58, 1
store i32 %59, i32* %57
store i32 10, i32* %3
br label %60
60: ; preds = %54, %48, %43
br label %61
61: ; preds = %60, %42
%62 = load float, float* %9
%63 = fcmp olt float %62, 0.000000e+00
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load float, float* %9
%66 = fcmp olt float 1.000000e+01, %65
br i1 %66, label %67, label %70
67: ; preds = %64, %61
%68 = load i32, i32* %5
%69 = add nsw i32 %68, 1
store i32 %69, i32* %5
br label %70
70: ; preds = %67, %64
br label %71
71: ; preds = %70
%72 = load i32, i32* %3
%73 = add nsw i32 %72, 1
store i32 %73, i32* %3
br label %19
74: ; preds = %19
br label %75
75: ; preds = %74
%76 = load i32, i32* %2
%77 = add nsw i32 %76, 1
store i32 %77, i32* %2
br label %13
78: ; preds = %13
store i32 0, i32* %3
br label %79
79: ; preds = %95, %78
%80 = load i32, i32* %3
%81 = icmp slt i32 %80, 10
br i1 %81, label %82, label %98
82: ; preds = %79
%83 = load i32, i32* %3
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %84
%86 = load i32, i32* %85
%87 = load i32, i32* %6
%88 = icmp sgt i32 %86, %87
br i1 %88, label %89, label %94
89: ; preds = %82
%90 = load i32, i32* %3
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %91
%93 = load i32, i32* %92
store i32 %93, i32* %6
br label %94
94: ; preds = %89, %82
br label %95
95: ; preds = %94
%96 = load i32, i32* %3
%97 = add nsw i32 %96, 1
store i32 %97, i32* %3
br label %79
98: ; preds = %79
store i32 0, i32* %3
br label %99
99: ; preds = %120, %98
%100 = load i32, i32* %3
%101 = icmp slt i32 %100, 10
br i1 %101, label %102, label %123
102: ; preds = %99
%103 = load i32, i32* %3
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %104
%106 = load i32, i32* %105
%107 = mul nsw i32 %106, 20
%108 = load i32, i32* %6
%109 = sdiv i32 %107, %108
%110 = load i32, i32* %3
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %111
store i32 %109, i32* %112
%113 = load i32, i32* %3
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %114
%116 = load i32, i32* %115
%117 = load i32, i32* %3
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 %118
store i32 %116, i32* %119
br label %120
120: ; preds = %102
%121 = load i32, i32* %3
%122 = add nsw i32 %121, 1
store i32 %122, i32* %3
br label %99
123: ; preds = %99
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 20, i32* %2
br label %125
125: ; preds = %228, %123
%126 = load i32, i32* %2
%127 = icmp sge i32 %126, 0
br i1 %127, label %128, label %231
128: ; preds = %125
%129 = load i32, i32* %2
%130 = add nsw i32 %129, 1
switch i32 %130, label %147 [
i32 20, label %131
i32 15, label %134
i32 10, label %138
i32 5, label %142
]
131: ; preds = %128
%132 = load i32, i32* %6
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %132)
br label %149
134: ; preds = %128
%135 = load i32, i32* %6
%136 = sdiv i32 %135, 2
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %136)
br label %149
138: ; preds = %128
%139 = load i32, i32* %6
%140 = sdiv i32 %139, 4
%141 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %140)
br label %149
142: ; preds = %128
%143 = load i32, i32* %6
%144 = mul nsw i32 3, %143
%145 = sdiv i32 %144, 4
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %145)
br label %149
147: ; preds = %128
%148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %149
149: ; preds = %147, %142, %138, %134, %131
%150 = load i32, i32* %2
%151 = icmp eq i32 %150, 20
br i1 %151, label %152, label %173
152: ; preds = %149
store i32 0, i32* %3
br label %153
153: ; preds = %169, %152
%154 = load i32, i32* %3
%155 = icmp slt i32 %154, 10
br i1 %155, label %156, label %172
156: ; preds = %153
%157 = load i32, i32* %3
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %158
%160 = load i32, i32* %159
%161 = load i32, i32* %2
%162 = icmp eq i32 %160, %161
br i1 %162, label %163, label %165
163: ; preds = %156
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
br label %167
165: ; preds = %156
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %167
167: ; preds = %165, %163
%168 = phi i32 [ %164, %163 ], [ %166, %165 ]
br label %169
169: ; preds = %167
%170 = load i32, i32* %3
%171 = add nsw i32 %170, 1
store i32 %171, i32* %3
br label %153
172: ; preds = %153
br label %226
173: ; preds = %149
store i32 0, i32* %3
br label %174
174: ; preds = %222, %173
%175 = load i32, i32* %3
%176 = icmp slt i32 %175, 10
br i1 %176, label %177, label %225
177: ; preds = %174
%178 = load i32, i32* %3
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %179
%181 = load i32, i32* %180
%182 = load i32, i32* %2
%183 = add nsw i32 %182, 1
%184 = icmp eq i32 %181, %183
br i1 %184, label %185, label %192
185: ; preds = %177
%186 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%187 = load i32, i32* %3
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %188
%190 = load i32, i32* %189
%191 = add nsw i32 %190, -1
store i32 %191, i32* %189
br label %221
192: ; preds = %177
%193 = load i32, i32* %3
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 %194
%196 = load i32, i32* %195
%197 = add nsw i32 %196, 1
%198 = load i32, i32* %2
%199 = add nsw i32 %198, 1
%200 = icmp eq i32 %197, %199
br i1 %200, label %201, label %203
201: ; preds = %192
%202 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %205
203: ; preds = %192
%204 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %205
205: ; preds = %203, %201
%206 = phi i32 [ %202, %201 ], [ %204, %203 ]
%207 = load i32, i32* %3
%208 = add nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i64 0, i64 %209
%211 = load i32, i32* %210
%212 = load i32, i32* %2
%213 = add nsw i32 %212, 1
%214 = icmp eq i32 %211, %213
br i1 %214, label %215, label %217
215: ; preds = %205
%216 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %219
217: ; preds = %205
%218 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %219
219: ; preds = %217, %215
%220 = phi i32 [ %216, %215 ], [ %218, %217 ]
br label %221
221: ; preds = %219, %185
br label %222
222: ; preds = %221
%223 = load i32, i32* %3
%224 = add nsw i32 %223, 1
store i32 %224, i32* %3
br label %174
225: ; preds = %174
br label %226
226: ; preds = %225, %172
%227 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %228
228: ; preds = %226
%229 = load i32, i32* %2
%230 = add nsw i32 %229, -1
store i32 %230, i32* %2
br label %125
231: ; preds = %125
%232 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%233 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0))
%234 = load i32, i32* %5
%235 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0), i32 %234)
ret i32 0
}

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