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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ clear(char *, char);
char *malloc(int);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ set_space(char *, int, char);
int /*<<< orphan*/ strcpy(char *, char *);
int main() {
  char *s;
  int i0, i1, i2, i3, i4, i5, i6, i7, i8;
  s = malloc(11);
  strcpy(s, "          ");
  for (i0 = 0; i0 < 10; i0++) {
    set_space(s, i0, '0');
    for (i1 = 0; i1 < 9; i1++) {
      set_space(s, i1, '1');
      for (i2 = 0; i2 < 8; i2++) {
        set_space(s, i2, '2');
        for (i3 = 0; i3 < 7; i3++) {
          set_space(s, i3, '3');
          for (i4 = 0; i4 < 6; i4++) {
            set_space(s, i4, '4');
            for (i5 = 0; i5 < 5; i5++) {
              set_space(s, i5, '5');
              for (i6 = 0; i6 < 4; i6++) {
                set_space(s, i6, '6');
                for (i7 = 0; i7 < 3; i7++) {
                  set_space(s, i7, '7');
                  for (i8 = 0; i8 < 2; i8++) {
                    set_space(s, i8, '8');
                    set_space(s, 0, '9');
                    printf("%s\n", s);
                    clear(s, '8');
                    clear(s, '9');
                  }
                  clear(s, '7');
                }
                clear(s, '6');
              }
              clear(s, '5');
            }
            clear(s, '4');
          }
          clear(s, '3');
        }
        clear(s, '2');
      }
      clear(s, '1');
    }
    clear(s, '0');
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0xb,%edi
call   1060 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe88(%rip),%rsi
call   1030 <strcpy@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    13d9 <main+0x289>
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    $0x30,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x9,-0x18(%rbp)
jge    13bd <main+0x26d>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%esi
mov    $0x31,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    13a1 <main+0x251>
mov    -0x10(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    $0x32,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x7,-0x20(%rbp)
jge    1385 <main+0x235>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%esi
mov    $0x33,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x6,-0x24(%rbp)
jge    1369 <main+0x219>
mov    -0x10(%rbp),%rdi
mov    -0x24(%rbp),%esi
mov    $0x34,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x28(%rbp)
cmpl   $0x5,-0x28(%rbp)
jge    134d <main+0x1fd>
mov    -0x10(%rbp),%rdi
mov    -0x28(%rbp),%esi
mov    $0x35,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x4,-0x2c(%rbp)
jge    1331 <main+0x1e1>
mov    -0x10(%rbp),%rdi
mov    -0x2c(%rbp),%esi
mov    $0x36,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x30(%rbp)
cmpl   $0x3,-0x30(%rbp)
jge    1315 <main+0x1c5>
mov    -0x10(%rbp),%rdi
mov    -0x30(%rbp),%esi
mov    $0x37,%edx
call   1050 <set_space@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x2,-0x34(%rbp)
jge    12f9 <main+0x1a9>
mov    -0x10(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    $0x38,%edx
call   1050 <set_space@plt>
mov    -0x10(%rbp),%rdi
xor    %esi,%esi
mov    $0x39,%edx
call   1050 <set_space@plt>
mov    -0x10(%rbp),%rsi
lea    0xd41(%rip),%rdi
call   1040 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    $0x38,%esi
call   1070 <clear@plt>
mov    -0x10(%rbp),%rdi
mov    $0x39,%esi
call   1070 <clear@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1294 <main+0x144>
mov    -0x10(%rbp),%rdi
mov    $0x37,%esi
call   1070 <clear@plt>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1272 <main+0x122>
mov    -0x10(%rbp),%rdi
mov    $0x36,%esi
call   1070 <clear@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1250 <main+0x100>
mov    -0x10(%rbp),%rdi
mov    $0x35,%esi
call   1070 <clear@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    122e <main+0xde>
mov    -0x10(%rbp),%rdi
mov    $0x34,%esi
call   1070 <clear@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    120c <main+0xbc>
mov    -0x10(%rbp),%rdi
mov    $0x33,%esi
call   1070 <clear@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11ea <main+0x9a>
mov    -0x10(%rbp),%rdi
mov    $0x32,%esi
call   1070 <clear@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11c8 <main+0x78>
mov    -0x10(%rbp),%rdi
mov    $0x31,%esi
call   1070 <clear@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11a6 <main+0x56>
mov    -0x10(%rbp),%rdi
mov    $0x30,%esi
call   1070 <clear@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1184 <main+0x34>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    $0xb,%edi
call   1060 <malloc@plt>
mov    %rax,%rbx
lea    0xe8e(%rip),%rsi
mov    %rax,%rdi
call   1030 <strcpy@plt>
xor    %esi,%esi
lea    0xe88(%rip),%rbp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rbx,%rdi
mov    %esi,0xc(%rsp)
mov    $0x30,%edx
call   1050 <set_space@plt>
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rbx,%rdi
mov    %esi,0x10(%rsp)
mov    $0x31,%edx
call   1050 <set_space@plt>
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rbx,%rdi
mov    %esi,0x14(%rsp)
mov    $0x32,%edx
call   1050 <set_space@plt>
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %rbx,%rdi
mov    %r13d,%esi
mov    $0x33,%edx
call   1050 <set_space@plt>
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rbx,%rdi
mov    %r14d,%esi
mov    $0x34,%edx
call   1050 <set_space@plt>
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rbx,%rdi
mov    %r15d,%esi
mov    $0x35,%edx
call   1050 <set_space@plt>
xor    %r12d,%r12d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rbx,%rdi
mov    %r12d,%esi
mov    $0x36,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x37,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x38,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x39,%edx
call   1050 <set_space@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x38,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x39,%edx
call   1050 <set_space@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x37,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x37,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x38,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x39,%edx
call   1050 <set_space@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x38,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x39,%edx
call   1050 <set_space@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x37,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x37,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x38,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x39,%edx
call   1050 <set_space@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x38,%edx
call   1050 <set_space@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x39,%edx
call   1050 <set_space@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x37,%esi
call   1070 <clear@plt>
mov    %rbx,%rdi
mov    $0x36,%esi
call   1070 <clear@plt>
add    $0x1,%r12d
cmp    $0x4,%r12d
jne    1250 <main+0x100>
mov    %rbx,%rdi
mov    $0x35,%esi
call   1070 <clear@plt>
add    $0x1,%r15d
cmp    $0x5,%r15d
jne    1230 <main+0xe0>
mov    %rbx,%rdi
mov    $0x34,%esi
call   1070 <clear@plt>
add    $0x1,%r14d
cmp    $0x6,%r14d
jne    1210 <main+0xc0>
mov    %rbx,%rdi
mov    $0x33,%esi
call   1070 <clear@plt>
add    $0x1,%r13d
cmp    $0x7,%r13d
jne    11f0 <main+0xa0>
mov    %rbx,%rdi
mov    $0x32,%esi
call   1070 <clear@plt>
mov    0x14(%rsp),%esi
add    $0x1,%esi
cmp    $0x8,%esi
jne    11d0 <main+0x80>
mov    %rbx,%rdi
mov    $0x31,%esi
call   1070 <clear@plt>
mov    0x10(%rsp),%esi
add    $0x1,%esi
cmp    $0x9,%esi
jne    11b0 <main+0x60>
mov    %rbx,%rdi
mov    $0x30,%esi
call   1070 <clear@plt>
mov    0xc(%rsp),%esi
add    $0x1,%esi
cmp    $0xa,%esi
jne    1190 <main+0x40>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [11 x i8] c" \00"
@.str.1 = [4 x i8] c"%s\0A\00"
define i32 @main() {
%1 = tail call dereferenceable_or_null(11) i8* @malloc(i32 11)
%2 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
br label %3
3: ; preds = %0, %83
%4 = phi i32 [ 0, %0 ], [ %85, %83 ]
%5 = tail call i32 @set_space(i8* %1, i32 %4, i8 signext 48)
br label %6
6: ; preds = %3, %79
%7 = phi i32 [ 0, %3 ], [ %81, %79 ]
%8 = tail call i32 @set_space(i8* %1, i32 %7, i8 signext 49)
br label %9
9: ; preds = %6, %75
%10 = phi i32 [ 0, %6 ], [ %77, %75 ]
%11 = tail call i32 @set_space(i8* %1, i32 %10, i8 signext 50)
br label %12
12: ; preds = %9, %71
%13 = phi i32 [ 0, %9 ], [ %73, %71 ]
%14 = tail call i32 @set_space(i8* %1, i32 %13, i8 signext 51)
br label %15
15: ; preds = %12, %67
%16 = phi i32 [ 0, %12 ], [ %69, %67 ]
%17 = tail call i32 @set_space(i8* %1, i32 %16, i8 signext 52)
br label %18
18: ; preds = %15, %63
%19 = phi i32 [ 0, %15 ], [ %65, %63 ]
%20 = tail call i32 @set_space(i8* %1, i32 %19, i8 signext 53)
br label %21
21: ; preds = %18, %21
%22 = phi i32 [ 0, %18 ], [ %61, %21 ]
%23 = tail call i32 @set_space(i8* %1, i32 %22, i8 signext 54)
%24 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 55)
%25 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 56)
%26 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 57)
%27 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%28 = tail call i32 @clear(i8* %1, i8 signext 56)
%29 = tail call i32 @clear(i8* %1, i8 signext 57)
%30 = tail call i32 @set_space(i8* %1, i32 1, i8 signext 56)
%31 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 57)
%32 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%33 = tail call i32 @clear(i8* %1, i8 signext 56)
%34 = tail call i32 @clear(i8* %1, i8 signext 57)
%35 = tail call i32 @clear(i8* %1, i8 signext 55)
%36 = tail call i32 @set_space(i8* %1, i32 1, i8 signext 55)
%37 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 56)
%38 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 57)
%39 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%40 = tail call i32 @clear(i8* %1, i8 signext 56)
%41 = tail call i32 @clear(i8* %1, i8 signext 57)
%42 = tail call i32 @set_space(i8* %1, i32 1, i8 signext 56)
%43 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 57)
%44 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%45 = tail call i32 @clear(i8* %1, i8 signext 56)
%46 = tail call i32 @clear(i8* %1, i8 signext 57)
%47 = tail call i32 @clear(i8* %1, i8 signext 55)
%48 = tail call i32 @set_space(i8* %1, i32 2, i8 signext 55)
%49 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 56)
%50 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 57)
%51 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%52 = tail call i32 @clear(i8* %1, i8 signext 56)
%53 = tail call i32 @clear(i8* %1, i8 signext 57)
%54 = tail call i32 @set_space(i8* %1, i32 1, i8 signext 56)
%55 = tail call i32 @set_space(i8* %1, i32 0, i8 signext 57)
%56 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%57 = tail call i32 @clear(i8* %1, i8 signext 56)
%58 = tail call i32 @clear(i8* %1, i8 signext 57)
%59 = tail call i32 @clear(i8* %1, i8 signext 55)
%60 = tail call i32 @clear(i8* %1, i8 signext 54)
%61 = add nuw nsw i32 %22, 1
%62 = icmp eq i32 %61, 4
br i1 %62, label %63, label %21
63: ; preds = %21
%64 = tail call i32 @clear(i8* %1, i8 signext 53)
%65 = add nuw nsw i32 %19, 1
%66 = icmp eq i32 %65, 5
br i1 %66, label %67, label %18
67: ; preds = %63
%68 = tail call i32 @clear(i8* %1, i8 signext 52)
%69 = add nuw nsw i32 %16, 1
%70 = icmp eq i32 %69, 6
br i1 %70, label %71, label %15
71: ; preds = %67
%72 = tail call i32 @clear(i8* %1, i8 signext 51)
%73 = add nuw nsw i32 %13, 1
%74 = icmp eq i32 %73, 7
br i1 %74, label %75, label %12
75: ; preds = %71
%76 = tail call i32 @clear(i8* %1, i8 signext 50)
%77 = add nuw nsw i32 %10, 1
%78 = icmp eq i32 %77, 8
br i1 %78, label %79, label %9
79: ; preds = %75
%80 = tail call i32 @clear(i8* %1, i8 signext 49)
%81 = add nuw nsw i32 %7, 1
%82 = icmp eq i32 %81, 9
br i1 %82, label %83, label %6
83: ; preds = %79
%84 = tail call i32 @clear(i8* %1, i8 signext 48)
%85 = add nuw nsw i32 %4, 1
%86 = icmp eq i32 %85, 10
br i1 %86, label %87, label %3
87: ; preds = %83
ret i32 0
}