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


x86 assembly (clang, -O0):
<stic_show_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf84(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbb(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe7(%rip),%rdi
call   1030 <printf@plt>
lea    0x101e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1050(%rip),%rdi
call   1030 <printf@plt>
lea    0x1080(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<stic_show_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf24(%rip),%rdi
call   1030 <puts@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
lea    0xf59(%rip),%rdi
call   1030 <puts@plt>
lea    0xf82(%rip),%rdi
call   1030 <puts@plt>
lea    0xfad(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1018(%rip),%rdi
call   1030 <puts@plt>
lea    0x1049(%rip),%rdi
call   1030 <puts@plt>
lea    0x1078(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

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

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