user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<precess_3>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x88(%rbp)
  movsd  %xmm0,-0x90(%rbp)
  mov    %esi,-0x94(%rbp)
  mov    %edx,-0x98(%rbp)
  mov    %ecx,-0x9c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movsd  -0x90(%rbp),%xmm0
  ucomisd D17(%rip),%xmm0
  jp     L12
  movsd  -0x90(%rbp),%xmm0
  ucomisd D17(%rip),%xmm0
  jne    L12
  mov    $0x0,%eax
  jmp    L57
L12:
  cmpl   $0xa,-0x9c(%rbp)
  jne    L56
  mov    -0x98(%rbp),%ecx
  lea    -0x50(%rbp),%rdx
  mov    -0x90(%rbp),%rax
  mov    %ecx,%esi
  mov    %rdx,%rdi
  movq   %rax,%xmm0
  call   <owen_pre_matrix@plt>
  jmp    L18
L56:
  lea    -0x50(%rbp),%rdx
  mov    -0x90(%rbp),%rax
  mov    %rdx,%rdi
  movq   %rax,%xmm0
  call   <pre_pmat@plt>
L18:
  cmpl   $0xffffffff,-0x94(%rbp)
  jne    L88
  movl   $0x0,-0x78(%rbp)
  movl   $0x0,-0x74(%rbp)
  jmp    L11
L135:
  mov    -0x88(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x74(%rbp),%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x88(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm2
  mov    -0x74(%rbp),%eax
  add    $0x1,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x88(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm2
  mov    -0x74(%rbp),%eax
  add    $0x2,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x78(%rbp),%eax
  cltq
  movsd  %xmm0,-0x70(%rbp,%rax,8)
  addl   $0x1,-0x78(%rbp)
  mov    -0x78(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
L11:
  cmpl   $0x2,-0x78(%rbp)
  jle    L135
  jmp    L26
L88:
  movl   $0x0,-0x78(%rbp)
  movl   $0x0,-0x74(%rbp)
  jmp    L45
L76:
  mov    -0x88(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x78(%rbp),%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x88(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm2
  mov    -0x78(%rbp),%eax
  add    $0x3,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x88(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm2
  mov    -0x78(%rbp),%eax
  add    $0x6,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x78(%rbp),%eax
  cltq
  movsd  %xmm0,-0x70(%rbp,%rax,8)
  addl   $0x1,-0x78(%rbp)
  mov    -0x78(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
L45:
  cmpl   $0x2,-0x78(%rbp)
  jle    L76
L26:
  movl   $0x0,-0x78(%rbp)
  jmp    L125
L19:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rax,%rdx
  mov    -0x78(%rbp),%eax
  cltq
  movsd  -0x70(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rdx)
  addl   $0x1,-0x78(%rbp)
L125:
  cmpl   $0x2,-0x78(%rbp)
  jle    L19
  mov    $0x0,%eax
L57:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L16
  call   <__stack_chk_fail@plt>
L16:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D17
type_guessed: f64

tool: D17: 2451545

assistant: ```c
int precess_3(double *R, double J, int direction, int iflag, int prec_meth) {
  double x[3], pmat[9];
  int i, j;
  if (J == 2451545.0)
    return (0);
  if (prec_meth == 10)
    owen_pre_matrix(J, pmat, iflag);
  else
    pre_pmat(J, pmat);
  if (direction == -1) {
    for (i = 0, j = 0; i <= 2; i++, j = i * 3) {
      x[i] = R[0] * pmat[j + 0] + R[1] * pmat[j + 1] + R[2] * pmat[j + 2];
    }
  } else {
    for (i = 0, j = 0; i <= 2; i++, j = i * 3) {
      x[i] = R[0] * pmat[i + 0] + R[1] * pmat[i + 3] + R[2] * pmat[i + 6];
    }
  }
  for (i = 0; i < 3; i++)
    R[i] = x[i];
  return (0);
}
```