#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 print_usage(void) {
  printf("%s %s - checks a MP3 file for errors\n\n", "mpck", "0.21");
  printf("Usage: %s [OPTION]... [FILE]...\n\n", "mpck");
  printf("Verbosity:\n");
  printf("   -v, --verbose        print some extra info\n");
  printf("   -q, --quiet          print only %s or %s per file\n", "Ok", "Bad");
  printf("   -B, --badonly        only report bad files\n");
  printf("Other options:\n");
  printf("   -R, --recursive      check directories recursively\n");
  printf("   -e, --extention=EXT  only check files ending on .EXT\n");
  printf("   -r                   short for -R -e mp3\n");
  printf("   -m, --maxname=NUM    report bad for filenames which exceed NUM "
         "characters\n");
  printf(
      "   -n, --namecheck      check for strange characters in the filename\n");
  printf("   -x, --xmloutput      output results in XML\n");
  printf("   -h, --help           print this help, then exit\n");
  printf("   -V, --version        print version information\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xf05(%rip),%rsi
lea    0xf03(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xefa(%rip),%rdi
lea    0xee9(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
lea    0xf55(%rip),%rsi
lea    0xf51(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfdd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x101d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1055(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1076(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x109c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rbx
lea    0xed8(%rip),%rdi
lea    0xef8(%rip),%rbx
lea    0xef6(%rip),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeea(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf38(%rip),%rdi
call   1030 <puts@plt>
lea    0xf37(%rip),%rdi
call   1030 <puts@plt>
lea    0xee3(%rip),%rdi
lea    0xf12(%rip),%rsi
lea    0xf0e(%rip),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf62(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1019(%rip),%rdi
call   1030 <puts@plt>
lea    0x1052(%rip),%rdi
call   1030 <puts@plt>
lea    0x1074(%rip),%rdi
call   1030 <puts@plt>
lea    0x109b(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [39 x i8] c"%s %s - checks a MP3 file for errors\0A\0A\00"
@.str.1 = [5 x i8] c"mpck\00"
@.str.2 = [5 x i8] c"0.21\00"
@.str.3 = [34 x i8] c"Usage: %s [OPTION]... [FILE]...\0A\0A\00"
@.str.4 = [12 x i8] c"Verbosity:\0A\00"
@.str.5 = [47 x i8] c" -v, --verbose print some extra info\0A\00"
@.str.6 = [54 x i8] c" -q, --quiet print only %s or %s per file\0A\00"
@.str.7 = [3 x i8] c"Ok\00"
@.str.8 = [4 x i8] c"Bad\00"
@.str.9 = [47 x i8] c" -B, --badonly only report bad files\0A\00"
@.str.10 = [16 x i8] c"Other options:\0A\00"
@.str.11 = [55 x i8] c" -R, --recursive check directories recursively\0A\00"
@.str.12 = [57 x i8] c" -e, --extention=EXT only check files ending on .EXT\0A\00"
@.str.13 = [45 x i8] c" -r short for -R -e mp3\0A\00"
@.str.14 = [78 x i8] c" -m, --maxname=NUM report bad for filenames which exceed NUM characters\0A\00"
@.str.15 = [70 x i8] c" -n, --namecheck check for strange characters in the filename\0A\00"
@.str.16 = [47 x i8] c" -x, --xmloutput output results in XML\0A\00"
@.str.17 = [52 x i8] c" -h, --help print this help, then exit\0A\00"
@.str.18 = [51 x i8] c" -V, --version print version information\0A\00"
define void @print_usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.9, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.12, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.14, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.15, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.16, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.17, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.18, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [39 x i8] c"%s %s - checks a MP3 file for errors\0A\0A\00"
@.str.1 = [5 x i8] c"mpck\00"
@.str.2 = [5 x i8] c"0.21\00"
@.str.3 = [34 x i8] c"Usage: %s [OPTION]... [FILE]...\0A\0A\00"
@.str.6 = [54 x i8] c" -q, --quiet print only %s or %s per file\0A\00"
@.str.7 = [3 x i8] c"Ok\00"
@.str.8 = [4 x i8] c"Bad\00"
@str = [11 x i8] c"Verbosity:\00"
@str.19 = [46 x i8] c" -v, --verbose print some extra info\00"
@str.20 = [46 x i8] c" -B, --badonly only report bad files\00"
@str.21 = [15 x i8] c"Other options:\00"
@str.22 = [54 x i8] c" -R, --recursive check directories recursively\00"
@str.23 = [56 x i8] c" -e, --extention=EXT only check files ending on .EXT\00"
@str.24 = [44 x i8] c" -r short for -R -e mp3\00"
@str.25 = [77 x i8] c" -m, --maxname=NUM report bad for filenames which exceed NUM characters\00"
@str.26 = [69 x i8] c" -n, --namecheck check for strange characters in the filename\00"
@str.27 = [46 x i8] c" -x, --xmloutput output results in XML\00"
@str.28 = [51 x i8] c" -h, --help print this help, then exit\00"
@str.29 = [50 x i8] c" -V, --version print version information\00"
define void @print_usage() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.19, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.21, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.22, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.23, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.24, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.25, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.26, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.28, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.29, i64 0, i64 0))
ret void
}