#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__ jsU_isalpharune(int);
int jsY_isidentifierpart(int c) {
  return (c >= '0' && c <= '9') ||
         ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) || c == '$' ||
         c == '_' || jsU_isalpharune(c);
}


x86 assembly (clang, -O0):
<jsY_isidentifierpart>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
cmpl   $0x30,-0x4(%rbp)
jl     1134 <jsY_isidentifierpart+0x24>
mov    $0x1,%al
cmpl   $0x39,-0x4(%rbp)
mov    %al,-0x5(%rbp)
jle    1196 <jsY_isidentifierpart+0x86>
cmpl   $0x61,-0x4(%rbp)
jl     114d <jsY_isidentifierpart+0x3d>
mov    $0x1,%al
cmpl   $0x7a,-0x4(%rbp)
mov    %al,-0x5(%rbp)
jle    1196 <jsY_isidentifierpart+0x86>
cmpl   $0x41,-0x4(%rbp)
jl     1166 <jsY_isidentifierpart+0x56>
mov    $0x1,%al
cmpl   $0x5a,-0x4(%rbp)
mov    %al,-0x5(%rbp)
jle    1196 <jsY_isidentifierpart+0x86>
mov    $0x1,%al
cmpl   $0x24,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1196 <jsY_isidentifierpart+0x86>
mov    $0x1,%al
cmpl   $0x5f,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     1196 <jsY_isidentifierpart+0x86>
mov    -0x4(%rbp),%edi
call   1030 <jsU_isalpharune@plt>
cmp    $0x0,%rax
setne  %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):
<jsY_isidentifierpart>:
lea    -0x30(%rdi),%ecx
mov    $0x1,%eax
cmp    $0xa,%ecx
jb     1134 <jsY_isidentifierpart+0x24>
mov    %edi,%ecx
and    $0xffffffdf,%ecx
add    $0xffffffbf,%ecx
cmp    $0x1a,%ecx
jb     1134 <jsY_isidentifierpart+0x24>
cmp    $0x24,%edi
je     1134 <jsY_isidentifierpart+0x24>
cmp    $0x5f,%edi
jne    1135 <jsY_isidentifierpart+0x25>
ret
push   %rax
call   1030 <jsU_isalpharune@plt>
mov    %rax,%rcx
xor    %eax,%eax
test   %rcx,%rcx
setne  %al
add    $0x8,%rsp
ret

LLVM IR (-O0):
define i32 @jsY_isidentifierpart(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = icmp sge i32 %3, 48
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, i32* %2
%7 = icmp sle i32 %6, 57
br i1 %7, label %30, label %8
8: ; preds = %5, %1
%9 = load i32, i32* %2
%10 = icmp sge i32 %9, 97
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, i32* %2
%13 = icmp sle i32 %12, 122
br i1 %13, label %30, label %14
14: ; preds = %11, %8
%15 = load i32, i32* %2
%16 = icmp sge i32 %15, 65
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, i32* %2
%19 = icmp sle i32 %18, 90
br i1 %19, label %30, label %20
20: ; preds = %17, %14
%21 = load i32, i32* %2
%22 = icmp eq i32 %21, 36
br i1 %22, label %30, label %23
23: ; preds = %20
%24 = load i32, i32* %2
%25 = icmp eq i32 %24, 95
br i1 %25, label %30, label %26
26: ; preds = %23
%27 = load i32, i32* %2
%28 = call i64 @jsU_isalpharune(i32 %27)
%29 = icmp ne i64 %28, 0
br label %30
30: ; preds = %26, %23, %20, %17, %11, %5
%31 = phi i1 [ true, %23 ], [ true, %20 ], [ true, %17 ], [ true, %11 ], [ true, %5 ], [ %29, %26 ]
%32 = zext i1 %31 to i32
ret i32 %32
}

LLVM IR (-O2):
define i32 @jsY_isidentifierpart(i32 %0) {
%2 = add i32 %0, -48
%3 = icmp ult i32 %2, 10
%4 = and i32 %0, -33
%5 = add i32 %4, -65
%6 = icmp ult i32 %5, 26
%7 = or i1 %3, %6
br i1 %7, label %13, label %8
8: ; preds = %1
switch i32 %0, label %9 [
i32 95, label %13
i32 36, label %13
]
9: ; preds = %8
%10 = tail call i64 @jsU_isalpharune(i32 %0)
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %8, %8, %1, %9
%14 = phi i32 [ %12, %9 ], [ 1, %1 ], [ 1, %8 ], [ 1, %8 ]
ret i32 %14
}