#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 */
double OA_BYTES_PER_PIXEL(int);
int OA_IS_MULTIBYTE_PER_PIXEL(int x) {
  if (OA_BYTES_PER_PIXEL(x) == 2 || OA_BYTES_PER_PIXEL(x) == 6 ||
      OA_BYTES_PER_PIXEL(x) == 1.25)
    return 1;
  return 0;
}


x86 assembly (clang, -O0):
<OA_IS_MULTIBYTE_PER_PIXEL>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x8(%rbp)
mov    -0x8(%rbp),%edi
call   1030 <OA_BYTES_PER_PIXEL@plt>
movsd  0xed5(%rip),%xmm1
ucomisd %xmm1,%xmm0
jne    1140 <OA_IS_MULTIBYTE_PER_PIXEL+0x30>
jp     1140 <OA_IS_MULTIBYTE_PER_PIXEL+0x30>
jmp    1185 <OA_IS_MULTIBYTE_PER_PIXEL+0x75>
mov    -0x8(%rbp),%edi
call   1030 <OA_BYTES_PER_PIXEL@plt>
movsd  0xeb8(%rip),%xmm1
ucomisd %xmm1,%xmm0
jne    1165 <OA_IS_MULTIBYTE_PER_PIXEL+0x55>
jp     1165 <OA_IS_MULTIBYTE_PER_PIXEL+0x55>
jmp    1185 <OA_IS_MULTIBYTE_PER_PIXEL+0x75>
mov    -0x8(%rbp),%edi
call   1030 <OA_BYTES_PER_PIXEL@plt>
movsd  0xe9b(%rip),%xmm1
ucomisd %xmm1,%xmm0
jne    1191 <OA_IS_MULTIBYTE_PER_PIXEL+0x81>
jp     1191 <OA_IS_MULTIBYTE_PER_PIXEL+0x81>
movl   $0x1,-0x4(%rbp)
jmp    1198 <OA_IS_MULTIBYTE_PER_PIXEL+0x88>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<OA_IS_MULTIBYTE_PER_PIXEL>:
push   %rbp
push   %rbx
push   %rax
mov    %edi,%ebp
call   1030 <OA_BYTES_PER_PIXEL@plt>
mov    $0x1,%ebx
ucomisd 0xed9(%rip),%xmm0
jne    112b <OA_IS_MULTIBYTE_PER_PIXEL+0x1b>
jnp    1153 <OA_IS_MULTIBYTE_PER_PIXEL+0x43>
mov    %ebp,%edi
call   1030 <OA_BYTES_PER_PIXEL@plt>
ucomisd 0xece(%rip),%xmm0
jne    113e <OA_IS_MULTIBYTE_PER_PIXEL+0x2e>
jnp    1153 <OA_IS_MULTIBYTE_PER_PIXEL+0x43>
mov    %ebp,%edi
call   1030 <OA_BYTES_PER_PIXEL@plt>
ucomisd 0xec3(%rip),%xmm0
jne    1151 <OA_IS_MULTIBYTE_PER_PIXEL+0x41>
jnp    1153 <OA_IS_MULTIBYTE_PER_PIXEL+0x43>
xor    %ebx,%ebx
mov    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
define i32 @OA_IS_MULTIBYTE_PER_PIXEL(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
%5 = call double @OA_BYTES_PER_PIXEL(i32 %4)
%6 = fcmp oeq double %5, 2.000000e+00
br i1 %6, label %15, label %7
7: ; preds = %1
%8 = load i32, i32* %3
%9 = call double @OA_BYTES_PER_PIXEL(i32 %8)
%10 = fcmp oeq double %9, 6.000000e+00
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, i32* %3
%13 = call double @OA_BYTES_PER_PIXEL(i32 %12)
%14 = fcmp oeq double %13, 1.250000e+00
br i1 %14, label %15, label %16
15: ; preds = %11, %7, %1
store i32 1, i32* %2
br label %17
16: ; preds = %11
store i32 0, i32* %2
br label %17
17: ; preds = %16, %15
%18 = load i32, i32* %2
ret i32 %18
}

LLVM IR (-O2):
define i32 @OA_IS_MULTIBYTE_PER_PIXEL(i32 %0) {
%2 = tail call double @OA_BYTES_PER_PIXEL(i32 %0)
%3 = fcmp oeq double %2, 2.000000e+00
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = tail call double @OA_BYTES_PER_PIXEL(i32 %0)
%6 = fcmp oeq double %5, 6.000000e+00
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = tail call double @OA_BYTES_PER_PIXEL(i32 %0)
%9 = fcmp oeq double %8, 1.250000e+00
br i1 %9, label %11, label %10
10: ; preds = %7
br label %11
11: ; preds = %1, %4, %7, %10
%12 = phi i32 [ 0, %10 ], [ 1, %7 ], [ 1, %4 ], [ 1, %1 ]
ret i32 %12
}