#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_abcd_sbcd();
scalar_t__ check_desa_and_or();
scalar_t__ check_desa_exg();
scalar_t__ check_desa_mul_div();
int /*<<< orphan*/ desa_dcw();
void desa_lin8C(void) {
  if (check_desa_abcd_sbcd())
    return;
  else if (check_desa_mul_div())
    return;
  else if (check_desa_exg())
    return;
  else if (check_desa_and_or())
    return;
  else
    desa_dcw();
  return;
}


x86 assembly (clang, -O0):
<desa_lin8C>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1050 <check_desa_abcd_sbcd@plt>
cmp    $0x0,%rax
je     116a <desa_lin8C+0x1a>
jmp    11c7 <desa_lin8C+0x77>
mov    $0x0,%al
call   1030 <check_desa_mul_div@plt>
cmp    $0x0,%rax
je     1180 <desa_lin8C+0x30>
jmp    11c7 <desa_lin8C+0x77>
mov    $0x0,%al
call   1070 <check_desa_exg@plt>
cmp    $0x0,%rax
je     1196 <desa_lin8C+0x46>
jmp    11c7 <desa_lin8C+0x77>
mov    $0x0,%al
call   1060 <check_desa_and_or@plt>
cmp    $0x0,%rax
je     11ac <desa_lin8C+0x5c>
jmp    11c7 <desa_lin8C+0x77>
mov    $0x0,%al
call   1040 <desa_dcw@plt>
jmp    11b8 <desa_lin8C+0x68>
jmp    11bd <desa_lin8C+0x6d>
jmp    11c2 <desa_lin8C+0x72>
jmp    11c7 <desa_lin8C+0x77>
pop    %rbp
ret

x86 assembly (clang, -O2):
<desa_lin8C>:
push   %rax
xor    %eax,%eax
call   1050 <check_desa_abcd_sbcd@plt>
test   %rax,%rax
jne    1181 <desa_lin8C+0x31>
xor    %eax,%eax
call   1030 <check_desa_mul_div@plt>
test   %rax,%rax
jne    1181 <desa_lin8C+0x31>
xor    %eax,%eax
call   1070 <check_desa_exg@plt>
test   %rax,%rax
jne    1181 <desa_lin8C+0x31>
xor    %eax,%eax
call   1060 <check_desa_and_or@plt>
test   %rax,%rax
je     1183 <desa_lin8C+0x33>
pop    %rax
ret
xor    %eax,%eax
pop    %rcx
jmp    1040 <desa_dcw@plt>

LLVM IR (-O0):
define void @desa_lin8C() {
%1 = call i64 (...) @check_desa_abcd_sbcd()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %22
4: ; preds = %0
%5 = call i64 (...) @check_desa_mul_div()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %4
br label %22
8: ; preds = %4
%9 = call i64 (...) @check_desa_exg()
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8
br label %22
12: ; preds = %8
%13 = call i64 (...) @check_desa_and_or()
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12
br label %22
16: ; preds = %12
%17 = call i32 (...) @desa_dcw()
br label %18
18: ; preds = %16
br label %19
19: ; preds = %18
br label %20
20: ; preds = %19
br label %21
21: ; preds = %20
br label %22
22: ; preds = %21, %15, %11, %7, %3
ret void
}

LLVM IR (-O2):
define void @desa_lin8C() {
%1 = tail call i64 (...) @check_desa_abcd_sbcd()
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %14
3: ; preds = %0
%4 = tail call i64 (...) @check_desa_mul_div()
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = tail call i64 (...) @check_desa_exg()
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = tail call i64 (...) @check_desa_and_or()
%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
}