#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 /*<<< orphan*/ ion_set_bold(int);
int /*<<< orphan*/ printw(char *);
void ion_cmd_help() {
  ion_set_bold(1);
  printw("\n\r\n\rCommand Line Help\n\r\n\r");
  ion_set_bold(0);
  printw("The question mark '?' key can be pressed at any time to\n\r");
  printw("provide you with a list of available commands. Placing\n\r");
  printw("the '?' after a command shows that commands available\n\r");
  printw("options.\n\r\n\r");
  printw("You can use the up and down arrow keys to navigate the\n\r");
  printw("command line history. The left and right arrows van be\n\r");
  printw("used to edit the prompt. The tab key can be pressed to\n\r");
  printw("automatically complete the command or options name.\n\r\n\r");
}


x86 assembly (clang, -O0):
<ion_cmd_help>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
call   1040 <ion_set_bold@plt>
lea    0xecb(%rip),%rdi
call   1030 <printw@plt>
xor    %edi,%edi
call   1040 <ion_set_bold@plt>
lea    0xed2(%rip),%rdi
call   1030 <printw@plt>
lea    0xf00(%rip),%rdi
call   1030 <printw@plt>
lea    0xf2d(%rip),%rdi
call   1030 <printw@plt>
lea    0xf59(%rip),%rdi
call   1030 <printw@plt>
lea    0xf5a(%rip),%rdi
call   1030 <printw@plt>
lea    0xf87(%rip),%rdi
call   1030 <printw@plt>
lea    0xfb4(%rip),%rdi
call   1030 <printw@plt>
lea    0xfe1(%rip),%rdi
call   1030 <printw@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ion_cmd_help>:
push   %rax
mov    $0x1,%edi
call   1040 <ion_set_bold@plt>
lea    0xece(%rip),%rdi
call   1030 <printw@plt>
xor    %edi,%edi
call   1040 <ion_set_bold@plt>
lea    0xed5(%rip),%rdi
call   1030 <printw@plt>
lea    0xf03(%rip),%rdi
call   1030 <printw@plt>
lea    0xf30(%rip),%rdi
call   1030 <printw@plt>
lea    0xf5c(%rip),%rdi
call   1030 <printw@plt>
lea    0xf5d(%rip),%rdi
call   1030 <printw@plt>
lea    0xf8a(%rip),%rdi
call   1030 <printw@plt>
lea    0xfb7(%rip),%rdi
call   1030 <printw@plt>
lea    0xfe4(%rip),%rdi
pop    %rax
jmp    1030 <printw@plt>

LLVM IR (-O0):
@.str = [26 x i8] c"\0A\0D\0A\0DCommand Line Help\0A\0D\0A\0D\00"
@.str.1 = [58 x i8] c"The question mark '?' key can be pressed at any time to\0A\0D\00"
@.str.2 = [57 x i8] c"provide you with a list of available commands. Placing\0A\0D\00"
@.str.3 = [56 x i8] c"the '?' after a command shows that commands available\0A\0D\00"
@.str.4 = [13 x i8] c"options.\0A\0D\0A\0D\00"
@.str.5 = [57 x i8] c"You can use the up and down arrow keys to navigate the\0A\0D\00"
@.str.6 = [57 x i8] c"command line history. The left and right arrows van be\0A\0D\00"
@.str.7 = [57 x i8] c"used to edit the prompt. The tab key can be pressed to\0A\0D\00"
@.str.8 = [56 x i8] c"automatically complete the command or options name.\0A\0D\0A\0D\00"
define void @ion_cmd_help() {
%1 = call i32 @ion_set_bold(i32 1)
%2 = call i32 @printw(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @ion_set_bold(i32 0)
%4 = call i32 @printw(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printw(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printw(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 @printw(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [26 x i8] c"\0A\0D\0A\0DCommand Line Help\0A\0D\0A\0D\00"
@.str.1 = [58 x i8] c"The question mark '?' key can be pressed at any time to\0A\0D\00"
@.str.2 = [57 x i8] c"provide you with a list of available commands. Placing\0A\0D\00"
@.str.3 = [56 x i8] c"the '?' after a command shows that commands available\0A\0D\00"
@.str.4 = [13 x i8] c"options.\0A\0D\0A\0D\00"
@.str.5 = [57 x i8] c"You can use the up and down arrow keys to navigate the\0A\0D\00"
@.str.6 = [57 x i8] c"command line history. The left and right arrows van be\0A\0D\00"
@.str.7 = [57 x i8] c"used to edit the prompt. The tab key can be pressed to\0A\0D\00"
@.str.8 = [56 x i8] c"automatically complete the command or options name.\0A\0D\0A\0D\00"
define void @ion_cmd_help() {
%1 = tail call i32 @ion_set_bold(i32 1)
%2 = tail call i32 @printw(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @ion_set_bold(i32 0)
%4 = tail call i32 @printw(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @printw(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 @printw(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%8 = tail call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%9 = tail call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0))
%10 = tail call i32 @printw(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.7, i64 0, i64 0))
%11 = tail call i32 @printw(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0))
ret void
}