#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
size_t EOF;
double atof(char *);
int atoi(char *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
size_t fgetc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int cmdarg(int argc, char *argv[], char inname[], char outname[], int *quiet,
           int *unit, int *prep, double *low, double *high, double *rate,
           int *autosamp, int *fast, int *useweight, int *windowmode,
           double *winfreq, int *CLEAN, int *filter, double *fstart,
           double *fstop) {
  int isamp = 0;
  int ifast = 0;
  int iwin = 0;
  if (*CLEAN != 0) {
    if (argc < 7) {
      fprintf(stderr,
              "usage: %s  [-w] [-q] [-t{sec|day|ms}]"
              " [-noprep] -n number -f {low high factor}"
              " input_file output_file\n",
              argv[0]);
      exit(1);
    }
  } else if (*filter != 0) {
    if (argc < 6) {
      fprintf(stderr,
              "usage: %s  [-w] [-q] [-t{sec|day|ms}]"
              " [-noprep] mode -f {auto | low high rate}"
              " input_file output_file\n",
              argv[0]);
      exit(1);
    }
  } else {
    if (argc < 5) {
      fprintf(stderr,
              "usage: %s  [-window f0] [-w] [-q] [-t{sec|day|ms}]"
              " [-noprep] [-fast] -f {auto | low high rate | limit rate}"
              " input_file output_file\n",
              argv[0]);
      exit(1);
    }
  }
  for (int i = 1; i < argc; ++i) {
    if (strcmp(argv[i], "-q") == 0) {
      *quiet = 1;
    } else if (strcmp(argv[i], "-tsec") == 0) {
      *unit = 1;
    } else if (strcmp(argv[i], "-tday") == 0) {
      *unit = 2;
    } else if (strcmp(argv[i], "-tms") == 0) {
      *unit = 3;
    } else if (strcmp(argv[i], "-noprep") == 0) {
      *prep = 0;
    } else if (strcmp(argv[i], "-fast") == 0) {
      *fast = 1;
      ifast = 1;
    } else if (strcmp(argv[i], "-w") == 0) {
      *useweight = 1;
    } else if (strcmp(argv[i], "-window") == 0) {
      *windowmode = 1;
      iwin = 1;
      i++;
      *winfreq = atof(argv[i]);
    } else if (strcmp(argv[i], "-n") == 0) {
      i++;
      *CLEAN = atoi(argv[i]);
    } else if (strcmp(argv[i], "-band") == 0) {
      *filter = 2;
      i++;
      *fstart = atof(argv[i]);
      i++;
      *fstop = atof(argv[i]);
    } else if (strcmp(argv[i], "-low") == 0) {
      *filter = 3;
      i++;
      *fstop = atof(argv[i]);
    } else if (strcmp(argv[i], "-high") == 0) {
      *filter = 4;
      i++;
      *fstop = atof(argv[i]);
    } else if (strcmp(argv[i], "-f") == 0) {
      i++;
      if (iwin == 1) {
        isamp = 3;
        *low = atof(argv[i]);
        i++;
        *rate = atof(argv[i]);
      } else if (strcmp(argv[i], "auto") == 0) {
        isamp = 1;
        *autosamp = 1;
      } else if (i + 4 <= argc - 1) {
        isamp = 2;
        *low = atof(argv[i]);
        i++;
        *high = atof(argv[i]);
        i++;
        *rate = atof(argv[i]);
      } else {
        break;
      }
    } else {
      strcpy(inname, argv[i]);
      i++;
      strcpy(outname, argv[i]);
    }
  }
  if (isamp == 0) {
    fprintf(stderr, "No or wrong sampling provided! Quitting!\n");
    exit(1);
  }
  if (ifast == 1) {
    printf(" * Fast-mode activated. Going (almost) quiet * \n");
    *quiet = 1;
    if (isamp == 1) {
      fprintf(stderr, "Cannot autosample in fast mode! Quitting!\n");
      exit(1);
    }
  }
  size_t ch, number_of_lines = 0;
  FILE *tmpfile = fopen(inname, "r");
  if (tmpfile == 0) {
    fprintf(stderr, "Could not open file:  %s \n", inname);
    exit(1);
  }
  do {
    ch = fgetc(tmpfile);
    if (ch == '\n')
      number_of_lines++;
  } while (ch != EOF);
  if (ch != '\n' && number_of_lines != 0)
    number_of_lines++;
  fclose(tmpfile);
  return number_of_lines - 1;
}


x86 assembly (clang, -O0):
<cmdarg>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x70(%rbp),%rax
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    0x58(%rbp),%rax
cmpl   $0x0,(%rax)
je     124c <cmdarg+0xac>
cmpl   $0x7,-0x4(%rbp)
jge    1247 <cmdarg+0xa7>
mov    0x2db2(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xdca(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
jmp    12cc <cmdarg+0x12c>
mov    0x60(%rbp),%rax
cmpl   $0x0,(%rax)
je     1290 <cmdarg+0xf0>
cmpl   $0x6,-0x4(%rbp)
jge    128b <cmdarg+0xeb>
mov    0x2d6e(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xded(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
jmp    12c7 <cmdarg+0x127>
cmpl   $0x5,-0x4(%rbp)
jge    12c2 <cmdarg+0x122>
mov    0x2d37(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe1d(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
jmp    12c7 <cmdarg+0x127>
jmp    12cc <cmdarg+0x12c>
movl   $0x1,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    17c2 <cmdarg+0x622>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe60(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    1310 <cmdarg+0x170>
mov    -0x28(%rbp),%rax
movl   $0x1,(%rax)
jmp    17af <cmdarg+0x60f>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe32(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    1341 <cmdarg+0x1a1>
mov    -0x30(%rbp),%rax
movl   $0x1,(%rax)
jmp    17aa <cmdarg+0x60a>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe07(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    1372 <cmdarg+0x1d2>
mov    -0x30(%rbp),%rax
movl   $0x2,(%rax)
jmp    17a5 <cmdarg+0x605>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xddc(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    13a3 <cmdarg+0x203>
mov    -0x30(%rbp),%rax
movl   $0x3,(%rax)
jmp    17a0 <cmdarg+0x600>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdb0(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    13d4 <cmdarg+0x234>
mov    0x10(%rbp),%rax
movl   $0x0,(%rax)
jmp    179b <cmdarg+0x5fb>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd87(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    140c <cmdarg+0x26c>
mov    0x38(%rbp),%rax
movl   $0x1,(%rax)
movl   $0x1,-0x38(%rbp)
jmp    1796 <cmdarg+0x5f6>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd55(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    143d <cmdarg+0x29d>
mov    0x40(%rbp),%rax
movl   $0x1,(%rax)
jmp    1791 <cmdarg+0x5f1>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd27(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    1497 <cmdarg+0x2f7>
mov    0x48(%rbp),%rax
movl   $0x1,(%rax)
movl   $0x1,-0x3c(%rbp)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x50(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    178c <cmdarg+0x5ec>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xcd5(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    14e0 <cmdarg+0x340>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   10b0 <atoi@plt>
mov    %eax,%ecx
mov    0x58(%rbp),%rax
mov    %ecx,(%rax)
jmp    1787 <cmdarg+0x5e7>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xc8f(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    1555 <cmdarg+0x3b5>
mov    0x60(%rbp),%rax
movl   $0x2,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x68(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x70(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1782 <cmdarg+0x5e2>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xc20(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    15a8 <cmdarg+0x408>
mov    0x60(%rbp),%rax
movl   $0x3,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x70(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    177d <cmdarg+0x5dd>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xbd2(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    15fb <cmdarg+0x45b>
mov    0x60(%rbp),%rax
movl   $0x4,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x70(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1778 <cmdarg+0x5d8>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xb85(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    1740 <cmdarg+0x5a0>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
cmpl   $0x1,-0x3c(%rbp)
jne    1677 <cmdarg+0x4d7>
movl   $0x3,-0x34(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x18(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x28(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    173b <cmdarg+0x59b>
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xb0c(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    16af <cmdarg+0x50f>
movl   $0x1,-0x34(%rbp)
mov    0x30(%rbp),%rax
movl   $0x1,(%rax)
jmp    1736 <cmdarg+0x596>
mov    -0x40(%rbp),%eax
add    $0x4,%eax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jg     172c <cmdarg+0x58c>
movl   $0x2,-0x34(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x18(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1040 <atof@plt>
mov    0x28(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1731 <cmdarg+0x591>
jmp    17c2 <cmdarg+0x622>
jmp    1736 <cmdarg+0x596>
jmp    173b <cmdarg+0x59b>
jmp    1773 <cmdarg+0x5d3>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
jmp    1778 <cmdarg+0x5d8>
jmp    177d <cmdarg+0x5dd>
jmp    1782 <cmdarg+0x5e2>
jmp    1787 <cmdarg+0x5e7>
jmp    178c <cmdarg+0x5ec>
jmp    1791 <cmdarg+0x5f1>
jmp    1796 <cmdarg+0x5f6>
jmp    179b <cmdarg+0x5fb>
jmp    17a0 <cmdarg+0x600>
jmp    17a5 <cmdarg+0x605>
jmp    17aa <cmdarg+0x60a>
jmp    17af <cmdarg+0x60f>
jmp    17b4 <cmdarg+0x614>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    12d3 <cmdarg+0x133>
cmpl   $0x0,-0x34(%rbp)
jne    17ed <cmdarg+0x64d>
mov    0x2805(%rip),%rax
mov    (%rax),%edi
lea    0x9bf(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
cmpl   $0x1,-0x38(%rbp)
jne    183d <cmdarg+0x69d>
lea    0x9c7(%rip),%rdi
call   1060 <printf@plt>
mov    -0x28(%rbp),%rax
movl   $0x1,(%rax)
cmpl   $0x1,-0x34(%rbp)
jne    1838 <cmdarg+0x698>
mov    0x27ba(%rip),%rax
mov    (%rax),%edi
lea    0x9cf(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
jmp    183d <cmdarg+0x69d>
movq   $0x0,-0x50(%rbp)
mov    -0x18(%rbp),%rdi
lea    0x9d1(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x58(%rbp)
cmpq   $0x0,-0x58(%rbp)
jne    1889 <cmdarg+0x6e9>
mov    0x276d(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rdx
lea    0x9ab(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
jmp    188e <cmdarg+0x6ee>
mov    -0x58(%rbp),%rdi
call   1070 <fgetc@plt>
mov    %rax,-0x48(%rbp)
cmpq   $0xa,-0x48(%rbp)
jne    18b2 <cmdarg+0x712>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    18b7 <cmdarg+0x717>
mov    -0x48(%rbp),%rax
mov    0x2726(%rip),%rcx
cmp    (%rcx),%rax
jne    188e <cmdarg+0x6ee>
cmpq   $0xa,-0x48(%rbp)
je     18ed <cmdarg+0x74d>
cmpq   $0x0,-0x50(%rbp)
je     18ed <cmdarg+0x74d>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
mov    -0x58(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x50(%rbp),%rax
sub    $0x1,%rax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cmdarg>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r9,%r12
mov    %r8,0x18(%rsp)
mov    %rcx,0x20(%rsp)
mov    %rsi,%rbx
mov    %edi,%ebp
mov    0xb0(%rsp),%rax
mov    0xa8(%rsp),%rcx
cmpl   $0x0,(%rcx)
mov    %rdx,0x10(%rsp)
je     11f7 <cmdarg+0x57>
cmp    $0x6,%ebp
jg     1222 <cmdarg+0x82>
mov    0x2df2(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xe0e(%rip),%rsi
jmp    168f <cmdarg+0x4ef>
cmpl   $0x0,(%rax)
je     1219 <cmdarg+0x79>
cmp    $0x6,%ebp
jge    1222 <cmdarg+0x82>
mov    0x2dd0(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xe53(%rip),%rsi
jmp    168f <cmdarg+0x4ef>
cmp    $0x4,%ebp
jle    16c1 <cmdarg+0x521>
mov    $0x1,%r14d
movl   $0x0,0x8(%rsp)
lea    0xf1b(%rip),%r13
movl   $0x0,0xc(%rsp)
movl   $0x0,0x4(%rsp)
jmp    1265 <cmdarg+0xc5>
nopl   0x0(%rax)
movl   $0x1,(%r12)
add    $0x1,%r14d
cmp    %ebp,%r14d
jge    15c8 <cmdarg+0x428>
movslq %r14d,%r15
mov    (%rbx,%r15,8),%rdi
mov    %r13,%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     13d0 <cmdarg+0x230>
mov    (%rbx,%r15,8),%rdi
lea    0xecd(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     1250 <cmdarg+0xb0>
mov    (%rbx,%r15,8),%rdi
lea    0xebe(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     13e0 <cmdarg+0x240>
mov    (%rbx,%r15,8),%rdi
lea    0xeab(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     13ed <cmdarg+0x24d>
mov    (%rbx,%r15,8),%rdi
lea    0xe97(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     13fa <cmdarg+0x25a>
mov    (%rbx,%r15,8),%rdi
lea    0xe86(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     140a <cmdarg+0x26a>
mov    (%rbx,%r15,8),%rdi
lea    0xe73(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     1425 <cmdarg+0x285>
mov    (%rbx,%r15,8),%rdi
lea    0xe5d(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     142f <cmdarg+0x28f>
mov    (%rbx,%r15,8),%rdi
lea    0xe4c(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     1464 <cmdarg+0x2c4>
mov    (%rbx,%r15,8),%rdi
lea    0xe36(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     1481 <cmdarg+0x2e1>
mov    (%rbx,%r15,8),%rdi
lea    0xe23(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     14b0 <cmdarg+0x310>
mov    (%rbx,%r15,8),%rdi
lea    0xe0f(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     14c0 <cmdarg+0x320>
mov    (%rbx,%r15,8),%rdi
lea    0xdfc(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     14ed <cmdarg+0x34d>
mov    (%rbx,%r15,8),%rsi
mov    0x10(%rsp),%rdi
call   1030 <strcpy@plt>
lea    0x1(%r15),%r14d
mov    0x8(%rbx,%r15,8),%rsi
mov    0x20(%rsp),%rdi
call   1030 <strcpy@plt>
jmp    1258 <cmdarg+0xb8>
nopl   0x0(%rax,%rax,1)
mov    0x18(%rsp),%rax
movl   $0x1,(%rax)
jmp    1258 <cmdarg+0xb8>
movl   $0x2,(%r12)
jmp    1258 <cmdarg+0xb8>
movl   $0x3,(%r12)
jmp    1258 <cmdarg+0xb8>
mov    0x60(%rsp),%rax
movl   $0x0,(%rax)
jmp    1258 <cmdarg+0xb8>
mov    0x88(%rsp),%rax
movl   $0x1,(%rax)
movl   $0x1,0xc(%rsp)
jmp    1258 <cmdarg+0xb8>
mov    0x90(%rsp),%rax
jmp    13d5 <cmdarg+0x235>
mov    0x98(%rsp),%rax
movl   $0x1,(%rax)
add    $0x1,%r14d
mov    0x8(%rbx,%r15,8),%rdi
call   1050 <atof@plt>
mov    0xa0(%rsp),%rax
movsd  %xmm0,(%rax)
movl   $0x1,0x4(%rsp)
jmp    1258 <cmdarg+0xb8>
add    $0x1,%r14d
mov    0x8(%rbx,%r15,8),%rdi
call   10b0 <atoi@plt>
mov    0xa8(%rsp),%rcx
mov    %eax,(%rcx)
jmp    1258 <cmdarg+0xb8>
mov    0xb0(%rsp),%rax
movl   $0x2,(%rax)
mov    0x8(%rbx,%r15,8),%rdi
call   1050 <atof@plt>
mov    0xb8(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x2,%r14d
mov    0x10(%rbx,%r15,8),%rdi
jmp    14d7 <cmdarg+0x337>
mov    0xb0(%rsp),%rax
movl   $0x3,(%rax)
jmp    14ce <cmdarg+0x32e>
mov    0xb0(%rsp),%rax
movl   $0x4,(%rax)
add    $0x1,%r14d
mov    0x8(%rbx,%r15,8),%rdi
call   1050 <atof@plt>
mov    0xc0(%rsp),%rax
movsd  %xmm0,(%rax)
jmp    1258 <cmdarg+0xb8>
mov    0x8(%rbx,%r15,8),%rdi
cmpl   $0x1,0x4(%rsp)
jne    1533 <cmdarg+0x393>
call   1050 <atof@plt>
mov    0x68(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x2,%r14d
mov    0x10(%rbx,%r15,8),%rdi
call   1050 <atof@plt>
mov    0x78(%rsp),%rax
movsd  %xmm0,(%rax)
movl   $0x3,0x8(%rsp)
movl   $0x1,0x4(%rsp)
jmp    1258 <cmdarg+0xb8>
lea    0xc5c(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     15a1 <cmdarg+0x401>
lea    0x5(%r14),%eax
cmp    %ebp,%eax
jge    15c8 <cmdarg+0x428>
lea    0x1(%r15),%rax
mov    (%rbx,%rax,8),%rdi
call   1050 <atof@plt>
mov    0x68(%rsp),%rax
movsd  %xmm0,(%rax)
mov    0x10(%rbx,%r15,8),%rdi
call   1050 <atof@plt>
mov    0x70(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x3,%r14d
mov    0x18(%rbx,%r15,8),%rdi
call   1050 <atof@plt>
mov    0x78(%rsp),%rax
movsd  %xmm0,(%rax)
movl   $0x2,0x8(%rsp)
movl   $0x0,0x4(%rsp)
jmp    1258 <cmdarg+0xb8>
add    $0x1,%r14d
mov    0x80(%rsp),%rax
movl   $0x1,(%rax)
movl   $0x1,0x8(%rsp)
movl   $0x0,0x4(%rsp)
jmp    1258 <cmdarg+0xb8>
mov    0x8(%rsp),%ebx
test   %ebx,%ebx
je     166a <cmdarg+0x4ca>
cmpl   $0x1,0xc(%rsp)
mov    0x10(%rsp),%rbp
jne    1600 <cmdarg+0x460>
lea    0xc26(%rip),%rdi
call   1040 <puts@plt>
mov    0x18(%rsp),%rax
movl   $0x1,(%rax)
cmp    $0x1,%ebx
je     16a0 <cmdarg+0x500>
lea    0xbe9(%rip),%rsi
mov    %rbp,%rdi
call   10a0 <fopen@plt>
test   %rax,%rax
je     167c <cmdarg+0x4dc>
mov    %rax,%rbx
xor    %ebp,%ebp
mov    0x29c8(%rip),%r14
mov    %rbx,%rdi
call   1070 <fgetc@plt>
xor    %ecx,%ecx
cmp    $0xa,%rax
sete   %cl
add    %rcx,%rbp
cmp    (%r14),%rax
jne    1620 <cmdarg+0x480>
cmp    $0xa,%rax
setne  %al
test   %rbp,%rbp
setne  %cl
and    %al,%cl
movzbl %cl,%r14d
mov    %rbx,%rdi
call   1060 <fclose@plt>
lea    (%r14,%rbp,1),%eax
add    $0xffffffff,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2967(%rip),%rax
mov    (%rax),%edi
lea    0xb21(%rip),%rsi
jmp    16b0 <cmdarg+0x510>
mov    0x2955(%rip),%rax
mov    (%rax),%edi
lea    0xb66(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    0x2931(%rip),%rax
mov    (%rax),%edi
lea    0xb15(%rip),%rsi
xor    %eax,%eax
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    0x2910(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0x9fa(%rip),%rsi
jmp    168f <cmdarg+0x4ef>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [103 x i8] c"usage: %s [-w] [-q] [-t{sec|day|ms}] [-noprep] -n number -f {low high factor} input_file output_file\0A\00"
@.str.1 = [103 x i8] c"usage: %s [-w] [-q] [-t{sec|day|ms}] [-noprep] mode -f {auto | low high rate} input_file output_file\0A\00"
@.str.2 = [132 x i8] c"usage: %s [-window f0] [-w] [-q] [-t{sec|day|ms}] [-noprep] [-fast] -f {auto | low high rate | limit rate} input_file output_file\0A\00"
@.str.3 = [3 x i8] c"-q\00"
@.str.4 = [6 x i8] c"-tsec\00"
@.str.5 = [6 x i8] c"-tday\00"
@.str.6 = [5 x i8] c"-tms\00"
@.str.7 = [8 x i8] c"-noprep\00"
@.str.8 = [6 x i8] c"-fast\00"
@.str.9 = [3 x i8] c"-w\00"
@.str.10 = [8 x i8] c"-window\00"
@.str.11 = [3 x i8] c"-n\00"
@.str.12 = [6 x i8] c"-band\00"
@.str.13 = [5 x i8] c"-low\00"
@.str.14 = [6 x i8] c"-high\00"
@.str.15 = [3 x i8] c"-f\00"
@.str.16 = [5 x i8] c"auto\00"
@.str.17 = [42 x i8] c"No or wrong sampling provided! Quitting!\0A\00"
@.str.18 = [49 x i8] c" * Fast-mode activated. Going (almost) quiet * \0A\00"
@.str.19 = [43 x i8] c"Cannot autosample in fast mode! Quitting!\0A\00"
@.str.20 = [2 x i8] c"r\00"
@.str.21 = [27 x i8] c"Could not open file: %s \0A\00"
@EOF = global i64 0
define i32 @cmdarg(i32 %0, i8** %1, i8* %2, i8* %3, i32* %4, i32* %5, i32* %6, double* %7, double* %8, double* %9, i32* %10, i32* %11, i32* %12, i32* %13, double* %14, i32* %15, i32* %16, double* %17, double* %18) {
%20 = alloca i32
%21 = alloca i8**
%22 = alloca i8*
%23 = alloca i8*
%24 = alloca i32*
%25 = alloca i32*
%26 = alloca i32*
%27 = alloca double*
%28 = alloca double*
%29 = alloca double*
%30 = alloca i32*
%31 = alloca i32*
%32 = alloca i32*
%33 = alloca i32*
%34 = alloca double*
%35 = alloca i32*
%36 = alloca i32*
%37 = alloca double*
%38 = alloca double*
%39 = alloca i32
%40 = alloca i32
%41 = alloca i32
%42 = alloca i32
%43 = alloca i64
%44 = alloca i64
%45 = alloca i32*
store i32 %0, i32* %20
store i8** %1, i8*** %21
store i8* %2, i8** %22
store i8* %3, i8** %23
store i32* %4, i32** %24
store i32* %5, i32** %25
store i32* %6, i32** %26
store double* %7, double** %27
store double* %8, double** %28
store double* %9, double** %29
store i32* %10, i32** %30
store i32* %11, i32** %31
store i32* %12, i32** %32
store i32* %13, i32** %33
store double* %14, double** %34
store i32* %15, i32** %35
store i32* %16, i32** %36
store double* %17, double** %37
store double* %18, double** %38
store i32 0, i32* %39
store i32 0, i32* %40
store i32 0, i32* %41
%46 = load i32*, i32** %35
%47 = load i32, i32* %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %60
49: ; preds = %19
%50 = load i32, i32* %20
%51 = icmp slt i32 %50, 7
br i1 %51, label %52, label %59
52: ; preds = %49
%53 = load i32, i32* @stderr
%54 = load i8**, i8*** %21
%55 = getelementptr inbounds i8*, i8** %54, i64 0
%56 = load i8*, i8** %55
%57 = call i32 (i32, i8*, ...) @fprintf(i32 %53, i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str, i64 0, i64 0), i8* %56)
%58 = call i32 @exit(i32 1)
unreachable
59: ; preds = %49
br label %87
60: ; preds = %19
%61 = load i32*, i32** %36
%62 = load i32, i32* %61
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %75
64: ; preds = %60
%65 = load i32, i32* %20
%66 = icmp slt i32 %65, 6
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = load i32, i32* @stderr
%69 = load i8**, i8*** %21
%70 = getelementptr inbounds i8*, i8** %69, i64 0
%71 = load i8*, i8** %70
%72 = call i32 (i32, i8*, ...) @fprintf(i32 %68, i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.1, i64 0, i64 0), i8* %71)
%73 = call i32 @exit(i32 1)
unreachable
74: ; preds = %64
br label %86
75: ; preds = %60
%76 = load i32, i32* %20
%77 = icmp slt i32 %76, 5
br i1 %77, label %78, label %85
78: ; preds = %75
%79 = load i32, i32* @stderr
%80 = load i8**, i8*** %21
%81 = getelementptr inbounds i8*, i8** %80, i64 0
%82 = load i8*, i8** %81
%83 = call i32 (i32, i8*, ...) @fprintf(i32 %79, i8* getelementptr inbounds ([132 x i8], [132 x i8]* @.str.2, i64 0, i64 0), i8* %82)
%84 = call i32 @exit(i32 1)
unreachable
85: ; preds = %75
br label %86
86: ; preds = %85, %74
br label %87
87: ; preds = %86, %59
store i32 1, i32* %42
br label %88
88: ; preds = %371, %87
%89 = load i32, i32* %42
%90 = load i32, i32* %20
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %374
92: ; preds = %88
%93 = load i8**, i8*** %21
%94 = load i32, i32* %42
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8*, i8** %93, i64 %95
%97 = load i8*, i8** %96
%98 = call i64 @strcmp(i8* %97, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %92
%101 = load i32*, i32** %24
store i32 1, i32* %101
br label %370
102: ; preds = %92
%103 = load i8**, i8*** %21
%104 = load i32, i32* %42
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8*, i8** %103, i64 %105
%107 = load i8*, i8** %106
%108 = call i64 @strcmp(i8* %107, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%109 = icmp eq i64 %108, 0
br i1 %109, label %110, label %112
110: ; preds = %102
%111 = load i32*, i32** %25
store i32 1, i32* %111
br label %369
112: ; preds = %102
%113 = load i8**, i8*** %21
%114 = load i32, i32* %42
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8*, i8** %113, i64 %115
%117 = load i8*, i8** %116
%118 = call i64 @strcmp(i8* %117, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%119 = icmp eq i64 %118, 0
br i1 %119, label %120, label %122
120: ; preds = %112
%121 = load i32*, i32** %25
store i32 2, i32* %121
br label %368
122: ; preds = %112
%123 = load i8**, i8*** %21
%124 = load i32, i32* %42
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8*, i8** %123, i64 %125
%127 = load i8*, i8** %126
%128 = call i64 @strcmp(i8* %127, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%129 = icmp eq i64 %128, 0
br i1 %129, label %130, label %132
130: ; preds = %122
%131 = load i32*, i32** %25
store i32 3, i32* %131
br label %367
132: ; preds = %122
%133 = load i8**, i8*** %21
%134 = load i32, i32* %42
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i8*, i8** %133, i64 %135
%137 = load i8*, i8** %136
%138 = call i64 @strcmp(i8* %137, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
%139 = icmp eq i64 %138, 0
br i1 %139, label %140, label %142
140: ; preds = %132
%141 = load i32*, i32** %26
store i32 0, i32* %141
br label %366
142: ; preds = %132
%143 = load i8**, i8*** %21
%144 = load i32, i32* %42
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8*, i8** %143, i64 %145
%147 = load i8*, i8** %146
%148 = call i64 @strcmp(i8* %147, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%149 = icmp eq i64 %148, 0
br i1 %149, label %150, label %152
150: ; preds = %142
%151 = load i32*, i32** %31
store i32 1, i32* %151
store i32 1, i32* %40
br label %365
152: ; preds = %142
%153 = load i8**, i8*** %21
%154 = load i32, i32* %42
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i8*, i8** %153, i64 %155
%157 = load i8*, i8** %156
%158 = call i64 @strcmp(i8* %157, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%159 = icmp eq i64 %158, 0
br i1 %159, label %160, label %162
160: ; preds = %152
%161 = load i32*, i32** %32
store i32 1, i32* %161
br label %364
162: ; preds = %152
%163 = load i8**, i8*** %21
%164 = load i32, i32* %42
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i8*, i8** %163, i64 %165
%167 = load i8*, i8** %166
%168 = call i64 @strcmp(i8* %167, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%169 = icmp eq i64 %168, 0
br i1 %169, label %170, label %181
170: ; preds = %162
%171 = load i32*, i32** %33
store i32 1, i32* %171
store i32 1, i32* %41
%172 = load i32, i32* %42
%173 = add nsw i32 %172, 1
store i32 %173, i32* %42
%174 = load i8**, i8*** %21
%175 = load i32, i32* %42
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i8*, i8** %174, i64 %176
%178 = load i8*, i8** %177
%179 = call double @atof(i8* %178)
%180 = load double*, double** %34
store double %179, double* %180
br label %363
181: ; preds = %162
%182 = load i8**, i8*** %21
%183 = load i32, i32* %42
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i8*, i8** %182, i64 %184
%186 = load i8*, i8** %185
%187 = call i64 @strcmp(i8* %186, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%188 = icmp eq i64 %187, 0
br i1 %188, label %189, label %199
189: ; preds = %181
%190 = load i32, i32* %42
%191 = add nsw i32 %190, 1
store i32 %191, i32* %42
%192 = load i8**, i8*** %21
%193 = load i32, i32* %42
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds i8*, i8** %192, i64 %194
%196 = load i8*, i8** %195
%197 = call i32 @atoi(i8* %196)
%198 = load i32*, i32** %35
store i32 %197, i32* %198
br label %362
199: ; preds = %181
%200 = load i8**, i8*** %21
%201 = load i32, i32* %42
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i8*, i8** %200, i64 %202
%204 = load i8*, i8** %203
%205 = call i64 @strcmp(i8* %204, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%206 = icmp eq i64 %205, 0
br i1 %206, label %207, label %227
207: ; preds = %199
%208 = load i32*, i32** %36
store i32 2, i32* %208
%209 = load i32, i32* %42
%210 = add nsw i32 %209, 1
store i32 %210, i32* %42
%211 = load i8**, i8*** %21
%212 = load i32, i32* %42
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds i8*, i8** %211, i64 %213
%215 = load i8*, i8** %214
%216 = call double @atof(i8* %215)
%217 = load double*, double** %37
store double %216, double* %217
%218 = load i32, i32* %42
%219 = add nsw i32 %218, 1
store i32 %219, i32* %42
%220 = load i8**, i8*** %21
%221 = load i32, i32* %42
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i8*, i8** %220, i64 %222
%224 = load i8*, i8** %223
%225 = call double @atof(i8* %224)
%226 = load double*, double** %38
store double %225, double* %226
br label %361
227: ; preds = %199
%228 = load i8**, i8*** %21
%229 = load i32, i32* %42
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i8*, i8** %228, i64 %230
%232 = load i8*, i8** %231
%233 = call i64 @strcmp(i8* %232, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%234 = icmp eq i64 %233, 0
br i1 %234, label %235, label %246
235: ; preds = %227
%236 = load i32*, i32** %36
store i32 3, i32* %236
%237 = load i32, i32* %42
%238 = add nsw i32 %237, 1
store i32 %238, i32* %42
%239 = load i8**, i8*** %21
%240 = load i32, i32* %42
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds i8*, i8** %239, i64 %241
%243 = load i8*, i8** %242
%244 = call double @atof(i8* %243)
%245 = load double*, double** %38
store double %244, double* %245
br label %360
246: ; preds = %227
%247 = load i8**, i8*** %21
%248 = load i32, i32* %42
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i8*, i8** %247, i64 %249
%251 = load i8*, i8** %250
%252 = call i64 @strcmp(i8* %251, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0))
%253 = icmp eq i64 %252, 0
br i1 %253, label %254, label %265
254: ; preds = %246
%255 = load i32*, i32** %36
store i32 4, i32* %255
%256 = load i32, i32* %42
%257 = add nsw i32 %256, 1
store i32 %257, i32* %42
%258 = load i8**, i8*** %21
%259 = load i32, i32* %42
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds i8*, i8** %258, i64 %260
%262 = load i8*, i8** %261
%263 = call double @atof(i8* %262)
%264 = load double*, double** %38
store double %263, double* %264
br label %359
265: ; preds = %246
%266 = load i8**, i8*** %21
%267 = load i32, i32* %42
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds i8*, i8** %266, i64 %268
%270 = load i8*, i8** %269
%271 = call i64 @strcmp(i8* %270, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%272 = icmp eq i64 %271, 0
br i1 %272, label %273, label %341
273: ; preds = %265
%274 = load i32, i32* %42
%275 = add nsw i32 %274, 1
store i32 %275, i32* %42
%276 = load i32, i32* %41
%277 = icmp eq i32 %276, 1
br i1 %277, label %278, label %295
278: ; preds = %273
store i32 3, i32* %39
%279 = load i8**, i8*** %21
%280 = load i32, i32* %42
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds i8*, i8** %279, i64 %281
%283 = load i8*, i8** %282
%284 = call double @atof(i8* %283)
%285 = load double*, double** %27
store double %284, double* %285
%286 = load i32, i32* %42
%287 = add nsw i32 %286, 1
store i32 %287, i32* %42
%288 = load i8**, i8*** %21
%289 = load i32, i32* %42
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds i8*, i8** %288, i64 %290
%292 = load i8*, i8** %291
%293 = call double @atof(i8* %292)
%294 = load double*, double** %29
store double %293, double* %294
br label %340
295: ; preds = %273
%296 = load i8**, i8*** %21
%297 = load i32, i32* %42
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds i8*, i8** %296, i64 %298
%300 = load i8*, i8** %299
%301 = call i64 @strcmp(i8* %300, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%302 = icmp eq i64 %301, 0
br i1 %302, label %303, label %305
303: ; preds = %295
store i32 1, i32* %39
%304 = load i32*, i32** %30
store i32 1, i32* %304
br label %339
305: ; preds = %295
%306 = load i32, i32* %42
%307 = add nsw i32 %306, 4
%308 = load i32, i32* %20
%309 = sub nsw i32 %308, 1
%310 = icmp sle i32 %307, %309
br i1 %310, label %311, label %337
311: ; preds = %305
store i32 2, i32* %39
%312 = load i8**, i8*** %21
%313 = load i32, i32* %42
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds i8*, i8** %312, i64 %314
%316 = load i8*, i8** %315
%317 = call double @atof(i8* %316)
%318 = load double*, double** %27
store double %317, double* %318
%319 = load i32, i32* %42
%320 = add nsw i32 %319, 1
store i32 %320, i32* %42
%321 = load i8**, i8*** %21
%322 = load i32, i32* %42
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds i8*, i8** %321, i64 %323
%325 = load i8*, i8** %324
%326 = call double @atof(i8* %325)
%327 = load double*, double** %28
store double %326, double* %327
%328 = load i32, i32* %42
%329 = add nsw i32 %328, 1
store i32 %329, i32* %42
%330 = load i8**, i8*** %21
%331 = load i32, i32* %42
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds i8*, i8** %330, i64 %332
%334 = load i8*, i8** %333
%335 = call double @atof(i8* %334)
%336 = load double*, double** %29
store double %335, double* %336
br label %338
337: ; preds = %305
br label %374
338: ; preds = %311
br label %339
339: ; preds = %338, %303
br label %340
340: ; preds = %339, %278
br label %358
341: ; preds = %265
%342 = load i8*, i8** %22
%343 = load i8**, i8*** %21
%344 = load i32, i32* %42
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds i8*, i8** %343, i64 %345
%347 = load i8*, i8** %346
%348 = call i32 @strcpy(i8* %342, i8* %347)
%349 = load i32, i32* %42
%350 = add nsw i32 %349, 1
store i32 %350, i32* %42
%351 = load i8*, i8** %23
%352 = load i8**, i8*** %21
%353 = load i32, i32* %42
%354 = sext i32 %353 to i64
%355 = getelementptr inbounds i8*, i8** %352, i64 %354
%356 = load i8*, i8** %355
%357 = call i32 @strcpy(i8* %351, i8* %356)
br label %358
358: ; preds = %341, %340
br label %359
359: ; preds = %358, %254
br label %360
360: ; preds = %359, %235
br label %361
361: ; preds = %360, %207
br label %362
362: ; preds = %361, %189
br label %363
363: ; preds = %362, %170
br label %364
364: ; preds = %363, %160
br label %365
365: ; preds = %364, %150
br label %366
366: ; preds = %365, %140
br label %367
367: ; preds = %366, %130
br label %368
368: ; preds = %367, %120
br label %369
369: ; preds = %368, %110
br label %370
370: ; preds = %369, %100
br label %371
371: ; preds = %370
%372 = load i32, i32* %42
%373 = add nsw i32 %372, 1
store i32 %373, i32* %42
br label %88
374: ; preds = %337, %88
%375 = load i32, i32* %39
%376 = icmp eq i32 %375, 0
br i1 %376, label %377, label %381
377: ; preds = %374
%378 = load i32, i32* @stderr
%379 = call i32 (i32, i8*, ...) @fprintf(i32 %378, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.17, i64 0, i64 0))
%380 = call i32 @exit(i32 1)
unreachable
381: ; preds = %374
%382 = load i32, i32* %40
%383 = icmp eq i32 %382, 1
br i1 %383, label %384, label %394
384: ; preds = %381
%385 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.18, i64 0, i64 0))
%386 = load i32*, i32** %24
store i32 1, i32* %386
%387 = load i32, i32* %39
%388 = icmp eq i32 %387, 1
br i1 %388, label %389, label %393
389: ; preds = %384
%390 = load i32, i32* @stderr
%391 = call i32 (i32, i8*, ...) @fprintf(i32 %390, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.19, i64 0, i64 0))
%392 = call i32 @exit(i32 1)
unreachable
393: ; preds = %384
br label %394
394: ; preds = %393, %381
store i64 0, i64* %44
%395 = load i8*, i8** %22
%396 = call i32* @fopen(i8* %395, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.20, i64 0, i64 0))
store i32* %396, i32** %45
%397 = load i32*, i32** %45
%398 = icmp eq i32* %397, null
br i1 %398, label %399, label %404
399: ; preds = %394
%400 = load i32, i32* @stderr
%401 = load i8*, i8** %22
%402 = call i32 (i32, i8*, ...) @fprintf(i32 %400, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0), i8* %401)
%403 = call i32 @exit(i32 1)
unreachable
404: ; preds = %394
br label %405
405: ; preds = %414, %404
%406 = load i32*, i32** %45
%407 = call i64 @fgetc(i32* %406)
store i64 %407, i64* %43
%408 = load i64, i64* %43
%409 = icmp eq i64 %408, 10
br i1 %409, label %410, label %413
410: ; preds = %405
%411 = load i64, i64* %44
%412 = add i64 %411, 1
store i64 %412, i64* %44
br label %413
413: ; preds = %410, %405
br label %414
414: ; preds = %413
%415 = load i64, i64* %43
%416 = load i64, i64* @EOF
%417 = icmp ne i64 %415, %416
br i1 %417, label %405, label %418
418: ; preds = %414
%419 = load i64, i64* %43
%420 = icmp ne i64 %419, 10
br i1 %420, label %421, label %427
421: ; preds = %418
%422 = load i64, i64* %44
%423 = icmp ne i64 %422, 0
br i1 %423, label %424, label %427
424: ; preds = %421
%425 = load i64, i64* %44
%426 = add i64 %425, 1
store i64 %426, i64* %44
br label %427
427: ; preds = %424, %421, %418
%428 = load i32*, i32** %45
%429 = call i32 @fclose(i32* %428)
%430 = load i64, i64* %44
%431 = sub i64 %430, 1
%432 = trunc i64 %431 to i32
ret i32 %432
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [103 x i8] c"usage: %s [-w] [-q] [-t{sec|day|ms}] [-noprep] -n number -f {low high factor} input_file output_file\0A\00"
@.str.1 = [103 x i8] c"usage: %s [-w] [-q] [-t{sec|day|ms}] [-noprep] mode -f {auto | low high rate} input_file output_file\0A\00"
@.str.2 = [132 x i8] c"usage: %s [-window f0] [-w] [-q] [-t{sec|day|ms}] [-noprep] [-fast] -f {auto | low high rate | limit rate} input_file output_file\0A\00"
@.str.3 = [3 x i8] c"-q\00"
@.str.4 = [6 x i8] c"-tsec\00"
@.str.5 = [6 x i8] c"-tday\00"
@.str.6 = [5 x i8] c"-tms\00"
@.str.7 = [8 x i8] c"-noprep\00"
@.str.8 = [6 x i8] c"-fast\00"
@.str.9 = [3 x i8] c"-w\00"
@.str.10 = [8 x i8] c"-window\00"
@.str.11 = [3 x i8] c"-n\00"
@.str.12 = [6 x i8] c"-band\00"
@.str.13 = [5 x i8] c"-low\00"
@.str.14 = [6 x i8] c"-high\00"
@.str.15 = [3 x i8] c"-f\00"
@.str.16 = [5 x i8] c"auto\00"
@.str.17 = [42 x i8] c"No or wrong sampling provided! Quitting!\0A\00"
@.str.19 = [43 x i8] c"Cannot autosample in fast mode! Quitting!\0A\00"
@.str.20 = [2 x i8] c"r\00"
@.str.21 = [27 x i8] c"Could not open file: %s \0A\00"
@EOF = global i64 0
@str = [48 x i8] c" * Fast-mode activated. Going (almost) quiet * \00"
define i32 @cmdarg(i32 %0, i8** nocapture %1, i8* %2, i8* %3, i32* nocapture writeonly %4, i32* nocapture writeonly %5, i32* nocapture writeonly %6, double* nocapture writeonly %7, double* nocapture writeonly %8, double* nocapture writeonly %9, i32* nocapture writeonly %10, i32* nocapture writeonly %11, i32* nocapture writeonly %12, i32* nocapture writeonly %13, double* nocapture writeonly %14, i32* nocapture %15, i32* nocapture %16, double* nocapture writeonly %17, double* nocapture writeonly %18) {
%20 = load i32, i32* %15
%21 = icmp eq i32 %20, 0
br i1 %21, label %29, label %22
22: ; preds = %19
%23 = icmp slt i32 %0, 7
br i1 %23, label %24, label %34
24: ; preds = %22
%25 = load i32, i32* @stderr
%26 = load i8*, i8** %1
%27 = tail call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str, i64 0, i64 0), i8* %26)
%28 = tail call i32 @exit(i32 1)
unreachable
29: ; preds = %19
%30 = load i32, i32* %16
%31 = icmp eq i32 %30, 0
br i1 %31, label %40, label %32
32: ; preds = %29
%33 = icmp slt i32 %0, 6
br i1 %33, label %35, label %34
34: ; preds = %22, %40, %32
br label %47
35: ; preds = %32
%36 = load i32, i32* @stderr
%37 = load i8*, i8** %1
%38 = tail call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.1, i64 0, i64 0), i8* %37)
%39 = tail call i32 @exit(i32 1)
unreachable
40: ; preds = %29
%41 = icmp slt i32 %0, 5
br i1 %41, label %42, label %34
42: ; preds = %40
%43 = load i32, i32* @stderr
%44 = load i8*, i8** %1
%45 = tail call i32 (i32, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([132 x i8], [132 x i8]* @.str.2, i64 0, i64 0), i8* %44)
%46 = tail call i32 @exit(i32 1)
unreachable
47: ; preds = %34, %188
%48 = phi i32 [ %192, %188 ], [ 0, %34 ]
%49 = phi i32 [ %191, %188 ], [ 0, %34 ]
%50 = phi i32 [ %193, %188 ], [ 1, %34 ]
%51 = phi i32 [ %189, %188 ], [ 0, %34 ]
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8*, i8** %1, i64 %52
%54 = load i8*, i8** %53
%55 = tail call i64 @strcmp(i8* %54, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %47
store i32 1, i32* %4
br label %188
58: ; preds = %47
%59 = load i8*, i8** %53
%60 = tail call i64 @strcmp(i8* %59, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 1, i32* %5
br label %188
63: ; preds = %58
%64 = load i8*, i8** %53
%65 = tail call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 2, i32* %5
br label %188
68: ; preds = %63
%69 = load i8*, i8** %53
%70 = tail call i64 @strcmp(i8* %69, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store i32 3, i32* %5
br label %188
73: ; preds = %68
%74 = load i8*, i8** %53
%75 = tail call i64 @strcmp(i8* %74, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store i32 0, i32* %6
br label %188
78: ; preds = %73
%79 = load i8*, i8** %53
%80 = tail call i64 @strcmp(i8* %79, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store i32 1, i32* %11
br label %188
83: ; preds = %78
%84 = load i8*, i8** %53
%85 = tail call i64 @strcmp(i8* %84, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store i32 1, i32* %12
br label %188
88: ; preds = %83
%89 = load i8*, i8** %53
%90 = tail call i64 @strcmp(i8* %89, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %98
92: ; preds = %88
store i32 1, i32* %13
%93 = add nsw i32 %50, 1
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8*, i8** %1, i64 %94
%96 = load i8*, i8** %95
%97 = tail call double @atof(i8* %96)
store double %97, double* %14
br label %188
98: ; preds = %88
%99 = load i8*, i8** %53
%100 = tail call i64 @strcmp(i8* %99, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %108
102: ; preds = %98
%103 = add nsw i32 %50, 1
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8*, i8** %1, i64 %104
%106 = load i8*, i8** %105
%107 = tail call i32 @atoi(i8* %106)
store i32 %107, i32* %15
br label %188
108: ; preds = %98
%109 = load i8*, i8** %53
%110 = tail call i64 @strcmp(i8* %109, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %123
112: ; preds = %108
store i32 2, i32* %16
%113 = add nsw i32 %50, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8*, i8** %1, i64 %114
%116 = load i8*, i8** %115
%117 = tail call double @atof(i8* %116)
store double %117, double* %17
%118 = add nsw i32 %50, 2
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8*, i8** %1, i64 %119
%121 = load i8*, i8** %120
%122 = tail call double @atof(i8* %121)
store double %122, double* %18
br label %188
123: ; preds = %108
%124 = load i8*, i8** %53
%125 = tail call i64 @strcmp(i8* %124, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %133
127: ; preds = %123
store i32 3, i32* %16
%128 = add nsw i32 %50, 1
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i8*, i8** %1, i64 %129
%131 = load i8*, i8** %130
%132 = tail call double @atof(i8* %131)
store double %132, double* %18
br label %188
133: ; preds = %123
%134 = load i8*, i8** %53
%135 = tail call i64 @strcmp(i8* %134, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0))
%136 = icmp eq i64 %135, 0
br i1 %136, label %137, label %143
137: ; preds = %133
store i32 4, i32* %16
%138 = add nsw i32 %50, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8*, i8** %1, i64 %139
%141 = load i8*, i8** %140
%142 = tail call double @atof(i8* %141)
store double %142, double* %18
br label %188
143: ; preds = %133
%144 = load i8*, i8** %53
%145 = tail call i64 @strcmp(i8* %144, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%146 = icmp eq i64 %145, 0
br i1 %146, label %147, label %180
147: ; preds = %143
%148 = add nsw i32 %50, 1
%149 = icmp eq i32 %51, 1
%150 = sext i32 %148 to i64
%151 = getelementptr inbounds i8*, i8** %1, i64 %150
%152 = load i8*, i8** %151
br i1 %149, label %153, label %160
153: ; preds = %147
%154 = tail call double @atof(i8* %152)
store double %154, double* %7
%155 = add nsw i32 %50, 2
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i8*, i8** %1, i64 %156
%158 = load i8*, i8** %157
%159 = tail call double @atof(i8* %158)
store double %159, double* %9
br label %188
160: ; preds = %147
%161 = tail call i64 @strcmp(i8* %152, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%162 = icmp eq i64 %161, 0
br i1 %162, label %163, label %164
163: ; preds = %160
store i32 1, i32* %10
br label %188
164: ; preds = %160
%165 = add nsw i32 %50, 5
%166 = icmp slt i32 %165, %0
br i1 %166, label %167, label %195
167: ; preds = %164
%168 = load i8*, i8** %151
%169 = tail call double @atof(i8* %168)
store double %169, double* %7
%170 = add nsw i32 %50, 2
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i8*, i8** %1, i64 %171
%173 = load i8*, i8** %172
%174 = tail call double @atof(i8* %173)
store double %174, double* %8
%175 = add nsw i32 %50, 3
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i8*, i8** %1, i64 %176
%178 = load i8*, i8** %177
%179 = tail call double @atof(i8* %178)
store double %179, double* %9
br label %188
180: ; preds = %143
%181 = load i8*, i8** %53
%182 = tail call i32 @strcpy(i8* %2, i8* %181)
%183 = add nsw i32 %50, 1
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i8*, i8** %1, i64 %184
%186 = load i8*, i8** %185
%187 = tail call i32 @strcpy(i8* %3, i8* %186)
br label %188
188: ; preds = %57, %67, %77, %87, %102, %127, %180, %163, %167, %153, %137, %112, %92, %82, %72, %62
%189 = phi i32 [ %51, %57 ], [ %51, %62 ], [ %51, %67 ], [ %51, %72 ], [ %51, %77 ], [ %51, %82 ], [ %51, %87 ], [ 1, %92 ], [ %51, %102 ], [ %51, %112 ], [ %51, %127 ], [ %51, %137 ], [ 1, %153 ], [ 0, %163 ], [ 0, %167 ], [ %51, %180 ]
%190 = phi i32 [ %50, %57 ], [ %50, %62 ], [ %50, %67 ], [ %50, %72 ], [ %50, %77 ], [ %50, %82 ], [ %50, %87 ], [ %93, %92 ], [ %103, %102 ], [ %118, %112 ], [ %128, %127 ], [ %138, %137 ], [ %155, %153 ], [ %148, %163 ], [ %175, %167 ], [ %183, %180 ]
%191 = phi i32 [ %49, %57 ], [ %49, %62 ], [ %49, %67 ], [ %49, %72 ], [ %49, %77 ], [ 1, %82 ], [ %49, %87 ], [ %49, %92 ], [ %49, %102 ], [ %49, %112 ], [ %49, %127 ], [ %49, %137 ], [ %49, %153 ], [ %49, %163 ], [ %49, %167 ], [ %49, %180 ]
%192 = phi i32 [ %48, %57 ], [ %48, %62 ], [ %48, %67 ], [ %48, %72 ], [ %48, %77 ], [ %48, %82 ], [ %48, %87 ], [ %48, %92 ], [ %48, %102 ], [ %48, %112 ], [ %48, %127 ], [ %48, %137 ], [ 3, %153 ], [ 1, %163 ], [ 2, %167 ], [ %48, %180 ]
%193 = add nsw i32 %190, 1
%194 = icmp slt i32 %193, %0
br i1 %194, label %47, label %195
195: ; preds = %188, %164
%196 = phi i32 [ %191, %188 ], [ %49, %164 ]
%197 = phi i32 [ %192, %188 ], [ %48, %164 ]
%198 = icmp eq i32 %197, 0
br i1 %198, label %199, label %203
199: ; preds = %195
%200 = load i32, i32* @stderr
%201 = tail call i32 (i32, i8*, ...) @fprintf(i32 %200, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.17, i64 0, i64 0))
%202 = tail call i32 @exit(i32 1)
unreachable
203: ; preds = %195
%204 = icmp eq i32 %196, 1
br i1 %204, label %205, label %212
205: ; preds = %203
%206 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str, i64 0, i64 0))
store i32 1, i32* %4
%207 = icmp eq i32 %197, 1
br i1 %207, label %208, label %212
208: ; preds = %205
%209 = load i32, i32* @stderr
%210 = tail call i32 (i32, i8*, ...) @fprintf(i32 %209, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.19, i64 0, i64 0))
%211 = tail call i32 @exit(i32 1)
unreachable
212: ; preds = %205, %203
%213 = tail call i32* @fopen(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.20, i64 0, i64 0))
%214 = icmp eq i32* %213, null
br i1 %214, label %215, label %219
215: ; preds = %212
%216 = load i32, i32* @stderr
%217 = tail call i32 (i32, i8*, ...) @fprintf(i32 %216, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0), i8* %2)
%218 = tail call i32 @exit(i32 1)
unreachable
219: ; preds = %212, %219
%220 = phi i64 [ %224, %219 ], [ 0, %212 ]
%221 = tail call i64 @fgetc(i32* %213)
%222 = icmp eq i64 %221, 10
%223 = zext i1 %222 to i64
%224 = add i64 %220, %223
%225 = load i64, i64* @EOF
%226 = icmp eq i64 %221, %225
br i1 %226, label %227, label %219
227: ; preds = %219
%228 = icmp ne i64 %221, 10
%229 = icmp ne i64 %224, 0
%230 = select i1 %228, i1 %229, i1 false
%231 = zext i1 %230 to i64
%232 = add i64 %224, %231
%233 = tail call i32 @fclose(i32* %213)
%234 = trunc i64 %232 to i32
%235 = add i32 %234, -1
ret i32 %235
}