#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);
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,-0x14(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    1178 <count_2+0x48>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%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,-0x8(%rbp)
cmp    $0x7e,%eax
je     11fe <count_2+0xce>
cmpl   $0x30,-0x8(%rbp)
jl     11bc <count_2+0x8c>
cmpl   $0x39,-0x8(%rbp)
jg     11bc <count_2+0x8c>
mov    -0x8(%rbp),%eax
sub    $0x30,%eax
cltq
mov    -0x40(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x40(%rbp,%rax,4)
jmp    11f9 <count_2+0xc9>
cmpl   $0x20,-0x8(%rbp)
je     11dd <count_2+0xad>
cmpl   $0x9,-0x8(%rbp)
je     11dd <count_2+0xad>
cmpl   $0x2f6e,-0x8(%rbp)
jne    11eb <count_2+0xbb>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11f4 <count_2+0xc4>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11f9 <count_2+0xc9>
jmp    117d <count_2+0x4d>
lea    0xdfb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    1241 <count_2+0x111>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%esi
lea    0xddd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1213 <count_2+0xe3>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xdbf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    12fd <count_2+0x1cd>
movslq -0xc(%rbp),%rax
cmpl   $0x0,-0x40(%rbp,%rax,4)
jle    12c6 <count_2+0x196>
mov    -0xc(%rbp),%esi
lea    0xdb0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0xc(%rbp),%rax
cmpl   $0x0,-0x40(%rbp,%rax,4)
jle    12b7 <count_2+0x187>
lea    0xd9e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0xc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
sub    $0x1,%ecx
mov    %ecx,-0x40(%rbp,%rax,4)
jmp    1286 <count_2+0x156>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    12e1 <count_2+0x1b1>
mov    -0xc(%rbp),%esi
lea    0xd5f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd56(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    125c <count_2+0x12c>
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0x9,-0xc(%rbp)
jge    133e <count_2+0x20e>
mov    -0xc(%rbp),%esi
add    $0x1,%esi
lea    0xd45(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1312 <count_2+0x1e2>
mov    -0x4(%rbp),%eax
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     1226 <count_2+0xe6>
xor    %ebx,%ebx
xor    %ebp,%ebp
jmp    11d3 <count_2+0x93>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %ecx,%eax
addl   $0x1,0x20(%rsp,%rax,4)
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0x7e,%eax
je     11f6 <count_2+0xb6>
lea    -0x30(%rax),%ecx
cmp    $0x9,%ecx
jbe    11c0 <count_2+0x80>
cmp    $0x9,%eax
je     11ec <count_2+0xac>
cmp    $0x2f6e,%eax
je     11ec <count_2+0xac>
cmp    $0x20,%eax
jne    11f1 <count_2+0xb1>
add    $0x1,%ebp
jmp    11c7 <count_2+0x87>
add    $0x1,%ebx
jmp    11c7 <count_2+0x87>
mov    %ebx,%edi
mov    0x20(%rsp),%ebx
mov    0x24(%rsp),%r13d
mov    0x28(%rsp),%r12d
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    0xdb4(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xdaf(%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    0xd25(%rip),%rdi
mov    %ebp,%esi
mov    0x1c(%rsp),%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd33(%rip),%r14
lea    0xd37(%rip),%r12
lea    0xd43(%rip),%r15
xor    %ebp,%ebp
nopl   0x0(%rax)
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 i32 @count_2() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca [10 x i32]
store i32 0, i32* %5
store i32 0, i32* %4
store i32 0, i32* %3
store i32 0, i32* %2
br label %7
7: ; preds = %10, %0
%8 = load i32, i32* %3
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load i32, i32* %3
%12 = add nsw i32 %11, 1
store i32 %12, i32* %3
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 %13
store i32 0, i32* %14
br label %7
15: ; preds = %7
br label %16
16: ; preds = %48, %15
%17 = call i32 (...) @getchar()
store i32 %17, i32* %2
%18 = icmp ne i32 %17, 126
br i1 %18, label %19, label %49
19: ; preds = %16
%20 = load i32, i32* %2
%21 = icmp sge i32 %20, 48
br i1 %21, label %22, label %32
22: ; preds = %19
%23 = load i32, i32* %2
%24 = icmp sle i32 %23, 57
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = load i32, i32* %2
%27 = sub nsw i32 %26, 48
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 %28
%30 = load i32, i32* %29
%31 = add nsw i32 %30, 1
store i32 %31, i32* %29
br label %48
32: ; preds = %22, %19
%33 = load i32, i32* %2
%34 = icmp eq i32 %33, 32
br i1 %34, label %41, label %35
35: ; preds = %32
%36 = load i32, i32* %2
%37 = icmp eq i32 %36, 9
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, i32* %2
%40 = icmp eq i32 %39, 12142
br i1 %40, label %41, label %44
41: ; preds = %38, %35, %32
%42 = load i32, i32* %4
%43 = add nsw i32 %42, 1
store i32 %43, i32* %4
br label %47
44: ; preds = %38
%45 = load i32, i32* %5
%46 = add nsw i32 %45, 1
store i32 %46, i32* %5
br label %47
47: ; preds = %44, %41
br label %48
48: ; preds = %47, %25
br label %16
49: ; preds = %16
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
br label %51
51: ; preds = %60, %49
%52 = load i32, i32* %3
%53 = icmp slt i32 %52, 10
br i1 %53, label %54, label %63
54: ; preds = %51
%55 = load i32, i32* %3
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 %56
%58 = load i32, i32* %57
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %58)
br label %60
60: ; preds = %54
%61 = load i32, i32* %3
%62 = add nsw i32 %61, 1
store i32 %62, i32* %3
br label %51
63: ; preds = %51
%64 = load i32, i32* %4
%65 = load i32, i32* %5
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i32 %64, i32 %65)
store i32 0, i32* %3
br label %67
67: ; preds = %100, %63
%68 = load i32, i32* %3
%69 = icmp slt i32 %68, 10
br i1 %69, label %70, label %103
70: ; preds = %67
%71 = load i32, i32* %3
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = icmp sgt i32 %74, 0
br i1 %75, label %76, label %94
76: ; preds = %70
%77 = load i32, i32* %3
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %77)
br label %79
79: ; preds = %85, %76
%80 = load i32, i32* %3
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 %81
%83 = load i32, i32* %82
%84 = icmp sgt i32 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %79
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%87 = load i32, i32* %3
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 %88
%90 = load i32, i32* %89
%91 = sub nsw i32 %90, 1
store i32 %91, i32* %89
br label %79
92: ; preds = %79
%93 = call i32 @putchar(i8 signext 10)
br label %98
94: ; preds = %70
%95 = load i32, i32* %3
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %95)
%97 = call i32 @putchar(i8 signext 10)
br label %98
98: ; preds = %94, %92
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
br label %100
100: ; preds = %98
%101 = load i32, i32* %3
%102 = add nsw i32 %101, 1
store i32 %102, i32* %3
br label %67
103: ; preds = %67
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %3
br label %105
105: ; preds = %112, %103
%106 = load i32, i32* %3
%107 = icmp slt i32 %106, 9
br i1 %107, label %108, label %115
108: ; preds = %105
%109 = load i32, i32* %3
%110 = add nsw i32 %109, 1
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 %110)
br label %112
112: ; preds = %108
%113 = load i32, i32* %3
%114 = add nsw i32 %113, 1
store i32 %114, i32* %3
br label %105
115: ; preds = %105
%116 = load i32, i32* %1
ret i32 %116
}

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 i32 @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 12142, label %17
i32 32, 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 i32 undef
}