user: 这段汇编代码用C语言表示是什么样的？

```asm
<set_ts_cache_record>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  mov    %rcx,-0x20(%rbp)
  mov    %r8d,-0x24(%rbp)
  mov    -0x20(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  js     L152
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L140
L152:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L140:
  movsd  D6(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  js     L102
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L51
L102:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L51:
  mov    -0x10(%rbp),%rax
  add    $0x10,%rax
  movsd  D6(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jne    L164
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L164
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  js     L0
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L111
L0:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L111:
  mov    -0x10(%rbp),%rax
  add    $0x8,%rax
  movsd  D6(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L8
L164:
  mov    -0x20(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jbe    L8
  mov    -0x20(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  mov    -0x18(%rbp),%rdx
  add    $0x20,%rdx
  mov    (%rdx),%rdx
  sub    %rdx,%rax
  test   %rax,%rax
  js     L136
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L60
L136:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L60:
  movsd  D20(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    -0x18(%rbp),%rdx
  add    $0x18,%rdx
  mov    (%rdx),%rdx
  sub    %rdx,%rax
  test   %rax,%rax
  js     L54
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L101
L54:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L101:
  mov    -0x10(%rbp),%rax
  add    $0x8,%rax
  divsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
  mov    -0x20(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  mov    -0x18(%rbp),%rdx
  add    $0x28,%rdx
  mov    (%rdx),%rdx
  sub    %rdx,%rax
  test   %rax,%rax
  js     L158
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L43
L158:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L43:
  movsd  D20(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    -0x18(%rbp),%rdx
  add    $0x18,%rdx
  mov    (%rdx),%rdx
  sub    %rdx,%rax
  test   %rax,%rax
  js     L96
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L174
L96:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L174:
  mov    -0x10(%rbp),%rax
  add    $0x30,%rax
  divsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
L8:
  nop
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D6
type: f64
name: parse_data
arguments: data_tag: D20
type: f64

tool: D6: 10

tool: D20: 100

assistant: ```c
void set_ts_cache_record(struct module *mod, double st_array[], unsigned long long pre_array[], unsigned long long cur_array[], int inter) {
  st_array[0] = cur_array[0] / 10.0;
  st_array[2] = cur_array[2] / 10.0;
  if (cur_array[5] == 0 && cur_array[1]) {
    st_array[1] = cur_array[1] / 10.0;
  } else {
    if (cur_array[3] > pre_array[3]) {
      st_array[1] = (cur_array[4] - pre_array[4]) * 100.0 / (cur_array[3] - pre_array[3]);
      st_array[6] = (cur_array[5] - pre_array[5]) * 100.0 / (cur_array[3] - pre_array[3]);
    }
  }
}
```