int pin_in_input_group1(int pin) {
  switch (pin) {
  default:
    return 0;
    case ((('A' == 'A' ? 0x000 : 'A' == 'B' ? 0x100 : 'A' == 'C' ? 0x200 : 'A' == 'D' ? 0x300 : 'A' == 'E' ? 0x400 : 'A' == 'F' ? 0x500 : 'A' == 'G' ? 0x600 : 'A' == 'H' ? 0x700 : 'A' == 'J' ? 0x800 : 0x900) << 16) | (1 << 14)): return 1;
    case ((('B' == 'A' ? 0x000 : 'B' == 'B' ? 0x100 : 'B' == 'C' ? 0x200 : 'B' == 'D' ? 0x300 : 'B' == 'E' ? 0x400 : 'B' == 'F' ? 0x500 : 'B' == 'G' ? 0x600 : 'B' == 'H' ? 0x700 : 'B' == 'J' ? 0x800 : 0x900) << 16) | (1 << 10)): return 1;
    case ((('B' == 'A' ? 0x000 : 'B' == 'B' ? 0x100 : 'B' == 'C' ? 0x200 : 'B' == 'D' ? 0x300 : 'B' == 'E' ? 0x400 : 'B' == 'F' ? 0x500 : 'B' == 'G' ? 0x600 : 'B' == 'H' ? 0x700 : 'B' == 'J' ? 0x800 : 0x900) << 16) | (1 << 5)): return 1;
    case ((('B' == 'A' ? 0x000 : 'B' == 'B' ? 0x100 : 'B' == 'C' ? 0x200 : 'B' == 'D' ? 0x300 : 'B' == 'E' ? 0x400 : 'B' == 'F' ? 0x500 : 'B' == 'G' ? 0x600 : 'B' == 'H' ? 0x700 : 'B' == 'J' ? 0x800 : 0x900) << 16) | (1 << 9)): return 1;
    case ((('C' == 'A' ? 0x000 : 'C' == 'B' ? 0x100 : 'C' == 'C' ? 0x200 : 'C' == 'D' ? 0x300 : 'C' == 'E' ? 0x400 : 'C' == 'F' ? 0x500 : 'C' == 'G' ? 0x600 : 'C' == 'H' ? 0x700 : 'C' == 'J' ? 0x800 : 0x900) << 16) | (1 << 14)): return 1;
    case ((('C' == 'A' ? 0x000 : 'C' == 'B' ? 0x100 : 'C' == 'C' ? 0x200 : 'C' == 'D' ? 0x300 : 'C' == 'E' ? 0x400 : 'C' == 'F' ? 0x500 : 'C' == 'G' ? 0x600 : 'C' == 'H' ? 0x700 : 'C' == 'J' ? 0x800 : 0x900) << 16) | (1 << 1)): return 1;
    case ((('D' == 'A' ? 0x000 : 'D' == 'B' ? 0x100 : 'D' == 'C' ? 0x200 : 'D' == 'D' ? 0x300 : 'D' == 'E' ? 0x400 : 'D' == 'F' ? 0x500 : 'D' == 'G' ? 0x600 : 'D' == 'H' ? 0x700 : 'D' == 'J' ? 0x800 : 0x900) << 16) | (1 << 14)): return 1;
    case ((('D' == 'A' ? 0x000 : 'D' == 'B' ? 0x100 : 'D' == 'C' ? 0x200 : 'D' == 'D' ? 0x300 : 'D' == 'E' ? 0x400 : 'D' == 'F' ? 0x500 : 'D' == 'G' ? 0x600 : 'D' == 'H' ? 0x700 : 'D' == 'J' ? 0x800 : 0x900) << 16) | (1 << 2)): return 1;
    case ((('D' == 'A' ? 0x000 : 'D' == 'B' ? 0x100 : 'D' == 'C' ? 0x200 : 'D' == 'D' ? 0x300 : 'D' == 'E' ? 0x400 : 'D' == 'F' ? 0x500 : 'D' == 'G' ? 0x600 : 'D' == 'H' ? 0x700 : 'D' == 'J' ? 0x800 : 0x900) << 16) | (1 << 6)): return 1;
    case ((('F' == 'A' ? 0x000 : 'F' == 'B' ? 0x100 : 'F' == 'C' ? 0x200 : 'F' == 'D' ? 0x300 : 'F' == 'E' ? 0x400 : 'F' == 'F' ? 0x500 : 'F' == 'G' ? 0x600 : 'F' == 'H' ? 0x700 : 'F' == 'J' ? 0x800 : 0x900) << 16) | (1 << 1)): return 1;
    case ((('F' == 'A' ? 0x000 : 'F' == 'B' ? 0x100 : 'F' == 'C' ? 0x200 : 'F' == 'D' ? 0x300 : 'F' == 'E' ? 0x400 : 'F' == 'F' ? 0x500 : 'F' == 'G' ? 0x600 : 'F' == 'H' ? 0x700 : 'F' == 'J' ? 0x800 : 0x900) << 16) | (1 << 4)): return 1;
    case ((('G' == 'A' ? 0x000 : 'G' == 'B' ? 0x100 : 'G' == 'C' ? 0x200 : 'G' == 'D' ? 0x300 : 'G' == 'E' ? 0x400 : 'G' == 'F' ? 0x500 : 'G' == 'G' ? 0x600 : 'G' == 'H' ? 0x700 : 'G' == 'J' ? 0x800 : 0x900) << 16) | (1 << 1)): return 1;
    case ((('G' == 'A' ? 0x000 : 'G' == 'B' ? 0x100 : 'G' == 'C' ? 0x200 : 'G' == 'D' ? 0x300 : 'G' == 'E' ? 0x400 : 'G' == 'F' ? 0x500 : 'G' == 'G' ? 0x600 : 'G' == 'H' ? 0x700 : 'G' == 'J' ? 0x800 : 0x900) << 16) | (1 << 8)): return 1;
    }
}


x86 assembly (clang, -O0):
<pin_in_input_group1>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0xc(%rbp)
sub    $0x4000,%eax
je     120d <pin_in_input_group1+0x10d>
jmp    111d <pin_in_input_group1+0x1d>
mov    -0xc(%rbp),%eax
sub    $0x1000020,%eax
je     1225 <pin_in_input_group1+0x125>
jmp    1130 <pin_in_input_group1+0x30>
mov    -0xc(%rbp),%eax
sub    $0x1000200,%eax
je     1231 <pin_in_input_group1+0x131>
jmp    1143 <pin_in_input_group1+0x43>
mov    -0xc(%rbp),%eax
sub    $0x1000400,%eax
je     1219 <pin_in_input_group1+0x119>
jmp    1156 <pin_in_input_group1+0x56>
mov    -0xc(%rbp),%eax
sub    $0x2000002,%eax
je     1249 <pin_in_input_group1+0x149>
jmp    1169 <pin_in_input_group1+0x69>
mov    -0xc(%rbp),%eax
sub    $0x2004000,%eax
je     123d <pin_in_input_group1+0x13d>
jmp    117c <pin_in_input_group1+0x7c>
mov    -0xc(%rbp),%eax
sub    $0x3000004,%eax
je     1261 <pin_in_input_group1+0x161>
jmp    118f <pin_in_input_group1+0x8f>
mov    -0xc(%rbp),%eax
sub    $0x3000040,%eax
je     126d <pin_in_input_group1+0x16d>
jmp    11a2 <pin_in_input_group1+0xa2>
mov    -0xc(%rbp),%eax
sub    $0x3004000,%eax
je     1255 <pin_in_input_group1+0x155>
jmp    11b5 <pin_in_input_group1+0xb5>
mov    -0xc(%rbp),%eax
sub    $0x5000002,%eax
je     1279 <pin_in_input_group1+0x179>
jmp    11c8 <pin_in_input_group1+0xc8>
mov    -0xc(%rbp),%eax
sub    $0x5000010,%eax
je     1285 <pin_in_input_group1+0x185>
jmp    11db <pin_in_input_group1+0xdb>
mov    -0xc(%rbp),%eax
sub    $0x6000002,%eax
je     1291 <pin_in_input_group1+0x191>
jmp    11ee <pin_in_input_group1+0xee>
mov    -0xc(%rbp),%eax
sub    $0x6000100,%eax
je     129d <pin_in_input_group1+0x19d>
jmp    1201 <pin_in_input_group1+0x101>
movl   $0x0,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group1+0x1a4>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<pin_in_input_group1>:
xor    %eax,%eax
cmp    $0x3000003,%edi
jle    112c <pin_in_input_group1+0x2c>
cmp    $0x5000001,%edi
jle    114e <pin_in_input_group1+0x4e>
cmp    $0x6000001,%edi
jg     1182 <pin_in_input_group1+0x82>
cmp    $0x5000002,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x5000010,%edi
je     1192 <pin_in_input_group1+0x92>
jmp    1197 <pin_in_input_group1+0x97>
cmp    $0x10003ff,%edi
jg     1168 <pin_in_input_group1+0x68>
cmp    $0x4000,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x1000020,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x1000200,%edi
je     1192 <pin_in_input_group1+0x92>
jmp    1197 <pin_in_input_group1+0x97>
cmp    $0x3000004,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x3000040,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x3004000,%edi
je     1192 <pin_in_input_group1+0x92>
jmp    1197 <pin_in_input_group1+0x97>
cmp    $0x1000400,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x2000002,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x2004000,%edi
je     1192 <pin_in_input_group1+0x92>
jmp    1197 <pin_in_input_group1+0x97>
cmp    $0x6000002,%edi
je     1192 <pin_in_input_group1+0x92>
cmp    $0x6000100,%edi
jne    1197 <pin_in_input_group1+0x97>
mov    $0x1,%eax
ret

LLVM IR (-O0):
define i32 @pin_in_input_group1(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %5 [
i32 16384, label %6
i32 16778240, label %7
i32 16777248, label %8
i32 16777728, label %9
i32 33570816, label %10
i32 33554434, label %11
i32 50348032, label %12
i32 50331652, label %13
i32 50331712, label %14
i32 83886082, label %15
i32 83886096, label %16
i32 100663298, label %17
i32 100663552, label %18
]
5: ; preds = %1
store i32 0, i32* %2
br label %19
6: ; preds = %1
store i32 1, i32* %2
br label %19
7: ; preds = %1
store i32 1, i32* %2
br label %19
8: ; preds = %1
store i32 1, i32* %2
br label %19
9: ; preds = %1
store i32 1, i32* %2
br label %19
10: ; preds = %1
store i32 1, i32* %2
br label %19
11: ; preds = %1
store i32 1, i32* %2
br label %19
12: ; preds = %1
store i32 1, i32* %2
br label %19
13: ; preds = %1
store i32 1, i32* %2
br label %19
14: ; preds = %1
store i32 1, i32* %2
br label %19
15: ; preds = %1
store i32 1, i32* %2
br label %19
16: ; preds = %1
store i32 1, i32* %2
br label %19
17: ; preds = %1
store i32 1, i32* %2
br label %19
18: ; preds = %1
store i32 1, i32* %2
br label %19
19: ; preds = %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%20 = load i32, i32* %2
ret i32 %20
}

LLVM IR (-O2):
define i32 @pin_in_input_group1(i32 %0) {
switch i32 %0, label %15 [
i32 16384, label %2
i32 16778240, label %3
i32 16777248, label %4
i32 16777728, label %5
i32 33570816, label %6
i32 33554434, label %7
i32 50348032, label %8
i32 50331652, label %9
i32 50331712, label %10
i32 83886082, label %11
i32 83886096, label %12
i32 100663298, label %13
i32 100663552, label %14
]
2: ; preds = %1
br label %15
3: ; preds = %1
br label %15
4: ; preds = %1
br label %15
5: ; preds = %1
br label %15
6: ; preds = %1
br label %15
7: ; preds = %1
br label %15
8: ; preds = %1
br label %15
9: ; preds = %1
br label %15
10: ; preds = %1
br label %15
11: ; preds = %1
br label %15
12: ; preds = %1
br label %15
13: ; preds = %1
br label %15
14: ; preds = %1
br label %15
15: ; preds = %1, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2
%16 = phi i32 [ 1, %14 ], [ 1, %13 ], [ 1, %12 ], [ 1, %11 ], [ 1, %10 ], [ 1, %9 ], [ 1, %8 ], [ 1, %7 ], [ 1, %6 ], [ 1, %5 ], [ 1, %4 ], [ 1, %3 ], [ 1, %2 ], [ 0, %1 ]
ret i32 %16
}