int is_valid_a_band_channel_above(int channel) {
  int ret = 1;
  switch (channel) {
  case 36:
  case 44:
  case 52:
  case 60:
  case 100:
  case 108:
  case 116:
  case 124:
  case 132:
  case 140:
  case 149:
  case 157:
    break;
  default:
    ret = 0;
    break;
  }
  return ret;
}


x86 assembly (clang, -O0):
<is_valid_a_band_channel_above>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0xc(%rbp)
sub    $0x24,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1122 <is_valid_a_band_channel_above+0x22>
mov    -0xc(%rbp),%eax
sub    $0x2c,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1133 <is_valid_a_band_channel_above+0x33>
mov    -0xc(%rbp),%eax
sub    $0x34,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1144 <is_valid_a_band_channel_above+0x44>
mov    -0xc(%rbp),%eax
sub    $0x3c,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1155 <is_valid_a_band_channel_above+0x55>
mov    -0xc(%rbp),%eax
sub    $0x64,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1166 <is_valid_a_band_channel_above+0x66>
mov    -0xc(%rbp),%eax
sub    $0x6c,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1177 <is_valid_a_band_channel_above+0x77>
mov    -0xc(%rbp),%eax
sub    $0x74,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1188 <is_valid_a_band_channel_above+0x88>
mov    -0xc(%rbp),%eax
sub    $0x7c,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    1199 <is_valid_a_band_channel_above+0x99>
mov    -0xc(%rbp),%eax
sub    $0x84,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    11ac <is_valid_a_band_channel_above+0xac>
mov    -0xc(%rbp),%eax
sub    $0x8c,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    11bf <is_valid_a_band_channel_above+0xbf>
mov    -0xc(%rbp),%eax
sub    $0x95,%eax
je     11e5 <is_valid_a_band_channel_above+0xe5>
jmp    11d2 <is_valid_a_band_channel_above+0xd2>
mov    -0xc(%rbp),%eax
sub    $0x9d,%eax
jne    11ea <is_valid_a_band_channel_above+0xea>
jmp    11e5 <is_valid_a_band_channel_above+0xe5>
jmp    11f1 <is_valid_a_band_channel_above+0xf1>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_valid_a_band_channel_above>:
mov    $0x1,%eax
lea    -0x64(%rdi),%ecx
cmp    $0x39,%ecx
ja     111d <is_valid_a_band_channel_above+0x1d>
movabs $0x202010101010101,%rdx
01 02 02
bt     %rcx,%rdx
jb     1134 <is_valid_a_band_channel_above+0x34>
cmp    $0x3c,%edi
ja     1135 <is_valid_a_band_channel_above+0x35>
mov    %edi,%ecx
movabs $0x1010101000000000,%rdx
10 10 10
bt     %rcx,%rdx
jae    1135 <is_valid_a_band_channel_above+0x35>
ret
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @is_valid_a_band_channel_above(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %2
store i32 1, i32* %3
%4 = load i32, i32* %2
switch i32 %4, label %6 [
i32 36, label %5
i32 44, label %5
i32 52, label %5
i32 60, label %5
i32 100, label %5
i32 108, label %5
i32 116, label %5
i32 124, label %5
i32 132, label %5
i32 140, label %5
i32 149, label %5
i32 157, label %5
]
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
br label %7
6: ; preds = %1
store i32 0, i32* %3
br label %7
7: ; preds = %6, %5
%8 = load i32, i32* %3
ret i32 %8
}

LLVM IR (-O2):
define i32 @is_valid_a_band_channel_above(i32 %0) {
switch i32 %0, label %2 [
i32 36, label %3
i32 44, label %3
i32 52, label %3
i32 60, label %3
i32 100, label %3
i32 108, label %3
i32 116, label %3
i32 124, label %3
i32 132, label %3
i32 140, label %3
i32 149, label %3
i32 157, label %3
]
2: ; preds = %1
br label %3
3: ; preds = %1, %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 ], [ 1, %1 ]
ret i32 %4
}