#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*/ abort();
scalar_t__ isdigit(char);
int main() {
  if (isdigit('a')) {
    abort();
  }
  if (isdigit('z')) {
    abort();
  }
  if (isdigit('A')) {
    abort();
  }
  if (isdigit('Z')) {
    abort();
  }
  if (isdigit(' ')) {
    abort();
  }
  if (isdigit('!')) {
    abort();
  }
  if (isdigit('@')) {
    abort();
  }
  if (isdigit('[')) {
    abort();
  }
  if (!isdigit('0')) {
    abort();
  }
  if (!isdigit('1')) {
    abort();
  }
  if (!isdigit('5')) {
    abort();
  }
  if (!isdigit('9')) {
    abort();
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    $0x61,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     113f <main+0x1f>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x7a,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     115a <main+0x3a>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x41,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     1175 <main+0x55>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x5a,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     1190 <main+0x70>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x20,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     11ab <main+0x8b>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x21,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     11c6 <main+0xa6>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x40,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     11e1 <main+0xc1>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x5b,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     11fc <main+0xdc>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x30,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
jne    1217 <main+0xf7>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x31,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
jne    1232 <main+0x112>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x35,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
jne    124d <main+0x12d>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x39,%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
jne    1268 <main+0x148>
mov    $0x0,%al
call   1030 <abort@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x61,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x7a,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x41,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x5a,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x20,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x21,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x40,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x5b,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
jne    11e5 <main+0xc5>
mov    $0x30,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     11e5 <main+0xc5>
mov    $0x31,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     11e5 <main+0xc5>
mov    $0x35,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     11e5 <main+0xc5>
mov    $0x39,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     11e5 <main+0xc5>
xor    %eax,%eax
pop    %rcx
ret
xor    %eax,%eax
call   1030 <abort@plt>

LLVM IR (-O0):
define i32 @main() {
%1 = call i64 @isdigit(i8 signext 97)
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 (...) @abort()
unreachable
5: ; preds = %0
%6 = call i64 @isdigit(i8 signext 122)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = call i32 (...) @abort()
unreachable
10: ; preds = %5
%11 = call i64 @isdigit(i8 signext 65)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (...) @abort()
unreachable
15: ; preds = %10
%16 = call i64 @isdigit(i8 signext 90)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 (...) @abort()
unreachable
20: ; preds = %15
%21 = call i64 @isdigit(i8 signext 32)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 (...) @abort()
unreachable
25: ; preds = %20
%26 = call i64 @isdigit(i8 signext 33)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 (...) @abort()
unreachable
30: ; preds = %25
%31 = call i64 @isdigit(i8 signext 64)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 (...) @abort()
unreachable
35: ; preds = %30
%36 = call i64 @isdigit(i8 signext 91)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 (...) @abort()
unreachable
40: ; preds = %35
%41 = call i64 @isdigit(i8 signext 48)
%42 = icmp ne i64 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = call i32 (...) @abort()
unreachable
45: ; preds = %40
%46 = call i64 @isdigit(i8 signext 49)
%47 = icmp ne i64 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %45
%49 = call i32 (...) @abort()
unreachable
50: ; preds = %45
%51 = call i64 @isdigit(i8 signext 53)
%52 = icmp ne i64 %51, 0
br i1 %52, label %55, label %53
53: ; preds = %50
%54 = call i32 (...) @abort()
unreachable
55: ; preds = %50
%56 = call i64 @isdigit(i8 signext 57)
%57 = icmp ne i64 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %55
%59 = call i32 (...) @abort()
unreachable
60: ; preds = %55
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i64 @isdigit(i8 signext 97)
%2 = icmp eq i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 (...) @abort()
unreachable
5: ; preds = %0
%6 = tail call i64 @isdigit(i8 signext 122)
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 (...) @abort()
unreachable
10: ; preds = %5
%11 = tail call i64 @isdigit(i8 signext 65)
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 (...) @abort()
unreachable
15: ; preds = %10
%16 = tail call i64 @isdigit(i8 signext 90)
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = tail call i32 (...) @abort()
unreachable
20: ; preds = %15
%21 = tail call i64 @isdigit(i8 signext 32)
%22 = icmp eq i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = tail call i32 (...) @abort()
unreachable
25: ; preds = %20
%26 = tail call i64 @isdigit(i8 signext 33)
%27 = icmp eq i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = tail call i32 (...) @abort()
unreachable
30: ; preds = %25
%31 = tail call i64 @isdigit(i8 signext 64)
%32 = icmp eq i64 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %30
%34 = tail call i32 (...) @abort()
unreachable
35: ; preds = %30
%36 = tail call i64 @isdigit(i8 signext 91)
%37 = icmp eq i64 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %35
%39 = tail call i32 (...) @abort()
unreachable
40: ; preds = %35
%41 = tail call i64 @isdigit(i8 signext 48)
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = tail call i32 (...) @abort()
unreachable
45: ; preds = %40
%46 = tail call i64 @isdigit(i8 signext 49)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = tail call i32 (...) @abort()
unreachable
50: ; preds = %45
%51 = tail call i64 @isdigit(i8 signext 53)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 (...) @abort()
unreachable
55: ; preds = %50
%56 = tail call i64 @isdigit(i8 signext 57)
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %55
%59 = tail call i32 (...) @abort()
unreachable
60: ; preds = %55
ret i32 0
}