#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*/ sleep(int);
int /*<<< orphan*/ sprintf_send(int, char *, char *);
void print_help(int fd, char *nick) {
  sprintf_send(fd, nick, "===COMMANDS===");
  sprintf_send(fd, nick, ".add <nick> (PRIVELEGED)");
  sprintf_send(fd, nick, ".del <nick> (PRIVELEGED)");
  sprintf_send(fd, nick, ".donate [nick]");
  sprintf_send(fd, nick, ".google <phrase>");
  sprintf_send(fd, nick, ".help");
  sprintf_send(fd, nick, ".info");
  sleep(1);
  sprintf_send(fd, nick, ".invite <nick>*");
  sprintf_send(fd, nick, ".itm");
  sprintf_send(fd, nick, ".join <#channel> [key] (PRIVELEGED)");
  sprintf_send(fd, nick, ".list_ausers (PRIVELEGED)");
  sprintf_send(fd, nick, ".list_chans (PRIVELEGED)");
  sprintf_send(fd, nick, ".mkrc (PRIVELEGED)");
  sprintf_send(fd, nick, ".opencongress <bill>");
  sprintf_send(fd, nick, ".part (PRIVELEGED)");
  sleep(1);
  sprintf_send(fd, nick, ".quit (PRIVELEGED)");
  sprintf_send(fd, nick, ".start_signal (PRIVELEGED)");
  sprintf_send(fd, nick, ".stream [nick]");
  sprintf_send(fd, nick, ".twitter <username>");
  sprintf_send(fd, nick, ".version");
  sleep(1);
  sprintf_send(fd, nick, ".wiki <phrase>");
  sprintf_send(fd, nick,
               "Things in <>'s are required. Things in []'s are opti"
               "onal.");
  sprintf_send(fd, nick, "* The bot must have proper permissions to do this.");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xec3(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xebf(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xec5(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xecb(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xec7(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xec5(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeb8(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    $0x1,%edi
call   1040 <sleep@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xea1(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe9e(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe90(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xea1(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xea8(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeae(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeae(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeb0(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    $0x1,%edi
call   1040 <sleep@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xea6(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xea6(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeae(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeaa(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeab(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    $0x1,%edi
call   1040 <sleep@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe97(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe93(%rip),%rdx
call   1030 <sprintf_send@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xeba(%rip),%rdx
call   1030 <sprintf_send@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbp
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
lea    0xed1(%rip),%rdx
call   1030 <sprintf_send@plt>
lea    0xed4(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xedc(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xee4(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xee2(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xee2(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xed7(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
mov    $0x1,%edi
call   1040 <sleep@plt>
lea    0xec2(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xec1(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xeb5(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xec8(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xed1(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xed9(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xedb(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xedf(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
mov    $0x1,%edi
call   1040 <sleep@plt>
lea    0xed7(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xed9(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xee3(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xee1(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xee4(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
mov    $0x1,%edi
call   1040 <sleep@plt>
lea    0xed2(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xed0(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <sprintf_send@plt>
lea    0xef9(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1030 <sprintf_send@plt>

LLVM IR (-O0):
@.str = [15 x i8] c"===COMMANDS===\00"
@.str.1 = [25 x i8] c".add <nick> (PRIVELEGED)\00"
@.str.2 = [25 x i8] c".del <nick> (PRIVELEGED)\00"
@.str.3 = [15 x i8] c".donate [nick]\00"
@.str.4 = [17 x i8] c".google <phrase>\00"
@.str.5 = [6 x i8] c".help\00"
@.str.6 = [6 x i8] c".info\00"
@.str.7 = [16 x i8] c".invite <nick>*\00"
@.str.8 = [5 x i8] c".itm\00"
@.str.9 = [36 x i8] c".join <#channel> [key] (PRIVELEGED)\00"
@.str.10 = [26 x i8] c".list_ausers (PRIVELEGED)\00"
@.str.11 = [25 x i8] c".list_chans (PRIVELEGED)\00"
@.str.12 = [19 x i8] c".mkrc (PRIVELEGED)\00"
@.str.13 = [21 x i8] c".opencongress <bill>\00"
@.str.14 = [19 x i8] c".part (PRIVELEGED)\00"
@.str.15 = [19 x i8] c".quit (PRIVELEGED)\00"
@.str.16 = [27 x i8] c".start_signal (PRIVELEGED)\00"
@.str.17 = [15 x i8] c".stream [nick]\00"
@.str.18 = [20 x i8] c".twitter <username>\00"
@.str.19 = [9 x i8] c".version\00"
@.str.20 = [15 x i8] c".wiki <phrase>\00"
@.str.21 = [58 x i8] c"Things in <>'s are required. Things in []'s are optional.\00"
@.str.22 = [51 x i8] c"* The bot must have proper permissions to do this.\00"
define void @print_help(i32 %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
store i32 %0, i32* %3
store i8* %1, i8** %4
%5 = load i32, i32* %3
%6 = load i8*, i8** %4
%7 = call i32 @sprintf_send(i32 %5, i8* %6, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* %3
%9 = load i8*, i8** %4
%10 = call i32 @sprintf_send(i32 %8, i8* %9, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%11 = load i32, i32* %3
%12 = load i8*, i8** %4
%13 = call i32 @sprintf_send(i32 %11, i8* %12, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%14 = load i32, i32* %3
%15 = load i8*, i8** %4
%16 = call i32 @sprintf_send(i32 %14, i8* %15, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%17 = load i32, i32* %3
%18 = load i8*, i8** %4
%19 = call i32 @sprintf_send(i32 %17, i8* %18, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%20 = load i32, i32* %3
%21 = load i8*, i8** %4
%22 = call i32 @sprintf_send(i32 %20, i8* %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%23 = load i32, i32* %3
%24 = load i8*, i8** %4
%25 = call i32 @sprintf_send(i32 %23, i8* %24, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%26 = call i32 @sleep(i32 1)
%27 = load i32, i32* %3
%28 = load i8*, i8** %4
%29 = call i32 @sprintf_send(i32 %27, i8* %28, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
%30 = load i32, i32* %3
%31 = load i8*, i8** %4
%32 = call i32 @sprintf_send(i32 %30, i8* %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%33 = load i32, i32* %3
%34 = load i8*, i8** %4
%35 = call i32 @sprintf_send(i32 %33, i8* %34, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0))
%36 = load i32, i32* %3
%37 = load i8*, i8** %4
%38 = call i32 @sprintf_send(i32 %36, i8* %37, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0))
%39 = load i32, i32* %3
%40 = load i8*, i8** %4
%41 = call i32 @sprintf_send(i32 %39, i8* %40, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
%42 = load i32, i32* %3
%43 = load i8*, i8** %4
%44 = call i32 @sprintf_send(i32 %42, i8* %43, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%45 = load i32, i32* %3
%46 = load i8*, i8** %4
%47 = call i32 @sprintf_send(i32 %45, i8* %46, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0))
%48 = load i32, i32* %3
%49 = load i8*, i8** %4
%50 = call i32 @sprintf_send(i32 %48, i8* %49, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0))
%51 = call i32 @sleep(i32 1)
%52 = load i32, i32* %3
%53 = load i8*, i8** %4
%54 = call i32 @sprintf_send(i32 %52, i8* %53, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0))
%55 = load i32, i32* %3
%56 = load i8*, i8** %4
%57 = call i32 @sprintf_send(i32 %55, i8* %56, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0))
%58 = load i32, i32* %3
%59 = load i8*, i8** %4
%60 = call i32 @sprintf_send(i32 %58, i8* %59, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0))
%61 = load i32, i32* %3
%62 = load i8*, i8** %4
%63 = call i32 @sprintf_send(i32 %61, i8* %62, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0))
%64 = load i32, i32* %3
%65 = load i8*, i8** %4
%66 = call i32 @sprintf_send(i32 %64, i8* %65, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0))
%67 = call i32 @sleep(i32 1)
%68 = load i32, i32* %3
%69 = load i8*, i8** %4
%70 = call i32 @sprintf_send(i32 %68, i8* %69, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0))
%71 = load i32, i32* %3
%72 = load i8*, i8** %4
%73 = call i32 @sprintf_send(i32 %71, i8* %72, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.21, i64 0, i64 0))
%74 = load i32, i32* %3
%75 = load i8*, i8** %4
%76 = call i32 @sprintf_send(i32 %74, i8* %75, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.22, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [15 x i8] c"===COMMANDS===\00"
@.str.1 = [25 x i8] c".add <nick> (PRIVELEGED)\00"
@.str.2 = [25 x i8] c".del <nick> (PRIVELEGED)\00"
@.str.3 = [15 x i8] c".donate [nick]\00"
@.str.4 = [17 x i8] c".google <phrase>\00"
@.str.5 = [6 x i8] c".help\00"
@.str.6 = [6 x i8] c".info\00"
@.str.7 = [16 x i8] c".invite <nick>*\00"
@.str.8 = [5 x i8] c".itm\00"
@.str.9 = [36 x i8] c".join <#channel> [key] (PRIVELEGED)\00"
@.str.10 = [26 x i8] c".list_ausers (PRIVELEGED)\00"
@.str.11 = [25 x i8] c".list_chans (PRIVELEGED)\00"
@.str.12 = [19 x i8] c".mkrc (PRIVELEGED)\00"
@.str.13 = [21 x i8] c".opencongress <bill>\00"
@.str.14 = [19 x i8] c".part (PRIVELEGED)\00"
@.str.15 = [19 x i8] c".quit (PRIVELEGED)\00"
@.str.16 = [27 x i8] c".start_signal (PRIVELEGED)\00"
@.str.17 = [15 x i8] c".stream [nick]\00"
@.str.18 = [20 x i8] c".twitter <username>\00"
@.str.19 = [9 x i8] c".version\00"
@.str.20 = [15 x i8] c".wiki <phrase>\00"
@.str.21 = [58 x i8] c"Things in <>'s are required. Things in []'s are optional.\00"
@.str.22 = [51 x i8] c"* The bot must have proper permissions to do this.\00"
define void @print_help(i32 %0, i8* %1) {
%3 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%4 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%8 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%9 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%10 = tail call i32 @sleep(i32 1)
%11 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
%12 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%13 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0))
%14 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0))
%15 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
%16 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%17 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0))
%18 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0))
%19 = tail call i32 @sleep(i32 1)
%20 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0))
%21 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0))
%22 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0))
%23 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0))
%24 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0))
%25 = tail call i32 @sleep(i32 1)
%26 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0))
%27 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.21, i64 0, i64 0))
%28 = tail call i32 @sprintf_send(i32 %0, i8* %1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.22, i64 0, i64 0))
ret void
}