#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*/ printf(char *);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int a;
  scanf("%d", &a);
  if (a >= 0 | a < 10) {
    if (a == 0)
      printf("zero");
    if (a == 1)
      printf("one");
    if (a == 2)
      printf("two");
    if (a == 3)
      printf("three");
    if (a == 4)
      printf("four");
    if (a == 5)
      printf("five");
    if (a == 6)
      printf("six");
    if (a == 7)
      printf("seven");
    if (a == 8)
      printf("eight");
    if (a == 9)
      printf("nine");
  } else
    printf("do not acceptable number");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
cmpl   $0x0,-0x8(%rbp)
setge  %al
and    $0x1,%al
movzbl %al,%eax
cmpl   $0xa,-0x8(%rbp)
setl   %cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
cmp    $0x0,%eax
je     1244 <main+0x124>
cmpl   $0x0,-0x8(%rbp)
jne    1179 <main+0x59>
lea    0xe8f(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x1,-0x8(%rbp)
jne    118f <main+0x6f>
lea    0xe7e(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x2,-0x8(%rbp)
jne    11a5 <main+0x85>
lea    0xe6c(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x3,-0x8(%rbp)
jne    11bb <main+0x9b>
lea    0xe5a(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x4,-0x8(%rbp)
jne    11d1 <main+0xb1>
lea    0xe4a(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x5,-0x8(%rbp)
jne    11e7 <main+0xc7>
lea    0xe39(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x6,-0x8(%rbp)
jne    11fd <main+0xdd>
lea    0xe28(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x7,-0x8(%rbp)
jne    1213 <main+0xf3>
lea    0xe16(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x8,-0x8(%rbp)
jne    1229 <main+0x109>
lea    0xe06(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x9,-0x8(%rbp)
jne    123f <main+0x11f>
lea    0xdf6(%rip),%rdi
call   1030 <printf@plt>
jmp    1250 <main+0x130>
lea    0xdea(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1040 <scanf@plt>
mov    0x4(%rsp),%eax
test   %eax,%eax
je     118f <main+0x6f>
cmp    $0x1,%eax
je     11a4 <main+0x84>
cmp    $0x2,%eax
je     11b9 <main+0x99>
cmp    $0x3,%eax
je     11d2 <main+0xb2>
cmp    $0x4,%eax
je     11eb <main+0xcb>
cmp    $0x5,%eax
je     1204 <main+0xe4>
cmp    $0x6,%eax
je     121d <main+0xfd>
cmp    $0x7,%eax
je     1236 <main+0x116>
cmp    $0x8,%eax
je     124f <main+0x12f>
cmp    $0x9,%eax
jne    118b <main+0x6b>
lea    0xeaa(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret
lea    0xe6d(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x1,%eax
jne    113f <main+0x1f>
lea    0xe5d(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x2,%eax
jne    1144 <main+0x24>
lea    0xe4c(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x3,%eax
jne    114d <main+0x2d>
lea    0xe37(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x4,%eax
jne    1156 <main+0x36>
lea    0xe24(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x5,%eax
jne    115f <main+0x3f>
lea    0xe10(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x6,%eax
jne    1168 <main+0x48>
lea    0xdfc(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x7,%eax
jne    1171 <main+0x51>
lea    0xde7(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x8,%eax
jne    117a <main+0x5a>
lea    0xdd4(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x9,%eax
je     117f <main+0x5f>
jmp    118b <main+0x6b>

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c"zero\00"
@.str.2 = [4 x i8] c"one\00"
@.str.3 = [4 x i8] c"two\00"
@.str.4 = [6 x i8] c"three\00"
@.str.5 = [5 x i8] c"four\00"
@.str.6 = [5 x i8] c"five\00"
@.str.7 = [4 x i8] c"six\00"
@.str.8 = [6 x i8] c"seven\00"
@.str.9 = [6 x i8] c"eight\00"
@.str.10 = [5 x i8] c"nine\00"
@.str.11 = [25 x i8] c"do not acceptable number\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%4 = load i32, i32* %2
%5 = icmp sge i32 %4, 0
%6 = zext i1 %5 to i32
%7 = load i32, i32* %2
%8 = icmp slt i32 %7, 10
%9 = zext i1 %8 to i32
%10 = or i32 %6, %9
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %63
12: ; preds = %0
%13 = load i32, i32* %2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %17
17: ; preds = %15, %12
%18 = load i32, i32* %2
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %22
22: ; preds = %20, %17
%23 = load i32, i32* %2
%24 = icmp eq i32 %23, 2
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
br label %27
27: ; preds = %25, %22
%28 = load i32, i32* %2
%29 = icmp eq i32 %28, 3
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %32
32: ; preds = %30, %27
%33 = load i32, i32* %2
%34 = icmp eq i32 %33, 4
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %37
37: ; preds = %35, %32
%38 = load i32, i32* %2
%39 = icmp eq i32 %38, 5
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %42
42: ; preds = %40, %37
%43 = load i32, i32* %2
%44 = icmp eq i32 %43, 6
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
br label %47
47: ; preds = %45, %42
%48 = load i32, i32* %2
%49 = icmp eq i32 %48, 7
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %52
52: ; preds = %50, %47
%53 = load i32, i32* %2
%54 = icmp eq i32 %53, 8
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %57
57: ; preds = %55, %52
%58 = load i32, i32* %2
%59 = icmp eq i32 %58, 9
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
br label %62
62: ; preds = %60, %57
br label %65
63: ; preds = %0
%64 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
br label %65
65: ; preds = %63, %62
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c"zero\00"
@.str.2 = [4 x i8] c"one\00"
@.str.3 = [4 x i8] c"two\00"
@.str.4 = [6 x i8] c"three\00"
@.str.5 = [5 x i8] c"four\00"
@.str.6 = [5 x i8] c"five\00"
@.str.7 = [4 x i8] c"six\00"
@.str.8 = [6 x i8] c"seven\00"
@.str.9 = [6 x i8] c"eight\00"
@.str.10 = [5 x i8] c"nine\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%4 = load i32, i32* %1
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%8 = load i32, i32* %1
br label %9
9: ; preds = %6, %0
%10 = phi i32 [ %8, %6 ], [ %4, %0 ]
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%14 = load i32, i32* %1
br label %15
15: ; preds = %12, %9
%16 = phi i32 [ %14, %12 ], [ %10, %9 ]
%17 = icmp eq i32 %16, 2
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%20 = load i32, i32* %1
br label %21
21: ; preds = %18, %15
%22 = phi i32 [ %20, %18 ], [ %16, %15 ]
%23 = icmp eq i32 %22, 3
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%26 = load i32, i32* %1
br label %27
27: ; preds = %24, %21
%28 = phi i32 [ %26, %24 ], [ %22, %21 ]
%29 = icmp eq i32 %28, 4
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%32 = load i32, i32* %1
br label %33
33: ; preds = %30, %27
%34 = phi i32 [ %32, %30 ], [ %28, %27 ]
%35 = icmp eq i32 %34, 5
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%38 = load i32, i32* %1
br label %39
39: ; preds = %36, %33
%40 = phi i32 [ %38, %36 ], [ %34, %33 ]
%41 = icmp eq i32 %40, 6
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%44 = load i32, i32* %1
br label %45
45: ; preds = %42, %39
%46 = phi i32 [ %44, %42 ], [ %40, %39 ]
%47 = icmp eq i32 %46, 7
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%50 = load i32, i32* %1
br label %51
51: ; preds = %48, %45
%52 = phi i32 [ %50, %48 ], [ %46, %45 ]
%53 = icmp eq i32 %52, 8
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%56 = load i32, i32* %1
br label %57
57: ; preds = %54, %51
%58 = phi i32 [ %56, %54 ], [ %52, %51 ]
%59 = icmp eq i32 %58, 9
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
br label %62
62: ; preds = %57, %60
ret i32 0
}