#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*/ assert(int /*<<< orphan*/);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void www_long_usage(char *info) {
  assert(info != NULL);
  printf("\n%s\n\n\n", info);
  printf(" Basic options:\n\n");
  printf("  -d, --debug            - increment debugging mode\n");
  printf("                           Note: add multiple d's (-ddd) for more "
         "details\n");
  printf("  -h, --help             - print this help message\n");
  printf("  -F, --federated        - operate in Federated mode\n");
  printf("  -f, --file FN          - add the file to the allowed list\n");
  printf(
      "  -s, --syslog           - use the syslog() to log some information\n");
  printf("  -v, --version          - print version number\n\n");
  printf(" Configuration:\n\n");
  printf("  -l, --alog alog_FN     - specify the access log filename\n");
  printf("  -e, --elog elog_FN     - specify the error log filename\n");
  printf("  -b, --basedir path     - set the basedir for the documents\n");
  printf("  -S, --logfacility #F   - specify syslog facility name\n");
  printf("                           Note: this doesn't enable 'syslog'\n");
  printf(
      "  -p, --port #port       - specify the port number (default is 7123)\n");
  printf("  -t, --ttl #amount      - specify maximum number of hops in path "
         "(default is 10)\n");
  printf("  --dflttree fn          - specify alternate 'Default.tree' file\n");
  printf("\n");
  exit(0);
}


x86 assembly (clang, -O0):
<www_long_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
cmpq   $0x0,-0x8(%rbp)
setne  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    -0x8(%rbp),%rsi
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xea0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xea4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xecb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf08(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1012(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x103f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x106f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x109a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10cb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1103(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1148(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<www_long_usage>:
push   %rbx
mov    %rdi,%rbx
xor    %edi,%edi
test   %rbx,%rbx
setne  %dil
call   1060 <assert@plt>
lea    0xe97(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe8d(%rip),%rdi
call   1040 <puts@plt>
lea    0xe92(%rip),%rdi
call   1040 <puts@plt>
lea    0xeba(%rip),%rdi
call   1040 <puts@plt>
lea    0xef8(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf48(%rip),%rdi
call   1040 <puts@plt>
lea    0xf78(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb0(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd5(%rip),%rdi
call   1040 <puts@plt>
lea    0xfda(%rip),%rdi
call   1040 <puts@plt>
lea    0x1009(%rip),%rdi
call   1040 <puts@plt>
lea    0x1037(%rip),%rdi
call   1040 <puts@plt>
lea    0x1068(%rip),%rdi
call   1040 <puts@plt>
lea    0x1094(%rip),%rdi
call   1040 <puts@plt>
lea    0x10c6(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ff(%rip),%rdi
call   1040 <puts@plt>
lea    0x1145(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"\0A%s\0A\0A\0A\00"
@.str.1 = [18 x i8] c" Basic options:\0A\0A\00"
@.str.2 = [53 x i8] c" -d, --debug - increment debugging mode\0A\00"
@.str.3 = [75 x i8] c" Note: add multiple d's (-ddd) for more details\0A\00"
@.str.4 = [52 x i8] c" -h, --help - print this help message\0A\00"
@.str.5 = [54 x i8] c" -F, --federated - operate in Federated mode\0A\00"
@.str.6 = [61 x i8] c" -f, --file FN - add the file to the allowed list\0A\00"
@.str.7 = [69 x i8] c" -s, --syslog - use the syslog() to log some information\0A\00"
@.str.8 = [50 x i8] c" -v, --version - print version number\0A\0A\00"
@.str.9 = [18 x i8] c" Configuration:\0A\0A\00"
@.str.10 = [60 x i8] c" -l, --alog alog_FN - specify the access log filename\0A\00"
@.str.11 = [59 x i8] c" -e, --elog elog_FN - specify the error log filename\0A\00"
@.str.12 = [62 x i8] c" -b, --basedir path - set the basedir for the documents\0A\00"
@.str.13 = [57 x i8] c" -S, --logfacility #F - specify syslog facility name\0A\00"
@.str.14 = [63 x i8] c" Note: this doesn't enable 'syslog'\0A\00"
@.str.15 = [70 x i8] c" -p, --port #port - specify the port number (default is 7123)\0A\00"
@.str.16 = [83 x i8] c" -t, --ttl #amount - specify maximum number of hops in path (default is 10)\0A\00"
@.str.17 = [66 x i8] c" --dflttree fn - specify alternate 'Default.tree' file\0A\00"
@.str.18 = [2 x i8] c"\0A\00"
define void @www_long_usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = icmp ne i8* %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 %5)
%7 = load i8*, i8** %2
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %7)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.6, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.7, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.10, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.11, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.13, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.14, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.15, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.16, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.17, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
%27 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [7 x i8] c"\0A%s\0A\0A\0A\00"
@str = [17 x i8] c" Basic options:\0A\00"
@str.19 = [52 x i8] c" -d, --debug - increment debugging mode\00"
@str.20 = [74 x i8] c" Note: add multiple d's (-ddd) for more details\00"
@str.21 = [51 x i8] c" -h, --help - print this help message\00"
@str.22 = [53 x i8] c" -F, --federated - operate in Federated mode\00"
@str.23 = [60 x i8] c" -f, --file FN - add the file to the allowed list\00"
@str.24 = [68 x i8] c" -s, --syslog - use the syslog() to log some information\00"
@str.25 = [49 x i8] c" -v, --version - print version number\0A\00"
@str.26 = [17 x i8] c" Configuration:\0A\00"
@str.27 = [59 x i8] c" -l, --alog alog_FN - specify the access log filename\00"
@str.28 = [58 x i8] c" -e, --elog elog_FN - specify the error log filename\00"
@str.29 = [61 x i8] c" -b, --basedir path - set the basedir for the documents\00"
@str.30 = [56 x i8] c" -S, --logfacility #F - specify syslog facility name\00"
@str.31 = [62 x i8] c" Note: this doesn't enable 'syslog'\00"
@str.32 = [69 x i8] c" -p, --port #port - specify the port number (default is 7123)\00"
@str.33 = [82 x i8] c" -t, --ttl #amount - specify maximum number of hops in path (default is 10)\00"
@str.34 = [65 x i8] c" --dflttree fn - specify alternate 'Default.tree' file\00"
define void @www_long_usage(i8* %0) {
%2 = icmp ne i8* %0, null
%3 = zext i1 %2 to i32
%4 = tail call i32 @assert(i32 %3)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %0)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.19, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.26, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.27, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.28, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.29, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.30, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.31, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.32, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.33, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.34, i64 0, i64 0))
%23 = tail call i32 @putchar(i32 10)
%24 = tail call i32 @exit(i32 0)
unreachable
}