#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("Usage:\n");
  printf(" PESQ HELP               Displays this text\n");
  printf(" PESQ [options] ref deg\n");
  printf(" Run model on reference ref and degraded deg\n");
  printf("\n");
  printf("Options: +8000 +16000 +swap +wb\n");
  printf(" Sample rate - No default. Must select either +8000 or +16000.\n");
  printf(" Swap byte order - machine native format by default. Select +swap "
         "for byteswap.\n");
  printf(" Default mode of operation is P.862 (narrowband handset listening). "
         "Select +wb \n");
  printf(" to use P.862.2 wideband extension (headphone listening).\n");
  printf("\n");
  printf("File names may not begin with a + character.\n");
  printf("\n");
  printf("Files with names ending .wav or .WAV are assumed to have a 44-byte "
         "header, which");
  printf(" is automatically skipped.  All other file types are assumed to have "
         "no header.\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee1(%rip),%rdi
call   1030 <printf@plt>
lea    0xf02(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1032(%rip),%rdi
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6e(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb3(%rip),%rdi
call   1030 <printf@plt>
lea    0xff8(%rip),%rdi
call   1030 <printf@plt>
lea    0xfea(%rip),%rdi
call   1030 <printf@plt>
lea    0x101b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd2(%rip),%rdi
call   1030 <printf@plt>
lea    0x1031(%rip),%rdi
call   1030 <printf@plt>
lea    0x1076(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xf19(%rip),%rdi
call   1040 <puts@plt>
lea    0xf14(%rip),%rdi
call   1040 <puts@plt>
lea    0xf34(%rip),%rdi
call   1040 <puts@plt>
lea    0xf40(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf57(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9e(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1040 <puts@plt>
lea    0x1026(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x104a(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe32(%rip),%rdi
call   1050 <printf@plt>
lea    0x1055(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [45 x i8] c" PESQ HELP Displays this text\0A\00"
@.str.2 = [25 x i8] c" PESQ [options] ref deg\0A\00"
@.str.3 = [46 x i8] c" Run model on reference ref and degraded deg\0A\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [33 x i8] c"Options: +8000 +16000 +swap +wb\0A\00"
@.str.6 = [64 x i8] c" Sample rate - No default. Must select either +8000 or +16000.\0A\00"
@.str.7 = [81 x i8] c" Swap byte order - machine native format by default. Select +swap for byteswap.\0A\00"
@.str.8 = [81 x i8] c" Default mode of operation is P.862 (narrowband handset listening). Select +wb \0A\00"
@.str.9 = [59 x i8] c" to use P.862.2 wideband extension (headphone listening).\0A\00"
@.str.10 = [46 x i8] c"File names may not begin with a + character.\0A\00"
@.str.11 = [81 x i8] c"Files with names ending .wav or .WAV are assumed to have a 44-byte header, which\00"
@.str.12 = [81 x i8] c" is automatically skipped. All other file types are assumed to have no header.\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.11 = [81 x i8] c"Files with names ending .wav or .WAV are assumed to have a 44-byte header, which\00"
@str = [7 x i8] c"Usage:\00"
@str.13 = [44 x i8] c" PESQ HELP Displays this text\00"
@str.14 = [24 x i8] c" PESQ [options] ref deg\00"
@str.15 = [45 x i8] c" Run model on reference ref and degraded deg\00"
@str.16 = [32 x i8] c"Options: +8000 +16000 +swap +wb\00"
@str.17 = [63 x i8] c" Sample rate - No default. Must select either +8000 or +16000.\00"
@str.18 = [80 x i8] c" Swap byte order - machine native format by default. Select +swap for byteswap.\00"
@str.19 = [80 x i8] c" Default mode of operation is P.862 (narrowband handset listening). Select +wb \00"
@str.20 = [58 x i8] c" to use P.862.2 wideband extension (headphone listening).\00"
@str.21 = [45 x i8] c"File names may not begin with a + character.\00"
@str.22 = [80 x i8] c" is automatically skipped. All other file types are assumed to have no header.\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @putchar(i32 10)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.21, i64 0, i64 0))
%13 = tail call i32 @putchar(i32 10)
%14 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @.str.11, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.22, i64 0, i64 0))
ret void
}