#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 seatest_show_help(void) {
  printf("Usage: [-t <testname>] [-f <fixturename>] [-d] [help] [-v] [-m] [-k "
         "<marker>\r\n");
  printf("Flags:\r\n");
  printf("\thelp:\twill display this help\r\n");
  printf("\t-t:\twill only run tests that match <testname>\r\n");
  printf("\t-f:\twill only run fixtures that match <fixturename>\r\n");
  printf("\t-d:\twill just display test names and fixtures without\r\n");
  printf("\t-d:\trunning the test\r\n");
  printf("\t-v:\twill print a more verbose version of the test run\r\n");
  printf("\t-m:\twill print a machine readable format of the test run, ie :- "
         "\r\n");
  printf("\t   \t<textfixture>,<testname>,<linenumber>,<testresult><EOL>\r\n");
  printf("\t-k:\twill prepend <marker> before machine readable output \r\n");
  printf("\t   \t<marker> cannot start with a '-'\r\n");
}


x86 assembly (clang, -O0):
<seatest_show_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <printf@plt>
lea    0xf39(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfef(%rip),%rdi
call   1030 <printf@plt>
lea    0x1027(%rip),%rdi
call   1030 <printf@plt>
lea    0x105a(%rip),%rdi
call   1030 <printf@plt>
lea    0x108b(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<seatest_show_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf39(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf87(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbe(%rip),%rdi
call   1030 <puts@plt>
lea    0xfea(%rip),%rdi
call   1030 <puts@plt>
lea    0x1021(%rip),%rdi
call   1030 <puts@plt>
lea    0x1053(%rip),%rdi
call   1030 <puts@plt>
lea    0x1083(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [79 x i8] c"Usage: [-t <testname>] [-f <fixturename>] [-d] [help] [-v] [-m] [-k <marker>\0D\0A\00"
@.str.1 = [9 x i8] c"Flags:\0D\0A\00"
@.str.2 = [32 x i8] c"\09help:\09will display this help\0D\0A\00"
@.str.3 = [49 x i8] c"\09-t:\09will only run tests that match <testname>\0D\0A\00"
@.str.4 = [55 x i8] c"\09-f:\09will only run fixtures that match <fixturename>\0D\0A\00"
@.str.5 = [57 x i8] c"\09-d:\09will just display test names and fixtures without\0D\0A\00"
@.str.6 = [24 x i8] c"\09-d:\09running the test\0D\0A\00"
@.str.7 = [57 x i8] c"\09-v:\09will print a more verbose version of the test run\0D\0A\00"
@.str.8 = [68 x i8] c"\09-m:\09will print a machine readable format of the test run, ie :- \0D\0A\00"
@.str.9 = [63 x i8] c"\09 \09<textfixture>,<testname>,<linenumber>,<testresult><EOL>\0D\0A\00"
@.str.10 = [61 x i8] c"\09-k:\09will prepend <marker> before machine readable output \0D\0A\00"
@.str.11 = [40 x i8] c"\09 \09<marker> cannot start with a '-'\0D\0A\00"
define void @seatest_show_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 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 ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 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 ([63 x i8], [63 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [78 x i8] c"Usage: [-t <testname>] [-f <fixturename>] [-d] [help] [-v] [-m] [-k <marker>\0D\00"
@str.12 = [8 x i8] c"Flags:\0D\00"
@str.13 = [31 x i8] c"\09help:\09will display this help\0D\00"
@str.14 = [48 x i8] c"\09-t:\09will only run tests that match <testname>\0D\00"
@str.15 = [54 x i8] c"\09-f:\09will only run fixtures that match <fixturename>\0D\00"
@str.16 = [56 x i8] c"\09-d:\09will just display test names and fixtures without\0D\00"
@str.17 = [23 x i8] c"\09-d:\09running the test\0D\00"
@str.18 = [56 x i8] c"\09-v:\09will print a more verbose version of the test run\0D\00"
@str.19 = [67 x i8] c"\09-m:\09will print a machine readable format of the test run, ie :- \0D\00"
@str.20 = [62 x i8] c"\09 \09<textfixture>,<testname>,<linenumber>,<testresult><EOL>\0D\00"
@str.21 = [60 x i8] c"\09-k:\09will prepend <marker> before machine readable output \0D\00"
@str.22 = [39 x i8] c"\09 \09<marker> cannot start with a '-'\0D\00"
define void @seatest_show_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.22, i64 0, i64 0))
ret void
}