#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(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage() {
  fprintf(stderr, "Usage: anandan input-path output-path seq-name. -N n1 n2 "
                  "[-W n] [-L n] [-I n] [-NR] [-P] [-F n.n] [-B cols rows] [-C "
                  "corr-vel-file nbins increment]\n");
  fprintf(stderr, "-N n1 n2 : frame numbers n1 and n2\n");
  fprintf(stderr, "[-W n]   : correlation window size (3, 5 or 7)\n");
  fprintf(stderr, "           default value is 3\n");
  fprintf(stderr, "[-L n]   : number of hierarchical levels\n");
  fprintf(stderr, "           default value is 1\n");
  fprintf(stderr, "[-I n]   : number of relaxation iterations\n");
  fprintf(stderr, "           default value is 10\n");
  fprintf(stderr, "[-NR]    : no regularization\n");
  fprintf(stderr, "         : default is regulariztion\n");
  fprintf(stderr, "[-P]     : pixel accuracy only\n");
  fprintf(stderr, "         : default is sub-pixel accuracy\n");
  fprintf(stderr, "[-F n.n] : filters out unreliable estimates\n");
  fprintf(stderr, "           using confidence measure Cmin\n");
  fprintf(stderr, "[-B cols rows]\n");
  fprintf(stderr, "         : for binary input files without header\n");
  fprintf(stderr, "[-C corr-vel-file nbins increment]\n");
  fprintf(stderr, "         : error histogram\n");
  fprintf(stderr, "           corr-vel-file : file of correct velocities\n");
  fprintf(stderr, "           nbins : number of bins for histogram\n");
  fprintf(stderr, "           increment : value of gap between bins\n");
  exit(-1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ea0(%rip),%rax
mov    (%rax),%edi
lea    0xf4c(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%edi
lea    0xf5b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e76(%rip),%rax
mov    (%rax),%edi
lea    0xf76(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e61(%rip),%rax
mov    (%rax),%edi
lea    0xf80(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e4c(%rip),%rax
mov    (%rax),%edi
lea    0xf95(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e37(%rip),%rax
mov    (%rax),%edi
lea    0xf9f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e22(%rip),%rax
mov    (%rax),%edi
lea    0xfb6(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edi
lea    0xfc1(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2df8(%rip),%rax
mov    (%rax),%edi
lea    0xfca(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2de3(%rip),%rax
mov    (%rax),%edi
lea    0xfda(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%edi
lea    0xfe5(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2db9(%rip),%rax
mov    (%rax),%edi
lea    0xffa(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2da4(%rip),%rax
mov    (%rax),%edi
lea    0x1012(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d8f(%rip),%rax
mov    (%rax),%edi
lea    0x1027(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d7a(%rip),%rax
mov    (%rax),%edi
lea    0x1022(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d65(%rip),%rax
mov    (%rax),%edi
lea    0xded(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d50(%rip),%rax
mov    (%rax),%edi
lea    0x102a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d3b(%rip),%rax
mov    (%rax),%edi
lea    0x1031(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d26(%rip),%rax
mov    (%rax),%edi
lea    0x1053(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
lea    0x106f(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    0x2eb8(%rip),%rbx
mov    (%rbx),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf56(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf6c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf8e(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf9f(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfbb(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfcc(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfea(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xffc(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x100c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1023(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1035(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1051(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1070(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x108c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x108e(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xe60(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10a4(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10b2(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10db(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10fe(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [149 x i8] c"Usage: anandan input-path output-path seq-name. -N n1 n2 [-W n] [-L n] [-I n] [-NR] [-P] [-F n.n] [-B cols rows] [-C corr-vel-file nbins increment]\0A\00"
@.str.1 = [36 x i8] c"-N n1 n2 : frame numbers n1 and n2\0A\00"
@.str.2 = [48 x i8] c"[-W n] : correlation window size (3, 5 or 7)\0A\00"
@.str.3 = [31 x i8] c" default value is 3\0A\00"
@.str.4 = [42 x i8] c"[-L n] : number of hierarchical levels\0A\00"
@.str.5 = [31 x i8] c" default value is 1\0A\00"
@.str.6 = [44 x i8] c"[-I n] : number of relaxation iterations\0A\00"
@.str.7 = [32 x i8] c" default value is 10\0A\00"
@.str.8 = [30 x i8] c"[-NR] : no regularization\0A\00"
@.str.9 = [37 x i8] c" : default is regulariztion\0A\00"
@.str.10 = [32 x i8] c"[-P] : pixel accuracy only\0A\00"
@.str.11 = [42 x i8] c" : default is sub-pixel accuracy\0A\00"
@.str.12 = [45 x i8] c"[-F n.n] : filters out unreliable estimates\0A\00"
@.str.13 = [42 x i8] c" using confidence measure Cmin\0A\00"
@.str.14 = [16 x i8] c"[-B cols rows]\0A\00"
@.str.15 = [50 x i8] c" : for binary input files without header\0A\00"
@.str.16 = [36 x i8] c"[-C corr-vel-file nbins increment]\0A\00"
@.str.17 = [28 x i8] c" : error histogram\0A\00"
@.str.18 = [55 x i8] c" corr-vel-file : file of correct velocities\0A\00"
@.str.19 = [49 x i8] c" nbins : number of bins for histogram\0A\00"
@.str.20 = [50 x i8] c" increment : value of gap between bins\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.16, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.17, i64 0, i64 0))
%37 = load i32, i32* @stderr
%38 = call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.18, i64 0, i64 0))
%39 = load i32, i32* @stderr
%40 = call i32 @fprintf(i32 %39, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.19, i64 0, i64 0))
%41 = load i32, i32* @stderr
%42 = call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.20, i64 0, i64 0))
%43 = call i32 @exit(i32 -1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [149 x i8] c"Usage: anandan input-path output-path seq-name. -N n1 n2 [-W n] [-L n] [-I n] [-NR] [-P] [-F n.n] [-B cols rows] [-C corr-vel-file nbins increment]\0A\00"
@.str.1 = [36 x i8] c"-N n1 n2 : frame numbers n1 and n2\0A\00"
@.str.2 = [48 x i8] c"[-W n] : correlation window size (3, 5 or 7)\0A\00"
@.str.3 = [31 x i8] c" default value is 3\0A\00"
@.str.4 = [42 x i8] c"[-L n] : number of hierarchical levels\0A\00"
@.str.5 = [31 x i8] c" default value is 1\0A\00"
@.str.6 = [44 x i8] c"[-I n] : number of relaxation iterations\0A\00"
@.str.7 = [32 x i8] c" default value is 10\0A\00"
@.str.8 = [30 x i8] c"[-NR] : no regularization\0A\00"
@.str.9 = [37 x i8] c" : default is regulariztion\0A\00"
@.str.10 = [32 x i8] c"[-P] : pixel accuracy only\0A\00"
@.str.11 = [42 x i8] c" : default is sub-pixel accuracy\0A\00"
@.str.12 = [45 x i8] c"[-F n.n] : filters out unreliable estimates\0A\00"
@.str.13 = [42 x i8] c" using confidence measure Cmin\0A\00"
@.str.14 = [16 x i8] c"[-B cols rows]\0A\00"
@.str.15 = [50 x i8] c" : for binary input files without header\0A\00"
@.str.16 = [36 x i8] c"[-C corr-vel-file nbins increment]\0A\00"
@.str.17 = [28 x i8] c" : error histogram\0A\00"
@.str.18 = [55 x i8] c" corr-vel-file : file of correct velocities\0A\00"
@.str.19 = [49 x i8] c" nbins : number of bins for histogram\0A\00"
@.str.20 = [50 x i8] c" increment : value of gap between bins\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = tail call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = tail call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = tail call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = tail call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = tail call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = tail call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = tail call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.16, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = tail call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.17, i64 0, i64 0))
%37 = load i32, i32* @stderr
%38 = tail call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.18, i64 0, i64 0))
%39 = load i32, i32* @stderr
%40 = tail call i32 @fprintf(i32 %39, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.19, i64 0, i64 0))
%41 = load i32, i32* @stderr
%42 = tail call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.20, i64 0, i64 0))
%43 = tail call i32 @exit(i32 -1)
unreachable
}