#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__ args_is_copyright();
scalar_t__ args_is_help();
scalar_t__ args_is_none();
scalar_t__ args_is_resolution();
scalar_t__ args_is_server();
scalar_t__ args_is_version();
int /*<<< orphan*/ help_print_copyright();
int /*<<< orphan*/ help_print_help();
int /*<<< orphan*/ help_print_resolution();
int /*<<< orphan*/ help_print_server();
int /*<<< orphan*/ help_print_version();
void help_print() {
  if (args_is_help() || args_is_none()) {
    help_print_help();
  } else if (args_is_version()) {
    help_print_version();
  } else if (args_is_copyright()) {
    help_print_copyright();
  } else if (args_is_resolution()) {
    help_print_resolution();
  } else if (args_is_server()) {
    help_print_server();
  }
}


x86 assembly (clang, -O0):
<help_print>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1090 <args_is_help@plt>
cmp    $0x0,%rax
jne    11d6 <help_print+0x26>
mov    $0x0,%al
call   10b0 <args_is_none@plt>
cmp    $0x0,%rax
je     11e2 <help_print+0x32>
mov    $0x0,%al
call   1060 <help_print_help@plt>
jmp    1265 <help_print+0xb5>
mov    $0x0,%al
call   10d0 <args_is_version@plt>
cmp    $0x0,%rax
je     11ff <help_print+0x4f>
mov    $0x0,%al
call   10a0 <help_print_version@plt>
jmp    1260 <help_print+0xb0>
mov    $0x0,%al
call   1050 <args_is_copyright@plt>
cmp    $0x0,%rax
je     121c <help_print+0x6c>
mov    $0x0,%al
call   1070 <help_print_copyright@plt>
jmp    125b <help_print+0xab>
mov    $0x0,%al
call   10c0 <args_is_resolution@plt>
cmp    $0x0,%rax
je     1239 <help_print+0x89>
mov    $0x0,%al
call   1030 <help_print_resolution@plt>
jmp    1256 <help_print+0xa6>
mov    $0x0,%al
call   1040 <args_is_server@plt>
cmp    $0x0,%rax
je     1251 <help_print+0xa1>
mov    $0x0,%al
call   1080 <help_print_server@plt>
jmp    1256 <help_print+0xa6>
jmp    125b <help_print+0xab>
jmp    1260 <help_print+0xb0>
jmp    1265 <help_print+0xb5>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help_print>:
push   %rax
xor    %eax,%eax
call   1090 <args_is_help@plt>
test   %rax,%rax
jne    11c9 <help_print+0x19>
xor    %eax,%eax
call   10b0 <args_is_none@plt>
test   %rax,%rax
je     11d1 <help_print+0x21>
xor    %eax,%eax
pop    %rcx
jmp    1060 <help_print_help@plt>
xor    %eax,%eax
call   10d0 <args_is_version@plt>
test   %rax,%rax
je     11e5 <help_print+0x35>
xor    %eax,%eax
pop    %rcx
jmp    10a0 <help_print_version@plt>
xor    %eax,%eax
call   1050 <args_is_copyright@plt>
test   %rax,%rax
je     11f9 <help_print+0x49>
xor    %eax,%eax
pop    %rcx
jmp    1070 <help_print_copyright@plt>
xor    %eax,%eax
call   10c0 <args_is_resolution@plt>
test   %rax,%rax
je     120d <help_print+0x5d>
xor    %eax,%eax
pop    %rcx
jmp    1030 <help_print_resolution@plt>
xor    %eax,%eax
call   1040 <args_is_server@plt>
test   %rax,%rax
je     1221 <help_print+0x71>
xor    %eax,%eax
pop    %rcx
jmp    1080 <help_print_server@plt>
pop    %rax
ret

LLVM IR (-O0):
define void @help_print() {
%1 = call i64 (...) @args_is_help()
%2 = icmp ne i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = call i64 (...) @args_is_none()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %3, %0
%7 = call i32 (...) @help_print_help()
br label %32
8: ; preds = %3
%9 = call i64 (...) @args_is_version()
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 (...) @help_print_version()
br label %31
13: ; preds = %8
%14 = call i64 (...) @args_is_copyright()
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (...) @help_print_copyright()
br label %30
18: ; preds = %13
%19 = call i64 (...) @args_is_resolution()
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 (...) @help_print_resolution()
br label %29
23: ; preds = %18
%24 = call i64 (...) @args_is_server()
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 (...) @help_print_server()
br label %28
28: ; preds = %26, %23
br label %29
29: ; preds = %28, %21
br label %30
30: ; preds = %29, %16
br label %31
31: ; preds = %30, %11
br label %32
32: ; preds = %31, %6
ret void
}

LLVM IR (-O2):
define void @help_print() {
%1 = tail call i64 (...) @args_is_help()
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i64 (...) @args_is_none()
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %3, %0
%7 = tail call i32 (...) @help_print_help()
br label %28
8: ; preds = %3
%9 = tail call i64 (...) @args_is_version()
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 (...) @help_print_version()
br label %28
13: ; preds = %8
%14 = tail call i64 (...) @args_is_copyright()
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = tail call i32 (...) @help_print_copyright()
br label %28
18: ; preds = %13
%19 = tail call i64 (...) @args_is_resolution()
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = tail call i32 (...) @help_print_resolution()
br label %28
23: ; preds = %18
%24 = tail call i64 (...) @args_is_server()
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = tail call i32 (...) @help_print_server()
br label %28
28: ; preds = %11, %21, %26, %23, %16, %6
ret void
}