#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 *);
int display_help(void) {
  printf("srs - libsrs_alt library http://srs.mirtol.com/\n(C)2004 Miles "
         "Wilton\n\n");
  printf("Syntax: srs <flags> <address>+\n\n");
  printf("    Actions\n");
  printf("        -d               Run daemon\n");
  printf("        --forward        Perform SRS forward on address\n");
  printf("        --reverse        Perform SRS reverse on address\n");
  printf("\n    Options\n");
  printf("        --address=       Different way of specifying addresses to "
         "process\n");
  printf(
      "        --alias=         Alias domain (or address) for SRS forward\n");
  printf("        --hashlength=    Characters in hash length\n");
  printf("        --help           Display this help\n");
  printf("        --secret=        SRS secret\n");
  printf("        --secretfile=    Read file for SRS secret(s)\n");
  printf("        --separator=     SRS separator, must be + - or =\n");
  printf("        --socket=        Specify SRS socket for daemon\n");
  printf("\nSyntax compatible with perl implementation Mail::SRS\nMultiple "
         "secrets and addresses supported, can also use - instead of --\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<display_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf20(%rip),%rdi
call   1030 <printf@plt>
lea    0xf35(%rip),%rdi
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <printf@plt>
lea    0xfab(%rip),%rdi
call   1030 <printf@plt>
lea    0xfea(%rip),%rdi
call   1030 <printf@plt>
lea    0x1022(%rip),%rdi
call   1030 <printf@plt>
lea    0x104a(%rip),%rdi
call   1030 <printf@plt>
lea    0x106a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1083(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ad(%rip),%rdi
call   1030 <printf@plt>
lea    0x10db(%rip),%rdi
call   1030 <printf@plt>
lea    0x1107(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf22(%rip),%rdi
call   1030 <puts@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe5(%rip),%rdi
call   1030 <puts@plt>
lea    0x101c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x1062(%rip),%rdi
call   1030 <puts@plt>
lea    0x107a(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a3(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10fb(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [71 x i8] c"srs - libsrs_alt library http://srs.mirtol.com/\0A(C)2004 Miles Wilton\0A\0A\00"
@.str.1 = [33 x i8] c"Syntax: srs <flags> <address>+\0A\0A\00"
@.str.2 = [13 x i8] c" Actions\0A\00"
@.str.3 = [37 x i8] c" -d Run daemon\0A\00"
@.str.4 = [57 x i8] c" --forward Perform SRS forward on address\0A\00"
@.str.5 = [57 x i8] c" --reverse Perform SRS reverse on address\0A\00"
@.str.6 = [14 x i8] c"\0A Options\0A\00"
@.str.7 = [75 x i8] c" --address= Different way of specifying addresses to process\0A\00"
@.str.8 = [68 x i8] c" --alias= Alias domain (or address) for SRS forward\0A\00"
@.str.9 = [52 x i8] c" --hashlength= Characters in hash length\0A\00"
@.str.10 = [44 x i8] c" --help Display this help\0A\00"
@.str.11 = [37 x i8] c" --secret= SRS secret\0A\00"
@.str.12 = [54 x i8] c" --secretfile= Read file for SRS secret(s)\0A\00"
@.str.13 = [58 x i8] c" --separator= SRS separator, must be + - or =\0A\00"
@.str.14 = [56 x i8] c" --socket= Specify SRS socket for daemon\0A\00"
@.str.15 = [127 x i8] c"\0ASyntax compatible with perl implementation Mail::SRS\0AMultiple secrets and addresses supported, can also use - instead of --\0A\0A\00"
define i32 @display_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([127 x i8], [127 x i8]* @.str.15, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@str = [70 x i8] c"srs - libsrs_alt library http://srs.mirtol.com/\0A(C)2004 Miles Wilton\0A\00"
@str.16 = [32 x i8] c"Syntax: srs <flags> <address>+\0A\00"
@str.17 = [12 x i8] c" Actions\00"
@str.18 = [36 x i8] c" -d Run daemon\00"
@str.19 = [56 x i8] c" --forward Perform SRS forward on address\00"
@str.20 = [56 x i8] c" --reverse Perform SRS reverse on address\00"
@str.21 = [13 x i8] c"\0A Options\00"
@str.22 = [74 x i8] c" --address= Different way of specifying addresses to process\00"
@str.23 = [67 x i8] c" --alias= Alias domain (or address) for SRS forward\00"
@str.24 = [51 x i8] c" --hashlength= Characters in hash length\00"
@str.25 = [43 x i8] c" --help Display this help\00"
@str.26 = [36 x i8] c" --secret= SRS secret\00"
@str.27 = [53 x i8] c" --secretfile= Read file for SRS secret(s)\00"
@str.28 = [57 x i8] c" --separator= SRS separator, must be + - or =\00"
@str.29 = [55 x i8] c" --socket= Specify SRS socket for daemon\00"
@str.30 = [126 x i8] c"\0ASyntax compatible with perl implementation Mail::SRS\0AMultiple secrets and addresses supported, can also use - instead of --\0A\00"
define i32 @display_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.16, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.18, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.19, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.21, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.22, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.23, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.24, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.25, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.26, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.28, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.29, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([126 x i8], [126 x i8]* @str.30, i64 0, i64 0))
ret i32 0
}