#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__ isalnum(int);
scalar_t__ strchr(char *, int);
int valid_fcb_char(int i) {
  return isalnum(i) || (i > 127 && i < 229) || (i > 229) ||
         (i == '\\' && (3) == 1) || strchr("!#$%&'()-@^_`{}~?<>", i);
}


x86 assembly (clang, -O0):
<valid_fcb_char>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <isalnum@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x5(%rbp)
jne    11ab <valid_fcb_char+0x8b>
cmpl   $0x7f,-0x4(%rbp)
jle    1161 <valid_fcb_char+0x41>
mov    $0x1,%al
cmpl   $0xe5,-0x4(%rbp)
mov    %al,-0x5(%rbp)
jl     11ab <valid_fcb_char+0x8b>
mov    $0x1,%al
cmpl   $0xe5,-0x4(%rbp)
mov    %al,-0x5(%rbp)
jg     11ab <valid_fcb_char+0x8b>
cmpl   $0x5c,-0x4(%rbp)
jne    1192 <valid_fcb_char+0x72>
mov    $0x1,%al
xor    %ecx,%ecx
test   $0x1,%cl
mov    %al,-0x5(%rbp)
jne    11ab <valid_fcb_char+0x8b>
jmp    1192 <valid_fcb_char+0x72>
mov    -0x4(%rbp),%esi
lea    0xe64(%rip),%rdi
call   1030 <strchr@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):
<valid_fcb_char>:
push   %rbx
mov    %edi,%ebx
call   1040 <isalnum@plt>
mov    %rax,%rcx
mov    $0x1,%eax
test   %rcx,%rcx
je     1137 <valid_fcb_char+0x17>
pop    %rbx
ret
cmp    $0xe5,%ebx
jg     1135 <valid_fcb_char+0x15>
lea    -0x80(%rbx),%ecx
cmp    $0x65,%ecx
jb     1135 <valid_fcb_char+0x15>
lea    0xeb2(%rip),%rdi
mov    %ebx,%esi
call   1030 <strchr@plt>
mov    %rax,%rcx
xor    %eax,%eax
test   %rcx,%rcx
setne  %al
pop    %rbx
ret

LLVM IR (-O0):
@.str = [20 x i8] c"!#$%&'()-@^_`{}~?<>\00"
define i32 @valid_fcb_char(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = call i64 @isalnum(i32 %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %23, label %6
6: ; preds = %1
%7 = load i32, i32* %2
%8 = icmp sgt i32 %7, 127
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = load i32, i32* %2
%11 = icmp slt i32 %10, 229
br i1 %11, label %23, label %12
12: ; preds = %9, %6
%13 = load i32, i32* %2
%14 = icmp sgt i32 %13, 229
br i1 %14, label %23, label %15
15: ; preds = %12
%16 = load i32, i32* %2
%17 = icmp eq i32 %16, 92
br i1 %17, label %18, label %19
18: ; preds = %15
br i1 false, label %23, label %19
19: ; preds = %18, %15
%20 = load i32, i32* %2
%21 = call i64 @strchr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %20)
%22 = icmp ne i64 %21, 0
br label %23
23: ; preds = %19, %18, %12, %9, %1
%24 = phi i1 [ true, %18 ], [ true, %12 ], [ true, %9 ], [ true, %1 ], [ %22, %19 ]
%25 = zext i1 %24 to i32
ret i32 %25
}

LLVM IR (-O2):
@.str = [20 x i8] c"!#$%&'()-@^_`{}~?<>\00"
define i32 @valid_fcb_char(i32 %0) {
%2 = tail call i64 @isalnum(i32 %0)
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %13
4: ; preds = %1
%5 = add i32 %0, -128
%6 = icmp ult i32 %5, 101
%7 = icmp sgt i32 %0, 229
%8 = or i1 %7, %6
br i1 %8, label %13, label %9
9: ; preds = %4
%10 = tail call i64 @strchr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %0)
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %4, %9, %1
%14 = phi i32 [ 1, %1 ], [ %12, %9 ], [ 1, %4 ]
ret i32 %14
}