#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() {
  printf("\n");
  printf("Usage: removerf [-b bgBin1,bgBin2] [-o output-file] [-f frequency] "
         "file-name-or-number\n");
  printf("The cyclotron's RF frequency will be flattened.\n");
  printf("Available options are:\n");
  printf(" -b  num,num   the flat background bin range (all hists); else use "
         "the run header\n");
  printf(" -o  filename  output file name; else use the input file name in "
         "current directory\n");
  printf(" -f  num       specify cyclotron frequency, in MHz; else use %f\n",
         23.06);
  printf("\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xf74(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe1(%rip),%rdi
movsd  0xe89(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf07(%rip),%rdi
call   1040 <puts@plt>
lea    0xf52(%rip),%rdi
call   1040 <puts@plt>
lea    0xf76(%rip),%rdi
call   1040 <puts@plt>
lea    0xf81(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc7(%rip),%rdi
call   1040 <puts@plt>
lea    0xe8a(%rip),%rdi
movsd  0xe7a(%rip),%xmm0
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [88 x i8] c"Usage: removerf [-b bgBin1,bgBin2] [-o output-file] [-f frequency] file-name-or-number\0A\00"
@.str.2 = [49 x i8] c"The cyclotron's RF frequency will be flattened.\0A\00"
@.str.3 = [24 x i8] c"Available options are:\0A\00"
@.str.4 = [83 x i8] c" -b num,num the flat background bin range (all hists); else use the run header\0A\00"
@.str.5 = [84 x i8] c" -o filename output file name; else use the input file name in current directory\0A\00"
@.str.6 = [65 x i8] c" -f num specify cyclotron frequency, in MHz; else use %f\0A\00"
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.6, i64 0, i64 0), double 2.306000e+01)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.6 = [65 x i8] c" -f num specify cyclotron frequency, in MHz; else use %f\0A\00"
@str = [87 x i8] c"Usage: removerf [-b bgBin1,bgBin2] [-o output-file] [-f frequency] file-name-or-number\00"
@str.7 = [48 x i8] c"The cyclotron's RF frequency will be flattened.\00"
@str.8 = [23 x i8] c"Available options are:\00"
@str.9 = [82 x i8] c" -b num,num the flat background bin range (all hists); else use the run header\00"
@str.10 = [83 x i8] c" -o filename output file name; else use the input file name in current directory\00"
define void @usage() {
%1 = tail call i32 @putchar(i32 10)
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([87 x i8], [87 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.7, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.8, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.9, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.10, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @.str.6, i64 0, i64 0), double 2.306000e+01)
%8 = tail call i32 @putchar(i32 10)
ret void
}