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

```asm
<readstat_sav_date_parse>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x480,%rsp
  movdqa D17(%rip),%xmm0
  movdqa D62(%rip),%xmm1
  mov    %fs:0x28,%rax
  mov    %rax,0x478(%rsp)
  xor    %eax,%eax
  movdqa D38(%rip),%xmm2
  cmpb   $0x0,(%rdi)
  movaps %xmm0,0x10(%rsp)
  movdqa D21(%rip),%xmm0
  movaps %xmm1,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm2,0x40(%rsp)
  movaps %xmm1,0x50(%rsp)
  movaps %xmm0,0x60(%rsp)
  jne    L16
L98:
  mov    %rbx,0x0(%rbp)
  pxor   %xmm0,%xmm0
L89:
  mov    0x478(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L73
  add    $0x480,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  xchg   %ax,%ax
L16:
  lea    D55(%rip),%r13
  lea    0xc(%rsp),%r8
  lea    0x8(%rsp),%rcx
  lea    0x4(%rsp),%rdx
  mov    %r13,%rsi
  call   <sscanf@plt>
  mov    %eax,%r8d
  mov    0x8(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0x8(%rsp)
  cmp    $0x3,%r8d
  jne    L98
  cmp    $0xb,%eax
  ja     L98
  mov    0x4(%rsp),%edi
  call   <is_leap@plt>
  lea    0x10(%rsp),%rdx
  movslq 0x8(%rsp),%rsi
  mov    0xc(%rsp),%ecx
  mov    %rax,%r8
  lea    0x40(%rsp),%rax
  test   %r8,%r8
  cmovne %rax,%rdx
  mov    %rsi,%rax
  cmp    (%rdx,%rsi,4),%ecx
  jg     L98
  test   %ecx,%ecx
  jle    L98
  mov    0x4(%rsp),%edi
  cmp    $0x62e,%edi
  jle    L140
  mov    $0x62e,%r14d
  xor    %r12d,%r12d
  nopw   0x0(%rax,%rax,1)
L53:
  mov    %r14d,%edi
  call   <is_leap@plt>
  test   %rax,%rax
  je     L47
  mov    0x4(%rsp),%edi
  add    $0x1,%r14d
  add    $0x16e,%r12d
  cmp    %edi,%r14d
  jl     L53
L164:
  mov    0x8(%rsp),%eax
L20:
  test   %eax,%eax
  jle    L160
  xor    %r14d,%r14d
  jmp    L153
  xchg   %ax,%ax
L154:
  mov    0x40(%rsp,%r14,4),%eax
L151:
  add    %eax,%r12d
  mov    0x8(%rsp),%eax
  add    $0x1,%r14
  mov    0x4(%rsp),%edi
  cmp    %r14d,%eax
  jle    L160
L153:
  call   <is_leap@plt>
  test   %rax,%rax
  jne    L154
  mov    0x10(%rsp,%r14,4),%eax
  jmp    L151
  nopw   0x0(%rax,%rax,1)
L47:
  mov    0x4(%rsp),%edi
  add    $0x1,%r14d
  add    $0x16d,%r12d
  cmp    %r14d,%edi
  jg     L53
  jmp    L164
  cs nopw 0x0(%rax,%rax,1)
L160:
  mov    0xc(%rsp),%r9d
  lea    0x70(%rsp),%r10
  mov    %edi,%ecx
  lea    0x1(%rax),%r8d
  mov    %r13,%rdx
  mov    $0x400,%esi
  mov    %r10,%rdi
  lea    -0x1(%r9,%r12,1),%r12d
  call   <snprintf@plt>
  pxor   %xmm0,%xmm0
  cltq
  cvtsi2sd %r12d,%xmm0
  mulsd  D11(%rip),%xmm0
  add    %rax,%rbx
  mov    %rbx,0x0(%rbp)
  subsd  D26(%rip),%xmm0
  jmp    L89
L140:
  xor    %r12d,%r12d
  jmp    L20
L73:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D17
type_guessed: byte[16]
name: retrieve_data
arguments: label: D62
type_guessed: byte[16]
name: retrieve_data
arguments: label: D38
type_guessed: byte[16]
name: retrieve_data
arguments: label: D21
type_guessed: byte[16]
name: retrieve_data
arguments: label: D55
type_guessed: string
name: retrieve_data
arguments: label: D11
type_guessed: f64
name: retrieve_data
arguments: label: D26
type_guessed: byte[8]

tool: {"D17": [0x1f,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x1e,0x00,0x00,0x00]}

tool: {"D62": [0x1f,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x1f,0x00,0x00,0x00]}

tool: {"D38": [0x1f,0x00,0x00,0x00,0x1d,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x1e,0x00,0x00,0x00]}

tool: {"D21": [0x1e,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x1f,0x00,0x00,0x00]}

tool: D55: %d-%d-%d

tool: D11: 86400

tool: {"D26": [0x00,0x00,0x00,0x00,0xd0,0x90,0x77,0x41]}

assistant: ```c
double readstat_sav_date_parse(const char *s, char **dest) {
  int daysPerMonth[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
  int daysPerMonthLeap[] = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
  int year, month, day;
  if (strlen(s) == 0) {
    *dest = (char *)s;
    return 0;
  }
  int ret = sscanf(s, "%d-%d-%d", &year, &month, &day);
  month--;
  if (month < 0 || month > 11 || ret != 3) {
    *dest = (char *)s;
    return 0;
  }
  int maxdays = (is_leap(year) ? daysPerMonthLeap : daysPerMonth)[month];
  if (day < 1 || day > maxdays) {
    *dest = (char *)s;
    return 0;
  } else {
    int days = 0;
    for (int i = 1582; i < year; i++) {
      days += is_leap(i) ? 366 : 365;
    }
    for (int m = 0; m < month; m++) {
      days += is_leap(year) ? daysPerMonthLeap[m] : daysPerMonth[m];
    }
    days += day - 1;
    char buf[1024];
    *dest = (char *)s + snprintf(buf, sizeof(buf), "%d-%d-%d", year, month + 1, day);
    return (days * 86400.0) - 24710400;
  }
}
```