#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__ isxdigit(char);
int main() {
  if (!isxdigit('a')) {
    abort();
  }
  if (!isxdigit('d')) {
    abort();
  }
  if (!isxdigit('f')) {
    abort();
  }
  if (isxdigit('z')) {
    abort();
  }
  if (!isxdigit('A')) {
    abort();
  }
  if (!isxdigit('D')) {
    abort();
  }
  if (!isxdigit('F')) {
    abort();
  }
  if (isxdigit('Z')) {
    abort();
  }
  if (isxdigit(' ')) {
    abort();
  }
  if (!isxdigit('0')) {
    abort();
  }
  if (!isxdigit('5')) {
    abort();
  }
  if (!isxdigit('9')) {
    abort();
  }
  if (isxdigit('!')) {
    abort();
  }
  if (isxdigit('@')) {
    abort();
  }
  if (isxdigit('[')) {
    abort();
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    $0x61,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    113f <main+0x1f>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x64,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    115a <main+0x3a>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x66,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    1175 <main+0x55>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x7a,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
je     1190 <main+0x70>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x41,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    11ab <main+0x8b>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x44,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    11c6 <main+0xa6>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x46,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    11e1 <main+0xc1>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x5a,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
je     11fc <main+0xdc>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x20,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
je     1217 <main+0xf7>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x30,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    1232 <main+0x112>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x35,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    124d <main+0x12d>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x39,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
jne    1268 <main+0x148>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x21,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
je     1283 <main+0x163>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x40,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
je     129e <main+0x17e>
mov    $0x0,%al
call   1030 <abort@plt>
mov    $0x5b,%edi
call   1040 <isxdigit@plt>
cmp    $0x0,%rax
je     12b9 <main+0x199>
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 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x64,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x66,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x7a,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
jne    121e <main+0xfe>
mov    $0x41,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x44,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x46,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x5a,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
jne    121e <main+0xfe>
mov    $0x20,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
jne    121e <main+0xfe>
mov    $0x30,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x35,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x39,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
je     121e <main+0xfe>
mov    $0x21,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
jne    121e <main+0xfe>
mov    $0x40,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
jne    121e <main+0xfe>
mov    $0x5b,%edi
call   1040 <isxdigit@plt>
test   %rax,%rax
jne    121e <main+0xfe>
xor    %eax,%eax
pop    %rcx
ret
xor    %eax,%eax
call   1030 <abort@plt>

LLVM IR (-O0):
define i32 @main() {
%1 = call i64 @isxdigit(i8 signext 97)
%2 = icmp ne i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = call i32 (...) @abort()
unreachable
5: ; preds = %0
%6 = call i64 @isxdigit(i8 signext 100)
%7 = icmp ne i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = call i32 (...) @abort()
unreachable
10: ; preds = %5
%11 = call i64 @isxdigit(i8 signext 102)
%12 = icmp ne i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = call i32 (...) @abort()
unreachable
15: ; preds = %10
%16 = call i64 @isxdigit(i8 signext 122)
%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 @isxdigit(i8 signext 65)
%22 = icmp ne i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = call i32 (...) @abort()
unreachable
25: ; preds = %20
%26 = call i64 @isxdigit(i8 signext 68)
%27 = icmp ne i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = call i32 (...) @abort()
unreachable
30: ; preds = %25
%31 = call i64 @isxdigit(i8 signext 70)
%32 = icmp ne i64 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %30
%34 = call i32 (...) @abort()
unreachable
35: ; preds = %30
%36 = call i64 @isxdigit(i8 signext 90)
%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 @isxdigit(i8 signext 32)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 (...) @abort()
unreachable
45: ; preds = %40
%46 = call i64 @isxdigit(i8 signext 48)
%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 @isxdigit(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 @isxdigit(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
%61 = call i64 @isxdigit(i8 signext 33)
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 (...) @abort()
unreachable
65: ; preds = %60
%66 = call i64 @isxdigit(i8 signext 64)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %65
%69 = call i32 (...) @abort()
unreachable
70: ; preds = %65
%71 = call i64 @isxdigit(i8 signext 91)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %70
%74 = call i32 (...) @abort()
unreachable
75: ; preds = %70
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i64 @isxdigit(i8 signext 97)
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 (...) @abort()
unreachable
5: ; preds = %0
%6 = tail call i64 @isxdigit(i8 signext 100)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = tail call i32 (...) @abort()
unreachable
10: ; preds = %5
%11 = tail call i64 @isxdigit(i8 signext 102)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 (...) @abort()
unreachable
15: ; preds = %10
%16 = tail call i64 @isxdigit(i8 signext 122)
%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 @isxdigit(i8 signext 65)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = tail call i32 (...) @abort()
unreachable
25: ; preds = %20
%26 = tail call i64 @isxdigit(i8 signext 68)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = tail call i32 (...) @abort()
unreachable
30: ; preds = %25
%31 = tail call i64 @isxdigit(i8 signext 70)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = tail call i32 (...) @abort()
unreachable
35: ; preds = %30
%36 = tail call i64 @isxdigit(i8 signext 90)
%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 @isxdigit(i8 signext 32)
%42 = icmp eq i64 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = tail call i32 (...) @abort()
unreachable
45: ; preds = %40
%46 = tail call i64 @isxdigit(i8 signext 48)
%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 @isxdigit(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 @isxdigit(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
%61 = tail call i64 @isxdigit(i8 signext 33)
%62 = icmp eq i64 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %60
%64 = tail call i32 (...) @abort()
unreachable
65: ; preds = %60
%66 = tail call i64 @isxdigit(i8 signext 64)
%67 = icmp eq i64 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = tail call i32 (...) @abort()
unreachable
70: ; preds = %65
%71 = tail call i64 @isxdigit(i8 signext 91)
%72 = icmp eq i64 %71, 0
br i1 %72, label %75, label %73
73: ; preds = %70
%74 = tail call i32 (...) @abort()
unreachable
75: ; preds = %70
ret i32 0
}