#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 getchar();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
void count_2(void) {
  int c, i, ws, cn;
  c = i = ws = cn = 0;
  int nre[10];
  while (i < 10)
    nre[i++] = 0;
  while ((c = getchar()) != '~') {
    if (c >= '0' && c <= '9')
      nre[c - '0']++;
    else if (c == ' ' || c == '\t' || c == '\n')
      ws++;
    else
      cn++;
  }
  printf("digits =");
  for (i = 0; i < 10; i++)
    printf(" %d", nre[i]);
  printf(", white spaces = %d, chars = %d\n\n", ws, cn);
  for (i = 0; i < 10; i++) {
    if (nre[i] > 0) {
      printf("  Nr %d : ", i);
      while (nre[i] > 0) {
        printf(" * ");
        nre[i] -= 1;
      }
      putchar('\n');
    } else {
      printf("  Nr %d : ", i);
      putchar('\n');
    }
    printf("------------------------------------\n");
  }
  printf("Times x| ");
  for (i = 0; i < 9; i++)
    printf(" %d ", i + 1);
}


x86 assembly (clang, -O0):
<count_2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0x4(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1178 <count_2+0x48>
mov    -0x8(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x8(%rbp)
cltq
movl   $0x0,-0x40(%rbp,%rax,4)
jmp    1154 <count_2+0x24>
jmp    117d <count_2+0x4d>
mov    $0x0,%al
call   1050 <getchar@plt>
mov    %eax,-0x4(%rbp)
cmp    $0x7e,%eax
je     11fb <count_2+0xcb>
cmpl   $0x30,-0x4(%rbp)
jl     11bc <count_2+0x8c>
cmpl   $0x39,-0x4(%rbp)
jg     11bc <count_2+0x8c>
mov    -0x4(%rbp),%eax
sub    $0x30,%eax
cltq
mov    -0x40(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x40(%rbp,%rax,4)
jmp    11f6 <count_2+0xc6>
cmpl   $0x20,-0x4(%rbp)
je     11da <count_2+0xaa>
cmpl   $0x9,-0x4(%rbp)
je     11da <count_2+0xaa>
cmpl   $0xa,-0x4(%rbp)
jne    11e8 <count_2+0xb8>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11f1 <count_2+0xc1>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11f6 <count_2+0xc6>
jmp    117d <count_2+0x4d>
lea    0xdfe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    123e <count_2+0x10e>
movslq -0x8(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%esi
lea    0xde0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1210 <count_2+0xe0>
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
lea    0xdc2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    12fa <count_2+0x1ca>
movslq -0x8(%rbp),%rax
cmpl   $0x0,-0x40(%rbp,%rax,4)
jle    12c3 <count_2+0x193>
mov    -0x8(%rbp),%esi
lea    0xdb3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0x8(%rbp),%rax
cmpl   $0x0,-0x40(%rbp,%rax,4)
jle    12b4 <count_2+0x184>
lea    0xda1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0x8(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
sub    $0x1,%ecx
mov    %ecx,-0x40(%rbp,%rax,4)
jmp    1283 <count_2+0x153>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    12de <count_2+0x1ae>
mov    -0x8(%rbp),%esi
lea    0xd62(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd59(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1259 <count_2+0x129>
lea    0xd63(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x9,-0x8(%rbp)
jge    133b <count_2+0x20b>
mov    -0x8(%rbp),%esi
add    $0x1,%esi
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    130f <count_2+0x1df>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<count_2>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movq   $0x0,0x40(%rsp)
xor    %r15d,%r15d
xor    %eax,%eax
call   1060 <getchar@plt>
mov    $0x0,%ecx
mov    $0x0,%edx
mov    $0x0,%r11d
mov    $0x0,%r10d
mov    $0x0,%esi
mov    $0x0,%r14d
mov    $0x0,%r12d
mov    $0x0,%r13d
mov    $0x0,%ebx
mov    $0x0,%ebp
mov    $0x0,%edi
cmp    $0x7e,%eax
je     1224 <count_2+0xe4>
movabs $0x100000600,%rbx
xor    %r14d,%r14d
xor    %ebp,%ebp
jmp    11d3 <count_2+0x93>
mov    %ecx,%eax
addl   $0x1,0x20(%rsp,%rax,4)
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0x7e,%eax
je     11f3 <count_2+0xb3>
lea    -0x30(%rax),%ecx
cmp    $0x9,%ecx
jbe    11c0 <count_2+0x80>
cmp    $0x20,%eax
ja     11ed <count_2+0xad>
mov    %eax,%eax
bt     %rax,%rbx
jae    11ed <count_2+0xad>
add    $0x1,%ebp
jmp    11c7 <count_2+0x87>
add    $0x1,%r14d
jmp    11c7 <count_2+0x87>
mov    0x20(%rsp),%ebx
mov    0x24(%rsp),%r13d
mov    0x28(%rsp),%r12d
mov    %r14d,%edi
mov    0x2c(%rsp),%r14d
mov    0x30(%rsp),%esi
mov    0x34(%rsp),%r10d
mov    0x38(%rsp),%r11d
mov    0x3c(%rsp),%edx
mov    0x40(%rsp),%ecx
mov    0x44(%rsp),%r15d
mov    %esi,0x4(%rsp)
mov    %r10d,0x8(%rsp)
mov    %r11d,0xc(%rsp)
mov    %edx,0x10(%rsp)
mov    %ecx,0x14(%rsp)
mov    %r15d,0x18(%rsp)
mov    %edi,0x1c(%rsp)
lea    0xdb6(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xdb1(%rip),%r15
mov    %r15,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    0x4(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    0x10(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    0x14(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    0x18(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd27(%rip),%rdi
mov    %ebp,%esi
mov    0x1c(%rsp),%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd35(%rip),%r14
lea    0xd39(%rip),%r12
lea    0xd45(%rip),%r15
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
test   %ebx,%ebx
jle    1349 <count_2+0x209>
add    $0x1,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    -0x2(%rbx),%eax
mov    %eax,0x20(%rsp,%rbp,4)
add    $0xffffffff,%ebx
cmp    $0x1,%ebx
ja     1330 <count_2+0x1f0>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r15,%rdi
call   1040 <puts@plt>
add    $0x1,%rbp
cmp    $0xa,%rbp
je     136b <count_2+0x22b>
mov    0x20(%rsp,%rbp,4),%ebx
jmp    1310 <count_2+0x1d0>
lea    0xccc(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xcc8(%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
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"digits =\00"
@.str.1 = [4 x i8] c" %d\00"
@.str.2 = [34 x i8] c", white spaces = %d, chars = %d\0A\0A\00"
@.str.3 = [11 x i8] c" Nr %d : \00"
@.str.4 = [4 x i8] c" * \00"
@.str.5 = [38 x i8] c"------------------------------------\0A\00"
@.str.6 = [10 x i8] c"Times x| \00"
@.str.7 = [5 x i8] c" %d \00"
define void @count_2() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca [10 x i32]
store i32 0, i32* %4
store i32 0, i32* %3
store i32 0, i32* %2
store i32 0, i32* %1
br label %6
6: ; preds = %9, %0
%7 = load i32, i32* %2
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load i32, i32* %2
%11 = add nsw i32 %10, 1
store i32 %11, i32* %2
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %12
store i32 0, i32* %13
br label %6
14: ; preds = %6
br label %15
15: ; preds = %47, %14
%16 = call i32 (...) @getchar()
store i32 %16, i32* %1
%17 = icmp ne i32 %16, 126
br i1 %17, label %18, label %48
18: ; preds = %15
%19 = load i32, i32* %1
%20 = icmp sge i32 %19, 48
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load i32, i32* %1
%23 = icmp sle i32 %22, 57
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load i32, i32* %1
%26 = sub nsw i32 %25, 48
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %27
%29 = load i32, i32* %28
%30 = add nsw i32 %29, 1
store i32 %30, i32* %28
br label %47
31: ; preds = %21, %18
%32 = load i32, i32* %1
%33 = icmp eq i32 %32, 32
br i1 %33, label %40, label %34
34: ; preds = %31
%35 = load i32, i32* %1
%36 = icmp eq i32 %35, 9
br i1 %36, label %40, label %37
37: ; preds = %34
%38 = load i32, i32* %1
%39 = icmp eq i32 %38, 10
br i1 %39, label %40, label %43
40: ; preds = %37, %34, %31
%41 = load i32, i32* %3
%42 = add nsw i32 %41, 1
store i32 %42, i32* %3
br label %46
43: ; preds = %37
%44 = load i32, i32* %4
%45 = add nsw i32 %44, 1
store i32 %45, i32* %4
br label %46
46: ; preds = %43, %40
br label %47
47: ; preds = %46, %24
br label %15
48: ; preds = %15
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %2
br label %50
50: ; preds = %59, %48
%51 = load i32, i32* %2
%52 = icmp slt i32 %51, 10
br i1 %52, label %53, label %62
53: ; preds = %50
%54 = load i32, i32* %2
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %55
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %57)
br label %59
59: ; preds = %53
%60 = load i32, i32* %2
%61 = add nsw i32 %60, 1
store i32 %61, i32* %2
br label %50
62: ; preds = %50
%63 = load i32, i32* %3
%64 = load i32, i32* %4
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i32 %63, i32 %64)
store i32 0, i32* %2
br label %66
66: ; preds = %99, %62
%67 = load i32, i32* %2
%68 = icmp slt i32 %67, 10
br i1 %68, label %69, label %102
69: ; preds = %66
%70 = load i32, i32* %2
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %71
%73 = load i32, i32* %72
%74 = icmp sgt i32 %73, 0
br i1 %74, label %75, label %93
75: ; preds = %69
%76 = load i32, i32* %2
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %76)
br label %78
78: ; preds = %84, %75
%79 = load i32, i32* %2
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %80
%82 = load i32, i32* %81
%83 = icmp sgt i32 %82, 0
br i1 %83, label %84, label %91
84: ; preds = %78
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%86 = load i32, i32* %2
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %87
%89 = load i32, i32* %88
%90 = sub nsw i32 %89, 1
store i32 %90, i32* %88
br label %78
91: ; preds = %78
%92 = call i32 @putchar(i8 signext 10)
br label %97
93: ; preds = %69
%94 = load i32, i32* %2
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %94)
%96 = call i32 @putchar(i8 signext 10)
br label %97
97: ; preds = %93, %91
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
br label %99
99: ; preds = %97
%100 = load i32, i32* %2
%101 = add nsw i32 %100, 1
store i32 %101, i32* %2
br label %66
102: ; preds = %66
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %2
br label %104
104: ; preds = %111, %102
%105 = load i32, i32* %2
%106 = icmp slt i32 %105, 9
br i1 %106, label %107, label %114
107: ; preds = %104
%108 = load i32, i32* %2
%109 = add nsw i32 %108, 1
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 %109)
br label %111
111: ; preds = %107
%112 = load i32, i32* %2
%113 = add nsw i32 %112, 1
store i32 %113, i32* %2
br label %104
114: ; preds = %104
ret void
}

LLVM IR (-O2):
@.str = [9 x i8] c"digits =\00"
@.str.1 = [4 x i8] c" %d\00"
@.str.2 = [34 x i8] c", white spaces = %d, chars = %d\0A\0A\00"
@.str.3 = [11 x i8] c" Nr %d : \00"
@.str.4 = [4 x i8] c" * \00"
@.str.6 = [10 x i8] c"Times x| \00"
@.str.7 = [5 x i8] c" %d \00"
@str = [37 x i8] c"------------------------------------\00"
define void @count_2() {
%1 = alloca [10 x i32]
%2 = bitcast [10 x i32]* %1 to i8*
%3 = tail call i32 (...) @getchar()
%4 = icmp eq i32 %3, 126
br i1 %4, label %47, label %5
5: ; preds = %0, %21
%6 = phi i32 [ %24, %21 ], [ %3, %0 ]
%7 = phi i32 [ %23, %21 ], [ 0, %0 ]
%8 = phi i32 [ %22, %21 ], [ 0, %0 ]
%9 = add i32 %6, -48
%10 = icmp ult i32 %9, 10
br i1 %10, label %11, label %16
11: ; preds = %5
%12 = zext i32 %9 to i64
%13 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %12
%14 = load i32, i32* %13
%15 = add nsw i32 %14, 1
store i32 %15, i32* %13
br label %21
16: ; preds = %5
switch i32 %6, label %19 [
i32 32, label %17
i32 10, label %17
i32 9, label %17
]
17: ; preds = %16, %16, %16
%18 = add nsw i32 %8, 1
br label %21
19: ; preds = %16
%20 = add nsw i32 %7, 1
br label %21
21: ; preds = %17, %19, %11
%22 = phi i32 [ %8, %11 ], [ %18, %17 ], [ %8, %19 ]
%23 = phi i32 [ %7, %11 ], [ %7, %17 ], [ %20, %19 ]
%24 = tail call i32 (...) @getchar()
%25 = icmp eq i32 %24, 126
br i1 %25, label %26, label %5
26: ; preds = %21
%27 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
%28 = load i32, i32* %27
%29 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 1
%30 = load i32, i32* %29
%31 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 2
%32 = load i32, i32* %31
%33 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 3
%34 = load i32, i32* %33
%35 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 4
%36 = load i32, i32* %35
%37 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 5
%38 = load i32, i32* %37
%39 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 6
%40 = load i32, i32* %39
%41 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 7
%42 = load i32, i32* %41
%43 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 8
%44 = load i32, i32* %43
%45 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 9
%46 = load i32, i32* %45
br label %47
47: ; preds = %26, %0
%48 = phi i32 [ 0, %0 ], [ %46, %26 ]
%49 = phi i32 [ 0, %0 ], [ %44, %26 ]
%50 = phi i32 [ 0, %0 ], [ %42, %26 ]
%51 = phi i32 [ 0, %0 ], [ %40, %26 ]
%52 = phi i32 [ 0, %0 ], [ %38, %26 ]
%53 = phi i32 [ 0, %0 ], [ %36, %26 ]
%54 = phi i32 [ 0, %0 ], [ %34, %26 ]
%55 = phi i32 [ 0, %0 ], [ %32, %26 ]
%56 = phi i32 [ 0, %0 ], [ %30, %26 ]
%57 = phi i32 [ 0, %0 ], [ %28, %26 ]
%58 = phi i32 [ 0, %0 ], [ %22, %26 ]
%59 = phi i32 [ 0, %0 ], [ %23, %26 ]
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %57)
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %56)
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %55)
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %54)
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %53)
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %52)
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %51)
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %50)
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %49)
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %48)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i32 %58, i32 %59)
br label %72
72: ; preds = %89, %47
%73 = phi i32 [ %57, %47 ], [ %91, %89 ]
%74 = phi i64 [ 0, %47 ], [ %87, %89 ]
%75 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %74
%76 = icmp sgt i32 %73, 0
%77 = trunc i64 %74 to i32
%78 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %77)
br i1 %76, label %79, label %84
79: ; preds = %72, %79
%80 = phi i32 [ %82, %79 ], [ %73, %72 ]
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%82 = add nsw i32 %80, -1
store i32 %82, i32* %75
%83 = icmp ugt i32 %80, 1
br i1 %83, label %79, label %84
84: ; preds = %79, %72
%85 = tail call i32 @putchar(i8 signext 10)
%86 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
%87 = add nuw nsw i64 %74, 1
%88 = icmp eq i64 %87, 10
br i1 %88, label %92, label %89
89: ; preds = %84
%90 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %87
%91 = load i32, i32* %90
br label %72
92: ; preds = %84
%93 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 1)
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 2)
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 3)
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 4)
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 5)
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 6)
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 7)
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 8)
%102 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 9)
ret void
}