#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage() {
  fprintf(stderr, "CDP Release 5 2005\n");
  fprintf(
      stderr,
      "USAGE:\tdshift [-dN] infile outfile [distance between speakers]\n\n");
  fprintf(stderr,
          "Calculates Doppler shift for a source moving between two speakers\n"
          "that are 10m apart and a listener that is at rest,\n"
          "5m from the line between them.\n");
  fprintf(stderr, "infile is the pan breakpoint file, as used with modify:pan\n"
                  "outfile is breakpoint file of semitone shifts\n"
                  "to give to modify:speed, Mode 2(semitones).\n");
  fprintf(stderr, "(NB: modify:pan range: -1 = full left, 1 = full right)\n");
  fprintf(
      stderr,
      "-d is a flag setting the time it takes a sound to change direction.\n");
  fprintf(stderr, "N is the time in milliseconds. Default: 10ms\n");
  fprintf(stderr, "This is useful in order to avoid clicks.\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%edi
lea    0xedb(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%edi
lea    0xf07(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e86(%rip),%rax
mov    (%rax),%edi
lea    0xf87(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e71(%rip),%rax
mov    (%rax),%edi
lea    0x1008(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%edi
lea    0x102b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e47(%rip),%rax
mov    (%rax),%edi
lea    0x105b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%edi
lea    0x1074(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf18(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf9f(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1027(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1051(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1088(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10a8(%rip),%rsi
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [20 x i8] c"CDP Release 5 2005\0A\00"
@.str.1 = [65 x i8] c"USAGE:\09dshift [-dN] infile outfile [distance between speakers]\0A\0A\00"
@.str.2 = [149 x i8] c"Calculates Doppler shift for a source moving between two speakers\0Athat are 10m apart and a listener that is at rest,\0A5m from the line between them.\0A\00"
@.str.3 = [150 x i8] c"infile is the pan breakpoint file, as used with modify:pan\0Aoutfile is breakpoint file of semitone shifts\0Ato give to modify:speed, Mode 2(semitones).\0A\00"
@.str.4 = [56 x i8] c"(NB: modify:pan range: -1 = full left, 1 = full right)\0A\00"
@.str.5 = [69 x i8] c"-d is a flag setting the time it takes a sound to change direction.\0A\00"
@.str.6 = [46 x i8] c"N is the time in milliseconds. Default: 10ms\0A\00"
@.str.7 = [42 x i8] c"This is useful in order to avoid clicks.\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [20 x i8] c"CDP Release 5 2005\0A\00"
@.str.1 = [65 x i8] c"USAGE:\09dshift [-dN] infile outfile [distance between speakers]\0A\0A\00"
@.str.2 = [149 x i8] c"Calculates Doppler shift for a source moving between two speakers\0Athat are 10m apart and a listener that is at rest,\0A5m from the line between them.\0A\00"
@.str.3 = [150 x i8] c"infile is the pan breakpoint file, as used with modify:pan\0Aoutfile is breakpoint file of semitone shifts\0Ato give to modify:speed, Mode 2(semitones).\0A\00"
@.str.4 = [56 x i8] c"(NB: modify:pan range: -1 = full left, 1 = full right)\0A\00"
@.str.5 = [69 x i8] c"-d is a flag setting the time it takes a sound to change direction.\0A\00"
@.str.6 = [46 x i8] c"N is the time in milliseconds. Default: 10ms\0A\00"
@.str.7 = [42 x i8] c"This is useful in order to avoid clicks.\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0))
ret void
}