#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 alfred_usage(void) {
  printf("Usage: alfred [options]\n");
  printf("client mode options:\n");
  printf(
      "  -s, --set-data [data type]  sets new data to distribute from stdin\n");
  printf("                              for the supplied data type (0-255)\n");
  printf("  -r, --request [data type]   collect data from the network and "
         "prints\n");
  printf("                              it on the network\n");
  printf("  -V, --req-version           specify the data version set for -s\n");
  printf("\n");
  printf("server mode options:\n");
  printf("  -i, --interface             specify the interface to listen on\n");
  printf("  -b                          specify the batman-adv interface "
         "configured on the system (default: bat0)\n");
  printf("                              use 'none' to disable the batman-adv "
         "based best server selection\n");
  printf("  -m, --master                start up the daemon in master mode, "
         "which\n");
  printf("                              accepts data from slaves and synces it "
         "with\n");
  printf("                              other masters\n");
  printf("\n");
  printf("  -v, --version               print the version\n");
  printf("  -h, --help                  this help\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<alfred_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
call   1030 <printf@plt>
lea    0xefc(%rip),%rdi
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa8(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcd(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c3(%rip),%rdi
call   1030 <printf@plt>
lea    0xff8(%rip),%rdi
call   1030 <printf@plt>
lea    0x1002(%rip),%rdi
call   1030 <printf@plt>
lea    0x1038(%rip),%rdi
call   1030 <printf@plt>
lea    0x1095(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e9(%rip),%rdi
call   1030 <printf@plt>
lea    0x1126(%rip),%rdi
call   1030 <printf@plt>
lea    0x1165(%rip),%rdi
call   1030 <printf@plt>
lea    0x1063(%rip),%rdi
call   1030 <printf@plt>
lea    0x117a(%rip),%rdi
call   1030 <printf@plt>
lea    0x119f(%rip),%rdi
call   1030 <printf@plt>
lea    0x103f(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<alfred_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xee4(%rip),%rdi
call   1040 <puts@plt>
lea    0xeed(%rip),%rdi
call   1040 <puts@plt>
lea    0xf26(%rip),%rdi
call   1040 <puts@plt>
lea    0xf5b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf96(%rip),%rdi
call   1040 <puts@plt>
lea    0xfba(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xfe6(%rip),%rdi
call   1040 <puts@plt>
lea    0xfef(%rip),%rdi
call   1040 <puts@plt>
lea    0x1024(%rip),%rdi
call   1040 <puts@plt>
lea    0x1080(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d3(%rip),%rdi
call   1040 <puts@plt>
lea    0x110f(%rip),%rdi
call   1040 <puts@plt>
lea    0x114d(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1163(%rip),%rdi
call   1040 <puts@plt>
lea    0x1187(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"Usage: alfred [options]\0A\00"
@.str.1 = [22 x i8] c"client mode options:\0A\00"
@.str.2 = [70 x i8] c" -s, --set-data [data type] sets new data to distribute from stdin\0A\00"
@.str.3 = [66 x i8] c" for the supplied data type (0-255)\0A\00"
@.str.4 = [72 x i8] c" -r, --request [data type] collect data from the network and prints\0A\00"
@.str.5 = [49 x i8] c" it on the network\0A\00"
@.str.6 = [67 x i8] c" -V, --req-version specify the data version set for -s\0A\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [22 x i8] c"server mode options:\0A\00"
@.str.9 = [66 x i8] c" -i, --interface specify the interface to listen on\0A\00"
@.str.10 = [105 x i8] c" -b specify the batman-adv interface configured on the system (default: bat0)\0A\00"
@.str.11 = [96 x i8] c" use 'none' to disable the batman-adv based best server selection\0A\00"
@.str.12 = [73 x i8] c" -m, --master start up the daemon in master mode, which\0A\00"
@.str.13 = [75 x i8] c" accepts data from slaves and synces it with\0A\00"
@.str.14 = [45 x i8] c" other masters\0A\00"
@.str.15 = [49 x i8] c" -v, --version print the version\0A\00"
@.str.16 = [41 x i8] c" -h, --help this help\0A\00"
define void @alfred_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([105 x i8], [105 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.16, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [24 x i8] c"Usage: alfred [options]\00"
@str.17 = [21 x i8] c"client mode options:\00"
@str.18 = [69 x i8] c" -s, --set-data [data type] sets new data to distribute from stdin\00"
@str.19 = [65 x i8] c" for the supplied data type (0-255)\00"
@str.20 = [71 x i8] c" -r, --request [data type] collect data from the network and prints\00"
@str.21 = [48 x i8] c" it on the network\00"
@str.22 = [66 x i8] c" -V, --req-version specify the data version set for -s\00"
@str.23 = [21 x i8] c"server mode options:\00"
@str.24 = [65 x i8] c" -i, --interface specify the interface to listen on\00"
@str.25 = [104 x i8] c" -b specify the batman-adv interface configured on the system (default: bat0)\00"
@str.26 = [95 x i8] c" use 'none' to disable the batman-adv based best server selection\00"
@str.27 = [72 x i8] c" -m, --master start up the daemon in master mode, which\00"
@str.28 = [74 x i8] c" accepts data from slaves and synces it with\00"
@str.29 = [44 x i8] c" other masters\00"
@str.30 = [48 x i8] c" -v, --version print the version\00"
@str.31 = [40 x i8] c" -h, --help this help\00"
define void @alfred_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.17, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.18, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.19, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.20, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.21, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.22, i64 0, i64 0))
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.23, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.24, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([104 x i8], [104 x i8]* @str.25, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @str.26, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.28, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.29, i64 0, i64 0))
%16 = tail call i32 @putchar(i32 10)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.30, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.31, i64 0, i64 0))
%19 = tail call i32 @putchar(i32 10)
ret void
}