#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 */
char EOF;
char getchar();
int /*<<< orphan*/ printf(char *, ...);
int main() {
  char c;
  int cnt, i, j;
  int wn[12 + 1 + 1] = {0};
  cnt = 0;
  while ((c = getchar()) != EOF) {
    if (c == '\n' || c == ' ' || c == '\t') {
      ++(wn[cnt]);
      cnt = 0;
      continue;
    }
    ++cnt;
    if (cnt > 12)
      cnt = 12 + 1;
  }
  ++(wn[cnt]);
  printf("输入单词长度水平直方图\n");
  for (i = 1; i <= 12 + 1; ++i) {
    if (i == 12 + 1)
      printf(">%2d ", 12);
    else
      printf("%3d ", i);
    for (j = 0; j < wn[i]; ++j)
      printf("*");
    printf("\n");
  }
  printf("\n");
  printf("输入单词长度垂直直方图\n");
  j = 0;
  for (i = 1; i <= 12 + 1; ++i) {
    if (wn[i] > j)
      j = wn[i];
  }
  while (j != 0) {
    for (i = 1; i <= 12 + 1; ++i) {
      if (wn[i] < j)
        printf("    ");
      else
        printf("  * ");
    }
    printf("\n");
    --j;
  }
  for (i = 1; i <= 12; ++i)
    printf(" %2d ", i);
  printf(">%2d", 12);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x38,%edx
call   1040 <memset@plt>
movl   $0x0,-0xc(%rbp)
mov    $0x0,%al
call   1050 <getchar@plt>
mov    %al,-0x5(%rbp)
movsbl %al,%eax
mov    0x2e7e(%rip),%rcx
movsbl (%rcx),%ecx
cmp    %ecx,%eax
je     11d6 <main+0xa6>
movsbl -0x5(%rbp),%eax
cmp    $0xa,%eax
je     119c <main+0x6c>
movsbl -0x5(%rbp),%eax
cmp    $0x20,%eax
je     119c <main+0x6c>
movsbl -0x5(%rbp),%eax
cmp    $0x9,%eax
jne    11b7 <main+0x87>
movslq -0xc(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x50(%rbp,%rax,4)
movl   $0x0,-0xc(%rbp)
jmp    1156 <main+0x26>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
cmpl   $0xc,-0xc(%rbp)
jle    11d1 <main+0xa1>
movl   $0xd,-0xc(%rbp)
jmp    1156 <main+0x26>
movslq -0xc(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x50(%rbp,%rax,4)
lea    0xe14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x10(%rbp)
cmpl   $0xd,-0x10(%rbp)
jg     1287 <main+0x157>
cmpl   $0xd,-0x10(%rbp)
jne    1226 <main+0xf6>
lea    0xe0e(%rip),%rdi
mov    $0xc,%esi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1237 <main+0x107>
mov    -0x10(%rbp),%esi
lea    0xdf9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
movslq -0x10(%rbp),%rcx
cmp    -0x50(%rbp,%rcx,4),%eax
jge    126b <main+0x13b>
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    123e <main+0x10e>
lea    0xdaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11fa <main+0xca>
lea    0xd93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd94(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
movl   $0x1,-0x10(%rbp)
cmpl   $0xd,-0x10(%rbp)
jg     12ea <main+0x1ba>
movslq -0x10(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
cmp    -0x14(%rbp),%eax
jle    12d7 <main+0x1a7>
movslq -0x10(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
mov    %eax,-0x14(%rbp)
jmp    12dc <main+0x1ac>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    12b1 <main+0x181>
jmp    12ef <main+0x1bf>
cmpl   $0x0,-0x14(%rbp)
je     136b <main+0x23b>
movl   $0x1,-0x10(%rbp)
cmpl   $0xd,-0x10(%rbp)
jg     134f <main+0x21f>
movslq -0x10(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
cmp    -0x14(%rbp),%eax
jge    132e <main+0x1fe>
lea    0xd31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    133c <main+0x20c>
lea    0xd23(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1341 <main+0x211>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1300 <main+0x1d0>
lea    0xccb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    12ef <main+0x1bf>
movl   $0x1,-0x10(%rbp)
cmpl   $0xc,-0x10(%rbp)
jg     139b <main+0x26b>
mov    -0x10(%rbp),%esi
lea    0xcd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1372 <main+0x242>
lea    0xcc1(%rip),%rdi
mov    $0xc,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movq   $0x0,0x60(%rsp)
xor    %ebp,%ebp
xor    %eax,%eax
call   1060 <getchar@plt>
mov    0x2e6f(%rip),%rbx
cmp    (%rbx),%al
jne    14c9 <main+0x389>
movslq %ebp,%rax
addl   $0x1,0x30(%rsp,%rax,4)
lea    0xe90(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebx
lea    0xe5f(%rip),%r14
lea    0xe5e(%rip),%r15
jmp    11c4 <main+0x84>
nopw   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbx
cmp    $0xe,%rbx
je     1211 <main+0xd1>
cmp    $0xd,%rbx
jne    11e0 <main+0xa0>
mov    %r14,%rdi
mov    $0xc,%esi
jmp    11e5 <main+0xa5>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r15,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x30(%rsp,%rbx,4),%ebp
test   %ebp,%ebp
jle    11b0 <main+0x70>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    $0x2a,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebp
jne    1200 <main+0xc0>
jmp    11b0 <main+0x70>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe20(%rip),%rdi
call   1040 <puts@plt>
mov    0x34(%rsp),%r14d
mov    0x38(%rsp),%eax
xor    %ebx,%ebx
test   %r14d,%r14d
cmovns %r14d,%ebx
cmp    %ebx,%eax
mov    %eax,0x2c(%rsp)
cmovg  %eax,%ebx
mov    0x3c(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x28(%rsp)
cmovg  %eax,%ebx
mov    0x40(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x24(%rsp)
cmovg  %eax,%ebx
mov    0x44(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x20(%rsp)
cmovg  %eax,%ebx
mov    0x48(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x1c(%rsp)
cmovg  %eax,%ebx
mov    0x4c(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x18(%rsp)
cmovg  %eax,%ebx
mov    0x50(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x14(%rsp)
cmovg  %eax,%ebx
mov    0x54(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x10(%rsp)
cmovg  %eax,%ebx
mov    0x58(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0xc(%rsp)
cmovg  %eax,%ebx
mov    0x5c(%rsp),%eax
cmp    %ebx,%eax
mov    %eax,0x8(%rsp)
cmovg  %eax,%ebx
mov    0x60(%rsp),%r15d
cmp    %ebx,%r15d
cmovg  %r15d,%ebx
mov    0x64(%rsp),%r12d
cmp    %ebx,%r12d
cmovg  %r12d,%ebx
test   %ebx,%ebx
je     13ea <main+0x2aa>
lea    0xd2d(%rip),%r13
lea    0xd2b(%rip),%rbp
cs nopw 0x0(%rax,%rax,1)
nop
cmp    %ebx,%r14d
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x2c(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x28(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x24(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x20(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x1c(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x18(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x14(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x10(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0xc(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,0x8(%rsp)
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,%r15d
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    %ebx,%r12d
mov    %rbp,%rdi
cmovl  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebx
jne    12f0 <main+0x1b0>
lea    0xc24(%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>
lea    0xb6f(%rip),%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0xd,%r14d
movabs $0x100000600,%r15
xor    %ebp,%ebp
jmp    14fb <main+0x3bb>
nopl   (%rax)
cmp    $0xc,%ebp
lea    0x1(%rbp),%eax
cmovge %r14d,%eax
mov    %eax,%ebp
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    (%rbx),%al
je     1181 <main+0x41>
cmp    $0x20,%al
ja     14e0 <main+0x3a0>
movzbl %al,%eax
bt     %rax,%r15
jae    14e0 <main+0x3a0>
movslq %ebp,%rax
addl   $0x1,0x30(%rsp,%rax,4)
xor    %ebp,%ebp
jmp    14ec <main+0x3ac>

LLVM IR (-O0):
@EOF = global i8 0
@.str = [35 x i8] c"\E8\BE\93\E5\85\A5\E5\8D\95\E8\AF\8D\E9\95\BF\E5\BA\A6\E6\B0\B4\E5\B9\B3\E7\9B\B4\E6\96\B9\E5\9B\BE\0A\00"
@.str.1 = [6 x i8] c">%2d \00"
@.str.2 = [5 x i8] c"%3d \00"
@.str.3 = [2 x i8] c"*\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [35 x i8] c"\E8\BE\93\E5\85\A5\E5\8D\95\E8\AF\8D\E9\95\BF\E5\BA\A6\E5\9E\82\E7\9B\B4\E7\9B\B4\E6\96\B9\E5\9B\BE\0A\00"
@.str.6 = [5 x i8] c" \00"
@.str.7 = [5 x i8] c" * \00"
@.str.8 = [6 x i8] c" %2d \00"
@.str.9 = [5 x i8] c">%2d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca [14 x i32]
store i32 0, i32* %1
%7 = bitcast [14 x i32]* %6 to i8*
store i32 0, i32* %3
br label %8
8: ; preds = %38, %26, %0
%9 = call signext i8 (...) @getchar()
store i8 %9, i8* %2
%10 = sext i8 %9 to i32
%11 = load i8, i8* @EOF
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %10, %12
br i1 %13, label %14, label %39
14: ; preds = %8
%15 = load i8, i8* %2
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 10
br i1 %17, label %26, label %18
18: ; preds = %14
%19 = load i8, i8* %2
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 32
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load i8, i8* %2
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 9
br i1 %25, label %26, label %32
26: ; preds = %22, %18, %14
%27 = load i32, i32* %3
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [14 x i32], [14 x i32]* %6, i64 0, i64 %28
%30 = load i32, i32* %29
%31 = add nsw i32 %30, 1
store i32 %31, i32* %29
store i32 0, i32* %3
br label %8
32: ; preds = %22
%33 = load i32, i32* %3
%34 = add nsw i32 %33, 1
store i32 %34, i32* %3
%35 = load i32, i32* %3
%36 = icmp sgt i32 %35, 12
br i1 %36, label %37, label %38
37: ; preds = %32
store i32 13, i32* %3
br label %38
38: ; preds = %37, %32
br label %8
39: ; preds = %8
%40 = load i32, i32* %3
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [14 x i32], [14 x i32]* %6, i64 0, i64 %41
%43 = load i32, i32* %42
%44 = add nsw i32 %43, 1
store i32 %44, i32* %42
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %4
br label %46
46: ; preds = %72, %39
%47 = load i32, i32* %4
%48 = icmp sle i32 %47, 13
br i1 %48, label %49, label %75
49: ; preds = %46
%50 = load i32, i32* %4
%51 = icmp eq i32 %50, 13
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 12)
br label %57
54: ; preds = %49
%55 = load i32, i32* %4
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %55)
br label %57
57: ; preds = %54, %52
store i32 0, i32* %5
br label %58
58: ; preds = %67, %57
%59 = load i32, i32* %5
%60 = load i32, i32* %4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [14 x i32], [14 x i32]* %6, i64 0, i64 %61
%63 = load i32, i32* %62
%64 = icmp slt i32 %59, %63
br i1 %64, label %65, label %70
65: ; preds = %58
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %67
67: ; preds = %65
%68 = load i32, i32* %5
%69 = add nsw i32 %68, 1
store i32 %69, i32* %5
br label %58
70: ; preds = %58
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %72
72: ; preds = %70
%73 = load i32, i32* %4
%74 = add nsw i32 %73, 1
store i32 %74, i32* %4
br label %46
75: ; preds = %46
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %5
store i32 1, i32* %4
br label %78
78: ; preds = %94, %75
%79 = load i32, i32* %4
%80 = icmp sle i32 %79, 13
br i1 %80, label %81, label %97
81: ; preds = %78
%82 = load i32, i32* %4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [14 x i32], [14 x i32]* %6, i64 0, i64 %83
%85 = load i32, i32* %84
%86 = load i32, i32* %5
%87 = icmp sgt i32 %85, %86
br i1 %87, label %88, label %93
88: ; preds = %81
%89 = load i32, i32* %4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [14 x i32], [14 x i32]* %6, i64 0, i64 %90
%92 = load i32, i32* %91
store i32 %92, i32* %5
br label %93
93: ; preds = %88, %81
br label %94
94: ; preds = %93
%95 = load i32, i32* %4
%96 = add nsw i32 %95, 1
store i32 %96, i32* %4
br label %78
97: ; preds = %78
br label %98
98: ; preds = %120, %97
%99 = load i32, i32* %5
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %124
101: ; preds = %98
store i32 1, i32* %4
br label %102
102: ; preds = %117, %101
%103 = load i32, i32* %4
%104 = icmp sle i32 %103, 13
br i1 %104, label %105, label %120
105: ; preds = %102
%106 = load i32, i32* %4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [14 x i32], [14 x i32]* %6, i64 0, i64 %107
%109 = load i32, i32* %108
%110 = load i32, i32* %5
%111 = icmp slt i32 %109, %110
br i1 %111, label %112, label %114
112: ; preds = %105
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %116
114: ; preds = %105
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %116
116: ; preds = %114, %112
br label %117
117: ; preds = %116
%118 = load i32, i32* %4
%119 = add nsw i32 %118, 1
store i32 %119, i32* %4
br label %102
120: ; preds = %102
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%122 = load i32, i32* %5
%123 = add nsw i32 %122, -1
store i32 %123, i32* %5
br label %98
124: ; preds = %98
store i32 1, i32* %4
br label %125
125: ; preds = %131, %124
%126 = load i32, i32* %4
%127 = icmp sle i32 %126, 12
br i1 %127, label %128, label %134
128: ; preds = %125
%129 = load i32, i32* %4
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 %129)
br label %131
131: ; preds = %128
%132 = load i32, i32* %4
%133 = add nsw i32 %132, 1
store i32 %133, i32* %4
br label %125
134: ; preds = %125
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 12)
ret i32 0
}

LLVM IR (-O2):
@EOF = global i8 0
@.str.1 = [6 x i8] c">%2d \00"
@.str.2 = [5 x i8] c"%3d \00"
@.str.6 = [5 x i8] c" \00"
@.str.7 = [5 x i8] c" * \00"
@.str.8 = [6 x i8] c" %2d \00"
@.str.9 = [5 x i8] c">%2d\00"
@str = [34 x i8] c"\E8\BE\93\E5\85\A5\E5\8D\95\E8\AF\8D\E9\95\BF\E5\BA\A6\E6\B0\B4\E5\B9\B3\E7\9B\B4\E6\96\B9\E5\9B\BE\00"
@str.10 = [34 x i8] c"\E8\BE\93\E5\85\A5\E5\8D\95\E8\AF\8D\E9\95\BF\E5\BA\A6\E5\9E\82\E7\9B\B4\E7\9B\B4\E6\96\B9\E5\9B\BE\00"
define i32 @main() {
%1 = alloca [14 x i32]
%2 = bitcast [14 x i32]* %1 to i8*
%3 = tail call signext i8 (...) @getchar()
%4 = load i8, i8* @EOF
%5 = icmp eq i8 %3, %4
br i1 %5, label %23, label %6
6: ; preds = %0, %14
%7 = phi i8 [ %16, %14 ], [ %3, %0 ]
%8 = phi i32 [ %15, %14 ], [ 0, %0 ]
switch i8 %7, label %19 [
i8 32, label %9
i8 10, label %9
i8 9, label %9
]
9: ; preds = %6, %6, %6
%10 = sext i32 %8 to i64
%11 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 %10
%12 = load i32, i32* %11
%13 = add nsw i32 %12, 1
store i32 %13, i32* %11
br label %14
14: ; preds = %9, %19
%15 = phi i32 [ 0, %9 ], [ %22, %19 ]
%16 = tail call signext i8 (...) @getchar()
%17 = load i8, i8* @EOF
%18 = icmp eq i8 %16, %17
br i1 %18, label %23, label %6
19: ; preds = %6
%20 = add nsw i32 %8, 1
%21 = icmp sgt i32 %8, 11
%22 = select i1 %21, i32 13, i32 %20
br label %14
23: ; preds = %14, %0
%24 = phi i32 [ 0, %0 ], [ %15, %14 ]
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 %25
%27 = load i32, i32* %26
%28 = add nsw i32 %27, 1
store i32 %28, i32* %26
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
br label %30
30: ; preds = %23, %47
%31 = phi i64 [ 1, %23 ], [ %49, %47 ]
%32 = icmp eq i64 %31, 13
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 12)
br label %38
35: ; preds = %30
%36 = trunc i64 %31 to i32
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %36)
br label %38
38: ; preds = %35, %33
%39 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 %31
%40 = load i32, i32* %39
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %47
42: ; preds = %38, %42
%43 = phi i32 [ %45, %42 ], [ 0, %38 ]
%44 = tail call i32 @putchar(i32 42)
%45 = add nuw nsw i32 %43, 1
%46 = icmp eq i32 %45, %40
br i1 %46, label %47, label %42
47: ; preds = %42, %38
%48 = tail call i32 @putchar(i32 10)
%49 = add nuw nsw i64 %31, 1
%50 = icmp eq i64 %49, 14
br i1 %50, label %51, label %30
51: ; preds = %47
%52 = tail call i32 @putchar(i32 10)
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.10, i64 0, i64 0))
%54 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 1
%55 = load i32, i32* %54
%56 = icmp sgt i32 %55, 0
%57 = select i1 %56, i32 %55, i32 0
%58 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 2
%59 = load i32, i32* %58
%60 = icmp sgt i32 %59, %57
%61 = select i1 %60, i32 %59, i32 %57
%62 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 3
%63 = load i32, i32* %62
%64 = icmp sgt i32 %63, %61
%65 = select i1 %64, i32 %63, i32 %61
%66 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 4
%67 = load i32, i32* %66
%68 = icmp sgt i32 %67, %65
%69 = select i1 %68, i32 %67, i32 %65
%70 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 5
%71 = load i32, i32* %70
%72 = icmp sgt i32 %71, %69
%73 = select i1 %72, i32 %71, i32 %69
%74 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 6
%75 = load i32, i32* %74
%76 = icmp sgt i32 %75, %73
%77 = select i1 %76, i32 %75, i32 %73
%78 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 7
%79 = load i32, i32* %78
%80 = icmp sgt i32 %79, %77
%81 = select i1 %80, i32 %79, i32 %77
%82 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 8
%83 = load i32, i32* %82
%84 = icmp sgt i32 %83, %81
%85 = select i1 %84, i32 %83, i32 %81
%86 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 9
%87 = load i32, i32* %86
%88 = icmp sgt i32 %87, %85
%89 = select i1 %88, i32 %87, i32 %85
%90 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 10
%91 = load i32, i32* %90
%92 = icmp sgt i32 %91, %89
%93 = select i1 %92, i32 %91, i32 %89
%94 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 11
%95 = load i32, i32* %94
%96 = icmp sgt i32 %95, %93
%97 = select i1 %96, i32 %95, i32 %93
%98 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 12
%99 = load i32, i32* %98
%100 = icmp sgt i32 %99, %97
%101 = select i1 %100, i32 %99, i32 %97
%102 = getelementptr inbounds [14 x i32], [14 x i32]* %1, i64 0, i64 13
%103 = load i32, i32* %102
%104 = icmp sgt i32 %103, %101
%105 = select i1 %104, i32 %103, i32 %101
%106 = icmp eq i32 %105, 0
br i1 %106, label %151, label %107
107: ; preds = %51, %107
%108 = phi i32 [ %149, %107 ], [ %105, %51 ]
%109 = icmp slt i32 %55, %108
%110 = select i1 %109, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %110)
%112 = icmp slt i32 %59, %108
%113 = select i1 %112, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %113)
%115 = icmp slt i32 %63, %108
%116 = select i1 %115, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %116)
%118 = icmp slt i32 %67, %108
%119 = select i1 %118, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%120 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %119)
%121 = icmp slt i32 %71, %108
%122 = select i1 %121, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%123 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %122)
%124 = icmp slt i32 %75, %108
%125 = select i1 %124, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%126 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %125)
%127 = icmp slt i32 %79, %108
%128 = select i1 %127, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%129 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %128)
%130 = icmp slt i32 %83, %108
%131 = select i1 %130, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%132 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %131)
%133 = icmp slt i32 %87, %108
%134 = select i1 %133, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%135 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %134)
%136 = icmp slt i32 %91, %108
%137 = select i1 %136, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%138 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %137)
%139 = icmp slt i32 %95, %108
%140 = select i1 %139, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%141 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %140)
%142 = icmp slt i32 %99, %108
%143 = select i1 %142, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%144 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %143)
%145 = icmp slt i32 %103, %108
%146 = select i1 %145, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0)
%147 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %146)
%148 = tail call i32 @putchar(i32 10)
%149 = add nsw i32 %108, -1
%150 = icmp eq i32 %149, 0
br i1 %150, label %151, label %107
151: ; preds = %107, %51
%152 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 1)
%153 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 2)
%154 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 3)
%155 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 4)
%156 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 5)
%157 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 6)
%158 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 7)
%159 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 8)
%160 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 9)
%161 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 10)
%162 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 11)
%163 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 12)
%164 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 12)
ret i32 0
}