#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 */
scalar_t__ isalpha(int);
bool is_initial(int c) {
  return (isalpha(c) || c == '*' || c == '/' || c == '>' || c == '<' ||
          c == '=' || c == '?' || c == '!');
}


x86 assembly (clang, -O0):
<is_initial>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%edi
call   1030 <isalpha@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x5(%rbp)
jne    1199 <is_initial+0x89>
mov    $0x1,%al
cmpl   $0x2a,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1199 <is_initial+0x89>
mov    $0x1,%al
cmpl   $0x2f,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1199 <is_initial+0x89>
mov    $0x1,%al
cmpl   $0x3e,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1199 <is_initial+0x89>
mov    $0x1,%al
cmpl   $0x3c,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1199 <is_initial+0x89>
mov    $0x1,%al
cmpl   $0x3d,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1199 <is_initial+0x89>
mov    $0x1,%al
cmpl   $0x3f,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1199 <is_initial+0x89>
cmpl   $0x21,-0x4(%rbp)
sete   %al
mov    %al,-0x5(%rbp)
mov    -0x5(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_initial>:
push   %rbx
mov    %edi,%ebx
call   1030 <isalpha@plt>
mov    %rax,%rcx
mov    $0x1,%eax
test   %rcx,%rcx
je     1127 <is_initial+0x17>
pop    %rbx
ret
cmp    $0x3f,%ebx
ja     113e <is_initial+0x2e>
mov    %ebx,%ecx
movabs $0xf000840000000000,%rdx
bt     %rcx,%rdx
jb     1125 <is_initial+0x15>
xor    %eax,%eax
cmp    $0x21,%ebx
sete   %al
pop    %rbx
ret

LLVM IR (-O0):
define i32 @is_initial(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = call i64 @isalpha(i32 %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %27, label %6
6: ; preds = %1
%7 = load i32, i32* %2
%8 = icmp eq i32 %7, 42
br i1 %8, label %27, label %9
9: ; preds = %6
%10 = load i32, i32* %2
%11 = icmp eq i32 %10, 47
br i1 %11, label %27, label %12
12: ; preds = %9
%13 = load i32, i32* %2
%14 = icmp eq i32 %13, 62
br i1 %14, label %27, label %15
15: ; preds = %12
%16 = load i32, i32* %2
%17 = icmp eq i32 %16, 60
br i1 %17, label %27, label %18
18: ; preds = %15
%19 = load i32, i32* %2
%20 = icmp eq i32 %19, 61
br i1 %20, label %27, label %21
21: ; preds = %18
%22 = load i32, i32* %2
%23 = icmp eq i32 %22, 63
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = load i32, i32* %2
%26 = icmp eq i32 %25, 33
br label %27
27: ; preds = %24, %21, %18, %15, %12, %9, %6, %1
%28 = phi i1 [ true, %21 ], [ true, %18 ], [ true, %15 ], [ true, %12 ], [ true, %9 ], [ true, %6 ], [ true, %1 ], [ %26, %24 ]
%29 = zext i1 %28 to i32
ret i32 %29
}

LLVM IR (-O2):
define i32 @is_initial(i32 %0) {
%2 = tail call i64 @isalpha(i32 %0)
%3 = freeze i64 %2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
switch i32 %0, label %6 [
i32 63, label %9
i32 62, label %9
i32 61, label %9
i32 60, label %9
i32 47, label %9
i32 42, label %9
]
6: ; preds = %5
%7 = icmp eq i32 %0, 33
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %5, %5, %5, %5, %5, %1, %6
%10 = phi i32 [ 1, %5 ], [ %8, %6 ], [ 1, %1 ], [ 1, %5 ], [ 1, %5 ], [ 1, %5 ], [ 1, %5 ], [ 1, %5 ]
ret i32 %10
}