#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int check_force_gs1(int const);
int gs1_compliant(const int symbology) {
  switch (symbology) {
  case 23:
  case 92:
  case 71:
  case 141:
  case 24:
  case 58:
  case 115:
  case 145:
  case 144:
    return 1;
    break;
  }
  return check_force_gs1(symbology);
}


x86 assembly (clang, -O0):
<gs1_compliant>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0xc(%rbp)
add    $0xffffffe9,%eax
sub    $0x2,%eax
jb     119f <gs1_compliant+0x8f>
jmp    1132 <gs1_compliant+0x22>
mov    -0xc(%rbp),%eax
sub    $0x3a,%eax
je     119f <gs1_compliant+0x8f>
jmp    1143 <gs1_compliant+0x33>
mov    -0xc(%rbp),%eax
sub    $0x47,%eax
je     119f <gs1_compliant+0x8f>
jmp    1154 <gs1_compliant+0x44>
mov    -0xc(%rbp),%eax
sub    $0x5c,%eax
je     119f <gs1_compliant+0x8f>
jmp    1165 <gs1_compliant+0x55>
mov    -0xc(%rbp),%eax
sub    $0x73,%eax
je     119f <gs1_compliant+0x8f>
jmp    1176 <gs1_compliant+0x66>
mov    -0xc(%rbp),%eax
sub    $0x8d,%eax
je     119f <gs1_compliant+0x8f>
jmp    1189 <gs1_compliant+0x79>
mov    -0xc(%rbp),%eax
add    $0xffffff70,%eax
sub    $0x1,%eax
ja     11ab <gs1_compliant+0x9b>
jmp    119f <gs1_compliant+0x8f>
movl   $0x1,-0x4(%rbp)
jmp    11b6 <gs1_compliant+0xa6>
mov    -0x8(%rbp),%edi
call   1030 <check_force_gs1@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gs1_compliant>:
lea    -0x5c(%rdi),%eax
cmp    $0x35,%eax
ja     1128 <gs1_compliant+0x18>
movabs $0x32000000800001,%rcx
bt     %rax,%rcx
jb     1140 <gs1_compliant+0x30>
lea    -0x17(%rdi),%eax
cmp    $0x30,%eax
ja     1146 <gs1_compliant+0x36>
movabs $0x1000800000003,%rcx
bt     %rax,%rcx
jae    1146 <gs1_compliant+0x36>
mov    $0x1,%eax
ret
jmp    1030 <check_force_gs1@plt>

LLVM IR (-O0):
define i32 @gs1_compliant(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %6 [
i32 23, label %5
i32 92, label %5
i32 71, label %5
i32 141, label %5
i32 24, label %5
i32 58, label %5
i32 115, label %5
i32 145, label %5
i32 144, label %5
]
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1
store i32 1, i32* %2
br label %9
6: ; preds = %1
%7 = load i32, i32* %3
%8 = call i32 @check_force_gs1(i32 %7)
store i32 %8, i32* %2
br label %9
9: ; preds = %6, %5
%10 = load i32, i32* %2
ret i32 %10
}

LLVM IR (-O2):
define i32 @gs1_compliant(i32 %0) {
switch i32 %0, label %2 [
i32 23, label %4
i32 92, label %4
i32 71, label %4
i32 141, label %4
i32 24, label %4
i32 58, label %4
i32 115, label %4
i32 145, label %4
i32 144, label %4
]
2: ; preds = %1
%3 = tail call i32 @check_force_gs1(i32 %0)
br label %4
4: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %2
%5 = phi i32 [ %3, %2 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ]
ret i32 %5
}