int is_extendable(const int symbology) {
  if (symbology == 13) {
    return 1;
  }
  if (symbology == 34) {
    return 1;
  }
  if (symbology == 37) {
    return 1;
  }
  if (symbology == 69) {
    return 1;
  }
  if (symbology == 135) {
    return 1;
  }
  if (symbology == 136) {
    return 1;
  }
  if (symbology == 130) {
    return 1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<is_extendable>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x8(%rbp)
cmpl   $0xd,-0x8(%rbp)
jne    111d <is_extendable+0x1d>
movl   $0x1,-0x4(%rbp)
jmp    11b1 <is_extendable+0xb1>
cmpl   $0x22,-0x8(%rbp)
jne    1133 <is_extendable+0x33>
movl   $0x1,-0x4(%rbp)
jmp    11b1 <is_extendable+0xb1>
cmpl   $0x25,-0x8(%rbp)
jne    1149 <is_extendable+0x49>
movl   $0x1,-0x4(%rbp)
jmp    11b1 <is_extendable+0xb1>
cmpl   $0x45,-0x8(%rbp)
jne    115f <is_extendable+0x5f>
movl   $0x1,-0x4(%rbp)
jmp    11b1 <is_extendable+0xb1>
cmpl   $0x87,-0x8(%rbp)
jne    1178 <is_extendable+0x78>
movl   $0x1,-0x4(%rbp)
jmp    11b1 <is_extendable+0xb1>
cmpl   $0x88,-0x8(%rbp)
jne    1191 <is_extendable+0x91>
movl   $0x1,-0x4(%rbp)
jmp    11b1 <is_extendable+0xb1>
cmpl   $0x82,-0x8(%rbp)
jne    11aa <is_extendable+0xaa>
movl   $0x1,-0x4(%rbp)
jmp    11b1 <is_extendable+0xb1>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_extendable>:
mov    $0x1,%eax
lea    -0xd(%rdi),%ecx
cmp    $0x38,%ecx
ja     111d <is_extendable+0x1d>
movabs $0x100000001200001,%rdx
bt     %rcx,%rdx
jb     1132 <is_extendable+0x32>
add    $0xffffff7e,%edi
cmp    $0x6,%edi
ja     1133 <is_extendable+0x33>
mov    $0x61,%ecx
bt     %edi,%ecx
jae    1133 <is_extendable+0x33>
ret
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @is_extendable(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
%5 = icmp eq i32 %4, 13
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 1, i32* %2
br label %32
7: ; preds = %1
%8 = load i32, i32* %3
%9 = icmp eq i32 %8, 34
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 1, i32* %2
br label %32
11: ; preds = %7
%12 = load i32, i32* %3
%13 = icmp eq i32 %12, 37
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, i32* %2
br label %32
15: ; preds = %11
%16 = load i32, i32* %3
%17 = icmp eq i32 %16, 69
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 1, i32* %2
br label %32
19: ; preds = %15
%20 = load i32, i32* %3
%21 = icmp eq i32 %20, 135
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 1, i32* %2
br label %32
23: ; preds = %19
%24 = load i32, i32* %3
%25 = icmp eq i32 %24, 136
br i1 %25, label %26, label %27
26: ; preds = %23
store i32 1, i32* %2
br label %32
27: ; preds = %23
%28 = load i32, i32* %3
%29 = icmp eq i32 %28, 130
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 1, i32* %2
br label %32
31: ; preds = %27
store i32 0, i32* %2
br label %32
32: ; preds = %31, %30, %26, %22, %18, %14, %10, %6
%33 = load i32, i32* %2
ret i32 %33
}

LLVM IR (-O2):
define i32 @is_extendable(i32 %0) {
switch i32 %0, label %2 [
i32 13, label %3
i32 34, label %3
i32 37, label %3
i32 69, label %3
i32 135, label %3
i32 136, label %3
i32 130, label %3
]
2: ; preds = %1
br label %3
3: ; preds = %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 ]
ret i32 %4
}