#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 mog_showhelp(char *app) {
  printf("Usage:\n");
  printf("\t%s [ -stq ] [ -i input_file ] [ -o output_file ] [ -b bitrate ] [ "
         "-e encoder_module ] [ -l length ]\n",
         app);
  printf("\t%s [ -h ]\n", app);
  printf("\t-s\t - Show summary statistics\n");
  printf("\t-t\t - Do not perform tag detection, and do not copy tags to "
         "output file\n");
  printf("\t-q\t - Do not check inputfile for validity, must be used when "
         "readin from pipes\n");
  printf("\t-i\t - Decode audio from this file\n");
  printf("\t-o\t - Encode audio to this file\n");
  printf("\t-b\t - Encode at this bitrate\n");
  printf("\t-d\t - DEcode input as this format\n");
  printf("\t-e\t - Encode output in this format\n");
  printf("\t-l\t - Reencode for at most this many seconds\n");
  printf("\t-h\t - Output this usage information\n");
}


x86 assembly (clang, -O0):
<mog_showhelp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf37(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfcc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1007(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x101e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x103f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mog_showhelp>:
push   %rbx
mov    %rdi,%rbx
lea    0xf47(%rip),%rdi
call   1030 <puts@plt>
lea    0xec9(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf1e(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf20(%rip),%rdi
call   1030 <puts@plt>
lea    0xf33(%rip),%rdi
call   1030 <puts@plt>
lea    0xf70(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcb(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe0(%rip),%rdi
call   1030 <puts@plt>
lea    0xff2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1009(%rip),%rdi
call   1030 <puts@plt>
lea    0x1021(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [102 x i8] c"\09%s [ -stq ] [ -i input_file ] [ -o output_file ] [ -b bitrate ] [ -e encoder_module ] [ -l length ]\0A\00"
@.str.2 = [12 x i8] c"\09%s [ -h ]\0A\00"
@.str.3 = [32 x i8] c"\09-s\09 - Show summary statistics\0A\00"
@.str.4 = [74 x i8] c"\09-t\09 - Do not perform tag detection, and do not copy tags to output file\0A\00"
@.str.5 = [81 x i8] c"\09-q\09 - Do not check inputfile for validity, must be used when readin from pipes\0A\00"
@.str.6 = [36 x i8] c"\09-i\09 - Decode audio from this file\0A\00"
@.str.7 = [34 x i8] c"\09-o\09 - Encode audio to this file\0A\00"
@.str.8 = [31 x i8] c"\09-b\09 - Encode at this bitrate\0A\00"
@.str.9 = [36 x i8] c"\09-d\09 - DEcode input as this format\0A\00"
@.str.10 = [37 x i8] c"\09-e\09 - Encode output in this format\0A\00"
@.str.11 = [47 x i8] c"\09-l\09 - Reencode for at most this many seconds\0A\00"
@.str.12 = [38 x i8] c"\09-h\09 - Output this usage information\0A\00"
define void @mog_showhelp(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%4 = load i8*, i8** %2
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.1, i64 0, i64 0), i8* %4)
%6 = load i8*, i8** %2
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8* %6)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.11, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [102 x i8] c"\09%s [ -stq ] [ -i input_file ] [ -o output_file ] [ -b bitrate ] [ -e encoder_module ] [ -l length ]\0A\00"
@.str.2 = [12 x i8] c"\09%s [ -h ]\0A\00"
@str = [7 x i8] c"Usage:\00"
@str.13 = [31 x i8] c"\09-s\09 - Show summary statistics\00"
@str.14 = [73 x i8] c"\09-t\09 - Do not perform tag detection, and do not copy tags to output file\00"
@str.15 = [80 x i8] c"\09-q\09 - Do not check inputfile for validity, must be used when readin from pipes\00"
@str.16 = [35 x i8] c"\09-i\09 - Decode audio from this file\00"
@str.17 = [33 x i8] c"\09-o\09 - Encode audio to this file\00"
@str.18 = [30 x i8] c"\09-b\09 - Encode at this bitrate\00"
@str.19 = [35 x i8] c"\09-d\09 - DEcode input as this format\00"
@str.20 = [36 x i8] c"\09-e\09 - Encode output in this format\00"
@str.21 = [46 x i8] c"\09-l\09 - Reencode for at most this many seconds\00"
@str.22 = [37 x i8] c"\09-h\09 - Output this usage information\00"
define void @mog_showhelp(i8* %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([102 x i8], [102 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.18, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.19, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.20, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.21, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.22, i64 0, i64 0))
ret void
}