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

```asm
<getCoordsString>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x78,%rsp
  mov    %rsi,%r12
  movq   %xmm0,%r13
  movq   %xmm1,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x2068(%rsp)
  xor    %eax,%eax
  lea    D37(%rip),%rax
  mov    %rax,0x10(%rsp)
  call   <strdup@plt>
  mov    %rax,0x18(%rsp)
  lea    D6(%rip),%rax
  mov    %rax,0x20(%rsp)
  lea    D77(%rip),%rax
  mov    %rax,0x28(%rsp)
  lea    D25(%rip),%rax
  mov    %rax,0x30(%rsp)
  lea    0x60(%rsp),%rbx
  movq   %r13,%xmm0
  lea    D46(%rip),%r13
  mov    %r13,%rsi
  mov    %rbx,%rdi
  mov    $0x1,%eax
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <strdup@plt>
  mov    %rax,0x38(%rsp)
  movq   %rbp,%xmm0
  mov    %r13,%rsi
  mov    %rbx,%rdi
  mov    $0x1,%eax
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <strdup@plt>
  mov    %rax,0x40(%rsp)
  lea    D19(%rip),%rax
  mov    %rax,0x48(%rsp)
  movq   $0x0,0x50(%rsp)
  lea    0x1060(%rsp),%rbp
  mov    %r12,%rdx
  lea    D67(%rip),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  mov    %rbp,%rdi
  call   <strdup@plt>
  mov    %rax,%rsi
  lea    0x10(%rsp),%rdi
  call   <wgrib22@plt>
  lea    D74(%rip),%rsi
  mov    %rbp,%rdi
  call   <OpenFile@plt>
  mov    %rax,%rdi
  mov    %rax,0x8(%rsp)
  mov    %rbx,%rsi
  call   <GetALine@plt>
  mov    %rax,%rbx
  lea    0x8(%rsp),%rdi
  call   <CloseFile@plt>
  mov    %rbp,%rdi
  call   <removeAFile@plt>
  mov    $0x0,%eax
  test   %rbx,%rbx
  jne    L4
L23:
  mov    0x2068(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L18
  add    $0x2078,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L4:
  lea    0x60(%rsp),%rdi
  call   <strdup@plt>
  jmp    L23
L18:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D37
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D6
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D77
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D25
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D46
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D19
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D67
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D74
type_guessed: string

tool: D37: wgrib2

tool: D6: -colon

tool: D77: ,

tool: D25: -lon

tool: D46: %5.6f

tool: D19: -end

tool: D67: %s.txt

tool: D74: r

assistant: ```c
char *getCoordsString(char *inputFileName, char *site, double longitude, double latitude) {
  int success = 0;
  char *grib_cargv[9], temp[4096], temp2[4096];
  grib_cargv[0] = "wgrib2";
  grib_cargv[1] = strdup(inputFileName);
  grib_cargv[2] = "-colon";
  grib_cargv[3] = ",";
  grib_cargv[4] = "-lon";
  sprintf(temp, "%5.6f", longitude);
  grib_cargv[5] = strdup(temp);
  sprintf(temp, "%5.6f", latitude);
  grib_cargv[6] = strdup(temp);
  grib_cargv[7] = "-end";
  grib_cargv[8] = NULL;
  sprintf(temp2, "%s.txt", site);
  wgrib22(grib_cargv, strdup(temp2));
  FILE *dailyCoordsFile = OpenFile(temp2, "r");
  if (GetALine(dailyCoordsFile, temp))
    success = 1;
  CloseFile(&dailyCoordsFile);
  removeAFile(temp2);
  if (success == 1)
    return strdup(temp);
  return NULL;
}
```