#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 displayUsage() {
  printf("Usage:\n\t./seatab [flags]\n");
  printf("\nProfile Flags:\n");
  printf("\t-j <name>: Joins the named profile\n");
  printf("\t-p <name>: Joins the named profile and resets it\n");
  printf("\t-r       : Removes profile specified by -j\n");
  printf("\nServer Flags:\n");
  printf("\t-i <ip address>: Connects profile to server at the ip address\n");
  printf("\t-m <message>   : Sends message to profile's server connection\n");
  printf("\nDisplay Flags:\n");
  printf("\t-h: Displays table header of server's response\n");
  printf("\t-c: Displays table columns of server's response\n");
  printf("\t-b: Displays table body of server's response\n");
  printf("\n-a: Substitute flag for -h -b -c -m\n");
  printf("\nDaemon Flags:\n");
  printf("\t-x: Shut down daemon\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<displayUsage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
call   1030 <printf@plt>
lea    0xef8(%rip),%rdi
call   1030 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
lea    0xf38(%rip),%rdi
call   1030 <printf@plt>
lea    0xf59(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf91(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfca(%rip),%rdi
call   1030 <printf@plt>
lea    0xfef(%rip),%rdi
call   1030 <printf@plt>
lea    0x1015(%rip),%rdi
call   1030 <printf@plt>
lea    0x1038(%rip),%rdi
call   1030 <printf@plt>
lea    0x1052(%rip),%rdi
call   1030 <printf@plt>
lea    0x1056(%rip),%rdi
call   1030 <printf@plt>
lea    0xe5a(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<displayUsage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xee5(%rip),%rdi
call   1040 <puts@plt>
lea    0xee9(%rip),%rdi
call   1040 <puts@plt>
lea    0xf01(%rip),%rdi
call   1040 <puts@plt>
lea    0xf27(%rip),%rdi
call   1040 <puts@plt>
lea    0xf47(%rip),%rdi
call   1040 <puts@plt>
lea    0xf4a(%rip),%rdi
call   1040 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb0(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb4(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1040 <puts@plt>
lea    0xffd(%rip),%rdi
call   1040 <puts@plt>
lea    0x101f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1038(%rip),%rdi
call   1040 <puts@plt>
lea    0x103b(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [26 x i8] c"Usage:\0A\09./seatab [flags]\0A\00"
@.str.1 = [17 x i8] c"\0AProfile Flags:\0A\00"
@.str.2 = [37 x i8] c"\09-j <name>: Joins the named profile\0A\00"
@.str.3 = [51 x i8] c"\09-p <name>: Joins the named profile and resets it\0A\00"
@.str.4 = [45 x i8] c"\09-r : Removes profile specified by -j\0A\00"
@.str.5 = [16 x i8] c"\0AServer Flags:\0A\00"
@.str.6 = [64 x i8] c"\09-i <ip address>: Connects profile to server at the ip address\0A\00"
@.str.7 = [64 x i8] c"\09-m <message> : Sends message to profile's server connection\0A\00"
@.str.8 = [17 x i8] c"\0ADisplay Flags:\0A\00"
@.str.9 = [49 x i8] c"\09-h: Displays table header of server's response\0A\00"
@.str.10 = [50 x i8] c"\09-c: Displays table columns of server's response\0A\00"
@.str.11 = [47 x i8] c"\09-b: Displays table body of server's response\0A\00"
@.str.12 = [38 x i8] c"\0A-a: Substitute flag for -h -b -c -m\0A\00"
@.str.13 = [16 x i8] c"\0ADaemon Flags:\0A\00"
@.str.14 = [23 x i8] c"\09-x: Shut down daemon\0A\00"
@.str.15 = [2 x i8] c"\0A\00"
define void @displayUsage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [25 x i8] c"Usage:\0A\09./seatab [flags]\00"
@str.16 = [16 x i8] c"\0AProfile Flags:\00"
@str.17 = [36 x i8] c"\09-j <name>: Joins the named profile\00"
@str.18 = [50 x i8] c"\09-p <name>: Joins the named profile and resets it\00"
@str.19 = [44 x i8] c"\09-r : Removes profile specified by -j\00"
@str.20 = [15 x i8] c"\0AServer Flags:\00"
@str.21 = [63 x i8] c"\09-i <ip address>: Connects profile to server at the ip address\00"
@str.22 = [63 x i8] c"\09-m <message> : Sends message to profile's server connection\00"
@str.23 = [16 x i8] c"\0ADisplay Flags:\00"
@str.24 = [48 x i8] c"\09-h: Displays table header of server's response\00"
@str.25 = [49 x i8] c"\09-c: Displays table columns of server's response\00"
@str.26 = [46 x i8] c"\09-b: Displays table body of server's response\00"
@str.27 = [37 x i8] c"\0A-a: Substitute flag for -h -b -c -m\00"
@str.28 = [15 x i8] c"\0ADaemon Flags:\00"
@str.29 = [22 x i8] c"\09-x: Shut down daemon\00"
define void @displayUsage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.16, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.18, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.19, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.21, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.22, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.23, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.24, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.25, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.26, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.28, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.29, i64 0, i64 0))
%16 = tail call i32 @putchar(i32 10)
ret void
}