#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 mbhelp() {
  printf("\n Usage: mkaenc -i <inputfile> [options]\n");
  printf("\n Optional parameters:\n");
  printf("   -s <filename>  Source filename (%%o for EAC)\n");
  printf("   -n <naming scheme>  By default \"/a - /t\"\n");
  printf("   -p <parameters>  Optional mkvmerge parameters\n");
  printf("   -r <command>  Run an external command after merging\n");
  printf("   -e <encoder with full path>  By default \"C:\\Program "
         "Files\\TTA\\ttaenc.exe\"\n");
  printf("   -o <encoder options>  By default \"-e\"\n");
  printf("   -x <.extension>  Encoded file extension, by default \".tta\"\n");
  printf("   \n");
  printf("\n Tags parameters:\n");
  printf("   -a <album artist>  Album artist\n");
  printf("   -t <album title>  Album title\n");
  printf("   -y <album date>  set DATE tag\n");
  printf("   -g <album genre>  set GENRE tag\n");
  printf("   -d <discID>  set DISCID tag\n");
  printf("   -c <comment>  set COMMENT tag\n");
  printf("   \n");
  printf("\n General options:\n");
  printf("   -m  Modify the CUE file (add tags to the CUE sheet)\n");
  printf("   -f  Fix EAC CUE file extension\n");
  printf("   -j  Join the CUE file as an attachment to the mka file\n");
  printf("   -u  Unchange base filename (don't rename the files)\n");
  printf("   -w  Don't delete WAV file after encoding\n");
  printf("   -k  Don't delete encoded file after merging\n");
  printf("   -b  Don't merge, only prepare the base files\n");
  printf("   -q  Quiet mode\n");
  printf("   -h  Display this help\n");
  printf("   -v  Display version\n");
  printf("   -l  Display licence informations\n");
  printf("   \n");
  printf("\n Please report bugs or comments to goldenear@matroska.org\n");
  printf("   \n");
  return 0;
}


x86 assembly (clang, -O0):
<mbhelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf03(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf34(%rip),%rdi
call   1030 <printf@plt>
lea    0xf55(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa7(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe9(%rip),%rdi
call   1030 <printf@plt>
lea    0x1007(%rip),%rdi
call   1030 <printf@plt>
lea    0x103a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1033(%rip),%rdi
call   1030 <printf@plt>
lea    0x103b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1053(%rip),%rdi
call   1030 <printf@plt>
lea    0x1069(%rip),%rdi
call   1030 <printf@plt>
lea    0x107f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1097(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ab(%rip),%rdi
call   1030 <printf@plt>
lea    0xfda(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b5(%rip),%rdi
call   1030 <printf@plt>
lea    0x10bd(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e9(%rip),%rdi
call   1030 <printf@plt>
lea    0x1100(%rip),%rdi
call   1030 <printf@plt>
lea    0x112f(%rip),%rdi
call   1030 <printf@plt>
lea    0x115b(%rip),%rdi
call   1030 <printf@plt>
lea    0x117c(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a0(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c5(%rip),%rdi
call   1030 <printf@plt>
lea    0x11cc(%rip),%rdi
call   1030 <printf@plt>
lea    0x11da(%rip),%rdi
call   1030 <printf@plt>
lea    0x11e6(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
call   1030 <printf@plt>
lea    0x11f3(%rip),%rdi
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<mbhelp>:
push   %rbx
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xec0(%rip),%rdi
call   1040 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <puts@plt>
lea    0xf45(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf95(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd6(%rip),%rdi
call   1030 <puts@plt>
lea    0xff3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1309(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1016(%rip),%rdi
call   1030 <puts@plt>
lea    0x101d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1034(%rip),%rdi
call   1030 <puts@plt>
lea    0x1049(%rip),%rdi
call   1030 <puts@plt>
lea    0x105e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1075(%rip),%rdi
call   1030 <puts@plt>
lea    0x1088(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1095(%rip),%rdi
call   1030 <puts@plt>
lea    0x109c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c7(%rip),%rdi
call   1030 <puts@plt>
lea    0x10dd(%rip),%rdi
call   1030 <puts@plt>
lea    0x110b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1136(%rip),%rdi
call   1030 <puts@plt>
lea    0x1156(%rip),%rdi
call   1030 <puts@plt>
lea    0x1179(%rip),%rdi
call   1030 <puts@plt>
lea    0x119d(%rip),%rdi
call   1030 <puts@plt>
lea    0x11a3(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b0(%rip),%rdi
call   1030 <puts@plt>
lea    0x11bb(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x11cb(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [42 x i8] c"\0A Usage: mkaenc -i <inputfile> [options]\0A\00"
@.str.1 = [24 x i8] c"\0A Optional parameters:\0A\00"
@.str.2 = [49 x i8] c" -s <filename> Source filename (%%o for EAC)\0A\00"
@.str.3 = [45 x i8] c" -n <naming scheme> By default \22/a - /t\22\0A\00"
@.str.4 = [50 x i8] c" -p <parameters> Optional mkvmerge parameters\0A\00"
@.str.5 = [56 x i8] c" -r <command> Run an external command after merging\0A\00"
@.str.6 = [78 x i8] c" -e <encoder with full path> By default \22C:\\Program Files\\TTA\\ttaenc.exe\22\0A\00"
@.str.7 = [42 x i8] c" -o <encoder options> By default \22-e\22\0A\00"
@.str.8 = [63 x i8] c" -x <.extension> Encoded file extension, by default \22.tta\22\0A\00"
@.str.9 = [5 x i8] c" \0A\00"
@.str.10 = [20 x i8] c"\0A Tags parameters:\0A\00"
@.str.11 = [36 x i8] c" -a <album artist> Album artist\0A\00"
@.str.12 = [34 x i8] c" -t <album title> Album title\0A\00"
@.str.13 = [34 x i8] c" -y <album date> set DATE tag\0A\00"
@.str.14 = [36 x i8] c" -g <album genre> set GENRE tag\0A\00"
@.str.15 = [32 x i8] c" -d <discID> set DISCID tag\0A\00"
@.str.16 = [34 x i8] c" -c <comment> set COMMENT tag\0A\00"
@.str.17 = [20 x i8] c"\0A General options:\0A\00"
@.str.18 = [56 x i8] c" -m Modify the CUE file (add tags to the CUE sheet)\0A\00"
@.str.19 = [35 x i8] c" -f Fix EAC CUE file extension\0A\00"
@.str.20 = [59 x i8] c" -j Join the CUE file as an attachment to the mka file\0A\00"
@.str.21 = [56 x i8] c" -u Unchange base filename (don't rename the files)\0A\00"
@.str.22 = [45 x i8] c" -w Don't delete WAV file after encoding\0A\00"
@.str.23 = [48 x i8] c" -k Don't delete encoded file after merging\0A\00"
@.str.24 = [49 x i8] c" -b Don't merge, only prepare the base files\0A\00"
@.str.25 = [19 x i8] c" -q Quiet mode\0A\00"
@.str.26 = [26 x i8] c" -h Display this help\0A\00"
@.str.27 = [24 x i8] c" -v Display version\0A\00"
@.str.28 = [37 x i8] c" -l Display licence informations\0A\00"
@.str.29 = [60 x i8] c"\0A Please report bugs or comments to goldenear@matroska.org\0A\00"
define i32 @mbhelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 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 ([78 x i8], [78 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.18, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.19, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.20, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.21, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.22, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.23, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.24, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.25, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.26, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.27, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.28, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.29, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [49 x i8] c" -s <filename> Source filename (%%o for EAC)\0A\00"
@str = [41 x i8] c"\0A Usage: mkaenc -i <inputfile> [options]\00"
@str.30 = [23 x i8] c"\0A Optional parameters:\00"
@str.31 = [44 x i8] c" -n <naming scheme> By default \22/a - /t\22\00"
@str.32 = [49 x i8] c" -p <parameters> Optional mkvmerge parameters\00"
@str.33 = [55 x i8] c" -r <command> Run an external command after merging\00"
@str.34 = [77 x i8] c" -e <encoder with full path> By default \22C:\\Program Files\\TTA\\ttaenc.exe\22\00"
@str.35 = [41 x i8] c" -o <encoder options> By default \22-e\22\00"
@str.36 = [62 x i8] c" -x <.extension> Encoded file extension, by default \22.tta\22\00"
@str.38 = [19 x i8] c"\0A Tags parameters:\00"
@str.39 = [35 x i8] c" -a <album artist> Album artist\00"
@str.40 = [33 x i8] c" -t <album title> Album title\00"
@str.41 = [33 x i8] c" -y <album date> set DATE tag\00"
@str.42 = [35 x i8] c" -g <album genre> set GENRE tag\00"
@str.43 = [31 x i8] c" -d <discID> set DISCID tag\00"
@str.44 = [33 x i8] c" -c <comment> set COMMENT tag\00"
@str.46 = [19 x i8] c"\0A General options:\00"
@str.47 = [55 x i8] c" -m Modify the CUE file (add tags to the CUE sheet)\00"
@str.48 = [34 x i8] c" -f Fix EAC CUE file extension\00"
@str.49 = [58 x i8] c" -j Join the CUE file as an attachment to the mka file\00"
@str.50 = [55 x i8] c" -u Unchange base filename (don't rename the files)\00"
@str.51 = [44 x i8] c" -w Don't delete WAV file after encoding\00"
@str.52 = [47 x i8] c" -k Don't delete encoded file after merging\00"
@str.53 = [48 x i8] c" -b Don't merge, only prepare the base files\00"
@str.54 = [18 x i8] c" -q Quiet mode\00"
@str.55 = [25 x i8] c" -h Display this help\00"
@str.56 = [23 x i8] c" -v Display version\00"
@str.57 = [36 x i8] c" -l Display licence informations\00"
@str.59 = [59 x i8] c"\0A Please report bugs or comments to goldenear@matroska.org\00"
@str.60 = [4 x i8] c" \00"
define i32 @mbhelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.30, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.31, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.32, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.33, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.34, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.35, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.36, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.60, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.38, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.39, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.40, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.41, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.42, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.43, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.44, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.60, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.46, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.47, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.48, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.49, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.50, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.51, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.52, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.53, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.54, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.55, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.56, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.57, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.60, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.59, i64 0, i64 0))
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.60, i64 0, i64 0))
ret i32 0
}