#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 */
bool is_WBP_MIDNUMLET(unsigned int ch) {
  return (ch == 0x0027 || ch == 0x002E || ch == 0x2018 || ch == 0x2019 ||
          ch == 0x2024 || ch == 0xFE52 || ch == 0xFF07 || ch == 0xFF0E);
}


x86 assembly (clang, -O0):
<is_WBP_MIDNUMLET>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    $0x1,%al
cmpl   $0x27,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     118c <is_WBP_MIDNUMLET+0x8c>
mov    $0x1,%al
cmpl   $0x2e,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     118c <is_WBP_MIDNUMLET+0x8c>
mov    $0x1,%al
cmpl   $0x2018,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     118c <is_WBP_MIDNUMLET+0x8c>
mov    $0x1,%al
cmpl   $0x2019,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     118c <is_WBP_MIDNUMLET+0x8c>
mov    $0x1,%al
cmpl   $0x2024,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     118c <is_WBP_MIDNUMLET+0x8c>
mov    $0x1,%al
cmpl   $0xfe52,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     118c <is_WBP_MIDNUMLET+0x8c>
mov    $0x1,%al
cmpl   $0xff07,-0x4(%rbp)
mov    %al,-0x5(%rbp)
je     118c <is_WBP_MIDNUMLET+0x8c>
cmpl   $0xff0e,-0x4(%rbp)
sete   %al
mov    %al,-0x5(%rbp)
mov    -0x5(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_WBP_MIDNUMLET>:
mov    $0x1,%eax
cmp    $0x2017,%edi
jle    1134 <is_WBP_MIDNUMLET+0x34>
lea    -0x2018(%rdi),%ecx
cmp    $0xc,%ecx
ja     1122 <is_WBP_MIDNUMLET+0x22>
mov    $0x1003,%edx
bt     %ecx,%edx
jb     113e <is_WBP_MIDNUMLET+0x3e>
cmp    $0xfe52,%edi
je     113e <is_WBP_MIDNUMLET+0x3e>
cmp    $0xff07,%edi
je     113e <is_WBP_MIDNUMLET+0x3e>
jmp    113f <is_WBP_MIDNUMLET+0x3f>
cmp    $0x27,%edi
je     113e <is_WBP_MIDNUMLET+0x3e>
cmp    $0x2e,%edi
jne    113f <is_WBP_MIDNUMLET+0x3f>
ret
xor    %eax,%eax
cmp    $0xff0e,%edi
sete   %al
ret

LLVM IR (-O0):
define i32 @is_WBP_MIDNUMLET(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = icmp eq i32 %3, 39
br i1 %4, label %26, label %5
5: ; preds = %1
%6 = load i32, i32* %2
%7 = icmp eq i32 %6, 46
br i1 %7, label %26, label %8
8: ; preds = %5
%9 = load i32, i32* %2
%10 = icmp eq i32 %9, 8216
br i1 %10, label %26, label %11
11: ; preds = %8
%12 = load i32, i32* %2
%13 = icmp eq i32 %12, 8217
br i1 %13, label %26, label %14
14: ; preds = %11
%15 = load i32, i32* %2
%16 = icmp eq i32 %15, 8228
br i1 %16, label %26, label %17
17: ; preds = %14
%18 = load i32, i32* %2
%19 = icmp eq i32 %18, 65106
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load i32, i32* %2
%22 = icmp eq i32 %21, 65287
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = load i32, i32* %2
%25 = icmp eq i32 %24, 65294
br label %26
26: ; preds = %23, %20, %17, %14, %11, %8, %5, %1
%27 = phi i1 [ true, %20 ], [ true, %17 ], [ true, %14 ], [ true, %11 ], [ true, %8 ], [ true, %5 ], [ true, %1 ], [ %25, %23 ]
%28 = zext i1 %27 to i32
ret i32 %28
}

LLVM IR (-O2):
define i32 @is_WBP_MIDNUMLET(i32 %0) {
switch i32 %0, label %2 [
i32 65287, label %5
i32 65106, label %5
i32 8228, label %5
i32 8217, label %5
i32 8216, label %5
i32 46, label %5
i32 39, label %5
]
2: ; preds = %1
%3 = icmp eq i32 %0, 65294
%4 = zext i1 %3 to i32
br label %5
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %2
%6 = phi i32 [ 1, %1 ], [ %4, %2 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ]
ret i32 %6
}