#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 */
char *calloc(size_t, int);
int /*<<< orphan*/ csvawk_awkcsvparser(char *, size_t, unsigned int,
                                       unsigned int, unsigned int);
int /*<<< orphan*/ csvawk_awkraw(char *, size_t, unsigned int, unsigned int,
                                 unsigned int);
int /*<<< orphan*/ csvawk_csvtools(char *, size_t, unsigned int, unsigned int,
                                   unsigned int);
int /*<<< orphan*/ csvcut_csvkit(char *, size_t, unsigned int, unsigned int,
                                 unsigned int);
int /*<<< orphan*/ csvcut_csvtools(char *, size_t, unsigned int, unsigned int,
                                   unsigned int);
int /*<<< orphan*/ csvcut_gnucut(char *, size_t, unsigned int, unsigned int,
                                 unsigned int);
int /*<<< orphan*/ csvcut_sed(char *, size_t, unsigned int, unsigned int,
                              unsigned int);
int /*<<< orphan*/ csvgrep_awk(char *, size_t, unsigned int, unsigned int,
                               unsigned int);
int /*<<< orphan*/ csvgrep_csvkit(char *, size_t, unsigned int, unsigned int,
                                  unsigned int);
int /*<<< orphan*/ csvgrep_csvtools(char *, size_t, unsigned int, unsigned int,
                                    unsigned int);
int /*<<< orphan*/ csvgrep_gnugrep(char *, size_t, unsigned int, unsigned int,
                                   unsigned int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ fwrite(char *, int, size_t, int /*<<< orphan*/);
size_t generate_csv(char *, size_t, size_t *, unsigned int, unsigned int,
                    unsigned int);
char getopt(int, char **, char *);
int /*<<< orphan*/ optarg;
int /*<<< orphan*/ print_help();
int /*<<< orphan*/ print_run(char *, char *, char *, char *, size_t,
                             unsigned int, unsigned int);
int /*<<< orphan*/ sscanf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
unsigned int xxh_mix(unsigned int, int);
int main(int argc, char **argv) {
  size_t bench_size = 200 * 1024 * 1024;
  unsigned int columns = 6;
  unsigned int repeats = 5;
  unsigned int bench_copy = 2;
  unsigned int seed1 = xxh_mix(29, 42);
  unsigned int seed2 = xxh_mix(13, 11);
  bool only_csvtools = false;
  bool output_stdout = false;
  char c;
  while ((c = getopt(argc, argv, "b:c:r:e:s:xph")) != -1) {
    switch (c) {
    case 'b':
      sscanf(optarg, "%zu", &bench_size);
      bench_size *= 1024 * 1024;
      break;
    case 'c':
      sscanf(optarg, "%u", &columns);
      break;
    case 'r':
      sscanf(optarg, "%u", &repeats);
      break;
    case 'e':
      sscanf(optarg, "%u", &bench_copy);
      break;
    case 's':
      sscanf(optarg, "%u", &seed1);
      seed1 = xxh_mix(seed1, 42);
      break;
    case 'x':
      only_csvtools = true;
      break;
    case 'p':
      output_stdout = true;
      break;
    case '?':
    case 'h':
    default:
      print_help();
      exit(1);
      break;
    }
  }
  char *buffer = calloc(bench_size, sizeof(char));
  fprintf(stderr, "Preparing data (%zu bytes)\n", bench_size);
  size_t data_filled_small;
  size_t data_filled = generate_csv(buffer, bench_size, &data_filled_small,
                                    seed1, seed2, columns);
  fprintf(stderr, "Data ready (%zu bytes)\n", data_filled);
  if (output_stdout) {
    for (unsigned int b = 0; b < bench_copy; b++) {
      fwrite(buffer, sizeof(char), data_filled, stdout);
      fflush(stdout);
    }
    return 0;
  }
  fprintf(stdout, "program,name,command,min speed,max speed,median speed");
  fprintf(stdout, "\n");
  fprintf(stderr, "Running pipe bench fist\n");
  if (!only_csvtools) {
    print_run("bench pipe", "cat", "cat > /dev/null", buffer, data_filled,
              bench_copy, repeats);
    print_run("bench pipe", "wc -l", "wc -l > /dev/null", buffer, data_filled,
              bench_copy, repeats);
    print_run("bench pipe", "md5sum", "openssl md5 > /dev/null", buffer,
              data_filled, bench_copy, repeats);
  }
  csvgrep_csvtools(buffer, data_filled, bench_copy, repeats, columns);
  if (!only_csvtools) {
    csvgrep_csvkit(buffer, data_filled_small, bench_copy, repeats, columns);
    csvgrep_awk(buffer, data_filled, bench_copy, repeats, columns);
    csvgrep_gnugrep(buffer, data_filled, bench_copy, repeats, columns);
  }
  csvcut_csvtools(buffer, data_filled, bench_copy, repeats, columns);
  if (!only_csvtools) {
    csvcut_csvkit(buffer, data_filled_small, bench_copy, repeats, columns);
    csvcut_gnucut(buffer, data_filled, bench_copy, repeats, columns);
    csvcut_sed(buffer, data_filled, bench_copy, repeats, columns);
  }
  csvawk_csvtools(buffer, data_filled, bench_copy, repeats / 3, columns);
  if (!only_csvtools) {
    csvawk_awkraw(buffer, data_filled, bench_copy, repeats / 3, columns);
    csvawk_awkcsvparser(buffer, data_filled_small, bench_copy, repeats / 3,
                        columns);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0xc800000,-0x18(%rbp)
0c
movl   $0x6,-0x1c(%rbp)
movl   $0x5,-0x20(%rbp)
movl   $0x2,-0x24(%rbp)
mov    $0x1d,%edi
mov    $0x2a,%esi
call   1080 <xxh_mix@plt>
mov    %eax,-0x28(%rbp)
mov    $0xd,%edi
mov    $0xb,%esi
call   1080 <xxh_mix@plt>
mov    %eax,-0x2c(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe12(%rip),%rdx
call   1100 <getopt@plt>
mov    %al,-0x35(%rbp)
movsbl %al,%eax
cmp    $0xffffffff,%eax
je     1403 <main+0x1a3>
movsbl -0x35(%rbp),%eax
add    $0xffffffc1,%eax
mov    %eax,%ecx
mov    %rcx,-0x60(%rbp)
sub    $0x39,%eax
ja     13ed <main+0x18d>
mov    -0x60(%rbp),%rax
lea    0xcf5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2cdd(%rip),%rax
mov    (%rax),%edi
lea    0xdd2(%rip),%rsi
lea    -0x18(%rbp),%rdx
mov    $0x0,%al
call   10d0 <sscanf@plt>
mov    -0x18(%rbp),%rax
shl    $0x14,%rax
mov    %rax,-0x18(%rbp)
jmp    13fe <main+0x19e>
mov    0x2cb1(%rip),%rax
mov    (%rax),%edi
lea    0xdaa(%rip),%rsi
lea    -0x1c(%rbp),%rdx
mov    $0x0,%al
call   10d0 <sscanf@plt>
jmp    13fe <main+0x19e>
mov    0x2c91(%rip),%rax
mov    (%rax),%edi
lea    0xd8a(%rip),%rsi
lea    -0x20(%rbp),%rdx
mov    $0x0,%al
call   10d0 <sscanf@plt>
jmp    13fe <main+0x19e>
mov    0x2c71(%rip),%rax
mov    (%rax),%edi
lea    0xd6a(%rip),%rsi
lea    -0x24(%rbp),%rdx
mov    $0x0,%al
call   10d0 <sscanf@plt>
jmp    13fe <main+0x19e>
mov    0x2c51(%rip),%rax
mov    (%rax),%edi
lea    0xd4a(%rip),%rsi
lea    -0x28(%rbp),%rdx
mov    $0x0,%al
call   10d0 <sscanf@plt>
mov    -0x28(%rbp),%edi
mov    $0x2a,%esi
call   1080 <xxh_mix@plt>
mov    %eax,-0x28(%rbp)
jmp    13fe <main+0x19e>
movl   $0x1,-0x30(%rbp)
jmp    13fe <main+0x19e>
movl   $0x1,-0x34(%rbp)
jmp    13fe <main+0x19e>
jmp    13ed <main+0x18d>
mov    $0x0,%al
call   1130 <print_help@plt>
mov    $0x1,%edi
call   1140 <exit@plt>
jmp    12c8 <main+0x68>
mov    -0x18(%rbp),%rdi
mov    $0x1,%esi
call   1090 <calloc@plt>
mov    %rax,-0x40(%rbp)
mov    0x2bbc(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rdx
lea    0xcd4(%rip),%rsi
mov    $0x0,%al
call   10a0 <fprintf@plt>
mov    -0x40(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%ecx
mov    -0x2c(%rbp),%r8d
mov    -0x1c(%rbp),%r9d
lea    -0x48(%rbp),%rdx
call   10e0 <generate_csv@plt>
mov    %rax,-0x50(%rbp)
mov    0x2b81(%rip),%rax
mov    (%rax),%edi
mov    -0x50(%rbp),%rdx
lea    0xcb5(%rip),%rsi
mov    $0x0,%al
call   10a0 <fprintf@plt>
cmpl   $0x0,-0x34(%rbp)
je     14cb <main+0x26b>
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x24(%rbp),%eax
jae    14bf <main+0x25f>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rdx
mov    0x2b39(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
call   1150 <fwrite@plt>
mov    0x2b26(%rip),%rax
mov    (%rax),%edi
call   10c0 <fflush@plt>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    147c <main+0x21c>
movl   $0x0,-0x4(%rbp)
jmp    16f3 <main+0x493>
mov    0x2afe(%rip),%rax
mov    (%rax),%edi
lea    0xc56(%rip),%rsi
mov    $0x0,%al
call   10a0 <fprintf@plt>
mov    0x2ae7(%rip),%rax
mov    (%rax),%edi
lea    0xc25(%rip),%rsi
mov    $0x0,%al
call   10a0 <fprintf@plt>
mov    0x2ad8(%rip),%rax
mov    (%rax),%edi
lea    0xc5e(%rip),%rsi
mov    $0x0,%al
call   10a0 <fprintf@plt>
cmpl   $0x0,-0x30(%rbp)
jne    159e <main+0x33e>
mov    -0x40(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x24(%rbp),%r9d
mov    -0x20(%rbp),%eax
lea    0xc50(%rip),%rdi
lea    0xc54(%rip),%rsi
lea    0xc51(%rip),%rdx
mov    %eax,(%rsp)
call   10b0 <print_run@plt>
mov    -0x40(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x24(%rbp),%r9d
mov    -0x20(%rbp),%eax
lea    0xc24(%rip),%rdi
lea    0xc3c(%rip),%rsi
lea    0xc3b(%rip),%rdx
mov    %eax,(%rsp)
call   10b0 <print_run@plt>
mov    -0x40(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x24(%rbp),%r9d
mov    -0x20(%rbp),%eax
lea    0xbf8(%rip),%rdi
lea    0xc28(%rip),%rsi
lea    0xc28(%rip),%rdx
mov    %eax,(%rsp)
call   10b0 <print_run@plt>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   1050 <csvgrep_csvtools@plt>
cmpl   $0x0,-0x30(%rbp)
jne    1604 <main+0x3a4>
mov    -0x40(%rbp),%rdi
mov    -0x48(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   1060 <csvgrep_csvkit@plt>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   1170 <csvgrep_awk@plt>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   1120 <csvgrep_gnugrep@plt>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   1110 <csvcut_csvtools@plt>
cmpl   $0x0,-0x30(%rbp)
jne    166a <main+0x40a>
mov    -0x40(%rbp),%rdi
mov    -0x48(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   1070 <csvcut_csvkit@plt>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   10f0 <csvcut_gnucut@plt>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%r8d
call   1030 <csvcut_sed@plt>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x3,%ecx
xor    %edx,%edx
div    %ecx
mov    -0x64(%rbp),%edx
mov    %eax,%ecx
mov    -0x1c(%rbp),%r8d
call   1160 <csvawk_csvtools@plt>
cmpl   $0x0,-0x30(%rbp)
jne    16ec <main+0x48c>
mov    -0x40(%rbp),%rdi
mov    -0x50(%rbp),%rsi
mov    -0x24(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x3,%ecx
xor    %edx,%edx
div    %ecx
mov    -0x6c(%rbp),%edx
mov    %eax,%ecx
mov    -0x1c(%rbp),%r8d
call   1040 <csvawk_awkraw@plt>
mov    -0x40(%rbp),%rdi
mov    -0x48(%rbp),%rsi
mov    -0x24(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x3,%ecx
xor    %edx,%edx
div    %ecx
mov    -0x68(%rbp),%edx
mov    %eax,%ecx
mov    -0x1c(%rbp),%r8d
call   1180 <csvawk_awkcsvparser@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
movq   $0xc800000,0x18(%rsp)
80 0c
movl   $0x6,0x10(%rsp)
movl   $0x5,0xc(%rsp)
movl   $0x2,0x8(%rsp)
mov    $0x1d,%edi
mov    $0x2a,%esi
call   1080 <xxh_mix@plt>
mov    %eax,0x14(%rsp)
mov    $0xd,%edi
mov    $0xb,%esi
call   1080 <xxh_mix@plt>
mov    %eax,%r12d
lea    0xd9c(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   1100 <getopt@plt>
cmp    $0xff,%al
je     13e9 <main+0x189>
mov    %r12d,0x34(%rsp)
lea    0xd22(%rip),%r14
lea    0xd77(%rip),%r13
xor    %r15d,%r15d
movl   $0x0,0x24(%rsp)
jmp    1326 <main+0xc6>
mov    0x2cff(%rip),%rax
mov    (%rax),%edi
lea    0xd6c(%rip),%rsi
lea    0x10(%rsp),%rdx
xor    %eax,%eax
call   10d0 <sscanf@plt>
mov    %r12d,%r15d
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r13,%rdx
call   1100 <getopt@plt>
cmp    $0xff,%al
je     13d9 <main+0x179>
movsbl %al,%eax
add    $0xffffff9e,%eax
cmp    $0x16,%eax
ja     16d6 <main+0x476>
mov    %r15d,%r12d
mov    $0x1,%r15d
movslq (%r14,%rax,4),%rax
add    %r14,%rax
jmp    *%rax
mov    0x2caa(%rip),%rax
mov    (%rax),%edi
lea    0xd13(%rip),%rsi
lea    0x18(%rsp),%rdx
xor    %eax,%eax
call   10d0 <sscanf@plt>
shlq   $0x14,0x18(%rsp)
jmp    130e <main+0xae>
mov    0x2c86(%rip),%rax
mov    (%rax),%edi
lea    0xcf3(%rip),%rsi
lea    0x8(%rsp),%rdx
jmp    1307 <main+0xa7>
movl   $0x1,0x24(%rsp)
jmp    130e <main+0xae>
mov    0x2c65(%rip),%rax
mov    (%rax),%edi
lea    0xcd2(%rip),%rsi
lea    0xc(%rsp),%rdx
jmp    1307 <main+0xa7>
mov    0x2c4b(%rip),%rax
mov    (%rax),%edi
lea    0xcb8(%rip),%rsi
lea    0x14(%rsp),%rdx
xor    %eax,%eax
call   10d0 <sscanf@plt>
mov    0x14(%rsp),%edi
mov    $0x2a,%esi
call   1080 <xxh_mix@plt>
mov    %eax,0x14(%rsp)
jmp    130e <main+0xae>
mov    0x18(%rsp),%rdi
mov    0x34(%rsp),%r12d
mov    0x24(%rsp),%ebx
jmp    13f3 <main+0x193>
xor    %ebx,%ebx
mov    $0xc800000,%edi
xor    %r15d,%r15d
mov    $0x1,%esi
call   1090 <calloc@plt>
mov    %rax,%r14
mov    0x2bd1(%rip),%rbp
mov    0x0(%rbp),%edi
mov    0x18(%rsp),%rdx
lea    0xc5b(%rip),%rsi
xor    %eax,%eax
call   10a0 <fprintf@plt>
mov    0x18(%rsp),%rsi
mov    0x14(%rsp),%ecx
mov    0x10(%rsp),%r9d
lea    0x28(%rsp),%rdx
mov    %r14,%rdi
mov    %r12d,%r8d
call   10e0 <generate_csv@plt>
mov    %rax,%r12
mov    0x0(%rbp),%edi
lea    0xc45(%rip),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   10a0 <fprintf@plt>
test   %ebx,%ebx
je     1497 <main+0x237>
cmpl   $0x0,0x8(%rsp)
je     16c5 <main+0x465>
xor    %ebp,%ebp
mov    0x2b66(%rip),%rbx
nopw   0x0(%rax,%rax,1)
mov    (%rbx),%ecx
mov    %r14,%rdi
mov    $0x1,%esi
mov    %r12,%rdx
call   1150 <fwrite@plt>
mov    (%rbx),%edi
call   10c0 <fflush@plt>
add    $0x1,%ebp
cmp    0x8(%rsp),%ebp
jb     1470 <main+0x210>
jmp    16c5 <main+0x465>
mov    0x2b32(%rip),%rbx
mov    (%rbx),%edi
lea    0xbfe(%rip),%rsi
xor    %eax,%eax
call   10a0 <fprintf@plt>
mov    (%rbx),%edi
lea    0xbd4(%rip),%rsi
xor    %eax,%eax
call   10a0 <fprintf@plt>
mov    0x0(%rbp),%edi
lea    0xc13(%rip),%rsi
xor    %eax,%eax
call   10a0 <fprintf@plt>
mov    0x8(%rsp),%r9d
mov    0xc(%rsp),%ecx
test   %r15d,%r15d
je     14f5 <main+0x295>
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
mov    %r9d,%edx
call   1050 <csvgrep_csvtools@plt>
jmp    15cd <main+0x36d>
mov    %ecx,(%rsp)
lea    0xbf5(%rip),%rbp
lea    0xbf9(%rip),%rsi
lea    0xbf6(%rip),%rdx
mov    %rbp,%rdi
mov    %r14,%rcx
mov    %r12,%r8
call   10b0 <print_run@plt>
mov    0x8(%rsp),%r9d
mov    0xc(%rsp),%eax
mov    %eax,(%rsp)
lea    0xbe5(%rip),%rsi
lea    0xbe4(%rip),%rdx
mov    %rbp,%rdi
mov    %r14,%rcx
mov    %r12,%r8
call   10b0 <print_run@plt>
mov    0x8(%rsp),%r9d
mov    0xc(%rsp),%eax
mov    %eax,(%rsp)
lea    0xbd5(%rip),%rsi
lea    0xbd5(%rip),%rdx
mov    %rbp,%rdi
mov    %r14,%rcx
mov    %r12,%r8
call   10b0 <print_run@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1050 <csvgrep_csvtools@plt>
mov    0x28(%rsp),%rsi
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
call   1060 <csvgrep_csvkit@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1170 <csvgrep_awk@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1120 <csvgrep_gnugrep@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1110 <csvcut_csvtools@plt>
test   %r15d,%r15d
je     1614 <main+0x3b4>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%eax
mov    $0xaaaaaaab,%ecx
imul   %rax,%rcx
shr    $0x21,%rcx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1160 <csvawk_csvtools@plt>
jmp    16c5 <main+0x465>
mov    0x28(%rsp),%rsi
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
call   1070 <csvcut_csvkit@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   10f0 <csvcut_gnucut@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1030 <csvcut_sed@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
mov    $0xaaaaaaab,%ebp
imul   %rbp,%rcx
shr    $0x21,%rcx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1160 <csvawk_csvtools@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
imul   %rbp,%rcx
shr    $0x21,%rcx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
mov    %r12,%rsi
call   1040 <csvawk_awkraw@plt>
mov    0x28(%rsp),%rsi
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%ecx
imul   %rbp,%rcx
shr    $0x21,%rcx
mov    0x10(%rsp),%r8d
mov    %r14,%rdi
call   1180 <csvawk_awkcsvparser@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %eax,%eax
call   1130 <print_help@plt>
mov    $0x1,%edi
call   1140 <exit@plt>

LLVM IR (-O0):
@.str = [14 x i8] c"b:c:r:e:s:xph\00"
@optarg = global i32 0
@.str.1 = [4 x i8] c"%zu\00"
@.str.2 = [3 x i8] c"%u\00"
@stderr = global i32 0
@.str.3 = [28 x i8] c"Preparing data (%zu bytes)\0A\00"
@.str.4 = [24 x i8] c"Data ready (%zu bytes)\0A\00"
@stdout = global i32 0
@.str.5 = [54 x i8] c"program,name,command,min speed,max speed,median speed\00"
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [25 x i8] c"Running pipe bench fist\0A\00"
@.str.8 = [11 x i8] c"bench pipe\00"
@.str.9 = [4 x i8] c"cat\00"
@.str.10 = [16 x i8] c"cat > /dev/null\00"
@.str.11 = [6 x i8] c"wc -l\00"
@.str.12 = [18 x i8] c"wc -l > /dev/null\00"
@.str.13 = [7 x i8] c"md5sum\00"
@.str.14 = [24 x i8] c"openssl md5 > /dev/null\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i64
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i8
%15 = alloca i8*
%16 = alloca i64
%17 = alloca i64
%18 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i64 209715200, i64* %6
store i32 6, i32* %7
store i32 5, i32* %8
store i32 2, i32* %9
%19 = call i32 @xxh_mix(i32 29, i32 42)
store i32 %19, i32* %10
%20 = call i32 @xxh_mix(i32 13, i32 11)
store i32 %20, i32* %11
store i32 0, i32* %12
store i32 0, i32* %13
br label %21
21: ; preds = %55, %2
%22 = load i32, i32* %4
%23 = load i8**, i8*** %5
%24 = call signext i8 @getopt(i32 %22, i8** %23, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
store i8 %24, i8* %14
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, -1
br i1 %26, label %27, label %56
27: ; preds = %21
%28 = load i8, i8* %14
%29 = sext i8 %28 to i32
switch i32 %29, label %52 [
i32 98, label %30
i32 99, label %35
i32 114, label %38
i32 101, label %41
i32 115, label %44
i32 120, label %49
i32 112, label %50
i32 63, label %51
i32 104, label %51
]
30: ; preds = %27
%31 = load i32, i32* @optarg
%32 = call i32 (i32, i8*, ...) @sscanf(i32 %31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i64* %6)
%33 = load i64, i64* %6
%34 = mul i64 %33, 1048576
store i64 %34, i64* %6
br label %55
35: ; preds = %27
%36 = load i32, i32* @optarg
%37 = call i32 (i32, i8*, ...) @sscanf(i32 %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %7)
br label %55
38: ; preds = %27
%39 = load i32, i32* @optarg
%40 = call i32 (i32, i8*, ...) @sscanf(i32 %39, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %8)
br label %55
41: ; preds = %27
%42 = load i32, i32* @optarg
%43 = call i32 (i32, i8*, ...) @sscanf(i32 %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %9)
br label %55
44: ; preds = %27
%45 = load i32, i32* @optarg
%46 = call i32 (i32, i8*, ...) @sscanf(i32 %45, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %10)
%47 = load i32, i32* %10
%48 = call i32 @xxh_mix(i32 %47, i32 42)
store i32 %48, i32* %10
br label %55
49: ; preds = %27
store i32 1, i32* %12
br label %55
50: ; preds = %27
store i32 1, i32* %13
br label %55
51: ; preds = %27, %27
br label %52
52: ; preds = %27, %51
%53 = call i32 (...) @print_help()
%54 = call i32 @exit(i32 1)
unreachable
55: ; preds = %50, %49, %44, %41, %38, %35, %30
br label %21
56: ; preds = %21
%57 = load i64, i64* %6
%58 = call i8* @calloc(i64 %57, i32 1)
store i8* %58, i8** %15
%59 = load i32, i32* @stderr
%60 = load i64, i64* %6
%61 = call i32 (i32, i8*, ...) @fprintf(i32 %59, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i64 %60)
%62 = load i8*, i8** %15
%63 = load i64, i64* %6
%64 = load i32, i32* %10
%65 = load i32, i32* %11
%66 = load i32, i32* %7
%67 = call i64 @generate_csv(i8* %62, i64 %63, i64* %16, i32 %64, i32 %65, i32 %66)
store i64 %67, i64* %17
%68 = load i32, i32* @stderr
%69 = load i64, i64* %17
%70 = call i32 (i32, i8*, ...) @fprintf(i32 %68, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0), i64 %69)
%71 = load i32, i32* %13
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %89
73: ; preds = %56
store i32 0, i32* %18
br label %74
74: ; preds = %85, %73
%75 = load i32, i32* %18
%76 = load i32, i32* %9
%77 = icmp ult i32 %75, %76
br i1 %77, label %78, label %88
78: ; preds = %74
%79 = load i8*, i8** %15
%80 = load i64, i64* %17
%81 = load i32, i32* @stdout
%82 = call i32 @fwrite(i8* %79, i32 1, i64 %80, i32 %81)
%83 = load i32, i32* @stdout
%84 = call i32 @fflush(i32 %83)
br label %85
85: ; preds = %78
%86 = load i32, i32* %18
%87 = add i32 %86, 1
store i32 %87, i32* %18
br label %74
88: ; preds = %74
store i32 0, i32* %3
br label %196
89: ; preds = %56
%90 = load i32, i32* @stdout
%91 = call i32 (i32, i8*, ...) @fprintf(i32 %90, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%92 = load i32, i32* @stdout
%93 = call i32 (i32, i8*, ...) @fprintf(i32 %92, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%94 = load i32, i32* @stderr
%95 = call i32 (i32, i8*, ...) @fprintf(i32 %94, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%96 = load i32, i32* %12
%97 = icmp ne i32 %96, 0
br i1 %97, label %114, label %98
98: ; preds = %89
%99 = load i8*, i8** %15
%100 = load i64, i64* %17
%101 = load i32, i32* %9
%102 = load i32, i32* %8
%103 = call i32 @print_run(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8* %99, i64 %100, i32 %101, i32 %102)
%104 = load i8*, i8** %15
%105 = load i64, i64* %17
%106 = load i32, i32* %9
%107 = load i32, i32* %8
%108 = call i32 @print_run(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i8* %104, i64 %105, i32 %106, i32 %107)
%109 = load i8*, i8** %15
%110 = load i64, i64* %17
%111 = load i32, i32* %9
%112 = load i32, i32* %8
%113 = call i32 @print_run(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0), i8* %109, i64 %110, i32 %111, i32 %112)
br label %114
114: ; preds = %98, %89
%115 = load i8*, i8** %15
%116 = load i64, i64* %17
%117 = load i32, i32* %9
%118 = load i32, i32* %8
%119 = load i32, i32* %7
%120 = call i32 @csvgrep_csvtools(i8* %115, i64 %116, i32 %117, i32 %118, i32 %119)
%121 = load i32, i32* %12
%122 = icmp ne i32 %121, 0
br i1 %122, label %142, label %123
123: ; preds = %114
%124 = load i8*, i8** %15
%125 = load i64, i64* %16
%126 = load i32, i32* %9
%127 = load i32, i32* %8
%128 = load i32, i32* %7
%129 = call i32 @csvgrep_csvkit(i8* %124, i64 %125, i32 %126, i32 %127, i32 %128)
%130 = load i8*, i8** %15
%131 = load i64, i64* %17
%132 = load i32, i32* %9
%133 = load i32, i32* %8
%134 = load i32, i32* %7
%135 = call i32 @csvgrep_awk(i8* %130, i64 %131, i32 %132, i32 %133, i32 %134)
%136 = load i8*, i8** %15
%137 = load i64, i64* %17
%138 = load i32, i32* %9
%139 = load i32, i32* %8
%140 = load i32, i32* %7
%141 = call i32 @csvgrep_gnugrep(i8* %136, i64 %137, i32 %138, i32 %139, i32 %140)
br label %142
142: ; preds = %123, %114
%143 = load i8*, i8** %15
%144 = load i64, i64* %17
%145 = load i32, i32* %9
%146 = load i32, i32* %8
%147 = load i32, i32* %7
%148 = call i32 @csvcut_csvtools(i8* %143, i64 %144, i32 %145, i32 %146, i32 %147)
%149 = load i32, i32* %12
%150 = icmp ne i32 %149, 0
br i1 %150, label %170, label %151
151: ; preds = %142
%152 = load i8*, i8** %15
%153 = load i64, i64* %16
%154 = load i32, i32* %9
%155 = load i32, i32* %8
%156 = load i32, i32* %7
%157 = call i32 @csvcut_csvkit(i8* %152, i64 %153, i32 %154, i32 %155, i32 %156)
%158 = load i8*, i8** %15
%159 = load i64, i64* %17
%160 = load i32, i32* %9
%161 = load i32, i32* %8
%162 = load i32, i32* %7
%163 = call i32 @csvcut_gnucut(i8* %158, i64 %159, i32 %160, i32 %161, i32 %162)
%164 = load i8*, i8** %15
%165 = load i64, i64* %17
%166 = load i32, i32* %9
%167 = load i32, i32* %8
%168 = load i32, i32* %7
%169 = call i32 @csvcut_sed(i8* %164, i64 %165, i32 %166, i32 %167, i32 %168)
br label %170
170: ; preds = %151, %142
%171 = load i8*, i8** %15
%172 = load i64, i64* %17
%173 = load i32, i32* %9
%174 = load i32, i32* %8
%175 = udiv i32 %174, 3
%176 = load i32, i32* %7
%177 = call i32 @csvawk_csvtools(i8* %171, i64 %172, i32 %173, i32 %175, i32 %176)
%178 = load i32, i32* %12
%179 = icmp ne i32 %178, 0
br i1 %179, label %195, label %180
180: ; preds = %170
%181 = load i8*, i8** %15
%182 = load i64, i64* %17
%183 = load i32, i32* %9
%184 = load i32, i32* %8
%185 = udiv i32 %184, 3
%186 = load i32, i32* %7
%187 = call i32 @csvawk_awkraw(i8* %181, i64 %182, i32 %183, i32 %185, i32 %186)
%188 = load i8*, i8** %15
%189 = load i64, i64* %16
%190 = load i32, i32* %9
%191 = load i32, i32* %8
%192 = udiv i32 %191, 3
%193 = load i32, i32* %7
%194 = call i32 @csvawk_awkcsvparser(i8* %188, i64 %189, i32 %190, i32 %192, i32 %193)
br label %195
195: ; preds = %180, %170
store i32 0, i32* %3
br label %196
196: ; preds = %195, %88
%197 = load i32, i32* %3
ret i32 %197
}

LLVM IR (-O2):
@.str = [14 x i8] c"b:c:r:e:s:xph\00"
@optarg = global i32 0
@.str.1 = [4 x i8] c"%zu\00"
@.str.2 = [3 x i8] c"%u\00"
@stderr = global i32 0
@.str.3 = [28 x i8] c"Preparing data (%zu bytes)\0A\00"
@.str.4 = [24 x i8] c"Data ready (%zu bytes)\0A\00"
@stdout = global i32 0
@.str.5 = [54 x i8] c"program,name,command,min speed,max speed,median speed\00"
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [25 x i8] c"Running pipe bench fist\0A\00"
@.str.8 = [11 x i8] c"bench pipe\00"
@.str.9 = [4 x i8] c"cat\00"
@.str.10 = [16 x i8] c"cat > /dev/null\00"
@.str.11 = [6 x i8] c"wc -l\00"
@.str.12 = [18 x i8] c"wc -l > /dev/null\00"
@.str.13 = [7 x i8] c"md5sum\00"
@.str.14 = [24 x i8] c"openssl md5 > /dev/null\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i64
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i64
%9 = bitcast i64* %3 to i8*
store i64 209715200, i64* %3
%10 = bitcast i32* %4 to i8*
store i32 6, i32* %4
%11 = bitcast i32* %5 to i8*
store i32 5, i32* %5
%12 = bitcast i32* %6 to i8*
store i32 2, i32* %6
%13 = bitcast i32* %7 to i8*
%14 = tail call i32 @xxh_mix(i32 29, i32 42)
store i32 %14, i32* %7
%15 = tail call i32 @xxh_mix(i32 13, i32 11)
%16 = call signext i8 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%17 = icmp eq i8 %16, -1
br i1 %17, label %53, label %18
18: ; preds = %2, %46
%19 = phi i8 [ %49, %46 ], [ %16, %2 ]
%20 = phi i32 [ %48, %46 ], [ 0, %2 ]
%21 = phi i32 [ %47, %46 ], [ 0, %2 ]
%22 = sext i8 %19 to i32
switch i32 %22, label %43 [
i32 98, label %23
i32 99, label %28
i32 114, label %31
i32 101, label %34
i32 115, label %37
i32 120, label %46
i32 112, label %42
]
23: ; preds = %18
%24 = load i32, i32* @optarg
%25 = call i32 (i32, i8*, ...) @sscanf(i32 %24, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i64* %3)
%26 = load i64, i64* %3
%27 = shl i64 %26, 20
store i64 %27, i64* %3
br label %46
28: ; preds = %18
%29 = load i32, i32* @optarg
%30 = call i32 (i32, i8*, ...) @sscanf(i32 %29, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
br label %46
31: ; preds = %18
%32 = load i32, i32* @optarg
%33 = call i32 (i32, i8*, ...) @sscanf(i32 %32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %5)
br label %46
34: ; preds = %18
%35 = load i32, i32* @optarg
%36 = call i32 (i32, i8*, ...) @sscanf(i32 %35, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %6)
br label %46
37: ; preds = %18
%38 = load i32, i32* @optarg
%39 = call i32 (i32, i8*, ...) @sscanf(i32 %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%40 = load i32, i32* %7
%41 = call i32 @xxh_mix(i32 %40, i32 42)
store i32 %41, i32* %7
br label %46
42: ; preds = %18
br label %46
43: ; preds = %18
%44 = call i32 (...) @print_help()
%45 = call i32 @exit(i32 1)
unreachable
46: ; preds = %18, %42, %37, %34, %31, %28, %23
%47 = phi i32 [ 1, %42 ], [ %21, %37 ], [ %21, %34 ], [ %21, %31 ], [ %21, %28 ], [ %21, %23 ], [ %21, %18 ]
%48 = phi i32 [ %20, %42 ], [ %20, %37 ], [ %20, %34 ], [ %20, %31 ], [ %20, %28 ], [ %20, %23 ], [ 1, %18 ]
%49 = call signext i8 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%50 = icmp eq i8 %49, -1
br i1 %50, label %51, label %18
51: ; preds = %46
%52 = load i64, i64* %3
br label %53
53: ; preds = %51, %2
%54 = phi i64 [ 209715200, %2 ], [ %52, %51 ]
%55 = phi i32 [ 0, %2 ], [ %47, %51 ]
%56 = phi i32 [ 0, %2 ], [ %48, %51 ]
%57 = call i8* @calloc(i64 %54, i32 1)
%58 = load i32, i32* @stderr
%59 = load i64, i64* %3
%60 = call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i64 %59)
%61 = bitcast i64* %8 to i8*
%62 = load i64, i64* %3
%63 = load i32, i32* %7
%64 = load i32, i32* %4
%65 = call i64 @generate_csv(i8* %57, i64 %62, i64* %8, i32 %63, i32 %15, i32 %64)
%66 = load i32, i32* @stderr
%67 = call i32 (i32, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0), i64 %65)
%68 = icmp eq i32 %55, 0
br i1 %68, label %81, label %69
69: ; preds = %53
%70 = load i32, i32* %6
%71 = icmp eq i32 %70, 0
br i1 %71, label %160, label %72
72: ; preds = %69, %72
%73 = phi i32 [ %78, %72 ], [ 0, %69 ]
%74 = load i32, i32* @stdout
%75 = call i32 @fwrite(i8* %57, i32 1, i64 %65, i32 %74)
%76 = load i32, i32* @stdout
%77 = call i32 @fflush(i32 %76)
%78 = add nuw i32 %73, 1
%79 = load i32, i32* %6
%80 = icmp ult i32 %78, %79
br i1 %80, label %72, label %160
81: ; preds = %53
%82 = load i32, i32* @stdout
%83 = call i32 (i32, i8*, ...) @fprintf(i32 %82, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%84 = load i32, i32* @stdout
%85 = call i32 (i32, i8*, ...) @fprintf(i32 %84, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%86 = load i32, i32* @stderr
%87 = call i32 (i32, i8*, ...) @fprintf(i32 %86, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%88 = icmp eq i32 %56, 0
%89 = load i32, i32* %6
%90 = load i32, i32* %5
br i1 %88, label %91, label %116
91: ; preds = %81
%92 = call i32 @print_run(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8* %57, i64 %65, i32 %89, i32 %90)
%93 = load i32, i32* %6
%94 = load i32, i32* %5
%95 = call i32 @print_run(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i8* %57, i64 %65, i32 %93, i32 %94)
%96 = load i32, i32* %6
%97 = load i32, i32* %5
%98 = call i32 @print_run(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0), i8* %57, i64 %65, i32 %96, i32 %97)
%99 = load i32, i32* %6
%100 = load i32, i32* %5
%101 = load i32, i32* %4
%102 = call i32 @csvgrep_csvtools(i8* %57, i64 %65, i32 %99, i32 %100, i32 %101)
%103 = load i64, i64* %8
%104 = load i32, i32* %6
%105 = load i32, i32* %5
%106 = load i32, i32* %4
%107 = call i32 @csvgrep_csvkit(i8* %57, i64 %103, i32 %104, i32 %105, i32 %106)
%108 = load i32, i32* %6
%109 = load i32, i32* %5
%110 = load i32, i32* %4
%111 = call i32 @csvgrep_awk(i8* %57, i64 %65, i32 %108, i32 %109, i32 %110)
%112 = load i32, i32* %6
%113 = load i32, i32* %5
%114 = load i32, i32* %4
%115 = call i32 @csvgrep_gnugrep(i8* %57, i64 %65, i32 %112, i32 %113, i32 %114)
br label %119
116: ; preds = %81
%117 = load i32, i32* %4
%118 = call i32 @csvgrep_csvtools(i8* %57, i64 %65, i32 %89, i32 %90, i32 %117)
br label %119
119: ; preds = %116, %91
%120 = load i32, i32* %6
%121 = load i32, i32* %5
%122 = load i32, i32* %4
%123 = call i32 @csvcut_csvtools(i8* %57, i64 %65, i32 %120, i32 %121, i32 %122)
br i1 %88, label %124, label %154
124: ; preds = %119
%125 = load i64, i64* %8
%126 = load i32, i32* %6
%127 = load i32, i32* %5
%128 = load i32, i32* %4
%129 = call i32 @csvcut_csvkit(i8* %57, i64 %125, i32 %126, i32 %127, i32 %128)
%130 = load i32, i32* %6
%131 = load i32, i32* %5
%132 = load i32, i32* %4
%133 = call i32 @csvcut_gnucut(i8* %57, i64 %65, i32 %130, i32 %131, i32 %132)
%134 = load i32, i32* %6
%135 = load i32, i32* %5
%136 = load i32, i32* %4
%137 = call i32 @csvcut_sed(i8* %57, i64 %65, i32 %134, i32 %135, i32 %136)
%138 = load i32, i32* %6
%139 = load i32, i32* %5
%140 = udiv i32 %139, 3
%141 = load i32, i32* %4
%142 = call i32 @csvawk_csvtools(i8* %57, i64 %65, i32 %138, i32 %140, i32 %141)
%143 = load i32, i32* %6
%144 = load i32, i32* %5
%145 = udiv i32 %144, 3
%146 = load i32, i32* %4
%147 = call i32 @csvawk_awkraw(i8* %57, i64 %65, i32 %143, i32 %145, i32 %146)
%148 = load i64, i64* %8
%149 = load i32, i32* %6
%150 = load i32, i32* %5
%151 = udiv i32 %150, 3
%152 = load i32, i32* %4
%153 = call i32 @csvawk_awkcsvparser(i8* %57, i64 %148, i32 %149, i32 %151, i32 %152)
br label %160
154: ; preds = %119
%155 = load i32, i32* %6
%156 = load i32, i32* %5
%157 = udiv i32 %156, 3
%158 = load i32, i32* %4
%159 = call i32 @csvawk_csvtools(i8* %57, i64 %65, i32 %155, i32 %157, i32 %158)
br label %160
160: ; preds = %72, %69, %124, %154
ret i32 0
}