#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 *, char const *);
void print_usage(const char *argv0) {
  printf("Usage: %s <product> [command] [args]\n"
         "Recognized commands are :\n"
         "   create <component> <version> [option_name [option_tag]]\n"
         "      Create a new component and/or option in the component\n"
         "   add <component> <option> [file [file ...]]\n"
         "      Register files in the component / option\n"
         "   script <component> <pre|post> <name> <path-to-script>\n"
         "      Register a new pre/post-uninstall script for the component\n"
         "   update <component> <option> <files>\n"
         "      Updates registration information\n"
         "   message <component> <\"message\">\n"
         "      Add an uninstallation warning message to the component\n"
         "   remove file [file [file ...]]\n"
         "      Remove specified files from the product\n"
         "   listfiles [component]\n"
         "      List files installed under product [or component]\n"
         "   desktop <component> <binary>\n"
         "      List all desktop items installed for a binary\n"
         "   printtags [component]\n"
         "      Print installed option tags\n"
         "   sysinfo\n"
         "      Print out system information as detected.\n",
         argv0);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
mov    %rdi,%rsi
lea    0xee6(%rip),%rdi
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [934 x i8] c"Usage: %s <product> [command] [args]\0ARecognized commands are :\0A create <component> <version> [option_name [option_tag]]\0A Create a new component and/or option in the component\0A add <component> <option> [file [file ...]]\0A Register files in the component / option\0A script <component> <pre|post> <name> <path-to-script>\0A Register a new pre/post-uninstall script for the component\0A update <component> <option> <files>\0A Updates registration information\0A message <component> <\22message\22>\0A Add an uninstallation warning message to the component\0A remove file [file [file ...]]\0A Remove specified files from the product\0A listfiles [component]\0A List files installed under product [or component]\0A desktop <component> <binary>\0A List all desktop items installed for a binary\0A printtags [component]\0A Print installed option tags\0A sysinfo\0A Print out system information as detected.\0A\00"
define void @print_usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @printf(i8* getelementptr inbounds ([934 x i8], [934 x i8]* @.str, i64 0, i64 0), i8* %3)
ret void
}

LLVM IR (-O2):
@.str = [934 x i8] c"Usage: %s <product> [command] [args]\0ARecognized commands are :\0A create <component> <version> [option_name [option_tag]]\0A Create a new component and/or option in the component\0A add <component> <option> [file [file ...]]\0A Register files in the component / option\0A script <component> <pre|post> <name> <path-to-script>\0A Register a new pre/post-uninstall script for the component\0A update <component> <option> <files>\0A Updates registration information\0A message <component> <\22message\22>\0A Add an uninstallation warning message to the component\0A remove file [file [file ...]]\0A Remove specified files from the product\0A listfiles [component]\0A List files installed under product [or component]\0A desktop <component> <binary>\0A List all desktop items installed for a binary\0A printtags [component]\0A Print installed option tags\0A sysinfo\0A Print out system information as detected.\0A\00"
define void @print_usage(i8* %0) {
%2 = tail call i32 @printf(i8* getelementptr inbounds ([934 x i8], [934 x i8]* @.str, i64 0, i64 0), i8* %0)
ret void
}