#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*/ printf(char *);
void usage(void) {
  printf("\nModes:\n"
         "-x <registryhivefile> <prefixstring> <key> <output.reg>\n"
         "   Xport. Where <prefixstring> for example is "
         "HKEY_LOCAL_MACHINE\\SOFTWARE\n"
         "   <key> is key to dump (recursively), \\ or \\\\ means all keys in "
         "hive\n"
         "   Only one .reg and one hive file supported at the same time\n"
         "-I <registryhivefile> <prefixstring> <input.reg>\n"
         "   Import from .reg file. Where <prefixstring> for example is "
         "HKEY_LOCAL_MACHINE\\SOFTWARE\n"
         "   Only one .reg and one hive file supported at the same time\n"
         "-e <registryhive> ...\n"
         "   Interactive edit one or more of registry files\n\n"
         "Options:\n"
         "-L : Log changed filenames to /tmp/changed, also auto-saves\n"
         "-C : Auto-save (commit) changed hives without asking\n"
         "-N : No allocate mode, only allow edit of existing values with same "
         "size\n"
         "-E : No expand mode, do not expand hive file (safe mode)\n"
         "-t : Debug trace of allocated blocks\n"
         "-v : Some more verbose messages\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
lea    0xee9(%rip),%rdi
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [866 x i8] c"\0AModes:\0A-x <registryhivefile> <prefixstring> <key> <output.reg>\0A Xport. Where <prefixstring> for example is HKEY_LOCAL_MACHINE\\SOFTWARE\0A <key> is key to dump (recursively), \\ or \\\\ means all keys in hive\0A Only one .reg and one hive file supported at the same time\0A-I <registryhivefile> <prefixstring> <input.reg>\0A Import from .reg file. Where <prefixstring> for example is HKEY_LOCAL_MACHINE\\SOFTWARE\0A Only one .reg and one hive file supported at the same time\0A-e <registryhive> ...\0A Interactive edit one or more of registry files\0A\0AOptions:\0A-L : Log changed filenames to /tmp/changed, also auto-saves\0A-C : Auto-save (commit) changed hives without asking\0A-N : No allocate mode, only allow edit of existing values with same size\0A-E : No expand mode, do not expand hive file (safe mode)\0A-t : Debug trace of allocated blocks\0A-v : Some more verbose messages\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([866 x i8], [866 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [865 x i8] c"\0AModes:\0A-x <registryhivefile> <prefixstring> <key> <output.reg>\0A Xport. Where <prefixstring> for example is HKEY_LOCAL_MACHINE\\SOFTWARE\0A <key> is key to dump (recursively), \\ or \\\\ means all keys in hive\0A Only one .reg and one hive file supported at the same time\0A-I <registryhivefile> <prefixstring> <input.reg>\0A Import from .reg file. Where <prefixstring> for example is HKEY_LOCAL_MACHINE\\SOFTWARE\0A Only one .reg and one hive file supported at the same time\0A-e <registryhive> ...\0A Interactive edit one or more of registry files\0A\0AOptions:\0A-L : Log changed filenames to /tmp/changed, also auto-saves\0A-C : Auto-save (commit) changed hives without asking\0A-N : No allocate mode, only allow edit of existing values with same size\0A-E : No expand mode, do not expand hive file (safe mode)\0A-t : Debug trace of allocated blocks\0A-v : Some more verbose messages\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([865 x i8], [865 x i8]* @str, i64 0, i64 0))
ret void
}