void convert_nonman_transitmd(char *binaryFilesDirectory,
                              char *tppFilesDirectory, char *tppFileName) {
  void combineBinaryTablesInTpplusFile(char **binaryFileNames,
                                       char *tppFileName, int ntables);
  int i;
  int nTables = 15;
  char **binaryFileNames;
  char fileName[1024];
  strcpy(fileName, tppFilesDirectory);
  strcat(fileName, tppFileName);
  binaryFileNames = (char **)calloc(nTables, sizeof(char *));
  for (i = 0; i < nTables; i++)
    binaryFileNames[i] = (char *)calloc(1024, sizeof(char));
  strcpy(binaryFileNames[0], binaryFilesDirectory);
  strcat(binaryFileNames[0], "\\nonman_walktran_lbs_md.binary");
  strcpy(binaryFileNames[1], binaryFilesDirectory);
  strcat(binaryFileNames[1], "\\nonman_walktran_ebs_md.binary");
  strcpy(binaryFileNames[2], binaryFilesDirectory);
  strcat(binaryFileNames[2], "\\nonman_walktran_brt_md.binary");
  strcpy(binaryFileNames[3], binaryFilesDirectory);
  strcat(binaryFileNames[3], "\\nonman_walktran_lrt_md.binary");
  strcpy(binaryFileNames[4], binaryFilesDirectory);
  strcat(binaryFileNames[4], "\\nonman_walktran_crl_md.binary");
  strcpy(binaryFileNames[5], binaryFilesDirectory);
  strcat(binaryFileNames[5], "\\nonman_drivtran_lbs_md.binary");
  strcpy(binaryFileNames[6], binaryFilesDirectory);
  strcat(binaryFileNames[6], "\\nonman_drivtran_ebs_md.binary");
  strcpy(binaryFileNames[7], binaryFilesDirectory);
  strcat(binaryFileNames[7], "\\nonman_drivtran_brt_md.binary");
  strcpy(binaryFileNames[8], binaryFilesDirectory);
  strcat(binaryFileNames[8], "\\nonman_drivtran_lrt_md.binary");
  strcpy(binaryFileNames[9], binaryFilesDirectory);
  strcat(binaryFileNames[9], "\\nonman_drivtran_crl_md.binary");
  strcpy(binaryFileNames[10], binaryFilesDirectory);
  strcat(binaryFileNames[10], "\\nonman_trandriv_lbs_md.binary");
  strcpy(binaryFileNames[11], binaryFilesDirectory);
  strcat(binaryFileNames[11], "\\nonman_trandriv_ebs_md.binary");
  strcpy(binaryFileNames[12], binaryFilesDirectory);
  strcat(binaryFileNames[12], "\\nonman_trandriv_brt_md.binary");
  strcpy(binaryFileNames[13], binaryFilesDirectory);
  strcat(binaryFileNames[13], "\\nonman_trandriv_lrt_md.binary");
  strcpy(binaryFileNames[14], binaryFilesDirectory);
  strcat(binaryFileNames[14], "\\nonman_trandriv_crl_md.binary");
  combineBinaryTablesInTpplusFile(binaryFileNames, fileName, nTables);
  for (i = 0; i < nTables; i++)
    free(binaryFileNames[i]);
  free(binaryFileNames);
}


x86 assembly (clang, -O0):
<convert_nonman_transitmd>:
push   %rbp
mov    %rsp,%rbp
sub    $0x430,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0xf,-0x20(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0x430(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1070 <strcat@plt>
movslq -0x20(%rbp),%rdi
mov    $0x8,%esi
call   1050 <calloc@plt>
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    11df <convert_nonman_transitmd+0x8f>
mov    $0x400,%edi
mov    $0x1,%esi
call   1050 <calloc@plt>
mov    %rax,%rdx
mov    -0x28(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11a7 <convert_nonman_transitmd+0x57>
mov    -0x28(%rbp),%rax
mov    (%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%rdi
lea    0xe03(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x8(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdfd(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x10(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xdf7(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x18(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x18(%rax),%rdi
lea    0xdf1(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x20(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x20(%rax),%rdi
lea    0xdeb(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x28(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x28(%rax),%rdi
lea    0xde5(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x30(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x30(%rax),%rdi
lea    0xddf(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x38(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x38(%rax),%rdi
lea    0xdd9(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x40(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x40(%rax),%rdi
lea    0xdd3(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x48(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x48(%rax),%rdi
lea    0xdcd(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x50(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x50(%rax),%rdi
lea    0xdc7(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x58(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x58(%rax),%rdi
lea    0xdc1(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x60(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x60(%rax),%rdi
lea    0xdbb(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x68(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x68(%rax),%rdi
lea    0xdb5(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rax
mov    0x70(%rax),%rdi
mov    -0x8(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x28(%rbp),%rax
mov    0x70(%rax),%rdi
lea    0xdaf(%rip),%rsi
call   1070 <strcat@plt>
mov    -0x28(%rbp),%rdi
lea    -0x430(%rbp),%rsi
mov    -0x20(%rbp),%edx
call   1060 <combineBinaryTablesInTpplusFile@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    144d <convert_nonman_transitmd+0x2fd>
mov    -0x28(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1030 <free@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1422 <convert_nonman_transitmd+0x2d2>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
add    $0x430,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<convert_nonman_transitmd>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x468,%rsp
mov    %rdx,%rbx
mov    %rdi,%r15
lea    0x60(%rsp),%rbp
mov    %rbp,%rdi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1080 <strcat@plt>
mov    $0xf,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,%rbx
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,%rbp
mov    %rax,(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,%r13
mov    %rax,0x8(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,%r12
mov    %rax,0x10(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,%r14
mov    %rax,0x18(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x8(%rsp)
mov    %rax,0x20(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x10(%rsp)
mov    %rax,0x28(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x18(%rsp)
mov    %rax,0x30(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x20(%rsp)
mov    %rax,0x38(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x28(%rsp)
mov    %rax,0x40(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x30(%rsp)
mov    %rax,0x48(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x38(%rsp)
mov    %rax,0x50(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x40(%rsp)
mov    %rax,0x58(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x48(%rsp)
mov    %rax,0x60(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x50(%rsp)
mov    %rax,0x68(%rbx)
mov    $0x400,%edi
mov    $0x1,%esi
call   1060 <calloc@plt>
mov    %rax,0x58(%rsp)
mov    %rax,0x70(%rbx)
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xce6(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xce9(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    %r13,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %r13,%rdi
call   1050 <strlen@plt>
movups 0xcda(%rip),%xmm0
movups %xmm0,0x0(%r13,%rax,1)
movups 0xcdc(%rip),%xmm0
movups %xmm0,0xf(%r13,%rax,1)
mov    %r12,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
call   1050 <strlen@plt>
movups 0xccc(%rip),%xmm0
movups %xmm0,(%r12,%rax,1)
movups 0xccf(%rip),%xmm0
movups %xmm0,0xf(%r12,%rax,1)
mov    %r14,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %r14,%rdi
call   1050 <strlen@plt>
movups 0xcbf(%rip),%xmm0
movups %xmm0,(%r14,%rax,1)
movups 0xcc2(%rip),%xmm0
movups %xmm0,0xf(%r14,%rax,1)
mov    0x8(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xcad(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xcb0(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc9c(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc9f(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x18(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc8b(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc8e(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x20(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc7a(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc7d(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x28(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc69(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc6c(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x30(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc58(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc5b(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x38(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc47(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc4a(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x40(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc36(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc39(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x48(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc25(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc28(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x50(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc14(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc17(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    0x58(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
call   1050 <strlen@plt>
movups 0xc03(%rip),%xmm0
movups %xmm0,0x0(%rbp,%rax,1)
movups 0xc06(%rip),%xmm0
movups %xmm0,0xf(%rbp,%rax,1)
mov    %rbx,%rdi
lea    0x60(%rsp),%rsi
mov    $0xf,%edx
call   1070 <combineBinaryTablesInTpplusFile@plt>
mov    (%rbx),%rdi
call   1030 <free@plt>
mov    0x8(%rbx),%rdi
call   1030 <free@plt>
mov    0x10(%rbx),%rdi
call   1030 <free@plt>
mov    0x18(%rbx),%rdi
call   1030 <free@plt>
mov    0x20(%rbx),%rdi
call   1030 <free@plt>
mov    0x28(%rbx),%rdi
call   1030 <free@plt>
mov    0x30(%rbx),%rdi
call   1030 <free@plt>
mov    0x38(%rbx),%rdi
call   1030 <free@plt>
mov    0x40(%rbx),%rdi
call   1030 <free@plt>
mov    0x48(%rbx),%rdi
call   1030 <free@plt>
mov    0x50(%rbx),%rdi
call   1030 <free@plt>
mov    0x58(%rbx),%rdi
call   1030 <free@plt>
mov    0x60(%rbx),%rdi
call   1030 <free@plt>
mov    0x68(%rbx),%rdi
call   1030 <free@plt>
mov    0x70(%rbx),%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
add    $0x468,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [31 x i8] c"\\nonman_walktran_lbs_md.binary\00"
@.str.1 = [31 x i8] c"\\nonman_walktran_ebs_md.binary\00"
@.str.2 = [31 x i8] c"\\nonman_walktran_brt_md.binary\00"
@.str.3 = [31 x i8] c"\\nonman_walktran_lrt_md.binary\00"
@.str.4 = [31 x i8] c"\\nonman_walktran_crl_md.binary\00"
@.str.5 = [31 x i8] c"\\nonman_drivtran_lbs_md.binary\00"
@.str.6 = [31 x i8] c"\\nonman_drivtran_ebs_md.binary\00"
@.str.7 = [31 x i8] c"\\nonman_drivtran_brt_md.binary\00"
@.str.8 = [31 x i8] c"\\nonman_drivtran_lrt_md.binary\00"
@.str.9 = [31 x i8] c"\\nonman_drivtran_crl_md.binary\00"
@.str.10 = [31 x i8] c"\\nonman_trandriv_lbs_md.binary\00"
@.str.11 = [31 x i8] c"\\nonman_trandriv_ebs_md.binary\00"
@.str.12 = [31 x i8] c"\\nonman_trandriv_brt_md.binary\00"
@.str.13 = [31 x i8] c"\\nonman_trandriv_lrt_md.binary\00"
@.str.14 = [31 x i8] c"\\nonman_trandriv_crl_md.binary\00"
define void @convert_nonman_transitmd(i8* %0, i8* %1, i8* %2) {
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8**
%10 = alloca [1024 x i8]
store i8* %0, i8** %4
store i8* %1, i8** %5
store i8* %2, i8** %6
store i32 15, i32* %8
%11 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%12 = load i8*, i8** %5
%13 = call i8* @strcpy(i8* %11, i8* %12)
%14 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%15 = load i8*, i8** %6
%16 = call i8* @strcat(i8* %14, i8* %15)
%17 = load i32, i32* %8
%18 = sext i32 %17 to i64
%19 = call i8* @calloc(i64 %18, i64 8)
%20 = bitcast i8* %19 to i8**
store i8** %20, i8*** %9
store i32 0, i32* %7
br label %21
21: ; preds = %31, %3
%22 = load i32, i32* %7
%23 = load i32, i32* %8
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %34
25: ; preds = %21
%26 = call i8* @calloc(i64 1024, i64 1)
%27 = load i8**, i8*** %9
%28 = load i32, i32* %7
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8*, i8** %27, i64 %29
store i8* %26, i8** %30
br label %31
31: ; preds = %25
%32 = load i32, i32* %7
%33 = add nsw i32 %32, 1
store i32 %33, i32* %7
br label %21
34: ; preds = %21
%35 = load i8**, i8*** %9
%36 = getelementptr inbounds i8*, i8** %35, i64 0
%37 = load i8*, i8** %36
%38 = load i8*, i8** %4
%39 = call i8* @strcpy(i8* %37, i8* %38)
%40 = load i8**, i8*** %9
%41 = getelementptr inbounds i8*, i8** %40, i64 0
%42 = load i8*, i8** %41
%43 = call i8* @strcat(i8* %42, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%44 = load i8**, i8*** %9
%45 = getelementptr inbounds i8*, i8** %44, i64 1
%46 = load i8*, i8** %45
%47 = load i8*, i8** %4
%48 = call i8* @strcpy(i8* %46, i8* %47)
%49 = load i8**, i8*** %9
%50 = getelementptr inbounds i8*, i8** %49, i64 1
%51 = load i8*, i8** %50
%52 = call i8* @strcat(i8* %51, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%53 = load i8**, i8*** %9
%54 = getelementptr inbounds i8*, i8** %53, i64 2
%55 = load i8*, i8** %54
%56 = load i8*, i8** %4
%57 = call i8* @strcpy(i8* %55, i8* %56)
%58 = load i8**, i8*** %9
%59 = getelementptr inbounds i8*, i8** %58, i64 2
%60 = load i8*, i8** %59
%61 = call i8* @strcat(i8* %60, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%62 = load i8**, i8*** %9
%63 = getelementptr inbounds i8*, i8** %62, i64 3
%64 = load i8*, i8** %63
%65 = load i8*, i8** %4
%66 = call i8* @strcpy(i8* %64, i8* %65)
%67 = load i8**, i8*** %9
%68 = getelementptr inbounds i8*, i8** %67, i64 3
%69 = load i8*, i8** %68
%70 = call i8* @strcat(i8* %69, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0))
%71 = load i8**, i8*** %9
%72 = getelementptr inbounds i8*, i8** %71, i64 4
%73 = load i8*, i8** %72
%74 = load i8*, i8** %4
%75 = call i8* @strcpy(i8* %73, i8* %74)
%76 = load i8**, i8*** %9
%77 = getelementptr inbounds i8*, i8** %76, i64 4
%78 = load i8*, i8** %77
%79 = call i8* @strcat(i8* %78, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0))
%80 = load i8**, i8*** %9
%81 = getelementptr inbounds i8*, i8** %80, i64 5
%82 = load i8*, i8** %81
%83 = load i8*, i8** %4
%84 = call i8* @strcpy(i8* %82, i8* %83)
%85 = load i8**, i8*** %9
%86 = getelementptr inbounds i8*, i8** %85, i64 5
%87 = load i8*, i8** %86
%88 = call i8* @strcat(i8* %87, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%89 = load i8**, i8*** %9
%90 = getelementptr inbounds i8*, i8** %89, i64 6
%91 = load i8*, i8** %90
%92 = load i8*, i8** %4
%93 = call i8* @strcpy(i8* %91, i8* %92)
%94 = load i8**, i8*** %9
%95 = getelementptr inbounds i8*, i8** %94, i64 6
%96 = load i8*, i8** %95
%97 = call i8* @strcat(i8* %96, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%98 = load i8**, i8*** %9
%99 = getelementptr inbounds i8*, i8** %98, i64 7
%100 = load i8*, i8** %99
%101 = load i8*, i8** %4
%102 = call i8* @strcpy(i8* %100, i8* %101)
%103 = load i8**, i8*** %9
%104 = getelementptr inbounds i8*, i8** %103, i64 7
%105 = load i8*, i8** %104
%106 = call i8* @strcat(i8* %105, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.7, i64 0, i64 0))
%107 = load i8**, i8*** %9
%108 = getelementptr inbounds i8*, i8** %107, i64 8
%109 = load i8*, i8** %108
%110 = load i8*, i8** %4
%111 = call i8* @strcpy(i8* %109, i8* %110)
%112 = load i8**, i8*** %9
%113 = getelementptr inbounds i8*, i8** %112, i64 8
%114 = load i8*, i8** %113
%115 = call i8* @strcat(i8* %114, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
%116 = load i8**, i8*** %9
%117 = getelementptr inbounds i8*, i8** %116, i64 9
%118 = load i8*, i8** %117
%119 = load i8*, i8** %4
%120 = call i8* @strcpy(i8* %118, i8* %119)
%121 = load i8**, i8*** %9
%122 = getelementptr inbounds i8*, i8** %121, i64 9
%123 = load i8*, i8** %122
%124 = call i8* @strcat(i8* %123, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0))
%125 = load i8**, i8*** %9
%126 = getelementptr inbounds i8*, i8** %125, i64 10
%127 = load i8*, i8** %126
%128 = load i8*, i8** %4
%129 = call i8* @strcpy(i8* %127, i8* %128)
%130 = load i8**, i8*** %9
%131 = getelementptr inbounds i8*, i8** %130, i64 10
%132 = load i8*, i8** %131
%133 = call i8* @strcat(i8* %132, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0))
%134 = load i8**, i8*** %9
%135 = getelementptr inbounds i8*, i8** %134, i64 11
%136 = load i8*, i8** %135
%137 = load i8*, i8** %4
%138 = call i8* @strcpy(i8* %136, i8* %137)
%139 = load i8**, i8*** %9
%140 = getelementptr inbounds i8*, i8** %139, i64 11
%141 = load i8*, i8** %140
%142 = call i8* @strcat(i8* %141, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0))
%143 = load i8**, i8*** %9
%144 = getelementptr inbounds i8*, i8** %143, i64 12
%145 = load i8*, i8** %144
%146 = load i8*, i8** %4
%147 = call i8* @strcpy(i8* %145, i8* %146)
%148 = load i8**, i8*** %9
%149 = getelementptr inbounds i8*, i8** %148, i64 12
%150 = load i8*, i8** %149
%151 = call i8* @strcat(i8* %150, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.12, i64 0, i64 0))
%152 = load i8**, i8*** %9
%153 = getelementptr inbounds i8*, i8** %152, i64 13
%154 = load i8*, i8** %153
%155 = load i8*, i8** %4
%156 = call i8* @strcpy(i8* %154, i8* %155)
%157 = load i8**, i8*** %9
%158 = getelementptr inbounds i8*, i8** %157, i64 13
%159 = load i8*, i8** %158
%160 = call i8* @strcat(i8* %159, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0))
%161 = load i8**, i8*** %9
%162 = getelementptr inbounds i8*, i8** %161, i64 14
%163 = load i8*, i8** %162
%164 = load i8*, i8** %4
%165 = call i8* @strcpy(i8* %163, i8* %164)
%166 = load i8**, i8*** %9
%167 = getelementptr inbounds i8*, i8** %166, i64 14
%168 = load i8*, i8** %167
%169 = call i8* @strcat(i8* %168, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0))
%170 = load i8**, i8*** %9
%171 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%172 = load i32, i32* %8
store i32 0, i32* %7
br label %173
173: ; preds = %183, %34
%174 = load i32, i32* %7
%175 = load i32, i32* %8
%176 = icmp slt i32 %174, %175
br i1 %176, label %177, label %186
177: ; preds = %173
%178 = load i8**, i8*** %9
%179 = load i32, i32* %7
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i8*, i8** %178, i64 %180
%182 = load i8*, i8** %181
br label %183
183: ; preds = %177
%184 = load i32, i32* %7
%185 = add nsw i32 %184, 1
store i32 %185, i32* %7
br label %173
186: ; preds = %173
%187 = load i8**, i8*** %9
%188 = bitcast i8** %187 to i8*
ret void
}

LLVM IR (-O2):
@.str = [31 x i8] c"\\nonman_walktran_lbs_md.binary\00"
@.str.1 = [31 x i8] c"\\nonman_walktran_ebs_md.binary\00"
@.str.2 = [31 x i8] c"\\nonman_walktran_brt_md.binary\00"
@.str.3 = [31 x i8] c"\\nonman_walktran_lrt_md.binary\00"
@.str.4 = [31 x i8] c"\\nonman_walktran_crl_md.binary\00"
@.str.5 = [31 x i8] c"\\nonman_drivtran_lbs_md.binary\00"
@.str.6 = [31 x i8] c"\\nonman_drivtran_ebs_md.binary\00"
@.str.7 = [31 x i8] c"\\nonman_drivtran_brt_md.binary\00"
@.str.8 = [31 x i8] c"\\nonman_drivtran_lrt_md.binary\00"
@.str.9 = [31 x i8] c"\\nonman_drivtran_crl_md.binary\00"
@.str.10 = [31 x i8] c"\\nonman_trandriv_lbs_md.binary\00"
@.str.11 = [31 x i8] c"\\nonman_trandriv_ebs_md.binary\00"
@.str.12 = [31 x i8] c"\\nonman_trandriv_brt_md.binary\00"
@.str.13 = [31 x i8] c"\\nonman_trandriv_lrt_md.binary\00"
@.str.14 = [31 x i8] c"\\nonman_trandriv_crl_md.binary\00"
define void @convert_nonman_transitmd(i8* nocapture %0, i8* nocapture %1, i8* nocapture %2) {
%4 = alloca [1024 x i8]
%5 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%6 = call i8* @strcpy(i8* %5, i8* dereferenceable(1) %1)
%7 = call i8* @strcat(i8* %5, i8* dereferenceable(1) %2)
%8 = call dereferenceable_or_null(120) i8* @calloc(i64 15, i64 8)
%9 = bitcast i8* %8 to i8**
%10 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
store i8* %10, i8** %9
%11 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%12 = getelementptr inbounds i8*, i8** %9, i64 1
store i8* %11, i8** %12
%13 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%14 = getelementptr inbounds i8*, i8** %9, i64 2
store i8* %13, i8** %14
%15 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%16 = getelementptr inbounds i8*, i8** %9, i64 3
store i8* %15, i8** %16
%17 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%18 = getelementptr inbounds i8*, i8** %9, i64 4
store i8* %17, i8** %18
%19 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%20 = getelementptr inbounds i8*, i8** %9, i64 5
store i8* %19, i8** %20
%21 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%22 = getelementptr inbounds i8*, i8** %9, i64 6
store i8* %21, i8** %22
%23 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%24 = getelementptr inbounds i8*, i8** %9, i64 7
store i8* %23, i8** %24
%25 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%26 = getelementptr inbounds i8*, i8** %9, i64 8
store i8* %25, i8** %26
%27 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%28 = getelementptr inbounds i8*, i8** %9, i64 9
store i8* %27, i8** %28
%29 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%30 = getelementptr inbounds i8*, i8** %9, i64 10
store i8* %29, i8** %30
%31 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%32 = getelementptr inbounds i8*, i8** %9, i64 11
store i8* %31, i8** %32
%33 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%34 = getelementptr inbounds i8*, i8** %9, i64 12
store i8* %33, i8** %34
%35 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%36 = getelementptr inbounds i8*, i8** %9, i64 13
store i8* %35, i8** %36
%37 = call dereferenceable_or_null(1024) i8* @calloc(i64 1024, i64 1)
%38 = getelementptr inbounds i8*, i8** %9, i64 14
store i8* %37, i8** %38
%39 = call i8* @strcpy(i8* dereferenceable(1) %10, i8* dereferenceable(1) %0)
%40 = call i64 @strlen(i8* dereferenceable(1) %10)
%41 = getelementptr i8, i8* %10, i64 %40
%42 = call i8* @strcpy(i8* dereferenceable(1) %11, i8* dereferenceable(1) %0)
%43 = call i64 @strlen(i8* dereferenceable(1) %11)
%44 = getelementptr i8, i8* %11, i64 %43
%45 = call i8* @strcpy(i8* dereferenceable(1) %13, i8* dereferenceable(1) %0)
%46 = call i64 @strlen(i8* dereferenceable(1) %13)
%47 = getelementptr i8, i8* %13, i64 %46
%48 = call i8* @strcpy(i8* dereferenceable(1) %15, i8* dereferenceable(1) %0)
%49 = call i64 @strlen(i8* dereferenceable(1) %15)
%50 = getelementptr i8, i8* %15, i64 %49
%51 = call i8* @strcpy(i8* dereferenceable(1) %17, i8* dereferenceable(1) %0)
%52 = call i64 @strlen(i8* dereferenceable(1) %17)
%53 = getelementptr i8, i8* %17, i64 %52
%54 = call i8* @strcpy(i8* dereferenceable(1) %19, i8* dereferenceable(1) %0)
%55 = call i64 @strlen(i8* dereferenceable(1) %19)
%56 = getelementptr i8, i8* %19, i64 %55
%57 = call i8* @strcpy(i8* dereferenceable(1) %21, i8* dereferenceable(1) %0)
%58 = call i64 @strlen(i8* dereferenceable(1) %21)
%59 = getelementptr i8, i8* %21, i64 %58
%60 = call i8* @strcpy(i8* dereferenceable(1) %23, i8* dereferenceable(1) %0)
%61 = call i64 @strlen(i8* dereferenceable(1) %23)
%62 = getelementptr i8, i8* %23, i64 %61
%63 = call i8* @strcpy(i8* dereferenceable(1) %25, i8* dereferenceable(1) %0)
%64 = call i64 @strlen(i8* dereferenceable(1) %25)
%65 = getelementptr i8, i8* %25, i64 %64
%66 = call i8* @strcpy(i8* dereferenceable(1) %27, i8* dereferenceable(1) %0)
%67 = call i64 @strlen(i8* dereferenceable(1) %27)
%68 = getelementptr i8, i8* %27, i64 %67
%69 = call i8* @strcpy(i8* dereferenceable(1) %29, i8* dereferenceable(1) %0)
%70 = call i64 @strlen(i8* dereferenceable(1) %29)
%71 = getelementptr i8, i8* %29, i64 %70
%72 = call i8* @strcpy(i8* dereferenceable(1) %31, i8* dereferenceable(1) %0)
%73 = call i64 @strlen(i8* dereferenceable(1) %31)
%74 = getelementptr i8, i8* %31, i64 %73
%75 = call i8* @strcpy(i8* dereferenceable(1) %33, i8* dereferenceable(1) %0)
%76 = call i64 @strlen(i8* dereferenceable(1) %33)
%77 = getelementptr i8, i8* %33, i64 %76
%78 = call i8* @strcpy(i8* dereferenceable(1) %35, i8* dereferenceable(1) %0)
%79 = call i64 @strlen(i8* dereferenceable(1) %35)
%80 = getelementptr i8, i8* %35, i64 %79
%81 = call i8* @strcpy(i8* dereferenceable(1) %37, i8* dereferenceable(1) %0)
%82 = call i64 @strlen(i8* dereferenceable(1) %37)
%83 = getelementptr i8, i8* %37, i64 %82
%84 = load i8*, i8** %9
%85 = load i8*, i8** %12
%86 = load i8*, i8** %14
%87 = load i8*, i8** %16
%88 = load i8*, i8** %18
%89 = load i8*, i8** %20
%90 = load i8*, i8** %22
%91 = load i8*, i8** %24
%92 = load i8*, i8** %26
%93 = load i8*, i8** %28
%94 = load i8*, i8** %30
%95 = load i8*, i8** %32
%96 = load i8*, i8** %34
%97 = load i8*, i8** %36
%98 = load i8*, i8** %38
ret void
}