#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 /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ what_i_do(char *, char *);
void show_options(char *progname) {
  what_i_do(
      progname,
      "Estimates the maximal Lyapunov exponent using the Kantz\n\talgorithm");
  fprintf(stderr, " Usage: %s [options]\n", progname);
  fprintf(stderr, " Options:\n");
  fprintf(stderr, "Everything not being a valid option will be "
                  "interpreted as a possible datafile.\nIf no datafile "
                  "is given stdin is read. Just - also means stdin\n");
  fprintf(stderr, "\t-l # of data [default: whole file]\n");
  fprintf(stderr, "\t-x # of lines to be ignored [default: 0]\n");
  fprintf(stderr, "\t-c column to read [default: 1]\n");
  fprintf(stderr, "\t-M maxdim [default: 2]\n");
  fprintf(stderr, "\t-m mindim [default: 2]\n");
  fprintf(stderr, "\t-d delay [default: 1]\n");
  fprintf(stderr, "\t-r mineps [default: (data interval)/1000]\n");
  fprintf(stderr, "\t-R maxeps [default: (data interval)/100]\n");
  fprintf(stderr, "\t-# # of eps [default: 5]\n");
  fprintf(stderr, "\t-n # of reference points [default: # of data]\n");
  fprintf(stderr, "\t-s # of iterations [default: 50]\n");
  fprintf(stderr, "\t-t time window [default: 0]\n");
  fprintf(stderr, "\t-o outfile [default: 'datafile'.lyap]\n");
  fprintf(stderr, "\t-V verbosity level [default: 3]\n\t\t"
                  "0='only panic messages'\n\t\t"
                  "1='+ input/output messages'\n\t\t"
                  "2='+ plus statistics'\n");
  fprintf(stderr, "\t-h show these options\n");
  exit(0);
}


x86 assembly (clang, -O0):
<show_options>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xeb9(%rip),%rsi
call   1040 <what_i_do@plt>
mov    0x2e8d(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xee3(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e72(%rip),%rax
mov    (%rax),%edi
lea    0xee2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e5b(%rip),%rax
mov    (%rax),%edi
lea    0xed6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e44(%rip),%rax
mov    (%rax),%edi
lea    0xf4f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e2d(%rip),%rax
mov    (%rax),%edi
lea    0xf5d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e16(%rip),%rax
mov    (%rax),%edi
lea    0xf71(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dff(%rip),%rax
mov    (%rax),%edi
lea    0xf7b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2de8(%rip),%rax
mov    (%rax),%edi
lea    0xf7d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dd1(%rip),%rax
mov    (%rax),%edi
lea    0xf7f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dba(%rip),%rax
mov    (%rax),%edi
lea    0xf80(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2da3(%rip),%rax
mov    (%rax),%edi
lea    0xf95(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d8c(%rip),%rax
mov    (%rax),%edi
lea    0xfa9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d75(%rip),%rax
mov    (%rax),%edi
lea    0xfad(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d5e(%rip),%rax
mov    (%rax),%edi
lea    0xfc6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d47(%rip),%rax
mov    (%rax),%edi
lea    0xfd2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d30(%rip),%rax
mov    (%rax),%edi
lea    0xfd9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d19(%rip),%rax
mov    (%rax),%edi
lea    0xfea(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d02(%rip),%rax
mov    (%rax),%edi
lea    0x1045(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<show_options>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xec2(%rip),%rsi
call   1040 <what_i_do@plt>
mov    0x2e96(%rip),%r14
mov    (%r14),%edi
lea    0xeef(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xef1(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xeeb(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xf6a(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xf7e(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xf98(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xfa8(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xfb0(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xfb8(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xfbf(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xfda(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xff4(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xffe(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0x101d(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0x102f(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0x103c(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0x1053(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0x10b4(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [67 x i8] c"Estimates the maximal Lyapunov exponent using the Kantz\0A\09algorithm\00"
@stderr = global i32 0
@.str.1 = [22 x i8] c" Usage: %s [options]\0A\00"
@.str.2 = [11 x i8] c" Options:\0A\00"
@.str.3 = [144 x i8] c"Everything not being a valid option will be interpreted as a possible datafile.\0AIf no datafile is given stdin is read. Just - also means stdin\0A\00"
@.str.4 = [37 x i8] c"\09-l # of data [default: whole file]\0A\00"
@.str.5 = [43 x i8] c"\09-x # of lines to be ignored [default: 0]\0A\00"
@.str.6 = [33 x i8] c"\09-c column to read [default: 1]\0A\00"
@.str.7 = [25 x i8] c"\09-M maxdim [default: 2]\0A\00"
@.str.8 = [25 x i8] c"\09-m mindim [default: 2]\0A\00"
@.str.9 = [24 x i8] c"\09-d delay [default: 1]\0A\00"
@.str.10 = [44 x i8] c"\09-r mineps [default: (data interval)/1000]\0A\00"
@.str.11 = [43 x i8] c"\09-R maxeps [default: (data interval)/100]\0A\00"
@.str.12 = [27 x i8] c"\09-# # of eps [default: 5]\0A\00"
@.str.13 = [48 x i8] c"\09-n # of reference points [default: # of data]\0A\00"
@.str.14 = [35 x i8] c"\09-s # of iterations [default: 50]\0A\00"
@.str.15 = [30 x i8] c"\09-t time window [default: 0]\0A\00"
@.str.16 = [40 x i8] c"\09-o outfile [default: 'datafile'.lyap]\0A\00"
@.str.17 = [114 x i8] c"\09-V verbosity level [default: 3]\0A\09\090='only panic messages'\0A\09\091='+ input/output messages'\0A\09\092='+ plus statistics'\0A\00"
@.str.18 = [24 x i8] c"\09-h show these options\0A\00"
define void @show_options(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @what_i_do(i8* %3, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = load i8*, i8** %2
%7 = call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %6)
%8 = load i32, i32* @stderr
%9 = call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.3, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.11, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.13, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0))
%34 = load i32, i32* @stderr
%35 = call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0))
%36 = load i32, i32* @stderr
%37 = call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.16, i64 0, i64 0))
%38 = load i32, i32* @stderr
%39 = call i32 (i32, i8*, ...) @fprintf(i32 %38, i8* getelementptr inbounds ([114 x i8], [114 x i8]* @.str.17, i64 0, i64 0))
%40 = load i32, i32* @stderr
%41 = call i32 (i32, i8*, ...) @fprintf(i32 %40, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.18, i64 0, i64 0))
%42 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [67 x i8] c"Estimates the maximal Lyapunov exponent using the Kantz\0A\09algorithm\00"
@stderr = global i32 0
@.str.1 = [22 x i8] c" Usage: %s [options]\0A\00"
@.str.2 = [11 x i8] c" Options:\0A\00"
@.str.3 = [144 x i8] c"Everything not being a valid option will be interpreted as a possible datafile.\0AIf no datafile is given stdin is read. Just - also means stdin\0A\00"
@.str.4 = [37 x i8] c"\09-l # of data [default: whole file]\0A\00"
@.str.5 = [43 x i8] c"\09-x # of lines to be ignored [default: 0]\0A\00"
@.str.6 = [33 x i8] c"\09-c column to read [default: 1]\0A\00"
@.str.7 = [25 x i8] c"\09-M maxdim [default: 2]\0A\00"
@.str.8 = [25 x i8] c"\09-m mindim [default: 2]\0A\00"
@.str.9 = [24 x i8] c"\09-d delay [default: 1]\0A\00"
@.str.10 = [44 x i8] c"\09-r mineps [default: (data interval)/1000]\0A\00"
@.str.11 = [43 x i8] c"\09-R maxeps [default: (data interval)/100]\0A\00"
@.str.12 = [27 x i8] c"\09-# # of eps [default: 5]\0A\00"
@.str.13 = [48 x i8] c"\09-n # of reference points [default: # of data]\0A\00"
@.str.14 = [35 x i8] c"\09-s # of iterations [default: 50]\0A\00"
@.str.15 = [30 x i8] c"\09-t time window [default: 0]\0A\00"
@.str.16 = [40 x i8] c"\09-o outfile [default: 'datafile'.lyap]\0A\00"
@.str.17 = [114 x i8] c"\09-V verbosity level [default: 3]\0A\09\090='only panic messages'\0A\09\091='+ input/output messages'\0A\09\092='+ plus statistics'\0A\00"
@.str.18 = [24 x i8] c"\09-h show these options\0A\00"
define void @show_options(i8* %0) {
%2 = tail call i32 @what_i_do(i8* %0, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%5 = load i32, i32* @stderr
%6 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = tail call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = tail call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = tail call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = tail call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = tail call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = tail call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = tail call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = tail call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = tail call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = tail call i32 (i32, i8*, ...) @fprintf(i32 %33, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.16, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = tail call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([114 x i8], [114 x i8]* @.str.17, i64 0, i64 0))
%37 = load i32, i32* @stderr
%38 = tail call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.18, i64 0, i64 0))
%39 = tail call i32 @exit(i32 0)
unreachable
}