user: 下面的汇编指令对应的C源代码是什么:

```asm
<autoset_outfile_name>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  mov    (%rdx),%rax
  movsbl (%rax),%edi
  cmp    $0x2d,%dil
  je     L39
  mov    %rsi,%rbp
  mov    %rdx,%rbx
  call   <isascii@plt>
  test   %rax,%rax
  je     L149
  mov    (%rbx),%rdi
  call   <strlen@plt>
  test   %rax,%rax
  jne    L39
L149:
  cmpb   $0x2d,0x0(%rbp)
  je     L140
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    %rax,%r13
  test   %eax,%eax
  je     L140
  sub    $0x1,%eax
  je     L8
  cltq
  jmp    L58
  nopw   0x0(%rax,%rax,1)
L70:
  sub    $0x1,%rax
  test   %eax,%eax
  je     L8
L58:
  cmpb   $0x2e,0x0(%rbp,%rax,1)
  jne    L70
  lea    0x1(%rax),%r14d
L43:
  mov    %r12,%rdi
  call   <strlen@plt>
  lea    0x2(%r13),%esi
  mov    (%rbx),%rdi
  movslq %esi,%rsi
  add    %rax,%rsi
  call   <realloc@plt>
  mov    %rax,(%rbx)
  mov    %rax,%rdi
  test   %rax,%rax
  je     L37
L0:
  mov    %rbp,%rsi
  call   <strcpy@plt>
  lea    D47(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L39
  mov    (%rbx),%rdi
  cmp    $0x1,%r14d
  je     L121
  sub    %r14d,%r13d
  cmp    $0x3,%r13d
  jle    L111
L121:
  lea    D8(%rip),%rsi
  call   <strcat@plt>
  mov    (%rbx),%rdi
  mov    %r12,%rsi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1120 <strcat@plt>
  nopl   0x0(%rax)
L140:
  lea    D42(%rip),%rax
  mov    %rax,(%rbx)
L39:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L8:
  mov    $0x1,%r14d
  jmp    L43
  nopl   0x0(%rax,%rax,1)
L37:
  lea    D45(%rip),%rdi
  call   <Eprintf@plt>
  lea    D46(%rip),%rdi
  call   <PError@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
  mov    (%rbx),%rdi
  jmp    L0
  nopw   0x0(%rax,%rax,1)
L111:
  movslq %r14d,%rdx
  pop    %rbx
  mov    %r12,%rsi
  pop    %rbp
  add    %rdx,%rdi
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    10d0 <strcpy@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D47
type_guessed: string
name: parse_data
arguments: data_tag: D8
type_guessed: string
name: parse_data
arguments: data_tag: D42
type_guessed: string
name: parse_data
arguments: data_tag: D45
type_guessed: string
name: parse_data
arguments: data_tag: D46
type_guessed: string

tool: D47: pre

tool: D8: .

tool: D42: hp2xx.out

tool: D45: Error: No mem for output file name!


tool: D46: autoset_outfile_name

assistant: ```c
void autoset_outfile_name(const char *mode, const char *in_name, char **outfile) {
  int len, i;
  if (**outfile == '-')
    return;
  if (isascii(**outfile) && strlen(*outfile) > 0) {
    return;
  }
  if (*in_name == '-')
    len = 0;
  else
    len = (int)strlen(in_name);
  if (len == 0) {
    *outfile = "hp2xx.out";
    return;
  }
  for (i = len - 1; i; i--)
    if (in_name[i] == '.')
      break;
  i++;
  if ((*outfile = realloc(*outfile, len + 2 + strlen(mode))) == NULL) {
    Eprintf("Error: No mem for output file name!\n");
    PError("autoset_outfile_name");
    exit((-1));
  }
  strcpy(*outfile, in_name);
  if (strcmp(mode, "pre") == 0)
    return;
  if (i == 1 || len - i > 3) {
    strcat(*outfile, ".");
    strcat(*outfile, mode);
  } else
    strcpy(*outfile + i, mode);
}
```