#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*/ inf_print(char *);
void print_help() {
  inf_print("-------------------------------------------------------------");
  inf_print("-/help                                                      -");
  inf_print("-/create roomname desc                                      -");
  inf_print("-/delete roomname                                           -");
  inf_print("-/register username password                                -");
  inf_print("-/login    username password                                -");
  inf_print("-/logout                                                    -");
  inf_print("-/listroom                                                  -");
  inf_print("-/list roomname                                             -");
  inf_print("-/join roomname                                             -");
  inf_print("-/leave roomname                                            -");
  inf_print("-------------------------------------------------------------");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xf17(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xf49(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xf7b(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xfad(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xfdf(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x1011(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x1043(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x1075(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x10a7(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x10d9(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xe61(%rip),%rdi
call   1030 <inf_print@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
call   1030 <inf_print@plt>
lea    0xf17(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xf49(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xf7b(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xfad(%rip),%rdi
call   1030 <inf_print@plt>
lea    0xfdf(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x1011(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x1043(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x1075(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x10a7(%rip),%rdi
call   1030 <inf_print@plt>
lea    0x10d9(%rip),%rdi
call   1030 <inf_print@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <inf_print@plt>

LLVM IR (-O0):
@.str = [62 x i8] c"-------------------------------------------------------------\00"
@.str.1 = [62 x i8] c"-/help -\00"
@.str.2 = [62 x i8] c"-/create roomname desc -\00"
@.str.3 = [62 x i8] c"-/delete roomname -\00"
@.str.4 = [62 x i8] c"-/register username password -\00"
@.str.5 = [62 x i8] c"-/login username password -\00"
@.str.6 = [62 x i8] c"-/logout -\00"
@.str.7 = [62 x i8] c"-/listroom -\00"
@.str.8 = [62 x i8] c"-/list roomname -\00"
@.str.9 = [62 x i8] c"-/join roomname -\00"
@.str.10 = [62 x i8] c"-/leave roomname -\00"
define void @print_help() {
%1 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [62 x i8] c"-------------------------------------------------------------\00"
@.str.1 = [62 x i8] c"-/help -\00"
@.str.2 = [62 x i8] c"-/create roomname desc -\00"
@.str.3 = [62 x i8] c"-/delete roomname -\00"
@.str.4 = [62 x i8] c"-/register username password -\00"
@.str.5 = [62 x i8] c"-/login username password -\00"
@.str.6 = [62 x i8] c"-/logout -\00"
@.str.7 = [62 x i8] c"-/listroom -\00"
@.str.8 = [62 x i8] c"-/list roomname -\00"
@.str.9 = [62 x i8] c"-/join roomname -\00"
@.str.10 = [62 x i8] c"-/leave roomname -\00"
define void @print_help() {
%1 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @inf_print(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
ret void
}