int pin_in_input_group2(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 << 15)): 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 << 1)): 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 << 3)): 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 << 13)): 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 << 4)): 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 << 11)): 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 << 3)): 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 << 7)): return 1;
    case ((('E' == 'A' ? 0x000 : 'E' == 'B' ? 0x100 : 'E' == 'C' ? 0x200 : 'E' == 'D' ? 0x300 : 'E' == 'E' ? 0x400 : 'E' == 'F' ? 0x500 : 'E' == 'G' ? 0x600 : 'E' == 'H' ? 0x700 : 'E' == 'J' ? 0x800 : 0x900) << 16) | (1 << 5)): 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 << 0)): 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 << 5)): 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 << 0)): 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 << 7)): return 1;
    }
}


x86 assembly (clang, -O0):
<pin_in_input_group2>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0xc(%rbp)
sub    $0x8000,%eax
je     120d <pin_in_input_group2+0x10d>
jmp    111d <pin_in_input_group2+0x1d>
mov    -0xc(%rbp),%eax
sub    $0x1000002,%eax
je     1219 <pin_in_input_group2+0x119>
jmp    1130 <pin_in_input_group2+0x30>
mov    -0xc(%rbp),%eax
sub    $0x1000008,%eax
je     1225 <pin_in_input_group2+0x125>
jmp    1143 <pin_in_input_group2+0x43>
mov    -0xc(%rbp),%eax
sub    $0x2000010,%eax
je     123d <pin_in_input_group2+0x13d>
jmp    1156 <pin_in_input_group2+0x56>
mov    -0xc(%rbp),%eax
sub    $0x2002000,%eax
je     1231 <pin_in_input_group2+0x131>
jmp    1169 <pin_in_input_group2+0x69>
mov    -0xc(%rbp),%eax
sub    $0x3000008,%eax
je     1255 <pin_in_input_group2+0x155>
jmp    117c <pin_in_input_group2+0x7c>
mov    -0xc(%rbp),%eax
sub    $0x3000080,%eax
je     1261 <pin_in_input_group2+0x161>
jmp    118f <pin_in_input_group2+0x8f>
mov    -0xc(%rbp),%eax
sub    $0x3000800,%eax
je     1249 <pin_in_input_group2+0x149>
jmp    11a2 <pin_in_input_group2+0xa2>
mov    -0xc(%rbp),%eax
sub    $0x4000020,%eax
je     126d <pin_in_input_group2+0x16d>
jmp    11b5 <pin_in_input_group2+0xb5>
mov    -0xc(%rbp),%eax
sub    $0x5000001,%eax
je     1279 <pin_in_input_group2+0x179>
jmp    11c8 <pin_in_input_group2+0xc8>
mov    -0xc(%rbp),%eax
sub    $0x5000020,%eax
je     1285 <pin_in_input_group2+0x185>
jmp    11db <pin_in_input_group2+0xdb>
mov    -0xc(%rbp),%eax
sub    $0x6000001,%eax
je     1291 <pin_in_input_group2+0x191>
jmp    11ee <pin_in_input_group2+0xee>
mov    -0xc(%rbp),%eax
sub    $0x6000080,%eax
je     129d <pin_in_input_group2+0x19d>
jmp    1201 <pin_in_input_group2+0x101>
movl   $0x0,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
jmp    12a4 <pin_in_input_group2+0x1a4>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<pin_in_input_group2>:
xor    %eax,%eax
cmp    $0x300007f,%edi
jle    112c <pin_in_input_group2+0x2c>
cmp    $0x5000000,%edi
jle    114e <pin_in_input_group2+0x4e>
cmp    $0x6000000,%edi
jg     1182 <pin_in_input_group2+0x82>
cmp    $0x5000001,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x5000020,%edi
je     1192 <pin_in_input_group2+0x92>
jmp    1197 <pin_in_input_group2+0x97>
cmp    $0x200000f,%edi
jg     1168 <pin_in_input_group2+0x68>
cmp    $0x8000,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x1000002,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x1000008,%edi
je     1192 <pin_in_input_group2+0x92>
jmp    1197 <pin_in_input_group2+0x97>
cmp    $0x3000080,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x3000800,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x4000020,%edi
je     1192 <pin_in_input_group2+0x92>
jmp    1197 <pin_in_input_group2+0x97>
cmp    $0x2000010,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x2002000,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x3000008,%edi
je     1192 <pin_in_input_group2+0x92>
jmp    1197 <pin_in_input_group2+0x97>
cmp    $0x6000001,%edi
je     1192 <pin_in_input_group2+0x92>
cmp    $0x6000080,%edi
jne    1197 <pin_in_input_group2+0x97>
mov    $0x1,%eax
ret

LLVM IR (-O0):
define i32 @pin_in_input_group2(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %5 [
i32 32768, label %6
i32 16777218, label %7
i32 16777224, label %8
i32 33562624, label %9
i32 33554448, label %10
i32 50333696, label %11
i32 50331656, label %12
i32 50331776, label %13
i32 67108896, label %14
i32 83886081, label %15
i32 83886112, label %16
i32 100663297, label %17
i32 100663424, 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_group2(i32 %0) {
switch i32 %0, label %15 [
i32 32768, label %2
i32 16777218, label %3
i32 16777224, label %4
i32 33562624, label %5
i32 33554448, label %6
i32 50333696, label %7
i32 50331656, label %8
i32 50331776, label %9
i32 67108896, label %10
i32 83886081, label %11
i32 83886112, label %12
i32 100663297, label %13
i32 100663424, 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
}