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

```asm
<atovm>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %esi,%r14d
  mov    %esi,%eax
  imul   %esi,%eax
  cltq
  lea    -0x8(%rdi,%rax,8),%r12
  mov    D39(%rip),%rbx
  mov    %rbx,(%r12)
  movslq %esi,%rdx
  lea    0x0(,%rdx,8),%rsi
  mov    $0xfffffffffffffff8,%r13
  sub    %rsi,%r13
  lea    (%r12,%r13,1),%r11
  sub    %rdx,%rax
  sub    %rdx,%rax
  shl    $0x3,%rax
  lea    -0x8(%rdi,%rax,1),%r10
  cmp    $0x1,%r14d
  jle    L182
  sub    $0x8,%r12
  add    %rax,%rdi
  lea    0x8(%r11),%rbx
  add    $0x10,%r11
  mov    $0x1,%r9d
  lea    -0x1(%r14),%r15d
  movsd  D39(%rip),%xmm7
  pxor   %xmm6,%xmm6
  movapd %xmm6,%xmm10
  movq   D11(%rip),%xmm4
  movapd %xmm7,%xmm9
  movapd %xmm4,%xmm8
  movapd %xmm6,%xmm5
  jmp    L167
L186:
  add    $0x8,%rcx
  movapd %xmm1,%xmm2
  mulsd  -0x8(%rcx),%xmm2
  movsd  (%rdx),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rdx)
  add    %rsi,%rdx
  cmp    %rax,%rcx
  jne    L186
L95:
  add    $0x8,%r8
  xorpd  %xmm4,%xmm1
  movsd  %xmm1,-0x8(%r8)
  cmp    %r8,%rbp
  je     L109
L127:
  lea    (%r8,%rsi,1),%rdx
  test   %r9d,%r9d
  jle    L177
  mov    %rdx,%rcx
  mov    %r10,%rax
  pxor   %xmm1,%xmm1
L196:
  add    $0x8,%rax
  movsd  (%rcx),%xmm0
  mulsd  -0x8(%rax),%xmm0
  addsd  %xmm0,%xmm1
  add    %rsi,%rcx
  cmp    %rdi,%rax
  jne    L196
  mulsd  %xmm3,%xmm1
  mov    %r10,%rcx
  jmp    L186
L25:
  mov    %rbx,%rax
  movsd  %xmm7,-0x8(%rbx)
  mov    %r12,%rdx
  test   %r9d,%r9d
  jle    L109
L115:
  add    $0x8,%rax
  movq   $0x0,-0x8(%rax)
  movq   $0x0,(%rdx)
  add    %rsi,%rdx
  cmp    %r11,%rax
  jne    L115
L109:
  add    %r13,%r10
  add    $0x1,%r9d
  add    %r13,%r12
  sub    %rsi,%rdi
  add    %r13,%rbx
  sub    %rsi,%r11
  cmp    %r9d,%r14d
  je     L182
L167:
  lea    -0x8(%rbx),%rbp
  mov    %r9d,%ecx
  cmp    %r9d,%r15d
  je     L25
  movsd  -0x8(%r10),%xmm3
  ucomisd %xmm6,%xmm3
  jp     L129
  ucomisd %xmm5,%xmm3
  je     L25
L129:
  test   %r9d,%r9d
  jle    L176
  mov    $0x0,%eax
L4:
  add    $0x1,%eax
  cmp    %r9d,%eax
  jne    L4
  movapd %xmm9,%xmm0
  subsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rbx)
  mov    %r12,%rdx
  mov    %r10,%rax
  movapd %xmm3,%xmm1
  xorpd  %xmm8,%xmm1
L183:
  add    $0x8,%rax
  movapd %xmm1,%xmm0
  mulsd  -0x8(%rax),%xmm0
  movsd  %xmm0,(%rdx)
  add    %rsi,%rdx
  cmp    %rdi,%rax
  jne    L183
L104:
  mov    %rbx,%r8
  mov    %r14d,%eax
  sub    %ecx,%eax
  cmp    %eax,%r14d
  jle    L109
  lea    -0x1(%rcx),%eax
  lea    0x10(%rbp,%rax,8),%rbp
  jmp    L127
L177:
  movapd %xmm3,%xmm1
  mulsd  %xmm10,%xmm1
  jmp    L95
L176:
  movsd  D39(%rip),%xmm0
  subsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rbx)
  jmp    L104
L182:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D39
type_guessed: f64
name: disassemble_data
arguments: data_label: D11
type_guessed: f32[2]

tool: D39: 1

tool: {"D11": [0.0,-0.0]}

assistant: ```c
void atovm(double *v, int n) {
  double *p0, *q0, *p, *q, *qq;
  double h, s;
  int i, j, k, mm;
  q0 = v + n * n - 1;
  *q0 = 1.;
  q0 -= n + 1;
  p0 = v + n * n - n - n - 1;
  for (i = n - 2, mm = 1; i >= 0; --i, p0 -= n + 1, q0 -= n + 1, ++mm) {
    if (i && *(p0 - 1) != 0.) {
      for (j = 0, p = p0, h = 1.; j < mm; ++j, ++p)
        h += *p * *p;
      h = *(p0 - 1);
      *q0 = 1. - h;
      for (j = 0, q = q0 + n, p = p0; j < mm; ++j, q += n)
        *q = -h * *p++;
      for (k = i + 1, q = q0 + 1; k < n; ++k) {
        for (j = 0, qq = q + n, p = p0, s = 0.; j < mm; ++j, qq += n)
          s += *qq * *p++;
        s *= h;
        for (j = 0, qq = q + n, p = p0; j < mm; ++j, qq += n)
          *qq -= s * *p++;
        *q++ = -s;
      }
    } else {
      *q0 = 1.;
      for (j = 0, p = q0 + 1, q = q0 + n; j < mm; ++j, q += n)
        *q = *p++ = 0.;
    }
  }
}
```