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

```asm
<ldvmat>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %edx,-0x64(%rbp)
  movl   $0x0,-0x48(%rbp)
  mov    -0x64(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x60(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  jmp    L156
L43:
  mov    -0x20(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x48(%rbp)
L156:
  mov    -0x48(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L43
  mov    -0x60(%rbp),%rax
  movsd  D35(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x64(%rbp),%eax
  imul   %eax,%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  movsd  D35(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x64(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    $0xfffffffffffffff8,%rax
  sub    %rdx,%rax
  add    %rax,-0x30(%rbp)
  mov    -0x64(%rbp),%eax
  imul   %eax,%eax
  cltq
  mov    -0x64(%rbp),%edx
  movslq %edx,%rcx
  sub    %rcx,%rax
  mov    %rax,%rdx
  mov    -0x64(%rbp),%eax
  movslq %eax,%rcx
  mov    %rdx,%rax
  sub    %rcx,%rax
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x64(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x48(%rbp)
  movl   $0x1,-0x3c(%rbp)
  jmp    L141
L51:
  mov    -0x38(%rbp),%rax
  sub    $0x8,%rax
  movsd  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L23
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  je     L177
L23:
  movl   $0x0,-0x44(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  movsd  D35(%rip),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  jmp    L113
L24:
  mov    -0x28(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x28(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x10(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  addl   $0x1,-0x44(%rbp)
  addq   $0x8,-0x28(%rbp)
L113:
  mov    -0x44(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L24
  mov    -0x38(%rbp),%rax
  movsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movsd  D35(%rip),%xmm0
  subsd  -0x10(%rbp),%xmm0
  mov    -0x30(%rbp),%rax
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  jmp    L16
L81:
  movsd  -0x10(%rbp),%xmm0
  movq   D28(%rip),%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0x28(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x20(%rbp),%rax
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x20(%rbp)
L16:
  mov    -0x44(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L81
  mov    -0x48(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x40(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x20(%rbp)
  jmp    L80
L76:
  movl   $0x0,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  jmp    L7
L160:
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x28(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x8(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  addl   $0x1,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x18(%rbp)
L7:
  mov    -0x44(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L160
  movsd  -0x8(%rbp),%xmm0
  mulsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movl   $0x0,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  jmp    L17
L8:
  mov    -0x28(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x8(%rbp),%xmm1
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x18(%rbp)
L17:
  mov    -0x44(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L8
  mov    -0x20(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  movsd  -0x8(%rbp),%xmm0
  movq   D28(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x40(%rbp)
L80:
  mov    -0x40(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L76
  jmp    L31
L177:
  mov    -0x30(%rbp),%rax
  movsd  D35(%rip),%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x44(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x20(%rbp)
  jmp    L32
L132:
  mov    -0x28(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  movsd  (%rax),%xmm0
  mov    -0x20(%rbp),%rax
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x20(%rbp)
L32:
  mov    -0x44(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L132
L31:
  subl   $0x1,-0x48(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    $0xfffffffffffffff8,%rax
  sub    %rdx,%rax
  add    %rax,-0x38(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    $0xfffffffffffffff8,%rax
  sub    %rdx,%rax
  add    %rax,-0x30(%rbp)
  addl   $0x1,-0x3c(%rbp)
L141:
  cmpl   $0x0,-0x48(%rbp)
  jg     L51
  nop
  nop
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: label: D35
type: f64
name: unpack_data
arguments: label: D28
type: f32[2]

tool: D35: 1

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

assistant: ```c
void ldvmat(double *a, double *v, int n) {
  double *p0, *q0, *p, *q, *qq;
  double h, s;
  int i, j, k, mm;
  for (i = 0, mm = n * n, q = v; i < mm; ++i)
    *q++ = 0.;
  *v = 1.;
  q0 = v + n * n - 1;
  *q0 = 1.;
  q0 -= n + 1;
  p0 = a + n * n - n - n - 1;
  for (i = n - 2, mm = 1; i > 0; --i, p0 -= n + 1, q0 -= n + 1, ++mm) {
    if (*(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.;
    }
  }
}
```