#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_room_help(const char *arg) {
  clientfr("Module: IMapper. Room commands:");
  clientf(
      " room switch  - Switch current room to another vnum.\r\n"
      " room look    - Show info on the current room.\r\n"
      " room find    - Find all rooms that contain something in their name.\r\n"
      " room destroy - Unlink and destroy a room.\r\n"
      " room list    - List all rooms in the current area.\r\n"
      " room underw  - Set the room as Underwater.\r\n"
      " room mark    - Set or clear a landmark on a vnum, or current room.\r\n"
      " room types   - List all known room types (environments).\r\n"
      " room merge   - Combine two identical rooms into one.\r\n");
}


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

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

LLVM IR (-O0):
@.str = [32 x i8] c"Module: IMapper. Room commands:\00"
@.str.1 = [498 x i8] c" room switch - Switch current room to another vnum.\0D\0A room look - Show info on the current room.\0D\0A room find - Find all rooms that contain something in their name.\0D\0A room destroy - Unlink and destroy a room.\0D\0A room list - List all rooms in the current area.\0D\0A room underw - Set the room as Underwater.\0D\0A room mark - Set or clear a landmark on a vnum, or current room.\0D\0A room types - List all known room types (environments).\0D\0A room merge - Combine two identical rooms into one.\0D\0A\00"
define void @do_room_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 @clientfr(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @clientf(i8* getelementptr inbounds ([498 x i8], [498 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [32 x i8] c"Module: IMapper. Room commands:\00"
@.str.1 = [498 x i8] c" room switch - Switch current room to another vnum.\0D\0A room look - Show info on the current room.\0D\0A room find - Find all rooms that contain something in their name.\0D\0A room destroy - Unlink and destroy a room.\0D\0A room list - List all rooms in the current area.\0D\0A room underw - Set the room as Underwater.\0D\0A room mark - Set or clear a landmark on a vnum, or current room.\0D\0A room types - List all known room types (environments).\0D\0A room merge - Combine two identical rooms into one.\0D\0A\00"
define void @do_room_help(i8* nocapture readnone %0) {
%2 = tail call i32 @clientfr(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @clientf(i8* getelementptr inbounds ([498 x i8], [498 x i8]* @.str.1, i64 0, i64 0))
ret void
}