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

```asm
<set_swift_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),%rdx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jbe    L57
  mov    -0x20(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rcx
  mov    %rdx,%rax
  sub    %rcx,%rax
  mov    -0x24(%rbp),%edx
  movslq %edx,%rsi
  mov    $0x0,%edx
  div    %rsi
  test   %rax,%rax
  js     L0
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L42
L0:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L42:
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  jmp    L93
L57:
  mov    -0x10(%rbp),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
L93:
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L92
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    -0x10(%rbp),%rdx
  lea    0x8(%rdx),%rcx
  test   %rax,%rax
  js     L68
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L196
L68:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L196:
  movsd  %xmm0,(%rcx)
  jmp    L198
L92:
  mov    -0x10(%rbp),%rax
  add    $0x8,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
L198:
  mov    -0x20(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jbe    L30
  mov    -0x20(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    -0x18(%rbp),%rdx
  add    $0x10,%rdx
  mov    (%rdx),%rdx
  sub    %rdx,%rax
  mov    -0x24(%rbp),%edx
  movslq %edx,%rdi
  mov    $0x0,%edx
  div    %rdi
  mov    -0x10(%rbp),%rdx
  lea    0x10(%rdx),%rcx
  test   %rax,%rax
  js     L192
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L91
L192:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L91:
  movsd  %xmm0,(%rcx)
  jmp    L24
L30:
  mov    -0x10(%rbp),%rax
  add    $0x10,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
L24:
  mov    -0x20(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L25
  mov    -0x20(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    -0x10(%rbp),%rdx
  lea    0x18(%rdx),%rcx
  test   %rax,%rax
  js     L58
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L67
L58:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L67:
  movsd  %xmm0,(%rcx)
  jmp    L21
L25:
  mov    -0x10(%rbp),%rax
  add    $0x18,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
L21:
  mov    -0x20(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L99
  mov    -0x20(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  mov    -0x10(%rbp),%rdx
  lea    0x20(%rdx),%rcx
  test   %rax,%rax
  js     L148
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L185
L148:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L185:
  movsd  %xmm0,(%rcx)
  jmp    L146
L99:
  mov    -0x10(%rbp),%rax
  add    $0x20,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
L146:
  nop
  pop    %rbp
  ret
```

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