#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 usage(void) {
  printf("http://shibatch.sourceforge.net/\n\n");
  printf("usage: ssrc [<options>] <source wav file> <destination wav file>\n");
  printf("options : --rate <sampling rate>     output sample rate\n");
  printf("          --att <attenuation(dB)>    attenuate signal\n");
  printf(
      "          --bits <number of bits>    output quantization bit length\n");
  printf("          --tmpfile <file name>      specify temporal file\n");
  printf("          --twopass                  two pass processing to avoid "
         "clipping\n");
  printf("          --normalize                normalize the wave file\n");
  printf(
      "          --quiet                    nothing displayed except error\n");
  printf("          --dither [<type>]          dither options\n");
  printf("                                       0    : ATH-based noise "
         "shaping, low intensity\n");
  printf("                                       2    : ATH-based noise "
         "shaping, mid intensity\n");
  printf("                                       6    : ATH-based noise "
         "shaping, high intensity\n");
  printf("                                       99   : No noise shaping\n");
  printf("                                       help : Show all available "
         "noise shapers\n");
  printf("          --pdf <type> [<amp>]       select p.d.f. of noise\n");
  printf("                                       0 : Rectangular\n");
  printf("                                       1 : Triangular\n");
  printf(
      "                                       3 : Two-level (experimental)\n");
  printf("          --profile <type>           specify profile\n");
  printf("                                       short  : shorter filter "
         "length\n");
  printf(
      "                                       normal : the default quality\n");
  printf(
      "                                       long   : longer filter length\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xefc(%rip),%rdi
call   1030 <printf@plt>
lea    0xf32(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc3(%rip),%rdi
call   1030 <printf@plt>
lea    0xff3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1033(%rip),%rdi
call   1030 <printf@plt>
lea    0x1065(%rip),%rdi
call   1030 <printf@plt>
lea    0x109e(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1111(%rip),%rdi
call   1030 <printf@plt>
lea    0x115b(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a6(%rip),%rdi
call   1030 <printf@plt>
lea    0x11da(%rip),%rdi
call   1030 <printf@plt>
lea    0x121e(%rip),%rdi
call   1030 <printf@plt>
lea    0x124f(%rip),%rdi
call   1030 <printf@plt>
lea    0x127b(%rip),%rdi
call   1030 <printf@plt>
lea    0x12a6(%rip),%rdi
call   1030 <printf@plt>
lea    0x12df(%rip),%rdi
call   1030 <printf@plt>
lea    0x1309(%rip),%rdi
call   1030 <printf@plt>
lea    0x1344(%rip),%rdi
call   1030 <printf@plt>
lea    0x137d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefe(%rip),%rdi
call   1030 <puts@plt>
lea    0xf33(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf89(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc1(%rip),%rdi
call   1030 <puts@plt>
lea    0xff0(%rip),%rdi
call   1030 <puts@plt>
lea    0x102f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1060(%rip),%rdi
call   1030 <puts@plt>
lea    0x1098(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c0(%rip),%rdi
call   1030 <puts@plt>
lea    0x1109(%rip),%rdi
call   1030 <puts@plt>
lea    0x1152(%rip),%rdi
call   1030 <puts@plt>
lea    0x119c(%rip),%rdi
call   1030 <puts@plt>
lea    0x11cf(%rip),%rdi
call   1030 <puts@plt>
lea    0x1212(%rip),%rdi
call   1030 <puts@plt>
lea    0x1242(%rip),%rdi
call   1030 <puts@plt>
lea    0x126d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1297(%rip),%rdi
call   1030 <puts@plt>
lea    0x12cf(%rip),%rdi
call   1030 <puts@plt>
lea    0x12f8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1332(%rip),%rdi
call   1030 <puts@plt>
lea    0x136a(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [35 x i8] c"http://shibatch.sourceforge.net/\0A\0A\00"
@.str.1 = [66 x i8] c"usage: ssrc [<options>] <source wav file> <destination wav file>\0A\00"
@.str.2 = [57 x i8] c"options : --rate <sampling rate> output sample rate\0A\00"
@.str.3 = [55 x i8] c" --att <attenuation(dB)> attenuate signal\0A\00"
@.str.4 = [69 x i8] c" --bits <number of bits> output quantization bit length\0A\00"
@.str.5 = [60 x i8] c" --tmpfile <file name> specify temporal file\0A\00"
@.str.6 = [76 x i8] c" --twopass two pass processing to avoid clipping\0A\00"
@.str.7 = [62 x i8] c" --normalize normalize the wave file\0A\00"
@.str.8 = [69 x i8] c" --quiet nothing displayed except error\0A\00"
@.str.9 = [53 x i8] c" --dither [<type>] dither options\0A\00"
@.str.10 = [86 x i8] c" 0 : ATH-based noise shaping, low intensity\0A\00"
@.str.11 = [86 x i8] c" 2 : ATH-based noise shaping, mid intensity\0A\00"
@.str.12 = [87 x i8] c" 6 : ATH-based noise shaping, high intensity\0A\00"
@.str.13 = [64 x i8] c" 99 : No noise shaping\0A\00"
@.str.14 = [80 x i8] c" help : Show all available noise shapers\0A\00"
@.str.15 = [61 x i8] c" --pdf <type> [<amp>] select p.d.f. of noise\0A\00"
@.str.16 = [56 x i8] c" 0 : Rectangular\0A\00"
@.str.17 = [55 x i8] c" 1 : Triangular\0A\00"
@.str.18 = [69 x i8] c" 3 : Two-level (experimental)\0A\00"
@.str.19 = [54 x i8] c" --profile <type> specify profile\0A\00"
@.str.20 = [71 x i8] c" short : shorter filter length\0A\00"
@.str.21 = [69 x i8] c" normal : the default quality\0A\00"
@.str.22 = [70 x i8] c" long : longer filter length\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.22, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [34 x i8] c"http://shibatch.sourceforge.net/\0A\00"
@str.23 = [65 x i8] c"usage: ssrc [<options>] <source wav file> <destination wav file>\00"
@str.24 = [56 x i8] c"options : --rate <sampling rate> output sample rate\00"
@str.25 = [54 x i8] c" --att <attenuation(dB)> attenuate signal\00"
@str.26 = [68 x i8] c" --bits <number of bits> output quantization bit length\00"
@str.27 = [59 x i8] c" --tmpfile <file name> specify temporal file\00"
@str.28 = [75 x i8] c" --twopass two pass processing to avoid clipping\00"
@str.29 = [61 x i8] c" --normalize normalize the wave file\00"
@str.30 = [68 x i8] c" --quiet nothing displayed except error\00"
@str.31 = [52 x i8] c" --dither [<type>] dither options\00"
@str.32 = [85 x i8] c" 0 : ATH-based noise shaping, low intensity\00"
@str.33 = [85 x i8] c" 2 : ATH-based noise shaping, mid intensity\00"
@str.34 = [86 x i8] c" 6 : ATH-based noise shaping, high intensity\00"
@str.35 = [63 x i8] c" 99 : No noise shaping\00"
@str.36 = [79 x i8] c" help : Show all available noise shapers\00"
@str.37 = [60 x i8] c" --pdf <type> [<amp>] select p.d.f. of noise\00"
@str.38 = [55 x i8] c" 0 : Rectangular\00"
@str.39 = [54 x i8] c" 1 : Triangular\00"
@str.40 = [68 x i8] c" 3 : Two-level (experimental)\00"
@str.41 = [53 x i8] c" --profile <type> specify profile\00"
@str.42 = [70 x i8] c" short : shorter filter length\00"
@str.43 = [68 x i8] c" normal : the default quality\00"
@str.44 = [69 x i8] c" long : longer filter length\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.23, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.24, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.25, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.26, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.27, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.28, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.29, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.30, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.31, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.32, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.33, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.34, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.35, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.36, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.37, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.38, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.39, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.40, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.41, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.42, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.43, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.44, i64 0, i64 0))
ret void
}