int is_valid_a_band_channel_below(int channel) {
  int ret = 1;
  switch (channel) {
  case 40:
  case 48:
  case 56:
  case 64:
  case 104:
  case 112:
  case 120:
  case 128:
  case 136:
  case 153:
  case 161:
    break;
  default:
    ret = 0;
    break;
  }
  return ret;
}


x86 assembly (clang, -O0):
<is_valid_a_band_channel_below>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0xc(%rbp)
sub    $0x28,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    1122 <is_valid_a_band_channel_below+0x22>
mov    -0xc(%rbp),%eax
sub    $0x30,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    1133 <is_valid_a_band_channel_below+0x33>
mov    -0xc(%rbp),%eax
sub    $0x38,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    1144 <is_valid_a_band_channel_below+0x44>
mov    -0xc(%rbp),%eax
sub    $0x40,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    1155 <is_valid_a_band_channel_below+0x55>
mov    -0xc(%rbp),%eax
sub    $0x68,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    1166 <is_valid_a_band_channel_below+0x66>
mov    -0xc(%rbp),%eax
sub    $0x70,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    1177 <is_valid_a_band_channel_below+0x77>
mov    -0xc(%rbp),%eax
sub    $0x78,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    1188 <is_valid_a_band_channel_below+0x88>
mov    -0xc(%rbp),%eax
sub    $0x80,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    119b <is_valid_a_band_channel_below+0x9b>
mov    -0xc(%rbp),%eax
sub    $0x88,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    11ae <is_valid_a_band_channel_below+0xae>
mov    -0xc(%rbp),%eax
sub    $0x99,%eax
je     11d4 <is_valid_a_band_channel_below+0xd4>
jmp    11c1 <is_valid_a_band_channel_below+0xc1>
mov    -0xc(%rbp),%eax
sub    $0xa1,%eax
jne    11d9 <is_valid_a_band_channel_below+0xd9>
jmp    11d4 <is_valid_a_band_channel_below+0xd4>
jmp    11e0 <is_valid_a_band_channel_below+0xe0>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_valid_a_band_channel_below>:
mov    $0x1,%eax
lea    -0x68(%rdi),%ecx
cmp    $0x39,%ecx
ja     111d <is_valid_a_band_channel_below+0x1d>
movabs $0x202000101010101,%rdx
bt     %rcx,%rdx
jb     112f <is_valid_a_band_channel_below+0x2f>
add    $0xffffffd8,%edi
cmp    $0x18,%edi
ja     1130 <is_valid_a_band_channel_below+0x30>
mov    $0x1010101,%ecx
bt     %edi,%ecx
jae    1130 <is_valid_a_band_channel_below+0x30>
ret
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @is_valid_a_band_channel_below(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 40, label %5
i32 48, label %5
i32 56, label %5
i32 64, label %5
i32 104, label %5
i32 112, label %5
i32 120, label %5
i32 128, label %5
i32 136, label %5
i32 153, label %5
i32 161, label %5
]
5: ; preds = %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_below(i32 %0) {
switch i32 %0, label %2 [
i32 40, label %3
i32 48, label %3
i32 56, label %3
i32 64, label %3
i32 104, label %3
i32 112, label %3
i32 120, label %3
i32 128, label %3
i32 136, label %3
i32 153, label %3
i32 161, 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
}