#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void showhelpmenu() {
  printf("this is a filemanager cald Jeti\n");
  printf("usage: jeti <OPTION>\n");
  printf("  -h or --help\t\t\t shows this helpmenu\n");
  printf("  -m or --mute\t\t\t turn of sound\n");
  printf("  -c or --config <path>\t\t alternativ config\n");
  printf("  -v or --version\t\t print version\n");
  printf("  -l or --log <int>\t\t creates a jeti.log file\n");
  printf("<where <int> is, is the priority index\n");
  printf("\tprioritys:\t0: no logging (default)\n");
  printf("\t\t\t1: ERRORS\n");
  printf("\t\t\t2: entering a large process or funktion\n");
  printf("\t\t\t3: entering a smaler process or funktion, ex. get_this()\n");
  printf("\t\t\t4: bigger blocks inside process or funktion, ex. \"printing "
         "window decorations...\"\n");
  printf(
      "\t\t\t5: intestens of ifs and stuff, ex \"is inside endofname_if\"\n");
  printf("\t\t\t6: frekvent stuff like graffics, ex on every row\n");
  printf("\t\t\t7: even more frekvent stuff, ex on every character or pixel\n");
  printf("\n");
  exit(0);
}


x86 assembly (clang, -O0):
<showhelpmenu>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeea(%rip),%rdi
call   1030 <printf@plt>
lea    0xef4(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf24(%rip),%rdi
call   1030 <printf@plt>
lea    0xf45(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd6(%rip),%rdi
call   1030 <printf@plt>
lea    0x1007(%rip),%rdi
call   1030 <printf@plt>
lea    0x1051(%rip),%rdi
call   1030 <printf@plt>
lea    0x1084(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ad(%rip),%rdi
call   1030 <printf@plt>
lea    0x102b(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<showhelpmenu>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
lea    0xedc(%rip),%rdi
call   1040 <puts@plt>
lea    0xee5(%rip),%rdi
call   1040 <puts@plt>
lea    0xeff(%rip),%rdi
call   1040 <puts@plt>
lea    0xf13(%rip),%rdi
call   1040 <puts@plt>
lea    0xf33(%rip),%rdi
call   1040 <puts@plt>
lea    0xf49(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf86(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9f(%rip),%rdi
call   1040 <puts@plt>
lea    0xfbe(%rip),%rdi
call   1040 <puts@plt>
lea    0xfee(%rip),%rdi
call   1040 <puts@plt>
lea    0x1037(%rip),%rdi
call   1040 <puts@plt>
lea    0x1069(%rip),%rdi
call   1040 <puts@plt>
lea    0x1091(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [33 x i8] c"this is a filemanager cald Jeti\0A\00"
@.str.1 = [22 x i8] c"usage: jeti <OPTION>\0A\00"
@.str.2 = [39 x i8] c" -h or --help\09\09\09 shows this helpmenu\0A\00"
@.str.3 = [33 x i8] c" -m or --mute\09\09\09 turn of sound\0A\00"
@.str.4 = [45 x i8] c" -c or --config <path>\09\09 alternativ config\0A\00"
@.str.5 = [35 x i8] c" -v or --version\09\09 print version\0A\00"
@.str.6 = [47 x i8] c" -l or --log <int>\09\09 creates a jeti.log file\0A\00"
@.str.7 = [40 x i8] c"<where <int> is, is the priority index\0A\00"
@.str.8 = [37 x i8] c"\09prioritys:\090: no logging (default)\0A\00"
@.str.9 = [14 x i8] c"\09\09\091: ERRORS\0A\00"
@.str.10 = [44 x i8] c"\09\09\092: entering a large process or funktion\0A\00"
@.str.11 = [61 x i8] c"\09\09\093: entering a smaler process or funktion, ex. get_this()\0A\00"
@.str.12 = [86 x i8] c"\09\09\094: bigger blocks inside process or funktion, ex. \22printing window decorations...\22\0A\00"
@.str.13 = [63 x i8] c"\09\09\095: intestens of ifs and stuff, ex \22is inside endofname_if\22\0A\00"
@.str.14 = [53 x i8] c"\09\09\096: frekvent stuff like graffics, ex on every row\0A\00"
@.str.15 = [64 x i8] c"\09\09\097: even more frekvent stuff, ex on every character or pixel\0A\00"
@.str.16 = [2 x i8] c"\0A\00"
define void @showhelpmenu() {
%1 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 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 ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 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 ([61 x i8], [61 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [32 x i8] c"this is a filemanager cald Jeti\00"
@str.17 = [21 x i8] c"usage: jeti <OPTION>\00"
@str.18 = [38 x i8] c" -h or --help\09\09\09 shows this helpmenu\00"
@str.19 = [32 x i8] c" -m or --mute\09\09\09 turn of sound\00"
@str.20 = [44 x i8] c" -c or --config <path>\09\09 alternativ config\00"
@str.21 = [34 x i8] c" -v or --version\09\09 print version\00"
@str.22 = [46 x i8] c" -l or --log <int>\09\09 creates a jeti.log file\00"
@str.23 = [39 x i8] c"<where <int> is, is the priority index\00"
@str.24 = [36 x i8] c"\09prioritys:\090: no logging (default)\00"
@str.25 = [13 x i8] c"\09\09\091: ERRORS\00"
@str.26 = [43 x i8] c"\09\09\092: entering a large process or funktion\00"
@str.27 = [60 x i8] c"\09\09\093: entering a smaler process or funktion, ex. get_this()\00"
@str.28 = [85 x i8] c"\09\09\094: bigger blocks inside process or funktion, ex. \22printing window decorations...\22\00"
@str.29 = [62 x i8] c"\09\09\095: intestens of ifs and stuff, ex \22is inside endofname_if\22\00"
@str.30 = [52 x i8] c"\09\09\096: frekvent stuff like graffics, ex on every row\00"
@str.31 = [63 x i8] c"\09\09\097: even more frekvent stuff, ex on every character or pixel\00"
define void @showhelpmenu() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.17, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.18, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.19, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.20, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.21, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.22, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.23, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.24, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.25, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.26, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.27, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.28, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.29, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.30, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.31, i64 0, i64 0))
%17 = tail call i32 @putchar(i32 10)
%18 = tail call i32 @exit(i32 0)
unreachable
}