#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 EOF;
int EXIT_SUCCESS;
int getchar();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int main(void) {
  int i, j;
  int c, wl, state, maxval;
  int length[15 + 1];
  for (i = 0; i <= 15; ++i)
    length[i] = 0;
  state = 0;
  while ((c = getchar()) != EOF) {
    if (c == '.') {
      break;
    }
    if (c == ' ' || c == '\t' || c == '\n') {
      if (state == 1) {
        if (wl <= 15)
          length[wl - 1] += 1;
        else
          length[15] += 1;
        state = 0;
      }
    } else {
      if (state == 0) {
        wl = 0;
        state = 1;
      }
      wl += 1;
    }
  }
  printf("Horizontal histogram\n\n");
  for (i = 0; i <= 15; ++i) {
    if (i != 15)
      printf(" %2d: ", i + 1);
    else
      printf(">%d: ", 15);
    for (j = 0; j < length[i]; ++j)
      putchar('#');
    putchar('\n');
  }
  printf("\nVertical histogram\n\n");
  maxval = 0;
  for (i = 0; i <= 15; ++i)
    if (length[i] > maxval)
      maxval = length[i];
  for (i = 0; i < maxval; ++i) {
    printf(" %2d |", maxval - i);
    for (j = 0; j <= 15; ++j) {
      if (length[j] >= maxval - i)
        printf("  #");
      else
        printf("   ");
    }
    printf("\n");
  }
  printf("     ");
  for (i = 0; i <= 15; ++i)
    printf("---");
  printf("-\n");
  printf("     ");
  for (i = 0; i <= 15; ++i)
    if (i != 15)
      printf(" %2d", i + 1);
    else
      printf(" %2d>", i);
  printf("\n");
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0xf,-0x8(%rbp)
jg     116a <main+0x3a>
movslq -0x8(%rbp),%rax
movl   $0x0,-0x60(%rbp,%rax,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1146 <main+0x16>
movl   $0x0,-0x18(%rbp)
mov    $0x0,%al
call   1050 <getchar@plt>
mov    %eax,-0x10(%rbp)
mov    0x2e66(%rip),%rcx
cmp    (%rcx),%eax
je     121e <main+0xee>
cmpl   $0x2e,-0x10(%rbp)
jne    1199 <main+0x69>
jmp    121e <main+0xee>
cmpl   $0x20,-0x10(%rbp)
je     11b7 <main+0x87>
cmpl   $0x9,-0x10(%rbp)
je     11b7 <main+0x87>
cmpl   $0xa,-0x10(%rbp)
jne    11f8 <main+0xc8>
cmpl   $0x1,-0x18(%rbp)
jne    11f3 <main+0xc3>
cmpl   $0xf,-0x14(%rbp)
jg     11e3 <main+0xb3>
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x60(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x60(%rbp,%rax,4)
jmp    11ec <main+0xbc>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
movl   $0x0,-0x18(%rbp)
jmp    1219 <main+0xe9>
cmpl   $0x0,-0x18(%rbp)
jne    1210 <main+0xe0>
movl   $0x0,-0x14(%rbp)
movl   $0x1,-0x18(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1171 <main+0x41>
lea    0xddb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xf,-0x8(%rbp)
jg     12bb <main+0x18b>
cmpl   $0xf,-0x8(%rbp)
je     1260 <main+0x130>
mov    -0x8(%rbp),%esi
add    $0x1,%esi
lea    0xdc3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1273 <main+0x143>
lea    0xdb7(%rip),%rdi
mov    $0xf,%esi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
movslq -0x8(%rbp),%rcx
cmp    -0x60(%rbp,%rcx,4),%eax
jge    12a3 <main+0x173>
mov    $0x23,%edi
call   1030 <putchar@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    127a <main+0x14a>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1233 <main+0x103>
lea    0xd62(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0xf,-0x8(%rbp)
jg     1310 <main+0x1e0>
movslq -0x8(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%eax
cmp    -0x1c(%rbp),%eax
jle    12fd <main+0x1cd>
movslq -0x8(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%eax
mov    %eax,-0x1c(%rbp)
jmp    1302 <main+0x1d2>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12d7 <main+0x1a7>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    13ae <main+0x27e>
mov    -0x1c(%rbp),%esi
sub    -0x8(%rbp),%esi
lea    0xd0a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0xf,-0xc(%rbp)
jg     1392 <main+0x262>
movslq -0xc(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%eax
mov    -0x1c(%rbp),%ecx
sub    -0x8(%rbp),%ecx
cmp    %ecx,%eax
jl     1371 <main+0x241>
lea    0xcdc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    137f <main+0x24f>
lea    0xccf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1384 <main+0x254>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    133e <main+0x20e>
lea    0xc9f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1317 <main+0x1e7>
lea    0xc90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xf,-0x8(%rbp)
jg     13e9 <main+0x2b9>
lea    0xc77(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    13c3 <main+0x293>
lea    0xc5f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xc47(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xf,-0x8(%rbp)
jg     145d <main+0x32d>
cmpl   $0xf,-0x8(%rbp)
je     1439 <main+0x309>
mov    -0x8(%rbp),%esi
add    $0x1,%esi
lea    0xc25(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    144a <main+0x31a>
mov    -0x8(%rbp),%esi
lea    0xc14(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    144f <main+0x31f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    140c <main+0x2dc>
lea    0xbd4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x2b66(%rip),%rax
mov    (%rax),%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    $0x88,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0x2e,%eax
je     11e7 <main+0xa7>
mov    0x2e6d(%rip),%r15
cmp    (%r15),%eax
je     11e7 <main+0xa7>
movabs $0x100000600,%r14
xor    %ebx,%ebx
nopl   0x0(%rax)
cmp    $0x20,%eax
ja     11c0 <main+0x80>
mov    %eax,%eax
bt     %rax,%r14
jae    11c0 <main+0x80>
cmp    $0x1,%ebx
jne    11d4 <main+0x94>
cmp    $0xf,%ebp
jg     11cf <main+0x8f>
movslq %ebp,%rax
addl   $0x1,0x3c(%rsp,%rax,4)
jmp    11d4 <main+0x94>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%ebp
test   %ebx,%ebx
mov    $0x1,%ebx
cmove  %ebx,%ebp
jmp    11d6 <main+0x96>
addl   $0x1,0x7c(%rsp)
xor    %ebx,%ebx
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0x2e,%eax
je     11e7 <main+0xa7>
cmp    (%r15),%eax
jne    1190 <main+0x50>
lea    0xe3f(%rip),%rdi
call   1040 <puts@plt>
lea    0xe0d(%rip),%r14
lea    0xdff(%rip),%r15
xor    %ebp,%ebp
jmp    1224 <main+0xe4>
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbp
cmp    $0x10,%rbp
je     1271 <main+0x131>
cmp    $0xf,%rbp
jne    1240 <main+0x100>
mov    %r14,%rdi
mov    $0xf,%esi
jmp    1246 <main+0x106>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0x1(%rbp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x40(%rsp,%rbp,4),%ebx
test   %ebx,%ebx
jle    1210 <main+0xd0>
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0x23,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebx
jne    1260 <main+0x120>
jmp    1210 <main+0xd0>
lea    0xdcb(%rip),%rdi
call   1040 <puts@plt>
movdqa 0x40(%rsp),%xmm0
movdqa 0x50(%rsp),%xmm1
movdqa 0x60(%rsp),%xmm2
movdqa 0x70(%rsp),%xmm3
movdqa %xmm1,%xmm4
pcmpgtd %xmm3,%xmm4
pand   %xmm4,%xmm1
pandn  %xmm3,%xmm4
por    %xmm1,%xmm4
movdqa %xmm0,%xmm1
pcmpgtd %xmm2,%xmm1
pand   %xmm1,%xmm0
pandn  %xmm2,%xmm1
por    %xmm0,%xmm1
movdqa %xmm1,%xmm0
pcmpgtd %xmm4,%xmm0
pand   %xmm0,%xmm1
pandn  %xmm4,%xmm0
por    %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
movdqa %xmm0,%xmm2
pcmpgtd %xmm1,%xmm2
pand   %xmm2,%xmm0
pandn  %xmm1,%xmm2
por    %xmm0,%xmm2
pshufd $0x55,%xmm2,%xmm0
movdqa %xmm2,%xmm1
pcmpgtd %xmm0,%xmm1
pand   %xmm1,%xmm2
pandn  %xmm0,%xmm1
por    %xmm2,%xmm1
movd   %xmm1,%eax
xor    %ebx,%ebx
test   %eax,%eax
cmovns %eax,%ebx
jle    14df <main+0x39f>
mov    0x40(%rsp),%eax
mov    %eax,0x3c(%rsp)
mov    0x44(%rsp),%eax
mov    %eax,0x38(%rsp)
mov    0x48(%rsp),%eax
mov    %eax,0x34(%rsp)
mov    0x4c(%rsp),%eax
mov    %eax,0x30(%rsp)
mov    0x50(%rsp),%eax
mov    %eax,0x2c(%rsp)
mov    0x54(%rsp),%eax
mov    %eax,0x28(%rsp)
mov    0x58(%rsp),%eax
mov    %eax,0x24(%rsp)
mov    0x5c(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    0x60(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    0x64(%rsp),%eax
mov    %eax,0x18(%rsp)
mov    0x68(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x6c(%rsp),%eax
mov    %eax,0x10(%rsp)
mov    0x70(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0x74(%rsp),%ebp
mov    0x78(%rsp),%r14d
mov    0x7c(%rsp),%r15d
lea    0xc89(%rip),%r12
lea    0xc7c(%rip),%r13
nopl   0x0(%rax,%rax,1)
lea    0xc66(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x3c(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x38(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x34(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x30(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x2c(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x28(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x24(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x20(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x1c(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x18(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x14(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x10(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0xc(%rsp)
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,%ebp
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,%r14d
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,%r15d
mov    %r13,%rdi
cmovl  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebx
jne    13a0 <main+0x260>
lea    0xb32(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xb27(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa82(%rip),%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa6e(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x98b(%rip),%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x291f(%rip),%rax
mov    (%rax),%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@EOF = global i32 0
@.str = [23 x i8] c"Horizontal histogram\0A\0A\00"
@.str.1 = [7 x i8] c" %2d: \00"
@.str.2 = [6 x i8] c">%d: \00"
@.str.3 = [22 x i8] c"\0AVertical histogram\0A\0A\00"
@.str.4 = [7 x i8] c" %2d |\00"
@.str.5 = [4 x i8] c" #\00"
@.str.6 = [4 x i8] c" \00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [6 x i8] c" \00"
@.str.9 = [4 x i8] c"---\00"
@.str.10 = [3 x i8] c"-\0A\00"
@.str.11 = [5 x i8] c" %2d\00"
@.str.12 = [6 x i8] c" %2d>\00"
@EXIT_SUCCESS = global i32 0
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 [16 x i32]
store i32 0, i32* %1
store i32 0, i32* %2
br label %9
9: ; preds = %16, %0
%10 = load i32, i32* %2
%11 = icmp sle i32 %10, 15
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, i32* %2
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [16 x i32], [16 x i32]* %8, i64 0, i64 %14
store i32 0, i32* %15
br label %16
16: ; preds = %12
%17 = load i32, i32* %2
%18 = add nsw i32 %17, 1
store i32 %18, i32* %2
br label %9
19: ; preds = %9
store i32 0, i32* %6
br label %20
20: ; preds = %63, %19
%21 = call i32 (...) @getchar()
store i32 %21, i32* %4
%22 = load i32, i32* @EOF
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %64
24: ; preds = %20
%25 = load i32, i32* %4
%26 = icmp eq i32 %25, 46
br i1 %26, label %27, label %28
27: ; preds = %24
br label %64
28: ; preds = %24
%29 = load i32, i32* %4
%30 = icmp eq i32 %29, 32
br i1 %30, label %37, label %31
31: ; preds = %28
%32 = load i32, i32* %4
%33 = icmp eq i32 %32, 9
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, i32* %4
%36 = icmp eq i32 %35, 10
br i1 %36, label %37, label %56
37: ; preds = %34, %31, %28
%38 = load i32, i32* %6
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %55
40: ; preds = %37
%41 = load i32, i32* %5
%42 = icmp sle i32 %41, 15
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = load i32, i32* %5
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [16 x i32], [16 x i32]* %8, i64 0, i64 %46
%48 = load i32, i32* %47
%49 = add nsw i32 %48, 1
store i32 %49, i32* %47
br label %54
50: ; preds = %40
%51 = getelementptr inbounds [16 x i32], [16 x i32]* %8, i64 0, i64 15
%52 = load i32, i32* %51
%53 = add nsw i32 %52, 1
store i32 %53, i32* %51
br label %54
54: ; preds = %50, %43
store i32 0, i32* %6
br label %55
55: ; preds = %54, %37
br label %63
56: ; preds = %34
%57 = load i32, i32* %6
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %56
store i32 0, i32* %5
store i32 1, i32* %6
br label %60
60: ; preds = %59, %56
%61 = load i32, i32* %5
%62 = add nsw i32 %61, 1
store i32 %62, i32* %5
br label %63
63: ; preds = %60, %55
br label %20
64: ; preds = %27, %20
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %2
br label %66
66: ; preds = %93, %64
%67 = load i32, i32* %2
%68 = icmp sle i32 %67, 15
br i1 %68, label %69, label %96
69: ; preds = %66
%70 = load i32, i32* %2
%71 = icmp ne i32 %70, 15
br i1 %71, label %72, label %76
72: ; preds = %69
%73 = load i32, i32* %2
%74 = add nsw i32 %73, 1
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %74)
br label %78
76: ; preds = %69
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 15)
br label %78
78: ; preds = %76, %72
store i32 0, i32* %3
br label %79
79: ; preds = %88, %78
%80 = load i32, i32* %3
%81 = load i32, i32* %2
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [16 x i32], [16 x i32]* %8, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = icmp slt i32 %80, %84
br i1 %85, label %86, label %91
86: ; preds = %79
%87 = call i32 @putchar(i8 signext 35)
br label %88
88: ; preds = %86
%89 = load i32, i32* %3
%90 = add nsw i32 %89, 1
store i32 %90, i32* %3
br label %79
91: ; preds = %79
%92 = call i32 @putchar(i8 signext 10)
br label %93
93: ; preds = %91
%94 = load i32, i32* %2
%95 = add nsw i32 %94, 1
store i32 %95, i32* %2
br label %66
96: ; preds = %66
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %7
store i32 0, i32* %2
br label %98
98: ; preds = %114, %96
%99 = load i32, i32* %2
%100 = icmp sle i32 %99, 15
br i1 %100, label %101, label %117
101: ; preds = %98
%102 = load i32, i32* %2
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [16 x i32], [16 x i32]* %8, i64 0, i64 %103
%105 = load i32, i32* %104
%106 = load i32, i32* %7
%107 = icmp sgt i32 %105, %106
br i1 %107, label %108, label %113
108: ; preds = %101
%109 = load i32, i32* %2
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [16 x i32], [16 x i32]* %8, i64 0, i64 %110
%112 = load i32, i32* %111
store i32 %112, i32* %7
br label %113
113: ; preds = %108, %101
br label %114
114: ; preds = %113
%115 = load i32, i32* %2
%116 = add nsw i32 %115, 1
store i32 %116, i32* %2
br label %98
117: ; preds = %98
store i32 0, i32* %2
br label %118
118: ; preds = %149, %117
%119 = load i32, i32* %2
%120 = load i32, i32* %7
%121 = icmp slt i32 %119, %120
br i1 %121, label %122, label %152
122: ; preds = %118
%123 = load i32, i32* %7
%124 = load i32, i32* %2
%125 = sub nsw i32 %123, %124
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 %125)
store i32 0, i32* %3
br label %127
127: ; preds = %144, %122
%128 = load i32, i32* %3
%129 = icmp sle i32 %128, 15
br i1 %129, label %130, label %147
130: ; preds = %127
%131 = load i32, i32* %3
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [16 x i32], [16 x i32]* %8, i64 0, i64 %132
%134 = load i32, i32* %133
%135 = load i32, i32* %7
%136 = load i32, i32* %2
%137 = sub nsw i32 %135, %136
%138 = icmp sge i32 %134, %137
br i1 %138, label %139, label %141
139: ; preds = %130
%140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
br label %143
141: ; preds = %130
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
br label %143
143: ; preds = %141, %139
br label %144
144: ; preds = %143
%145 = load i32, i32* %3
%146 = add nsw i32 %145, 1
store i32 %146, i32* %3
br label %127
147: ; preds = %127
%148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %149
149: ; preds = %147
%150 = load i32, i32* %2
%151 = add nsw i32 %150, 1
store i32 %151, i32* %2
br label %118
152: ; preds = %118
%153 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %2
br label %154
154: ; preds = %159, %152
%155 = load i32, i32* %2
%156 = icmp sle i32 %155, 15
br i1 %156, label %157, label %162
157: ; preds = %154
%158 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
br label %159
159: ; preds = %157
%160 = load i32, i32* %2
%161 = add nsw i32 %160, 1
store i32 %161, i32* %2
br label %154
162: ; preds = %154
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %2
br label %165
165: ; preds = %179, %162
%166 = load i32, i32* %2
%167 = icmp sle i32 %166, 15
br i1 %167, label %168, label %182
168: ; preds = %165
%169 = load i32, i32* %2
%170 = icmp ne i32 %169, 15
br i1 %170, label %171, label %175
171: ; preds = %168
%172 = load i32, i32* %2
%173 = add nsw i32 %172, 1
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 %173)
br label %178
175: ; preds = %168
%176 = load i32, i32* %2
%177 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), i32 %176)
br label %178
178: ; preds = %175, %171
br label %179
179: ; preds = %178
%180 = load i32, i32* %2
%181 = add nsw i32 %180, 1
store i32 %181, i32* %2
br label %165
182: ; preds = %165
%183 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%184 = load i32, i32* @EXIT_SUCCESS
ret i32 %184
}

LLVM IR (-O2):
@EOF = global i32 0
@.str.1 = [7 x i8] c" %2d: \00"
@.str.2 = [6 x i8] c">%d: \00"
@.str.4 = [7 x i8] c" %2d |\00"
@.str.5 = [4 x i8] c" #\00"
@.str.6 = [4 x i8] c" \00"
@.str.8 = [6 x i8] c" \00"
@.str.9 = [4 x i8] c"---\00"
@.str.11 = [5 x i8] c" %2d\00"
@.str.12 = [6 x i8] c" %2d>\00"
@EXIT_SUCCESS = global i32 0
@str = [22 x i8] c"Horizontal histogram\0A\00"
@str.13 = [21 x i8] c"\0AVertical histogram\0A\00"
@str.14 = [2 x i8] c"-\00"
define i32 @main() {
%1 = alloca <16 x i32>
%2 = bitcast <16 x i32>* %1 to i8*
%3 = tail call i32 (...) @getchar()
%4 = load i32, i32* @EOF
%5 = icmp eq i32 %3, %4
%6 = icmp eq i32 %3, 46
%7 = or i1 %6, %5
br i1 %7, label %39, label %8
8: ; preds = %0
%9 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 15
br label %10
10: ; preds = %8, %31
%11 = phi i32 [ %3, %8 ], [ %34, %31 ]
%12 = phi i32 [ 0, %8 ], [ %33, %31 ]
%13 = phi i32 [ undef, %8 ], [ %32, %31 ]
switch i32 %11, label %27 [
i32 32, label %14
i32 10, label %14
i32 9, label %14
]
14: ; preds = %10, %10, %10
%15 = icmp eq i32 %12, 1
br i1 %15, label %16, label %31
16: ; preds = %14
%17 = icmp slt i32 %13, 16
br i1 %17, label %18, label %24
18: ; preds = %16
%19 = add nsw i32 %13, -1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 %20
%22 = load i32, i32* %21
%23 = add nsw i32 %22, 1
store i32 %23, i32* %21
br label %31
24: ; preds = %16
%25 = load i32, i32* %9
%26 = add nsw i32 %25, 1
store i32 %26, i32* %9
br label %31
27: ; preds = %10
%28 = icmp eq i32 %12, 0
%29 = add nsw i32 %13, 1
%30 = select i1 %28, i32 1, i32 %29
br label %31
31: ; preds = %18, %24, %14, %27
%32 = phi i32 [ %13, %14 ], [ %30, %27 ], [ %13, %24 ], [ %13, %18 ]
%33 = phi i32 [ 0, %14 ], [ 1, %27 ], [ 0, %24 ], [ 0, %18 ]
%34 = tail call i32 (...) @getchar()
%35 = load i32, i32* @EOF
%36 = icmp eq i32 %34, %35
%37 = icmp eq i32 %34, 46
%38 = or i1 %37, %36
br i1 %38, label %39, label %10
39: ; preds = %31, %0
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0))
br label %41
41: ; preds = %39, %59
%42 = phi i64 [ 0, %39 ], [ %61, %59 ]
%43 = icmp eq i64 %42, 15
br i1 %43, label %48, label %44
44: ; preds = %41
%45 = trunc i64 %42 to i32
%46 = add i32 %45, 1
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %46)
br label %50
48: ; preds = %41
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 15)
br label %50
50: ; preds = %48, %44
%51 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 %42
%52 = load i32, i32* %51
%53 = icmp sgt i32 %52, 0
br i1 %53, label %54, label %59
54: ; preds = %50, %54
%55 = phi i32 [ %57, %54 ], [ 0, %50 ]
%56 = tail call i32 @putchar(i8 signext 35)
%57 = add nuw nsw i32 %55, 1
%58 = icmp eq i32 %57, %52
br i1 %58, label %59, label %54
59: ; preds = %54, %50
%60 = tail call i32 @putchar(i8 signext 10)
%61 = add nuw nsw i64 %42, 1
%62 = icmp eq i64 %61, 16
br i1 %62, label %63, label %41
63: ; preds = %59
%64 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.13, i64 0, i64 0))
%65 = load <16 x i32>, <16 x i32>* %1
%66 = call i32 @llvm.vector.reduce.smax.v16i32(<16 x i32> %65)
%67 = icmp sgt i32 %66, 0
%68 = select i1 %67, i32 %66, i32 0
%69 = icmp slt i32 %66, 1
br i1 %69, label %158, label %70
70: ; preds = %63
%71 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 0
%72 = load i32, i32* %71
%73 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 1
%74 = load i32, i32* %73
%75 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 2
%76 = load i32, i32* %75
%77 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 3
%78 = load i32, i32* %77
%79 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 4
%80 = load i32, i32* %79
%81 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 5
%82 = load i32, i32* %81
%83 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 6
%84 = load i32, i32* %83
%85 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 7
%86 = load i32, i32* %85
%87 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 8
%88 = load i32, i32* %87
%89 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 9
%90 = load i32, i32* %89
%91 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 10
%92 = load i32, i32* %91
%93 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 11
%94 = load i32, i32* %93
%95 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 12
%96 = load i32, i32* %95
%97 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 13
%98 = load i32, i32* %97
%99 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 14
%100 = load i32, i32* %99
%101 = getelementptr inbounds <16 x i32>, <16 x i32>* %1, i64 0, i64 15
%102 = load i32, i32* %101
br label %103
103: ; preds = %70, %103
%104 = phi i32 [ %156, %103 ], [ 0, %70 ]
%105 = sub nsw i32 %68, %104
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 %105)
%107 = icmp slt i32 %72, %105
%108 = select i1 %107, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %108)
%110 = icmp slt i32 %74, %105
%111 = select i1 %110, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %111)
%113 = icmp slt i32 %76, %105
%114 = select i1 %113, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%115 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %114)
%116 = icmp slt i32 %78, %105
%117 = select i1 %116, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%118 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %117)
%119 = icmp slt i32 %80, %105
%120 = select i1 %119, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%121 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %120)
%122 = icmp slt i32 %82, %105
%123 = select i1 %122, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%124 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %123)
%125 = icmp slt i32 %84, %105
%126 = select i1 %125, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%127 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %126)
%128 = icmp slt i32 %86, %105
%129 = select i1 %128, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %129)
%131 = icmp slt i32 %88, %105
%132 = select i1 %131, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%133 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %132)
%134 = icmp slt i32 %90, %105
%135 = select i1 %134, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%136 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %135)
%137 = icmp slt i32 %92, %105
%138 = select i1 %137, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%139 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %138)
%140 = icmp slt i32 %94, %105
%141 = select i1 %140, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%142 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %141)
%143 = icmp slt i32 %96, %105
%144 = select i1 %143, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%145 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %144)
%146 = icmp slt i32 %98, %105
%147 = select i1 %146, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%148 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %147)
%149 = icmp slt i32 %100, %105
%150 = select i1 %149, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%151 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %150)
%152 = icmp slt i32 %102, %105
%153 = select i1 %152, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
%154 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %153)
%155 = tail call i32 bitcast (i32 (i8)* @putchar to i32 (i32)*)(i32 10)
%156 = add nuw nsw i32 %104, 1
%157 = icmp eq i32 %156, %68
br i1 %157, label %158, label %103
158: ; preds = %103, %63
%159 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%160 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%161 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%162 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%163 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%164 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%165 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%166 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%167 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%168 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%169 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%170 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%171 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%172 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%173 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%174 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%175 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%176 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.14, i64 0, i64 0))
%177 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%178 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 1)
%179 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 2)
%180 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 3)
%181 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%182 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 5)
%183 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 6)
%184 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 7)
%185 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 8)
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 9)
%187 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 10)
%188 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 11)
%189 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 12)
%190 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 13)
%191 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 14)
%192 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 15)
%193 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), i32 15)
%194 = tail call i32 bitcast (i32 (i8)* @putchar to i32 (i32)*)(i32 10)
%195 = load i32, i32* @EXIT_SUCCESS
ret i32 %195
}