user: 请从给定的汇编指令推导出C源代码：

```asm
<copy_parms>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0x10000(%rsp),%r11
L215:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L215
  sub    $0x530,%rsp
  mov    %rdi,-0x10528(%rbp)
  mov    %rsi,-0x10530(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x10510(%rbp)
  movq   $0x0,-0x10508(%rbp)
  movq   $0x0,-0x10500(%rbp)
  movq   $0x0,-0x104f8(%rbp)
  movq   $0x0,-0x104f0(%rbp)
  movq   $0x0,-0x104e8(%rbp)
  movq   $0x0,-0x104e0(%rbp)
  movq   $0x0,-0x104d8(%rbp)
  movq   $0x0,-0x104d0(%rbp)
  movq   $0x0,-0x104c8(%rbp)
  movq   $0x0,-0x104c0(%rbp)
  movq   $0x0,-0x104b8(%rbp)
  movq   $0x0,-0x104b0(%rbp)
  movq   $0x0,-0x104a8(%rbp)
  movq   $0x0,-0x104a0(%rbp)
  movq   $0x0,-0x10498(%rbp)
  movq   $0x0,-0x10490(%rbp)
  movq   $0x0,-0x10488(%rbp)
  movq   $0x0,-0x10480(%rbp)
  movq   $0x0,-0x10478(%rbp)
  movq   $0x0,-0x10470(%rbp)
  movq   $0x0,-0x10468(%rbp)
  movq   $0x0,-0x10460(%rbp)
  movq   $0x0,-0x10458(%rbp)
  movq   $0x0,-0x10450(%rbp)
  movq   $0x0,-0x10448(%rbp)
  movq   $0x0,-0x10440(%rbp)
  movq   $0x0,-0x10438(%rbp)
  movq   $0x0,-0x10430(%rbp)
  movq   $0x0,-0x10428(%rbp)
  movq   $0x0,-0x10420(%rbp)
  movq   $0x0,-0x10418(%rbp)
  movq   $0x0,-0x10010(%rbp)
  movq   $0x0,-0x10008(%rbp)
  lea    -0x10000(%rbp),%rax
  mov    $0xfff0,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x0,-0x1051c(%rbp)
  jmp    L150
L173:
  movl   $0x0,-0x10520(%rbp)
  jmp    L172
L103:
  mov    -0x10520(%rbp),%eax
  cltq
  movzbl -0x10410(%rbp,%rax,1),%eax
  cmp    $0xa,%al
  jne    L227
  mov    -0x10520(%rbp),%eax
  cltq
  movb   $0x0,-0x10410(%rbp,%rax,1)
L227:
  addl   $0x1,-0x10520(%rbp)
L172:
  lea    -0x10410(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x10520(%rbp)
  jl     L103
  lea    -0x10410(%rbp),%rax
  mov    %rax,-0x10518(%rbp)
  jmp    L126
L76:
  addq   $0x1,-0x10518(%rbp)
L126:
  mov    -0x10518(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L76
  mov    -0x10518(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L76
  mov    -0x10518(%rbp),%rax
  mov    $0x4,%edx
  lea    D16(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L230
  movzbl -0x10510(%rbp),%eax
  test   %al,%al
  je     L39
  lea    -0x10010(%rbp),%rdx
  mov    -0x10530(%rbp),%rax
  lea    D2(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <fprintf@plt>
  movzbl -0x10510(%rbp),%eax
  test   %al,%al
  je     L175
  lea    -0x10510(%rbp),%rdx
  mov    -0x10530(%rbp),%rax
  lea    D66(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <fprintf@plt>
L175:
  movb   $0x0,-0x10510(%rbp)
  movb   $0x0,-0x10010(%rbp)
L39:
  addq   $0x4,-0x10518(%rbp)
  movl   $0x0,-0x10520(%rbp)
  jmp    L137
L0:
  mov    -0x10520(%rbp),%eax
  cltq
  movzbl -0x10410(%rbp,%rax,1),%eax
  cmp    $0x3b,%al
  jne    L234
  mov    -0x10520(%rbp),%eax
  cltq
  movb   $0x0,-0x10410(%rbp,%rax,1)
L234:
  addl   $0x1,-0x10520(%rbp)
L137:
  lea    -0x10410(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x10520(%rbp)
  jl     L0
  movl   $0x1,-0x1051c(%rbp)
  mov    -0x10518(%rbp),%rdx
  lea    -0x10510(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  jmp    L150
L230:
  lea    -0x10410(%rbp),%rax
  mov    %rax,-0x10518(%rbp)
  jmp    L121
L13:
  addq   $0x1,-0x10518(%rbp)
L121:
  mov    -0x10518(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L13
  mov    -0x10518(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L13
  mov    -0x10518(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  je     L13
  mov    -0x10518(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  je     L13
  movzbl -0x10010(%rbp),%eax
  test   %al,%al
  je     L143
  lea    -0x10010(%rbp),%rax
  lea    D25(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
L143:
  lea    -0x10010(%rbp),%rax
  lea    D15(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
  mov    -0x10518(%rbp),%rdx
  lea    -0x10010(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
L150:
  mov    -0x10528(%rbp),%rdx
  lea    -0x10410(%rbp),%rax
  mov    $0x400,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  jne    L173
  movzbl -0x10510(%rbp),%eax
  test   %al,%al
  je     L107
  lea    -0x10010(%rbp),%rdx
  mov    -0x10530(%rbp),%rax
  lea    D2(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <fprintf@plt>
  lea    -0x10510(%rbp),%rdx
  mov    -0x10530(%rbp),%rax
  lea    D27(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <fprintf@plt>
L107:
  mov    -0x1051c(%rbp),%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L17
  call   <__stack_chk_fail@plt>
L17:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D16
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D2
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D66
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D25
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D15
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D27
type_guessed: string

tool: D16: int 

tool: D2: %s


tool: D66: #%s
#


tool: D25: 


tool: D15: # 

tool: D27: #%s


assistant: ```c
int copy_parms(FILE *f, FILE *conf) {
  char line[1024], *s;
  char var[256] = "", comment[64 * 1024] = "";
  int i;
  int ok = 0;
  while (fgets(line, sizeof(line), f) != NULL) {
    for (i = 0; i < strlen(line); i++)
      if (line[i] == '\n')
        line[i] = 0;
    s = line;
    while (*s == ' ' || *s == '\t')
      s++;
    if (strncmp(s, "int ", 4) == 0) {
      if (*var != 0) {
        fprintf(conf, "%s\n", comment);
        if (*var != 0)
          fprintf(conf, "#%s\n#\n", var);
        *var = 0;
        *comment = 0;
      }
      s += 4;
      for (i = 0; i < strlen(line); i++)
        if (line[i] == ';')
          line[i] = 0;
      ok = 1;
      strcpy(var, s);
      continue;
    }
    s = line;
    while (*s == ' ' || *s == '\t' || *s == '/' || *s == '*')
      s++;
    if (*comment != 0)
      strcat(comment, "\n");
    strcat(comment, "# ");
    strcat(comment, s);
  }
  if (*var != 0) {
    fprintf(conf, "%s\n", comment);
    fprintf(conf, "#%s\n", var);
  }
  return ok;
}
```