#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 */
scalar_t__ check_desa_IMM_SR();
scalar_t__ check_desa_bitop();
scalar_t__ check_desa_imm_op();
scalar_t__ check_desa_movep();
int /*<<< orphan*/ desa_dcw();
void desa_line0(void) {
  if (check_desa_movep())
    return;
  if (check_desa_bitop())
    return;
  if (check_desa_IMM_SR())
    return;
  if (check_desa_imm_op())
    return;
  else
    desa_dcw();
}


x86 assembly (clang, -O0):
<desa_line0>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1050 <check_desa_movep@plt>
cmp    $0x0,%rax
je     116a <desa_line0+0x1a>
jmp    11b3 <desa_line0+0x63>
mov    $0x0,%al
call   1040 <check_desa_bitop@plt>
cmp    $0x0,%rax
je     1180 <desa_line0+0x30>
jmp    11b3 <desa_line0+0x63>
mov    $0x0,%al
call   1070 <check_desa_IMM_SR@plt>
cmp    $0x0,%rax
je     1196 <desa_line0+0x46>
jmp    11b3 <desa_line0+0x63>
mov    $0x0,%al
call   1030 <check_desa_imm_op@plt>
cmp    $0x0,%rax
je     11ac <desa_line0+0x5c>
jmp    11b3 <desa_line0+0x63>
mov    $0x0,%al
call   1060 <desa_dcw@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<desa_line0>:
push   %rax
xor    %eax,%eax
call   1050 <check_desa_movep@plt>
test   %rax,%rax
jne    1181 <desa_line0+0x31>
xor    %eax,%eax
call   1040 <check_desa_bitop@plt>
test   %rax,%rax
jne    1181 <desa_line0+0x31>
xor    %eax,%eax
call   1070 <check_desa_IMM_SR@plt>
test   %rax,%rax
jne    1181 <desa_line0+0x31>
xor    %eax,%eax
call   1030 <check_desa_imm_op@plt>
test   %rax,%rax
je     1183 <desa_line0+0x33>
pop    %rax
ret
xor    %eax,%eax
pop    %rcx
jmp    1060 <desa_dcw@plt>

LLVM IR (-O0):
define void @desa_line0() {
%1 = call i64 (...) @check_desa_movep()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %18
4: ; preds = %0
%5 = call i64 (...) @check_desa_bitop()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %4
br label %18
8: ; preds = %4
%9 = call i64 (...) @check_desa_IMM_SR()
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8
br label %18
12: ; preds = %8
%13 = call i64 (...) @check_desa_imm_op()
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12
br label %18
16: ; preds = %12
%17 = call i32 (...) @desa_dcw()
br label %18
18: ; preds = %3, %7, %11, %15, %16
ret void
}

LLVM IR (-O2):
define void @desa_line0() {
%1 = tail call i64 (...) @check_desa_movep()
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %14
3: ; preds = %0
%4 = tail call i64 (...) @check_desa_bitop()
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = tail call i64 (...) @check_desa_IMM_SR()
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = tail call i64 (...) @check_desa_imm_op()
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i32 (...) @desa_dcw()
br label %14
14: ; preds = %9, %6, %3, %0, %12
ret void
}