#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*/ EXIT_FAILURE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int /*<<< orphan*/ stderr;
void usage(void) {
  fprintf(stderr, "%s",
          "   [-startwidth startwidth] [-endwidth endwidth] [-endfreq endfreq] "
          "[--] file\n");
  fprintf(stderr, "%s", "      Rednoise extraction routine.\n");
  fprintf(stderr, "%s", "    -startwidth: The initial windowing size.\n");
  fprintf(stderr, "%s", "                 1 int value between 2 and 50\n");
  fprintf(stderr, "%s", "                 default: `6'\n");
  fprintf(stderr, "%s", "      -endwidth: The final windowing size.\n");
  fprintf(stderr, "%s", "                 1 int value between 50 and 500\n");
  fprintf(stderr, "%s", "                 default: `100'\n");
  fprintf(stderr, "%s",
          "       -endfreq: The highest frequency where the windowing "
          "increases.\n");
  fprintf(stderr, "%s", "                 1 double value between 0.1 and 10\n");
  fprintf(stderr, "%s", "                 default: `6'\n");
  fprintf(stderr, "%s", "           file: Input '.fft' file.\n");
  fprintf(stderr, "%s", "                 1 value\n");
  fprintf(stderr, "%s", "  version: 12Mar10\n");
  fprintf(stderr, "%s", "  ");
  exit(EXIT_FAILURE);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
lea    0xec8(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e99(%rip),%rax
mov    (%rax),%edi
lea    0xeb0(%rip),%rsi
lea    0xefb(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e7d(%rip),%rax
mov    (%rax),%edi
lea    0xe94(%rip),%rsi
lea    0xf03(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e61(%rip),%rax
mov    (%rax),%edi
lea    0xe78(%rip),%rsi
lea    0xf15(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e45(%rip),%rax
mov    (%rax),%edi
lea    0xe5c(%rip),%rsi
lea    0xf28(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e29(%rip),%rax
mov    (%rax),%edi
lea    0xe40(%rip),%rsi
lea    0xf2b(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edi
lea    0xe24(%rip),%rsi
lea    0xf3b(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%edi
lea    0xe08(%rip),%rsi
lea    0xf50(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2dd5(%rip),%rax
mov    (%rax),%edi
lea    0xdec(%rip),%rsi
lea    0xf55(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2db9(%rip),%rax
mov    (%rax),%edi
lea    0xdd0(%rip),%rsi
lea    0xf80(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2d9d(%rip),%rax
mov    (%rax),%edi
lea    0xdb4(%rip),%rsi
lea    0xe80(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2d81(%rip),%rax
mov    (%rax),%edi
lea    0xd98(%rip),%rsi
lea    0xf7c(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2d65(%rip),%rax
mov    (%rax),%edi
lea    0xd7c(%rip),%rsi
lea    0xf85(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2d49(%rip),%rax
mov    (%rax),%edi
lea    0xd60(%rip),%rsi
lea    0xf83(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2d2d(%rip),%rax
mov    (%rax),%edi
lea    0xd44(%rip),%rsi
lea    0xf7b(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2d09(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %r15
push   %r14
push   %rbx
mov    0x2eb4(%rip),%r15
mov    (%r15),%edi
lea    0xeca(%rip),%rbx
lea    0xec6(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xf03(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xf15(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xf31(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xf4e(%rip),%r14
mov    %rbx,%rsi
mov    %r14,%rdx
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xf58(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xf72(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xf91(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xfa0(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xfd5(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xfe9(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0xffc(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0x1004(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    (%r15),%edi
lea    0x1006(%rip),%rdx
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    0x2d91(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [3 x i8] c"%s\00"
@.str.1 = [79 x i8] c" [-startwidth startwidth] [-endwidth endwidth] [-endfreq endfreq] [--] file\0A\00"
@.str.2 = [36 x i8] c" Rednoise extraction routine.\0A\00"
@.str.3 = [46 x i8] c" -startwidth: The initial windowing size.\0A\00"
@.str.4 = [47 x i8] c" 1 int value between 2 and 50\0A\00"
@.str.5 = [31 x i8] c" default: `6'\0A\00"
@.str.6 = [44 x i8] c" -endwidth: The final windowing size.\0A\00"
@.str.7 = [49 x i8] c" 1 int value between 50 and 500\0A\00"
@.str.8 = [33 x i8] c" default: `100'\0A\00"
@.str.9 = [71 x i8] c" -endfreq: The highest frequency where the windowing increases.\0A\00"
@.str.10 = [52 x i8] c" 1 double value between 0.1 and 10\0A\00"
@.str.11 = [37 x i8] c" file: Input '.fft' file.\0A\00"
@.str.12 = [26 x i8] c" 1 value\0A\00"
@.str.13 = [20 x i8] c" version: 12Mar10\0A\00"
@.str.14 = [3 x i8] c" \00"
@EXIT_FAILURE = global i32 0
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.1, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.9, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.10, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @EXIT_FAILURE
%32 = call i32 @exit(i32 %31)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [3 x i8] c"%s\00"
@.str.1 = [79 x i8] c" [-startwidth startwidth] [-endwidth endwidth] [-endfreq endfreq] [--] file\0A\00"
@.str.2 = [36 x i8] c" Rednoise extraction routine.\0A\00"
@.str.3 = [46 x i8] c" -startwidth: The initial windowing size.\0A\00"
@.str.4 = [47 x i8] c" 1 int value between 2 and 50\0A\00"
@.str.5 = [31 x i8] c" default: `6'\0A\00"
@.str.6 = [44 x i8] c" -endwidth: The final windowing size.\0A\00"
@.str.7 = [49 x i8] c" 1 int value between 50 and 500\0A\00"
@.str.8 = [33 x i8] c" default: `100'\0A\00"
@.str.9 = [71 x i8] c" -endfreq: The highest frequency where the windowing increases.\0A\00"
@.str.10 = [52 x i8] c" 1 double value between 0.1 and 10\0A\00"
@.str.11 = [37 x i8] c" file: Input '.fft' file.\0A\00"
@.str.12 = [26 x i8] c" 1 value\0A\00"
@.str.13 = [20 x i8] c" version: 12Mar10\0A\00"
@.str.14 = [3 x i8] c" \00"
@EXIT_FAILURE = global i32 0
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.1, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = tail call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.9, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = tail call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.10, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = tail call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = tail call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = tail call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = tail call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @EXIT_FAILURE
%32 = tail call i32 @exit(i32 %31)
unreachable
}