#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*/ clientf(char *);
int /*<<< orphan*/ clientfr(char *);
void do_exit_help(const char *arg) {
  clientfr("Module: IMapper. Room exit commands:");
  clientf(
      " exit link      - Link room # to this one. Both ways.\r\n"
      " exit stop      - Hide rooms beyond this exit.\r\n"
      " exit length    - Increase the exit length by #.\r\n"
      " exit map       - Map the next exit elsewhere.\r\n"
      " exit lock      - Set all unlinked exits in room as locked.\r\n"
      " exit unilink   - One-way exit. Does not create a reverse link.\r\n"
      " exit destroy   - Destroy an exit, and its reverse.\r\n"
      " exit joinareas - Show two areas on a single 'map'.\r\n"
      " exit special   - Create, destroy, modify or list special exits.\r\n");
}


x86 assembly (clang, -O0):
<do_exit_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xecd(%rip),%rdi
call   1040 <clientfr@plt>
lea    0xee6(%rip),%rdi
call   1030 <clientf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<do_exit_help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <clientfr@plt>
lea    0xef1(%rip),%rdi
pop    %rax
jmp    1030 <clientf@plt>

LLVM IR (-O0):
@.str = [37 x i8] c"Module: IMapper. Room exit commands:\00"
@.str.1 = [500 x i8] c" exit link - Link room # to this one. Both ways.\0D\0A exit stop - Hide rooms beyond this exit.\0D\0A exit length - Increase the exit length by #.\0D\0A exit map - Map the next exit elsewhere.\0D\0A exit lock - Set all unlinked exits in room as locked.\0D\0A exit unilink - One-way exit. Does not create a reverse link.\0D\0A exit destroy - Destroy an exit, and its reverse.\0D\0A exit joinareas - Show two areas on a single 'map'.\0D\0A exit special - Create, destroy, modify or list special exits.\0D\0A\00"
define void @do_exit_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 @clientfr(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @clientf(i8* getelementptr inbounds ([500 x i8], [500 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [37 x i8] c"Module: IMapper. Room exit commands:\00"
@.str.1 = [500 x i8] c" exit link - Link room # to this one. Both ways.\0D\0A exit stop - Hide rooms beyond this exit.\0D\0A exit length - Increase the exit length by #.\0D\0A exit map - Map the next exit elsewhere.\0D\0A exit lock - Set all unlinked exits in room as locked.\0D\0A exit unilink - One-way exit. Does not create a reverse link.\0D\0A exit destroy - Destroy an exit, and its reverse.\0D\0A exit joinareas - Show two areas on a single 'map'.\0D\0A exit special - Create, destroy, modify or list special exits.\0D\0A\00"
define void @do_exit_help(i8* nocapture readnone %0) {
%2 = tail call i32 @clientfr(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @clientf(i8* getelementptr inbounds ([500 x i8], [500 x i8]* @.str.1, i64 0, i64 0))
ret void
}