#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 */
typedef struct TYPE_20__ TYPE_9__;
typedef struct TYPE_19__ TYPE_8__;
typedef struct TYPE_18__ TYPE_7__;
typedef struct TYPE_17__ TYPE_6__;
typedef struct TYPE_16__ TYPE_5__;
typedef struct TYPE_15__ TYPE_4__;
typedef struct TYPE_14__ TYPE_3__;
typedef struct TYPE_13__ TYPE_2__;
typedef struct TYPE_12__ TYPE_1__;
typedef struct TYPE_11__ TYPE_10__;

/* Type definitions */
typedef int /*<<< orphan*/ a;
struct TYPE_20__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_19__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_18__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_17__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_16__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_15__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_14__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_13__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_12__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};
struct TYPE_11__ {
  char *member_0;
  char *member_1;
  char *member_2;
  char *member_3;
  char *member_4;
};

/* Variables and functions */
int EXIT_FAILURE;
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char **argv) {
  const char *(a[][11]) = {
      {
          "  000 ",
          " 0     0",
          " 0     0",
          " 0     0",
          "   000  ",
      },
      {"   1    ", " 1 1    ", "   1    ", "   1    ", "1111111 "},
      {"222222 ", "     2 ", "222222 ", "2      ", "222222 "},
      {"333333 ", "     3 ", "333333 ", "     3 ", "333333 "},
      {"4    4 ", "4    4 ", "444444 ", "     4 ", "     4 "},
      {"555555 ", "5      ", "555555 ", "     5 ", "555555 "},
      {"666666 ", "6      ", "666666 ", "6    6 ", "666666 "},
      {"777777 ", "     7 ", "     7 ", "     7 ", "     7 "},
      {"888888 ", "8    8 ", "888888 ", "8    8 ", "888888 "},
      {"999999 ", "9    9 ", "999999 ", "     9 ", "999999 "}};
  if (argc != 2) {
    printf("Usage: %s <number>\n", argv[0]);
    return 0;
  }
  char *p;
  int d, r, row;
  row = (int)(sizeof(a[0]) / sizeof(a[0][0]));
  for (r = 0; r < row; r++) {
    for (p = argv[1]; *p; p++) {
      d = *p - '0';
      if (d < 0 || d > 9) {
        printf("error number \n");
        return EXIT_FAILURE;
      }
      if (a[d][r] == NULL)
        goto done;
      printf("%s", a[d][r]);
    }
    printf("\n");
  }
done:
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3a0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x380(%rbp),%rdi
lea    0x2959(%rip),%rsi
mov    $0x370,%edx
call   1040 <memcpy@plt>
cmpl   $0x2,-0x8(%rbp)
je     117c <main+0x5c>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xf73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    12ac <main+0x18c>
movl   $0xb,-0x394(%rbp)
movl   $0x0,-0x390(%rbp)
mov    -0x390(%rbp),%eax
cmp    -0x394(%rbp),%eax
jge    12a0 <main+0x180>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x388(%rbp)
mov    -0x388(%rbp),%rax
cmpb   $0x0,(%rax)
je     127e <main+0x15e>
mov    -0x388(%rbp),%rax
movsbl (%rax),%eax
sub    $0x30,%eax
mov    %eax,-0x38c(%rbp)
cmpl   $0x0,-0x38c(%rbp)
jl     11ee <main+0xce>
cmpl   $0x9,-0x38c(%rbp)
jle    120d <main+0xed>
lea    0xefb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2dd5(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    12ac <main+0x18c>
movslq -0x38c(%rbp),%rcx
lea    -0x380(%rbp),%rax
imul   $0x58,%rcx,%rcx
add    %rcx,%rax
movslq -0x390(%rbp),%rcx
cmpq   $0x0,(%rax,%rcx,8)
jne    1239 <main+0x119>
jmp    12a5 <main+0x185>
movslq -0x38c(%rbp),%rcx
lea    -0x380(%rbp),%rax
imul   $0x58,%rcx,%rcx
add    %rcx,%rax
movslq -0x390(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x388(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x388(%rbp)
jmp    11b1 <main+0x91>
lea    0xe78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x390(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x390(%rbp)
jmp    1190 <main+0x70>
jmp    12a5 <main+0x185>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x3a0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %rsi,%r14
cmp    $0x2,%edi
jne    11c6 <main+0x96>
lea    0x2954(%rip),%r12
lea    0xf9d(%rip),%r15
xor    %r13d,%r13d
jmp    1174 <main+0x44>
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r13
cmp    $0xb,%r13
je     11f2 <main+0xc2>
mov    0x8(%r14),%rbx
mov    (%rbx),%al
test   %al,%al
je     1160 <main+0x30>
add    $0x1,%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    -0x3a(%rax),%ecx
cmp    $0xf5,%cl
jbe    11db <main+0xab>
movzbl %al,%eax
imul   $0x58,%rax,%rax
add    %r12,%rax
mov    -0x1080(%rax,%r13,8),%rsi
ff
test   %rsi,%rsi
je     11f2 <main+0xc2>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl (%rbx),%eax
add    $0x1,%rbx
test   %al,%al
jne    1190 <main+0x60>
jmp    1160 <main+0x30>
mov    (%r14),%rsi
lea    0xf0c(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1050 <printf@plt>
jmp    11f4 <main+0xc4>
lea    0xf11(%rip),%rdi
call   1040 <puts@plt>
mov    0x2dea(%rip),%rax
mov    (%rax),%ebx
jmp    11f4 <main+0xc4>
xor    %ebx,%ebx
mov    %ebx,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [7 x i8] c" 000 \00"
@.str.1 = [9 x i8] c" 0 0\00"
@.str.2 = [9 x i8] c" 000 \00"
@.str.3 = [9 x i8] c" 1 \00"
@.str.4 = [9 x i8] c" 1 1 \00"
@.str.5 = [9 x i8] c"1111111 \00"
@.str.6 = [8 x i8] c"222222 \00"
@.str.7 = [8 x i8] c" 2 \00"
@.str.8 = [8 x i8] c"2 \00"
@.str.9 = [8 x i8] c"333333 \00"
@.str.10 = [8 x i8] c" 3 \00"
@.str.11 = [8 x i8] c"4 4 \00"
@.str.12 = [8 x i8] c"444444 \00"
@.str.13 = [8 x i8] c" 4 \00"
@.str.14 = [8 x i8] c"555555 \00"
@.str.15 = [8 x i8] c"5 \00"
@.str.16 = [8 x i8] c" 5 \00"
@.str.17 = [8 x i8] c"666666 \00"
@.str.18 = [8 x i8] c"6 \00"
@.str.19 = [8 x i8] c"6 6 \00"
@.str.20 = [8 x i8] c"777777 \00"
@.str.21 = [8 x i8] c" 7 \00"
@.str.22 = [8 x i8] c"888888 \00"
@.str.23 = [8 x i8] c"8 8 \00"
@.str.24 = [8 x i8] c"999999 \00"
@.str.25 = [8 x i8] c"9 9 \00"
@.str.26 = [8 x i8] c" 9 \00"
@__const.main.a = [10 x [11 x i8*]] [[11 x i8*] [i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null]]
@.str.27 = [20 x i8] c"Usage: %s <number>\0A\00"
@.str.28 = [15 x i8] c"error number \0A\00"
@EXIT_FAILURE = global i32 0
@.str.29 = [3 x i8] c"%s\00"
@.str.30 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [10 x [11 x i8*]]
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = bitcast [10 x [11 x i8*]]* %6 to i8*
%12 = load i32, i32* %4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i8**, i8*** %5
%16 = getelementptr inbounds i8*, i8** %15, i64 0
%17 = load i8*, i8** %16
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.27, i64 0, i64 0), i8* %17)
store i32 0, i32* %3
br label %74
19: ; preds = %2
store i32 11, i32* %10
store i32 0, i32* %9
br label %20
20: ; preds = %69, %19
%21 = load i32, i32* %9
%22 = load i32, i32* %10
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %72
24: ; preds = %20
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 1
%27 = load i8*, i8** %26
store i8* %27, i8** %7
br label %28
28: ; preds = %64, %24
%29 = load i8*, i8** %7
%30 = load i8, i8* %29
%31 = icmp ne i8 %30, 0
br i1 %31, label %32, label %67
32: ; preds = %28
%33 = load i8*, i8** %7
%34 = load i8, i8* %33
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %35, 48
store i32 %36, i32* %8
%37 = load i32, i32* %8
%38 = icmp slt i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %32
%40 = load i32, i32* %8
%41 = icmp sgt i32 %40, 9
br i1 %41, label %42, label %45
42: ; preds = %39, %32
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.28, i64 0, i64 0))
%44 = load i32, i32* @EXIT_FAILURE
store i32 %44, i32* %3
br label %74
45: ; preds = %39
%46 = load i32, i32* %8
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10 x [11 x i8*]], [10 x [11 x i8*]]* %6, i64 0, i64 %47
%49 = load i32, i32* %9
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [11 x i8*], [11 x i8*]* %48, i64 0, i64 %50
%52 = load i8*, i8** %51
%53 = icmp eq i8* %52, null
br i1 %53, label %54, label %55
54: ; preds = %45
br label %73
55: ; preds = %45
%56 = load i32, i32* %8
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x [11 x i8*]], [10 x [11 x i8*]]* %6, i64 0, i64 %57
%59 = load i32, i32* %9
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [11 x i8*], [11 x i8*]* %58, i64 0, i64 %60
%62 = load i8*, i8** %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.29, i64 0, i64 0), i8* %62)
br label %64
64: ; preds = %55
%65 = load i8*, i8** %7
%66 = getelementptr inbounds i8, i8* %65, i32 1
store i8* %66, i8** %7
br label %28
67: ; preds = %28
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.30, i64 0, i64 0))
br label %69
69: ; preds = %67
%70 = load i32, i32* %9
%71 = add nsw i32 %70, 1
store i32 %71, i32* %9
br label %20
72: ; preds = %20
br label %73
73: ; preds = %72, %54
store i32 0, i32* %3
br label %74
74: ; preds = %73, %42, %14
%75 = load i32, i32* %3
ret i32 %75
}

LLVM IR (-O2):
@.str = [7 x i8] c" 000 \00"
@.str.1 = [9 x i8] c" 0 0\00"
@.str.2 = [9 x i8] c" 000 \00"
@.str.3 = [9 x i8] c" 1 \00"
@.str.4 = [9 x i8] c" 1 1 \00"
@.str.5 = [9 x i8] c"1111111 \00"
@.str.6 = [8 x i8] c"222222 \00"
@.str.7 = [8 x i8] c" 2 \00"
@.str.8 = [8 x i8] c"2 \00"
@.str.9 = [8 x i8] c"333333 \00"
@.str.10 = [8 x i8] c" 3 \00"
@.str.11 = [8 x i8] c"4 4 \00"
@.str.12 = [8 x i8] c"444444 \00"
@.str.13 = [8 x i8] c" 4 \00"
@.str.14 = [8 x i8] c"555555 \00"
@.str.15 = [8 x i8] c"5 \00"
@.str.16 = [8 x i8] c" 5 \00"
@.str.17 = [8 x i8] c"666666 \00"
@.str.18 = [8 x i8] c"6 \00"
@.str.19 = [8 x i8] c"6 6 \00"
@.str.20 = [8 x i8] c"777777 \00"
@.str.21 = [8 x i8] c" 7 \00"
@.str.22 = [8 x i8] c"888888 \00"
@.str.23 = [8 x i8] c"8 8 \00"
@.str.24 = [8 x i8] c"999999 \00"
@.str.25 = [8 x i8] c"9 9 \00"
@.str.26 = [8 x i8] c" 9 \00"
@__const.main.a = [10 x [11 x i8*]] [[11 x i8*] [i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null], [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i32 0, i32 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* null]]
@.str.27 = [20 x i8] c"Usage: %s <number>\0A\00"
@EXIT_FAILURE = global i32 0
@.str.29 = [3 x i8] c"%s\00"
@str = [14 x i8] c"error number \00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 2
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = getelementptr inbounds i8*, i8** %1, i64 1
br label %9
6: ; preds = %2
%7 = load i8*, i8** %1
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.27, i64 0, i64 0), i8* %7)
br label %37
9: ; preds = %4, %33
%10 = phi i64 [ 0, %4 ], [ %35, %33 ]
%11 = load i8*, i8** %5
%12 = load i8, i8* %11
%13 = icmp eq i8 %12, 0
br i1 %13, label %33, label %14
14: ; preds = %9, %28
%15 = phi i8 [ %31, %28 ], [ %12, %9 ]
%16 = phi i8* [ %30, %28 ], [ %11, %9 ]
%17 = add i8 %15, -58
%18 = icmp ult i8 %17, -10
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
%21 = load i32, i32* @EXIT_FAILURE
br label %37
22: ; preds = %14
%23 = zext i8 %15 to i64
%24 = add nsw i64 %23, -48
%25 = getelementptr inbounds [10 x [11 x i8*]], [10 x [11 x i8*]]* @__const.main.a, i64 0, i64 %24, i64 %10
%26 = load i8*, i8** %25
%27 = icmp eq i8* %26, null
br i1 %27, label %37, label %28
28: ; preds = %22
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.29, i64 0, i64 0), i8* %26)
%30 = getelementptr inbounds i8, i8* %16, i64 1
%31 = load i8, i8* %30
%32 = icmp eq i8 %31, 0
br i1 %32, label %33, label %14
33: ; preds = %28, %9
%34 = tail call i32 @putchar(i32 10)
%35 = add nuw nsw i64 %10, 1
%36 = icmp eq i64 %35, 11
br i1 %36, label %37, label %9
37: ; preds = %33, %22, %19, %6
%38 = phi i32 [ 0, %6 ], [ %21, %19 ], [ 0, %22 ], [ 0, %33 ]
ret i32 %38
}