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

```asm
<official_hdays>:
  endbr64
  push   %r14
  lea    -0x76c(%rsi),%edx
  push   %r13
  mov    %edx,%ecx
  mov    %esi,%r13d
  push   %r12
  imul   $0x2710,%esi,%r12d
  sar    $0x1f,%ecx
  push   %rbp
  mov    $0x19,%ebp
  push   %rbx
  mov    %rdi,%rbx
  movd   %r12d,%xmm2
  pshufd $0xe0,%xmm2,%xmm1
  sub    $0x40,%rsp
  movq   D1(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x65(%r12),%eax
  mov    %edx,0x10(%rsp)
  mov    %eax,(%rdi)
  movslq %edx,%rax
  paddd  %xmm0,%xmm1
  lea    0x10(%rsp),%rdi
  imul   $0x6bca1af3,%rax,%rax
  pxor   %xmm0,%xmm0
  movq   $0x0,0x30(%rsp)
  movaps %xmm0,0x20(%rsp)
  movq   %xmm1,%r14
  sar    $0x23,%rax
  sub    %ecx,%eax
  lea    (%rax,%rax,8),%ecx
  lea    (%rax,%rcx,2),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  lea    (%rax,%rax,4),%ecx
  lea    (%rax,%rcx,2),%esi
  lea    0x0(,%rax,8),%ecx
  sub    %eax,%ecx
  lea    0x1(%rcx),%eax
  movslq %eax,%rcx
  sar    $0x1f,%eax
  imul   $0x6bca1af3,%rcx,%rcx
  sar    $0x23,%rcx
  sub    %ecx,%esi
  lea    0x4(%rsi,%rax,1),%ecx
  movslq %ecx,%rax
  mov    %ecx,%esi
  imul   $0xffffffff8d3dcb09,%rax,%rax
  sar    $0x1f,%esi
  shr    $0x20,%rax
  add    %ecx,%eax
  sar    $0x4,%eax
  sub    %esi,%eax
  imul   $0x1d,%eax,%esi
  mov    %ecx,%eax
  mov    %edx,%ecx
  sub    %esi,%eax
  sub    %eax,%ebp
  sub    %eax,%ecx
  lea    -0x769(%r13),%eax
  test   %edx,%edx
  cmovns %edx,%eax
  sar    $0x2,%eax
  lea    0x1f(%rcx,%rax,1),%ecx
  movslq %ecx,%rax
  mov    %ecx,%esi
  imul   $0xffffffff92492493,%rax,%rax
  sar    $0x1f,%esi
  shr    $0x20,%rax
  add    %ecx,%eax
  sar    $0x2,%eax
  sub    %esi,%eax
  lea    0x0(,%rax,8),%esi
  sub    %eax,%esi
  movabs $0x1f00000002,%rax
  sub    %esi,%ecx
  mov    %rax,0x14(%rsp)
  sub    %ecx,%ebp
  call   <mktime@plt>
  add    $0x1,%ebp
  imul   $0x15180,%ebp,%ebp
  movslq %ebp,%rbp
  add    %rax,%rbp
  cmp    $0x7d8,%r13d
  je     L19
  mov    %rbp,0x8(%rsp)
  lea    0x8(%rsp),%rbp
  mov    %rbp,%rdi
  call   <localtime@plt>
  mov    %rax,%rdi
  call   <convert_date@plt>
  lea    0x1f5(%r12),%edx
  mov    %rbp,%rdi
  addq   $0x321900,0x8(%rsp)
  movd   %edx,%xmm5
  movd   %eax,%xmm0
  punpckldq %xmm5,%xmm0
  movq   %xmm0,0x4(%rbx)
  call   <localtime@plt>
  mov    %rax,%rdi
  call   <convert_date@plt>
  mov    %rbp,%rdi
  addq   $0xe8080,0x8(%rsp)
  mov    %eax,0xc(%rbx)
  call   <localtime@plt>
  mov    %rax,%rdi
  call   <convert_date@plt>
  movd   %eax,%xmm0
L0:
  lea    0x2d1(%r12),%eax
  lea    0x32f(%r12),%edx
  mov    %r14,0x20(%rbx)
  add    $0x44d,%r12d
  movd   %edx,%xmm1
  movd   %r12d,%xmm3
  movd   %eax,%xmm4
  punpckldq %xmm3,%xmm1
  punpckldq %xmm4,%xmm0
  punpcklqdq %xmm1,%xmm0
  movups %xmm0,0x10(%rbx)
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L12
  add    $0x40,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L19:
  add    $0x15180,%rbp
  mov    %rbp,0x8(%rsp)
  lea    0x8(%rsp),%rbp
  mov    %rbp,%rdi
  call   <localtime@plt>
  mov    %rax,%rdi
  call   <convert_date@plt>
  movl   $0x1326775,0x8(%rbx)
  mov    %rbp,%rdi
  mov    %eax,0x4(%rbx)
  addq   $0x321900,0x8(%rsp)
  call   <localtime@plt>
  movl   $0x1406fa5,0xc(%rbx)
  mov    %rbp,%rdi
  addq   $0xe8080,0x8(%rsp)
  call   <localtime@plt>
  mov    $0x1326780,%eax
  movd   %eax,%xmm0
  jmp    L0
L12:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D1
datatype: byte[8]

tool: {"D1": [0x57,0x04,0x00,0x00,0xc9,0x04,0x00,0x00]}

assistant: ```c
int official_hdays(int hdays[], int c_year) {
  int sizetab = 11;
  int n = 0;
  int a = 0;
  int b = 0;
  int c = 0;
  int d = 0;
  int e = 0;
  int p = 0;
  char year[5];
  struct tm date_tm;
  struct tm *date_tmp_p;
  time_t tps;
  long date_tmp_l = 0;
  char year_tmp[5], month_tmp[3], day_tmp[3];
  int buffer_i = 0;
  char buffer_c[2] = "";
  int test = 0;
  hdays[0] = (c_year * 10000) + 101;
  n = c_year - 1900;
  a = n % 19;
  b = ((a * 7) + 1) / 19;
  c = ((11 * a) - b + 4) % 29;
  d = n / 4;
  e = (n - c + d + 31) % 7;
  p = 25 - c - e;
  date_tm.tm_year = c_year - 1900;
  date_tm.tm_mon = 3 - 1;
  date_tm.tm_mday = 31;
  date_tm.tm_hour = date_tm.tm_min = date_tm.tm_sec = 0;
  tps = mktime(&date_tm);
  date_tmp_l = tps;
  date_tmp_l = date_tmp_l + ((p + 1) * 86400);
  if (c_year == 2008)
    date_tmp_l = date_tmp_l + 86400;
  tps = date_tmp_l;
  date_tmp_p = localtime(&tps);
  hdays[1] = convert_date(date_tmp_p);
  test = 0;
  hdays[2] = (c_year * 10000) + 501;
  date_tmp_l = tps;
  date_tmp_l = date_tmp_l + ((40 - 2) * 86400);
  tps = date_tmp_l;
  date_tmp_p = localtime(&tps);
  if (c_year == 2008)
    hdays[3] = 21000101;
  else
    hdays[3] = convert_date(date_tmp_p);
  test = 0;
  date_tmp_l = tps;
  date_tmp_l = date_tmp_l + ((10 + 1) * 86400);
  tps = date_tmp_l;
  date_tmp_p = localtime(&tps);
  if (c_year == 2008)
    hdays[4] = 20080512;
  else
    hdays[4] = convert_date(date_tmp_p);
  test = 0;
  hdays[5] = (c_year * 10000) + 721;
  hdays[6] = (c_year * 10000) + 815;
  hdays[7] = (c_year * 10000) + 1101;
  hdays[8] = (c_year * 10000) + 1111;
  hdays[9] = (c_year * 10000) + 1225;
  return 0;
}
```