#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 my_usage(void) {
  printf("Usage: %s [OPTIONS]\n", "suicide");
  printf("  -signum                   signal number to send\n");
  printf("  -sigspec                  signal name to send\n");
  printf("  -n signum                 signal number to send\n");
  printf("  -s sigspec                signal name to send\n");
  printf("  -a, --about               print description of program\n");
  printf("  -S, --signals             print SUSv3 signal table\n");
  printf("  -h, --help                print this help and exit\n");
  printf("  -v, --verbose             print verbose messages\n");
  printf("  -V, --version             print version number and exit\n");
  printf("\n");
  printf("Report bugs to <%s>.\n", "david.syzdek@acsalaska.net");
  return (-1);
}


x86 assembly (clang, -O0):
<my_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xef3(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf35(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x101f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1060(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x103e(%rip),%rdi
lea    0x104d(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xffffffff,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<my_usage>:
push   %rax
lea    0xec8(%rip),%rdi
lea    0xed6(%rip),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf01(%rip),%rdi
call   1040 <puts@plt>
lea    0xf27(%rip),%rdi
call   1040 <puts@plt>
lea    0xf4b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf71(%rip),%rdi
call   1040 <puts@plt>
lea    0xf95(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc2(%rip),%rdi
call   1040 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1040 <puts@plt>
lea    0x1014(%rip),%rdi
call   1040 <puts@plt>
lea    0x103b(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe5a(%rip),%rdi
lea    0xe69(%rip),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xffffffff,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [21 x i8] c"Usage: %s [OPTIONS]\0A\00"
@.str.1 = [8 x i8] c"suicide\00"
@.str.2 = [51 x i8] c" -signum signal number to send\0A\00"
@.str.3 = [49 x i8] c" -sigspec signal name to send\0A\00"
@.str.4 = [51 x i8] c" -n signum signal number to send\0A\00"
@.str.5 = [49 x i8] c" -s sigspec signal name to send\0A\00"
@.str.6 = [58 x i8] c" -a, --about print description of program\0A\00"
@.str.7 = [54 x i8] c" -S, --signals print SUSv3 signal table\0A\00"
@.str.8 = [54 x i8] c" -h, --help print this help and exit\0A\00"
@.str.9 = [52 x i8] c" -v, --verbose print verbose messages\0A\00"
@.str.10 = [59 x i8] c" -V, --version print version number and exit\0A\00"
@.str.11 = [2 x i8] c"\0A\00"
@.str.12 = [22 x i8] c"Report bugs to <%s>.\0A\00"
@.str.13 = [27 x i8] c"david.syzdek@acsalaska.net\00"
define i32 @my_usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
ret i32 -1
}

LLVM IR (-O2):
@.str = [21 x i8] c"Usage: %s [OPTIONS]\0A\00"
@.str.1 = [8 x i8] c"suicide\00"
@.str.12 = [22 x i8] c"Report bugs to <%s>.\0A\00"
@.str.13 = [27 x i8] c"david.syzdek@acsalaska.net\00"
@str = [50 x i8] c" -signum signal number to send\00"
@str.14 = [48 x i8] c" -sigspec signal name to send\00"
@str.15 = [50 x i8] c" -n signum signal number to send\00"
@str.16 = [48 x i8] c" -s sigspec signal name to send\00"
@str.17 = [57 x i8] c" -a, --about print description of program\00"
@str.18 = [53 x i8] c" -S, --signals print SUSv3 signal table\00"
@str.19 = [53 x i8] c" -h, --help print this help and exit\00"
@str.20 = [51 x i8] c" -v, --verbose print verbose messages\00"
@str.21 = [58 x i8] c" -V, --version print version number and exit\00"
define i32 @my_usage() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
ret i32 -1
}