#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 atoi(char *);
int /*<<< orphan*/ cmdline_tracksplit_main(char *, char *, int, int, long, int,
                                           int, int, int, int, int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
char *getcwd(char *, int);
int /*<<< orphan*/ signproc_main(char *, char *, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ strncpy(char *, char *, int);
char *strrchr(char *, char);
int main(int argc, char *argv[]) {
  char filename[250];
  char startdir[250];
  char *helpcharptr;
  int make_use_rms = 1;
  int make_graphs = 0;
  long blocklen = 4410;
  int global_silence_factor = 150;
  int local_silence_threshold = 5;
  int min_silence_blocks = 20;
  int min_track_blocks = 50;
  int extra_blocks_start = 3;
  int extra_blocks_end = 6;
  char *charptr;
  char outfilename[250];
  char usage[1024];
  helpcharptr = getcwd(startdir, 250);
  if (helpcharptr == NULL)
    strcpy(startdir, "/");
  else
    strcat(startdir, "/");
  strcpy(usage,
         "gramofile <infile.wav> <global_silence_factor=150> "
         "<local_silence_thresh=5> <min_silent_blocks=20> "
         "<min_track_blocks=50> <extra_blocks_start=3> <extra_blocks_end=6>");
  fprintf(stderr, "args[%d]\n", argc);
  if (8 != argc) {
    fprintf(stderr, "%s\n", usage);
    return 1;
  }
  strncpy(filename, argv[1], 250);
  global_silence_factor = atoi(argv[2]);
  local_silence_threshold = atoi(argv[3]);
  min_silence_blocks = atoi(argv[4]);
  min_track_blocks = atoi(argv[5]);
  extra_blocks_start = atoi(argv[6]);
  extra_blocks_end = atoi(argv[7]);
  fprintf(stderr, "args: [%s] [%d] [%d] [%d] [%d] [%d] [%d]\n", filename,
          global_silence_factor, local_silence_threshold, min_silence_blocks,
          min_track_blocks, extra_blocks_start, extra_blocks_end);
  strncpy(outfilename, filename, 240);
  if ((charptr = strrchr(outfilename, '.')) != (char *)NULL) {
    charptr[0] = '\0';
    strcat(outfilename, "-part-.wav");
    fprintf(stderr, "filename[%s] ->[%s]\n", filename, outfilename);
  } else {
    fprintf(stderr, "Bad .wav filename [%s]\n", filename);
    return (1);
  }
  cmdline_tracksplit_main(
      startdir, filename, make_use_rms, make_graphs, blocklen,
      global_silence_factor, local_silence_threshold, min_silence_blocks,
      min_track_blocks, extra_blocks_start, extra_blocks_end);
  signproc_main(startdir, filename, outfilename);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x780,%rsp
movl   $0x0,-0x14(%rbp)
mov    %edi,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
movl   $0x1,-0x22c(%rbp)
movl   $0x0,-0x230(%rbp)
movq   $0x113a,-0x238(%rbp)
movl   $0x96,-0x23c(%rbp)
movl   $0x5,-0x240(%rbp)
movl   $0x14,-0x244(%rbp)
movl   $0x32,-0x248(%rbp)
movl   $0x3,-0x24c(%rbp)
movl   $0x6,-0x250(%rbp)
lea    -0x220(%rbp),%rdi
mov    $0xfa,%esi
call   1060 <getcwd@plt>
mov    %rax,-0x228(%rbp)
cmpq   $0x0,-0x228(%rbp)
jne    1245 <main+0xb5>
lea    -0x220(%rbp),%rdi
lea    0xdc5(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1258 <main+0xc8>
lea    -0x220(%rbp),%rdi
lea    0xdad(%rip),%rsi
call   1090 <strcat@plt>
lea    -0x760(%rbp),%rdi
lea    0xd9c(%rip),%rsi
call   1040 <strcpy@plt>
mov    0x2d6e(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%edx
lea    0xe29(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    $0x8,%eax
cmp    -0x18(%rbp),%eax
je     12bd <main+0x12d>
mov    0x2d46(%rip),%rax
mov    (%rax),%edi
lea    -0x760(%rbp),%rdx
lea    0xe07(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
movl   $0x1,-0x14(%rbp)
jmp    14cb <main+0x33b>
lea    -0x120(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rsi
mov    $0xfa,%edx
call   1030 <strncpy@plt>
mov    -0x20(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x23c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x18(%rax),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x240(%rbp)
mov    -0x20(%rbp),%rax
mov    0x20(%rax),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x244(%rbp)
mov    -0x20(%rbp),%rax
mov    0x28(%rax),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x248(%rbp)
mov    -0x20(%rbp),%rax
mov    0x30(%rax),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x24c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x38(%rax),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x250(%rbp)
mov    0x2c91(%rip),%rax
mov    (%rax),%edi
lea    -0x120(%rbp),%rdx
mov    -0x23c(%rbp),%ecx
mov    -0x240(%rbp),%r8d
mov    -0x244(%rbp),%r9d
mov    -0x248(%rbp),%r11d
mov    -0x24c(%rbp),%r10d
mov    -0x250(%rbp),%eax
lea    0xd2e(%rip),%rsi
mov    %r11d,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %eax,0x10(%rsp)
mov    $0x0,%al
call   1070 <fprintf@plt>
lea    -0x360(%rbp),%rdi
lea    -0x120(%rbp),%rsi
mov    $0xf0,%edx
call   1030 <strncpy@plt>
lea    -0x360(%rbp),%rdi
mov    $0x2e,%esi
call   1050 <strrchr@plt>
mov    %rax,-0x258(%rbp)
cmp    $0x0,%rax
je     141c <main+0x28c>
mov    -0x258(%rbp),%rax
movb   $0x0,(%rax)
lea    -0x360(%rbp),%rdi
lea    0xcf2(%rip),%rsi
call   1090 <strcat@plt>
mov    0x2be7(%rip),%rax
mov    (%rax),%edi
lea    -0x120(%rbp),%rdx
lea    -0x360(%rbp),%rcx
lea    0xcda(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    1446 <main+0x2b6>
mov    0x2bbd(%rip),%rax
mov    (%rax),%edi
lea    -0x120(%rbp),%rdx
lea    0xccc(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
movl   $0x1,-0x14(%rbp)
jmp    14cb <main+0x33b>
lea    -0x220(%rbp),%rdi
lea    -0x120(%rbp),%rsi
mov    -0x22c(%rbp),%edx
mov    -0x230(%rbp),%ecx
mov    -0x238(%rbp),%r8
mov    -0x23c(%rbp),%r9d
mov    -0x240(%rbp),%r14d
mov    -0x244(%rbp),%ebx
mov    -0x248(%rbp),%r11d
mov    -0x24c(%rbp),%r10d
mov    -0x250(%rbp),%eax
mov    %r14d,(%rsp)
mov    %ebx,0x8(%rsp)
mov    %r11d,0x10(%rsp)
mov    %r10d,0x18(%rsp)
mov    %eax,0x20(%rsp)
call   10a0 <cmdline_tracksplit_main@plt>
lea    -0x220(%rbp),%rdi
lea    -0x120(%rbp),%rsi
lea    -0x360(%rbp),%rdx
call   10b0 <signproc_main@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
add    $0x780,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x728,%rsp
mov    %rsi,%rbp
mov    %edi,%ebx
lea    0x120(%rsp),%rdi
mov    $0xfa,%esi
call   1060 <getcwd@plt>
lea    0xe41(%rip),%rsi
lea    0x120(%rsp),%rdi
test   %rax,%rax
je     11d3 <main+0x43>
call   1090 <strcat@plt>
jmp    11d8 <main+0x48>
call   1040 <strcpy@plt>
lea    0xe23(%rip),%rsi
lea    0x320(%rsp),%rdi
call   1040 <strcpy@plt>
mov    0x2ded(%rip),%r14
mov    (%r14),%edi
lea    0xeaa(%rip),%rsi
mov    %ebx,%edx
xor    %eax,%eax
call   1070 <fprintf@plt>
cmp    $0x8,%ebx
jne    136b <main+0x1db>
mov    0x8(%rbp),%rsi
lea    0x20(%rsp),%rdi
mov    $0xfa,%edx
call   1030 <strncpy@plt>
mov    0x10(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,%r12d
mov    0x18(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,%ebx
mov    0x20(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,%r13d
mov    0x28(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,%r15d
mov    0x30(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,%r14d
mov    0x38(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,%ebp
mov    0x2d71(%rip),%rax
mov    (%rax),%edi
sub    $0x8,%rsp
lea    0xe39(%rip),%rsi
lea    0x28(%rsp),%rdx
mov    %r12d,0xc(%rsp)
mov    %r12d,%ecx
mov    %rbx,0x20(%rsp)
mov    %ebx,%r8d
mov    %r15,%rbx
mov    %r13d,%r9d
xor    %eax,%eax
mov    %rbp,0x10(%rsp)
push   %rbp
mov    %r14,0x20(%rsp)
push   %r14
push   %r15
call   1070 <fprintf@plt>
add    $0x20,%rsp
lea    0x220(%rsp),%r12
mov    %r12,%rdi
lea    0x20(%rsp),%rsi
mov    $0xf0,%edx
call   1030 <strncpy@plt>
mov    %r12,%rdi
mov    $0x2e,%esi
call   1050 <strrchr@plt>
test   %rax,%rax
je     137f <main+0x1ef>
movb   $0x0,(%rax)
lea    0xdf4(%rip),%rsi
lea    0x220(%rsp),%rbp
mov    %rbp,%rdi
call   1090 <strcat@plt>
mov    0x2cde(%rip),%rax
mov    (%rax),%edi
lea    0xddf(%rip),%rsi
lea    0x20(%rsp),%r15
mov    %r15,%rdx
mov    %rbp,%rcx
xor    %eax,%eax
call   1070 <fprintf@plt>
sub    $0x8,%rsp
lea    0x128(%rsp),%r12
mov    $0x113a,%r8d
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x1,%edx
xor    %ecx,%ecx
mov    0xc(%rsp),%r9d
push   0x10(%rsp)
push   0x20(%rsp)
push   %rbx
push   %r13
push   0x40(%rsp)
call   10a0 <cmdline_tracksplit_main@plt>
add    $0x30,%rsp
mov    %r12,%rdi
mov    %r15,%rsi
mov    %rbp,%rdx
call   10b0 <signproc_main@plt>
xor    %eax,%eax
jmp    13a0 <main+0x210>
mov    (%r14),%edi
lea    0xd3c(%rip),%rsi
lea    0x320(%rsp),%rdx
jmp    1394 <main+0x204>
mov    0x2c5a(%rip),%rax
mov    (%rax),%edi
lea    0xd70(%rip),%rsi
lea    0x20(%rsp),%rdx
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    $0x1,%eax
add    $0x728,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"/\00"
@.str.1 = [165 x i8] c"gramofile <infile.wav> <global_silence_factor=150> <local_silence_thresh=5> <min_silent_blocks=20> <min_track_blocks=50> <extra_blocks_start=3> <extra_blocks_end=6>\00"
@stderr = global i32 0
@.str.2 = [10 x i8] c"args[%d]\0A\00"
@.str.3 = [4 x i8] c"%s\0A\00"
@.str.4 = [42 x i8] c"args: [%s] [%d] [%d] [%d] [%d] [%d] [%d]\0A\00"
@.str.5 = [11 x i8] c"-part-.wav\00"
@.str.6 = [21 x i8] c"filename[%s] ->[%s]\0A\00"
@.str.7 = [24 x i8] c"Bad .wav filename [%s]\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [250 x i8]
%7 = alloca [250 x i8]
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i64
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i8*
%19 = alloca [250 x i8]
%20 = alloca [1024 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 1, i32* %9
store i32 0, i32* %10
store i64 4410, i64* %11
store i32 150, i32* %12
store i32 5, i32* %13
store i32 20, i32* %14
store i32 50, i32* %15
store i32 3, i32* %16
store i32 6, i32* %17
%21 = getelementptr inbounds [250 x i8], [250 x i8]* %7, i64 0, i64 0
%22 = call i8* @getcwd(i8* %21, i32 250)
store i8* %22, i8** %8
%23 = load i8*, i8** %8
%24 = icmp eq i8* %23, null
br i1 %24, label %25, label %28
25: ; preds = %2
%26 = getelementptr inbounds [250 x i8], [250 x i8]* %7, i64 0, i64 0
%27 = call i32 @strcpy(i8* %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %31
28: ; preds = %2
%29 = getelementptr inbounds [250 x i8], [250 x i8]* %7, i64 0, i64 0
%30 = call i32 @strcat(i8* %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %31
31: ; preds = %28, %25
%32 = getelementptr inbounds [1024 x i8], [1024 x i8]* %20, i64 0, i64 0
%33 = call i32 @strcpy(i8* %32, i8* getelementptr inbounds ([165 x i8], [165 x i8]* @.str.1, i64 0, i64 0))
%34 = load i32, i32* @stderr
%35 = load i32, i32* %4
%36 = call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %35)
%37 = load i32, i32* %4
%38 = icmp ne i32 8, %37
br i1 %38, label %39, label %43
39: ; preds = %31
%40 = load i32, i32* @stderr
%41 = getelementptr inbounds [1024 x i8], [1024 x i8]* %20, i64 0, i64 0
%42 = call i32 (i32, i8*, ...) @fprintf(i32 %40, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %41)
store i32 1, i32* %3
br label %118
43: ; preds = %31
%44 = getelementptr inbounds [250 x i8], [250 x i8]* %6, i64 0, i64 0
%45 = load i8**, i8*** %5
%46 = getelementptr inbounds i8*, i8** %45, i64 1
%47 = load i8*, i8** %46
%48 = call i32 @strncpy(i8* %44, i8* %47, i32 250)
%49 = load i8**, i8*** %5
%50 = getelementptr inbounds i8*, i8** %49, i64 2
%51 = load i8*, i8** %50
%52 = call i32 @atoi(i8* %51)
store i32 %52, i32* %12
%53 = load i8**, i8*** %5
%54 = getelementptr inbounds i8*, i8** %53, i64 3
%55 = load i8*, i8** %54
%56 = call i32 @atoi(i8* %55)
store i32 %56, i32* %13
%57 = load i8**, i8*** %5
%58 = getelementptr inbounds i8*, i8** %57, i64 4
%59 = load i8*, i8** %58
%60 = call i32 @atoi(i8* %59)
store i32 %60, i32* %14
%61 = load i8**, i8*** %5
%62 = getelementptr inbounds i8*, i8** %61, i64 5
%63 = load i8*, i8** %62
%64 = call i32 @atoi(i8* %63)
store i32 %64, i32* %15
%65 = load i8**, i8*** %5
%66 = getelementptr inbounds i8*, i8** %65, i64 6
%67 = load i8*, i8** %66
%68 = call i32 @atoi(i8* %67)
store i32 %68, i32* %16
%69 = load i8**, i8*** %5
%70 = getelementptr inbounds i8*, i8** %69, i64 7
%71 = load i8*, i8** %70
%72 = call i32 @atoi(i8* %71)
store i32 %72, i32* %17
%73 = load i32, i32* @stderr
%74 = getelementptr inbounds [250 x i8], [250 x i8]* %6, i64 0, i64 0
%75 = load i32, i32* %12
%76 = load i32, i32* %13
%77 = load i32, i32* %14
%78 = load i32, i32* %15
%79 = load i32, i32* %16
%80 = load i32, i32* %17
%81 = call i32 (i32, i8*, ...) @fprintf(i32 %73, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0), i8* %74, i32 %75, i32 %76, i32 %77, i32 %78, i32 %79, i32 %80)
%82 = getelementptr inbounds [250 x i8], [250 x i8]* %19, i64 0, i64 0
%83 = getelementptr inbounds [250 x i8], [250 x i8]* %6, i64 0, i64 0
%84 = call i32 @strncpy(i8* %82, i8* %83, i32 240)
%85 = getelementptr inbounds [250 x i8], [250 x i8]* %19, i64 0, i64 0
%86 = call i8* @strrchr(i8* %85, i8 signext 46)
store i8* %86, i8** %18
%87 = icmp ne i8* %86, null
br i1 %87, label %88, label %97
88: ; preds = %43
%89 = load i8*, i8** %18
%90 = getelementptr inbounds i8, i8* %89, i64 0
store i8 0, i8* %90
%91 = getelementptr inbounds [250 x i8], [250 x i8]* %19, i64 0, i64 0
%92 = call i32 @strcat(i8* %91, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
%93 = load i32, i32* @stderr
%94 = getelementptr inbounds [250 x i8], [250 x i8]* %6, i64 0, i64 0
%95 = getelementptr inbounds [250 x i8], [250 x i8]* %19, i64 0, i64 0
%96 = call i32 (i32, i8*, ...) @fprintf(i32 %93, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i8* %94, i8* %95)
br label %101
97: ; preds = %43
%98 = load i32, i32* @stderr
%99 = getelementptr inbounds [250 x i8], [250 x i8]* %6, i64 0, i64 0
%100 = call i32 (i32, i8*, ...) @fprintf(i32 %98, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i8* %99)
store i32 1, i32* %3
br label %118
101: ; preds = %88
%102 = getelementptr inbounds [250 x i8], [250 x i8]* %7, i64 0, i64 0
%103 = getelementptr inbounds [250 x i8], [250 x i8]* %6, i64 0, i64 0
%104 = load i32, i32* %9
%105 = load i32, i32* %10
%106 = load i64, i64* %11
%107 = load i32, i32* %12
%108 = load i32, i32* %13
%109 = load i32, i32* %14
%110 = load i32, i32* %15
%111 = load i32, i32* %16
%112 = load i32, i32* %17
%113 = call i32 @cmdline_tracksplit_main(i8* %102, i8* %103, i32 %104, i32 %105, i64 %106, i32 %107, i32 %108, i32 %109, i32 %110, i32 %111, i32 %112)
%114 = getelementptr inbounds [250 x i8], [250 x i8]* %7, i64 0, i64 0
%115 = getelementptr inbounds [250 x i8], [250 x i8]* %6, i64 0, i64 0
%116 = getelementptr inbounds [250 x i8], [250 x i8]* %19, i64 0, i64 0
%117 = call i32 @signproc_main(i8* %114, i8* %115, i8* %116)
store i32 0, i32* %3
br label %118
118: ; preds = %101, %97, %39
%119 = load i32, i32* %3
ret i32 %119
}

LLVM IR (-O2):
@.str = [2 x i8] c"/\00"
@.str.1 = [165 x i8] c"gramofile <infile.wav> <global_silence_factor=150> <local_silence_thresh=5> <min_silent_blocks=20> <min_track_blocks=50> <extra_blocks_start=3> <extra_blocks_end=6>\00"
@stderr = global i32 0
@.str.2 = [10 x i8] c"args[%d]\0A\00"
@.str.3 = [4 x i8] c"%s\0A\00"
@.str.4 = [42 x i8] c"args: [%s] [%d] [%d] [%d] [%d] [%d] [%d]\0A\00"
@.str.5 = [11 x i8] c"-part-.wav\00"
@.str.6 = [21 x i8] c"filename[%s] ->[%s]\0A\00"
@.str.7 = [24 x i8] c"Bad .wav filename [%s]\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [250 x i8]
%4 = alloca [250 x i8]
%5 = alloca [250 x i8]
%6 = alloca [1024 x i8]
%7 = getelementptr inbounds [250 x i8], [250 x i8]* %3, i64 0, i64 0
%8 = getelementptr inbounds [250 x i8], [250 x i8]* %4, i64 0, i64 0
%9 = getelementptr inbounds [250 x i8], [250 x i8]* %5, i64 0, i64 0
%10 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%11 = call i8* @getcwd(i8* %8, i32 250)
%12 = icmp eq i8* %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @strcpy(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %17
15: ; preds = %2
%16 = call i32 @strcat(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %17
17: ; preds = %15, %13
%18 = call i32 @strcpy(i8* %10, i8* getelementptr inbounds ([165 x i8], [165 x i8]* @.str.1, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %0)
%21 = icmp eq i32 %0, 8
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = load i32, i32* @stderr
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %10)
br label %61
25: ; preds = %17
%26 = getelementptr inbounds i8*, i8** %1, i64 1
%27 = load i8*, i8** %26
%28 = call i32 @strncpy(i8* %7, i8* %27, i32 250)
%29 = getelementptr inbounds i8*, i8** %1, i64 2
%30 = load i8*, i8** %29
%31 = call i32 @atoi(i8* %30)
%32 = getelementptr inbounds i8*, i8** %1, i64 3
%33 = load i8*, i8** %32
%34 = call i32 @atoi(i8* %33)
%35 = getelementptr inbounds i8*, i8** %1, i64 4
%36 = load i8*, i8** %35
%37 = call i32 @atoi(i8* %36)
%38 = getelementptr inbounds i8*, i8** %1, i64 5
%39 = load i8*, i8** %38
%40 = call i32 @atoi(i8* %39)
%41 = getelementptr inbounds i8*, i8** %1, i64 6
%42 = load i8*, i8** %41
%43 = call i32 @atoi(i8* %42)
%44 = getelementptr inbounds i8*, i8** %1, i64 7
%45 = load i8*, i8** %44
%46 = call i32 @atoi(i8* %45)
%47 = load i32, i32* @stderr
%48 = call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0), i8* %7, i32 %31, i32 %34, i32 %37, i32 %40, i32 %43, i32 %46)
%49 = call i32 @strncpy(i8* %9, i8* %7, i32 240)
%50 = call i8* @strrchr(i8* %9, i8 signext 46)
%51 = icmp eq i8* %50, null
br i1 %51, label %58, label %52
52: ; preds = %25
store i8 0, i8* %50
%53 = call i32 @strcat(i8* %9, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
%54 = load i32, i32* @stderr
%55 = call i32 (i32, i8*, ...) @fprintf(i32 %54, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i8* %7, i8* %9)
%56 = call i32 @cmdline_tracksplit_main(i8* %8, i8* %7, i32 1, i32 0, i64 4410, i32 %31, i32 %34, i32 %37, i32 %40, i32 %43, i32 %46)
%57 = call i32 @signproc_main(i8* %8, i8* %7, i8* %9)
br label %61
58: ; preds = %25
%59 = load i32, i32* @stderr
%60 = call i32 (i32, i8*, ...) @fprintf(i32 %59, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i8* %7)
br label %61
61: ; preds = %52, %58, %22
%62 = phi i32 [ 1, %22 ], [ 0, %52 ], [ 1, %58 ]
ret i32 %62
}