user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<convert_man_hwymd>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %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,%r14
  mov    %r14,%rdi
  call   <strcpy@plt>
  mov    %rbp,%rsi
  mov    %r14,%rdi
  call   <strcat@plt>
  mov    $0x8,%esi
  mov    $0x4,%edi
  call   <calloc@plt>
  mov    %rax,%r12
  mov    %rax,%rbx
  lea    0x20(%rax),%r13
  mov    %rax,%rbp
L22:
  mov    $0x1,%esi
  mov    $0x400,%edi
  add    $0x8,%rbp
  call   <calloc@plt>
  mov    %rax,-0x8(%rbp)
  cmp    %r13,%rbp
  jne    L22
  mov    (%r12),%rdi
  mov    %r15,%rsi
  call   <strcpy@plt>
  mov    (%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    $0x7972,%edx
  movdqa D1(%rip),%xmm0
  mov    %r15,%rsi
  add    %rbp,%rax
  mov    %dx,0x10(%rax)
  movb   $0x0,0x12(%rax)
  movups %xmm0,(%rax)
  mov    0x8(%r12),%rdi
  call   <strcpy@plt>
  mov    0x8(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    $0x7972,%ecx
  movdqa D18(%rip),%xmm0
  mov    %r15,%rsi
  add    %rbp,%rax
  mov    %cx,0x10(%rax)
  movb   $0x0,0x12(%rax)
  movups %xmm0,(%rax)
  mov    0x10(%r12),%rdi
  call   <strcpy@plt>
  mov    0x10(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  movdqa D8(%rip),%xmm0
  mov    $0x7972,%esi
  add    %rbp,%rax
  mov    %si,0x14(%rax)
  mov    %r15,%rsi
  movl   $0x616e6962,0x10(%rax)
  movb   $0x0,0x16(%rax)
  movups %xmm0,(%rax)
  mov    0x18(%r12),%rdi
  call   <strcpy@plt>
  mov    0x18(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    $0x7972,%edi
  mov    $0x4,%edx
  mov    %r14,%rsi
  add    %rbp,%rax
  movdqa D12(%rip),%xmm0
  mov    %di,0x14(%rax)
  mov    %r12,%rdi
  movl   $0x616e6962,0x10(%rax)
  movb   $0x0,0x16(%rax)
  movups %xmm0,(%rax)
  call   <combineBinaryTablesInTpplusFile@plt>
L0:
  mov    (%rbx),%rdi
  add    $0x8,%rbx
  call   <free@plt>
  cmp    %rbx,%r13
  jne    L0
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L16
  add    $0x418,%rsp
  mov    %r12,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10b0 <free@plt>
L16:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D1
datatype: byte[16]
name: extract_symbolic_data
arguments: label: D18
datatype: byte[16]
name: extract_symbolic_data
arguments: label: D8
datatype: byte[16]
name: extract_symbolic_data
arguments: label: D12
datatype: byte[16]

tool: {"D1": [0x5c,0x6d,0x61,0x6e,0x5f,0x73,0x6f,0x76,0x5f,0x6d,0x64,0x2e,0x62,0x69,0x6e,0x61]}

tool: {"D18": [0x5c,0x6d,0x61,0x6e,0x5f,0x68,0x6f,0x76,0x5f,0x6d,0x64,0x2e,0x62,0x69,0x6e,0x61]}

tool: {"D8": [0x5c,0x6d,0x61,0x6e,0x5f,0x73,0x6f,0x76,0x5f,0x6d,0x64,0x5f,0x76,0x65,0x68,0x2e]}

tool: {"D12": [0x5c,0x6d,0x61,0x6e,0x5f,0x68,0x6f,0x76,0x5f,0x6d,0x64,0x5f,0x76,0x65,0x68,0x2e]}

assistant: ```c
void convert_man_hwymd(char *binaryFilesDirectory, char *tppFilesDirectory, char *tppFileName) {
  void combineBinaryTablesInTpplusFile(char **binaryFileNames, char *tppFileName, int ntables);
  int i;
  int nTables = 4;
  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], "\\man_sov_md.binary");
  strcpy(binaryFileNames[1], binaryFilesDirectory);
  strcat(binaryFileNames[1], "\\man_hov_md.binary");
  strcpy(binaryFileNames[2], binaryFilesDirectory);
  strcat(binaryFileNames[2], "\\man_sov_md_veh.binary");
  strcpy(binaryFileNames[3], binaryFilesDirectory);
  strcat(binaryFileNames[3], "\\man_hov_md_veh.binary");
  combineBinaryTablesInTpplusFile(binaryFileNames, fileName, nTables);
  for (i = 0; i < nTables; i++)
    free(binaryFileNames[i]);
  free(binaryFileNames);
}
```