#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 is_valid_in_Logon(size_t __tag) {
  switch (__tag) {
  case 49:
  case 56:
  case 34:
  case 108:
  case 141:
  case 789:
  case 383:
  case 384:
  case 464:
  case 553:
  case 554:
    return 1;
  default:
    return 0;
  }
}


x86 assembly (clang, -O0):
<is_valid_in_Logon>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
sub    $0x22,%rax
je     11c9 <is_valid_in_Logon+0xc9>
jmp    111f <is_valid_in_Logon+0x1f>
mov    -0x18(%rbp),%rax
sub    $0x31,%rax
je     11c9 <is_valid_in_Logon+0xc9>
jmp    1132 <is_valid_in_Logon+0x32>
mov    -0x18(%rbp),%rax
sub    $0x38,%rax
je     11c9 <is_valid_in_Logon+0xc9>
jmp    1145 <is_valid_in_Logon+0x45>
mov    -0x18(%rbp),%rax
sub    $0x6c,%rax
je     11c9 <is_valid_in_Logon+0xc9>
jmp    1158 <is_valid_in_Logon+0x58>
mov    -0x18(%rbp),%rax
sub    $0x8d,%rax
je     11c9 <is_valid_in_Logon+0xc9>
jmp    116d <is_valid_in_Logon+0x6d>
mov    -0x18(%rbp),%rax
add    $0xfffffffffffffe81,%rax
sub    $0x2,%rax
jb     11c9 <is_valid_in_Logon+0xc9>
jmp    1186 <is_valid_in_Logon+0x86>
mov    -0x18(%rbp),%rax
sub    $0x1d0,%rax
je     11c9 <is_valid_in_Logon+0xc9>
jmp    119b <is_valid_in_Logon+0x9b>
mov    -0x18(%rbp),%rax
add    $0xfffffffffffffdd7,%rax
sub    $0x2,%rax
jb     11c9 <is_valid_in_Logon+0xc9>
jmp    11b4 <is_valid_in_Logon+0xb4>
mov    -0x18(%rbp),%rax
sub    $0x315,%rax
jne    11d5 <is_valid_in_Logon+0xd5>
jmp    11c9 <is_valid_in_Logon+0xc9>
movl   $0x1,-0x4(%rbp)
jmp    11dc <is_valid_in_Logon+0xdc>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_valid_in_Logon>:
mov    $0x1,%eax
cmp    $0x17e,%rdi
jle    1125 <is_valid_in_Logon+0x25>
cmp    $0x228,%rdi
jg     114c <is_valid_in_Logon+0x4c>
lea    -0x17f(%rdi),%rcx
cmp    $0x2,%rcx
jae    1164 <is_valid_in_Logon+0x64>
ret
cmp    $0x38,%rdi
ja     113b <is_valid_in_Logon+0x3b>
movabs $0x102000400000000,%rcx
bt     %rdi,%rcx
jb     1124 <is_valid_in_Logon+0x24>
cmp    $0x6c,%rdi
je     1124 <is_valid_in_Logon+0x24>
cmp    $0x8d,%rdi
je     1124 <is_valid_in_Logon+0x24>
jmp    116d <is_valid_in_Logon+0x6d>
lea    -0x229(%rdi),%rcx
cmp    $0x2,%rcx
jb     1124 <is_valid_in_Logon+0x24>
cmp    $0x315,%rdi
je     1124 <is_valid_in_Logon+0x24>
jmp    116d <is_valid_in_Logon+0x6d>
cmp    $0x1d0,%rdi
je     1124 <is_valid_in_Logon+0x24>
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @is_valid_in_Logon(i64 %0) {
%2 = alloca i32
%3 = alloca i64
store i64 %0, i64* %3
%4 = load i64, i64* %3
switch i64 %4, label %6 [
i64 49, label %5
i64 56, label %5
i64 34, label %5
i64 108, label %5
i64 141, label %5
i64 789, label %5
i64 383, label %5
i64 384, label %5
i64 464, label %5
i64 553, label %5
i64 554, label %5
]
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
store i32 1, i32* %2
br label %7
6: ; preds = %1
store i32 0, i32* %2
br label %7
7: ; preds = %6, %5
%8 = load i32, i32* %2
ret i32 %8
}

LLVM IR (-O2):
define i32 @is_valid_in_Logon(i64 %0) {
switch i64 %0, label %2 [
i64 49, label %3
i64 56, label %3
i64 34, label %3
i64 108, label %3
i64 141, label %3
i64 789, label %3
i64 383, label %3
i64 384, label %3
i64 464, label %3
i64 553, label %3
i64 554, label %3
]
2: ; preds = %1
br label %3
3: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %2
%4 = phi i32 [ 0, %2 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ]
ret i32 %4
}