user: 请将以下的汇编代码转换成C语言代码：

```asm
<convert_nonman_transitnt>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  sub    $0x418,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x408(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r15
  mov    %r15,%rdi
  call   <strcpy@plt>
  mov    %rbp,%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  mov    $0x8,%esi
  mov    $0xf,%edi
  call   <calloc@plt>
  mov    %rax,%r12
  mov    %rax,%rbx
  lea    0x78(%rax),%r13
  mov    %rax,%rbp
L3:
  mov    $0x1,%esi
  mov    $0x400,%edi
  add    $0x8,%rbp
  call   <calloc@plt>
  mov    %rax,-0x8(%rbp)
  cmp    %rbp,%r13
  jne    L3
  mov    (%r12),%rdi
  mov    %r14,%rsi
  call   <strcpy@plt>
  mov    (%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D107(%rip),%xmm0
  mov    $0x7972,%edx
  mov    %r14,%rsi
  movabs $0x2e746e5f73626c5f,%r10
  add    %rbp,%rax
  mov    %r10,0x10(%rax)
  mov    %dx,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm0,(%rax)
  mov    0x8(%r12),%rdi
  call   <strcpy@plt>
  mov    0x8(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D107(%rip),%xmm1
  mov    $0x7972,%ecx
  mov    %r14,%rsi
  movabs $0x2e746e5f7362655f,%r9
  add    %rbp,%rax
  mov    %r9,0x10(%rax)
  mov    %cx,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm1,(%rax)
  mov    0x10(%r12),%rdi
  call   <strcpy@plt>
  mov    0x10(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D107(%rip),%xmm2
  mov    $0x7972,%esi
  movabs $0x2e746e5f7472625f,%r8
  add    %rbp,%rax
  mov    %r8,0x10(%rax)
  mov    %si,0x1c(%rax)
  mov    %r14,%rsi
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm2,(%rax)
  mov    0x18(%r12),%rdi
  call   <strcpy@plt>
  mov    0x18(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D107(%rip),%xmm3
  mov    $0x7972,%edi
  mov    %r14,%rsi
  movabs $0x2e746e5f74726c5f,%rcx
  add    %rbp,%rax
  mov    %rcx,0x10(%rax)
  movl   $0x616e6962,0x18(%rax)
  mov    %di,0x1c(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm3,(%rax)
  mov    0x20(%r12),%rdi
  call   <strcpy@plt>
  mov    0x20(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D107(%rip),%xmm4
  mov    $0x7972,%r8d
  mov    %r14,%rsi
  movabs $0x2e746e5f6c72635f,%rdx
  add    %rbp,%rax
  mov    %rdx,0x10(%rax)
  mov    %r8w,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm4,(%rax)
  mov    0x28(%r12),%rdi
  call   <strcpy@plt>
  mov    0x28(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D145(%rip),%xmm5
  mov    $0x7972,%r9d
  mov    %r14,%rsi
  movabs $0x2e746e5f73626c5f,%r10
  add    %rbp,%rax
  mov    %r10,0x10(%rax)
  mov    %r9w,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm5,(%rax)
  mov    0x30(%r12),%rdi
  call   <strcpy@plt>
  mov    0x30(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D145(%rip),%xmm6
  mov    $0x7972,%r10d
  mov    %r14,%rsi
  movabs $0x2e746e5f7362655f,%r9
  add    %rbp,%rax
  mov    %r9,0x10(%rax)
  mov    %r10w,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm6,(%rax)
  mov    0x38(%r12),%rdi
  call   <strcpy@plt>
  mov    0x38(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D145(%rip),%xmm7
  mov    $0x7972,%r11d
  mov    %r14,%rsi
  movabs $0x2e746e5f7472625f,%r8
  add    %rbp,%rax
  mov    %r11w,0x1c(%rax)
  mov    %r8,0x10(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm7,(%rax)
  mov    0x40(%r12),%rdi
  call   <strcpy@plt>
  mov    0x40(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D145(%rip),%xmm0
  mov    %r14,%rsi
  movabs $0x2e746e5f74726c5f,%rcx
  add    %rbp,%rax
  mov    $0x7972,%ebp
  mov    %rcx,0x10(%rax)
  mov    %bp,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm0,(%rax)
  mov    0x48(%r12),%rdi
  call   <strcpy@plt>
  mov    0x48(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D145(%rip),%xmm1
  mov    %r14,%rsi
  movabs $0x2e746e5f6c72635f,%rdx
  add    %rbp,%rax
  mov    %rdx,0x10(%rax)
  mov    $0x7972,%edx
  mov    %dx,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm1,(%rax)
  mov    0x50(%r12),%rdi
  call   <strcpy@plt>
  mov    0x50(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D123(%rip),%xmm2
  mov    $0x7972,%ecx
  mov    %r14,%rsi
  movabs $0x2e746e5f73626c5f,%r10
  add    %rbp,%rax
  mov    %r10,0x10(%rax)
  mov    %cx,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm2,(%rax)
  mov    0x58(%r12),%rdi
  call   <strcpy@plt>
  mov    0x58(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D123(%rip),%xmm3
  mov    $0x7972,%esi
  movabs $0x2e746e5f7362655f,%r9
  add    %rbp,%rax
  mov    %r9,0x10(%rax)
  mov    %si,0x1c(%rax)
  mov    %r14,%rsi
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm3,(%rax)
  mov    0x60(%r12),%rdi
  call   <strcpy@plt>
  mov    0x60(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D123(%rip),%xmm4
  mov    $0x7972,%edi
  mov    %r14,%rsi
  movabs $0x2e746e5f7472625f,%r8
  add    %rbp,%rax
  mov    %r8,0x10(%rax)
  movl   $0x616e6962,0x18(%rax)
  mov    %di,0x1c(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm4,(%rax)
  mov    0x68(%r12),%rdi
  call   <strcpy@plt>
  mov    0x68(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D123(%rip),%xmm5
  mov    $0x7972,%r8d
  mov    %r14,%rsi
  movabs $0x2e746e5f74726c5f,%rcx
  add    %rbp,%rax
  mov    %rcx,0x10(%rax)
  mov    %r8w,0x1c(%rax)
  movl   $0x616e6962,0x18(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm5,(%rax)
  mov    0x70(%r12),%rdi
  call   <strcpy@plt>
  mov    0x70(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    $0x7972,%r9d
  mov    %r15,%rsi
  mov    %r12,%rdi
  add    %rbp,%rax
  movdqa D123(%rip),%xmm6
  movabs $0x2e746e5f6c72635f,%rdx
  mov    %rdx,0x10(%rax)
  mov    $0xf,%edx
  movl   $0x616e6962,0x18(%rax)
  mov    %r9w,0x1c(%rax)
  movb   $0x0,0x1e(%rax)
  movups %xmm6,(%rax)
  call   <combineBinaryTablesInTpplusFile@plt>
  nopl   0x0(%rax)
L7:
  mov    (%rbx),%rdi
  add    $0x8,%rbx
  call   <free@plt>
  cmp    %rbx,%r13
  jne    L7
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L10
  add    $0x418,%rsp
  mov    %r12,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10b0 <free@plt>
L10:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D107
type: byte[16]
name: unpack_data
arguments: tag: D145
type: byte[16]
name: unpack_data
arguments: tag: D123
type: byte[16]

tool: {"D107": [0x5c,0x6e,0x6f,0x6e,0x6d,0x61,0x6e,0x5f,0x77,0x61,0x6c,0x6b,0x74,0x72,0x61,0x6e]}

tool: {"D145": [0x5c,0x6e,0x6f,0x6e,0x6d,0x61,0x6e,0x5f,0x64,0x72,0x69,0x76,0x74,0x72,0x61,0x6e]}

tool: {"D123": [0x5c,0x6e,0x6f,0x6e,0x6d,0x61,0x6e,0x5f,0x74,0x72,0x61,0x6e,0x64,0x72,0x69,0x76]}

assistant: ```c
void convert_nonman_transitnt(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_nt.binary");
  strcpy(binaryFileNames[1], binaryFilesDirectory);
  strcat(binaryFileNames[1], "\\nonman_walktran_ebs_nt.binary");
  strcpy(binaryFileNames[2], binaryFilesDirectory);
  strcat(binaryFileNames[2], "\\nonman_walktran_brt_nt.binary");
  strcpy(binaryFileNames[3], binaryFilesDirectory);
  strcat(binaryFileNames[3], "\\nonman_walktran_lrt_nt.binary");
  strcpy(binaryFileNames[4], binaryFilesDirectory);
  strcat(binaryFileNames[4], "\\nonman_walktran_crl_nt.binary");
  strcpy(binaryFileNames[5], binaryFilesDirectory);
  strcat(binaryFileNames[5], "\\nonman_drivtran_lbs_nt.binary");
  strcpy(binaryFileNames[6], binaryFilesDirectory);
  strcat(binaryFileNames[6], "\\nonman_drivtran_ebs_nt.binary");
  strcpy(binaryFileNames[7], binaryFilesDirectory);
  strcat(binaryFileNames[7], "\\nonman_drivtran_brt_nt.binary");
  strcpy(binaryFileNames[8], binaryFilesDirectory);
  strcat(binaryFileNames[8], "\\nonman_drivtran_lrt_nt.binary");
  strcpy(binaryFileNames[9], binaryFilesDirectory);
  strcat(binaryFileNames[9], "\\nonman_drivtran_crl_nt.binary");
  strcpy(binaryFileNames[10], binaryFilesDirectory);
  strcat(binaryFileNames[10], "\\nonman_trandriv_lbs_nt.binary");
  strcpy(binaryFileNames[11], binaryFilesDirectory);
  strcat(binaryFileNames[11], "\\nonman_trandriv_ebs_nt.binary");
  strcpy(binaryFileNames[12], binaryFilesDirectory);
  strcat(binaryFileNames[12], "\\nonman_trandriv_brt_nt.binary");
  strcpy(binaryFileNames[13], binaryFilesDirectory);
  strcat(binaryFileNames[13], "\\nonman_trandriv_lrt_nt.binary");
  strcpy(binaryFileNames[14], binaryFilesDirectory);
  strcat(binaryFileNames[14], "\\nonman_trandriv_crl_nt.binary");
  combineBinaryTablesInTpplusFile(binaryFileNames, fileName, nTables);
  for (i = 0; i < nTables; i++)
    free(binaryFileNames[i]);
  free(binaryFileNames);
}
```