user: 请从给定的汇编指令推导出C源代码:

```asm
<Householder2>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,0x44(%rsp)
  mov    %rsi,%rbp
  mov    %rdx,%r12
  mov    %rcx,%rbx
  test   %edi,%edi
  jle    L300
  movslq %edi,%rax
  lea    -0x8(%rsi,%rax,8),%rsi
  mov    %edi,%ecx
  shl    $0x3,%rcx
  mov    $0x0,%eax
L14:
  mov    (%rsi),%rdx
  movsd  (%rdx,%rax,1),%xmm0
  movsd  %xmm0,(%r12,%rax,1)
  add    $0x8,%rax
  cmp    %rcx,%rax
  jne    L14
  mov    0x44(%rsp),%eax
  lea    -0x1(%rax),%r15d
  test   %r15d,%r15d
  jle    L139
L258:
  mov    0x44(%rsp),%eax
  sub    $0x2,%eax
  cltq
  mov    %rax,0x18(%rsp)
  movslq %r15d,%rax
  lea    0x0(,%rax,8),%r13
  mov    %r13,0x48(%rsp)
  lea    -0x8(%r13),%r14
  mov    %r14,%rax
  mov    %r13,%r14
  mov    %rax,%r13
  jmp    L206
L287:
  movsd  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm1
  jmp    L118
L175:
  mov    0x48(%rsp),%r9
  add    %rbp,%r9
  lea    0x8(%rbp),%rdi
  mov    0x44(%rsp),%eax
  lea    -0x1(%rax),%r8d
  mov    $0x8,%edx
  movsd  D34(%rip),%xmm5
  pxor   %xmm4,%xmm4
  movapd %xmm4,%xmm3
  jmp    L389
L351:
  test   %r15d,%r15d
  js     L138
  mov    $0x0,%eax
L12:
  mov    0x0(%rbp,%rax,1),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%r12,%rax,1)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L12
  mov    $0x0,%esi
L390:
  mov    %rbp,%rax
  pxor   %xmm1,%xmm1
L180:
  mov    (%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  mulsd  (%rcx,%rsi,1),%xmm0
  addsd  %xmm0,%xmm1
  add    $0x8,%rax
  cmp    %rdi,%rax
  jne    L180
  mov    $0x0,%eax
L114:
  mov    %rsi,%rcx
  add    0x0(%rbp,%rax,1),%rcx
  movapd %xmm1,%xmm2
  mulsd  (%r12,%rax,1),%xmm2
  movsd  (%rcx),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L114
  add    $0x8,%rsi
  cmp    %rdx,%rsi
  jne    L390
L1:
  mov    $0x0,%eax
L4:
  mov    0x0(%rbp,%rax,8),%rcx
  movq   $0x0,(%rcx,%rdx,1)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jge    L4
L138:
  add    $0x1,%r15d
  add    $0x8,%rdx
  add    $0x8,%rdi
  cmp    %r8d,%r15d
  je     L16
L389:
  mov    -0x8(%rdi),%rax
  movsd  -0x8(%rax,%rdx,1),%xmm0
  mov    (%r9),%rax
  movsd  %xmm0,-0x8(%rax,%rdx,1)
  mov    -0x8(%rdi),%rax
  movsd  %xmm5,-0x8(%rax,%rdx,1)
  movsd  (%r12,%rdx,1),%xmm1
  ucomisd %xmm4,%xmm1
  jp     L351
  ucomisd %xmm3,%xmm1
  jne    L351
  test   %r15d,%r15d
  jns    L1
  jmp    L138
L16:
  cmpl   $0x0,0x44(%rsp)
  jle    L291
L139:
  mov    0x44(%rsp),%edi
  movslq %edi,%rax
  lea    -0x8(%rbp,%rax,8),%rdx
  mov    %edi,%esi
  shl    $0x3,%rsi
  mov    $0x0,%eax
L83:
  mov    (%rdx),%rcx
  movsd  (%rcx,%rax,1),%xmm0
  movsd  %xmm0,(%r12,%rax,1)
  mov    (%rdx),%rcx
  movq   $0x0,(%rcx,%rax,1)
  add    $0x8,%rax
  cmp    %rsi,%rax
  jne    L83
L291:
  movslq 0x44(%rsp),%rax
  shl    $0x3,%rax
  mov    -0x8(%rbp,%rax,1),%rdx
  mov    D34(%rip),%rdi
  mov    %rdi,-0x8(%rdx,%rax,1)
  movq   $0x0,(%rbx)
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L184:
  mov    0x20(%rsp),%rax
  movsd  %xmm1,(%rbx,%rax,8)
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L5:
  movsd  (%rbx,%rax,8),%xmm0
  divsd  %xmm4,%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  mulsd  (%r12,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L5
  movapd %xmm4,%xmm0
  addsd  %xmm4,%xmm0
  divsd  %xmm0,%xmm1
  mov    $0x0,%eax
L165:
  movapd %xmm1,%xmm2
  mulsd  (%r12,%rax,8),%xmm2
  movsd  (%rbx,%rax,8),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L165
  mov    $0x0,%edi
L149:
  lea    0x0(,%rdi,8),%rsi
  movsd  (%r12,%rdi,8),%xmm2
  movsd  (%rbx,%rdi,8),%xmm3
  cmp    %edi,%r15d
  jle    L57
  mov    %rdi,%rax
L320:
  mov    %rsi,%rdx
  add    0x0(%rbp,%rax,8),%rdx
  movapd %xmm2,%xmm1
  mulsd  (%rbx,%rax,8),%xmm1
  movapd %xmm3,%xmm0
  mulsd  (%r12,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  movsd  (%rdx),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rdx)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jg     L320
L57:
  mov    0x0(%rbp,%r13,1),%rax
  movsd  (%rax,%rsi,1),%xmm0
  movsd  %xmm0,(%r12,%rdi,8)
  mov    0x0(%rbp,%r14,1),%rax
  movq   $0x0,(%rax,%rsi,1)
  add    $0x1,%rdi
  cmp    %rcx,%rdi
  jne    L149
  jmp    L98
L86:
  movsd  (%r12,%r13,1),%xmm0
  movsd  %xmm0,(%rbx,%r14,1)
  pxor   %xmm4,%xmm4
  jmp    L98
L251:
  movsd  (%r12,%r13,1),%xmm0
  movsd  %xmm0,(%rbx,%r14,1)
  mov    $0x0,%eax
L108:
  mov    0x0(%rbp,%r13,1),%rdx
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,(%r12,%rax,8)
  mov    0x0(%rbp,%r14,1),%rdx
  movq   $0x0,(%rdx,%rax,8)
  mov    0x0(%rbp,%rax,8),%rdx
  movq   $0x0,(%rdx,%r14,1)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jg     L108
  pxor   %xmm4,%xmm4
L98:
  movsd  %xmm4,(%r12,%r14,1)
  subq   $0x1,0x18(%rsp)
  sub    $0x8,%r14
  sub    $0x8,%r13
  sub    $0x1,%r15d
  je     L175
L206:
  test   %r15d,%r15d
  jle    L86
  mov    0x18(%rsp),%eax
  mov    %rax,0x20(%rsp)
  shl    $0x3,%rax
  mov    %rax,0x30(%rsp)
  lea    0x8(%r12,%rax,1),%rdx
  mov    %r12,%rax
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x8(%rsp)
L393:
  movsd  (%rax),%xmm0
  andpd  D4(%rip),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L393
  movsd  0x8(%rsp),%xmm7
  ucomisd D0(%rip),%xmm7
  jp     L167
  je     L251
L167:
  mov    %r12,%rax
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x10(%rsp)
L332:
  movsd  (%rax),%xmm0
  divsd  0x8(%rsp),%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  addsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L332
  lea    (%r12,%r13,1),%rax
  mov    %rax,0x38(%rsp)
  movsd  (%r12,%r13,1),%xmm6
  movsd  %xmm6,0x28(%rsp)
  pxor   %xmm0,%xmm0
  movsd  0x10(%rsp),%xmm5
  ucomisd %xmm5,%xmm0
  ja     L287
  sqrtsd %xmm5,%xmm5
  movapd %xmm5,%xmm1
L118:
  movsd  0x28(%rsp),%xmm5
  comisd D0(%rip),%xmm5
  jbe    L409
  xorpd  D18(%rip),%xmm1
L409:
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rbx,%r14,1)
  movsd  0x28(%rsp),%xmm5
  movapd %xmm5,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  0x10(%rsp),%xmm4
  subsd  %xmm0,%xmm4
  subsd  %xmm1,%xmm5
  mov    0x38(%rsp),%rax
  movsd  %xmm5,(%rax)
  mov    %rbx,%rax
  mov    0x30(%rsp),%rdi
  lea    0x8(%rbx,%rdi,1),%rdx
L59:
  movq   $0x0,(%rax)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L59
  mov    0x20(%rsp),%rax
  lea    0x1(%rax),%rdi
  mov    $0x0,%esi
  mov    $0x1,%ecx
L316:
  movsd  (%r12,%rsi,1),%xmm3
  mov    0x0(%rbp,%rsi,1),%rax
  movsd  %xmm3,(%rax,%r14,1)
  mov    0x0(%rbp,%rsi,1),%rax
  movapd %xmm3,%xmm1
  mulsd  (%rax,%rsi,1),%xmm1
  addsd  (%rbx,%rsi,1),%xmm1
  cmp    %rdi,%rcx
  je     L184
  mov    %rcx,%rax
L154:
  mov    0x0(%rbp,%rax,8),%rdx
  movsd  (%rdx,%rsi,1),%xmm0
  movapd %xmm0,%xmm2
  mulsd  (%r12,%rax,8),%xmm2
  addsd  %xmm2,%xmm1
  mulsd  %xmm3,%xmm0
  addsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jg     L154
  movsd  %xmm1,(%rbx,%rsi,1)
  add    $0x1,%rcx
  add    $0x8,%rsi
  jmp    L316
L300:
  mov    0x44(%rsp),%eax
  lea    -0x1(%rax),%r15d
  test   %r15d,%r15d
  jg     L258
  jmp    L291
```

tool_calls: name: unpack_data
arguments: tag: D34
data_type: f64
name: unpack_data
arguments: tag: D4
data_type: qword[2]
name: unpack_data
arguments: tag: D0
data_type: f64[2]
name: unpack_data
arguments: tag: D18
data_type: byte[16]

tool: D34: 1

tool: {"D4": [0x7fffffffffffffff,0x0000000000000000]}

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

tool: {"D18": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

assistant: ```c
void Householder2(int n, double **V, double *d, double *e) {
  int i, j, k;
  for (j = 0; j < n; j++) {
    d[j] = V[n - 1][j];
  }
  for (i = n - 1; i > 0; i--) {
    double scale = 0.0;
    double h = 0.0;
    for (k = 0; k < i; k++) {
      scale = scale + fabs(d[k]);
    }
    if (scale == 0.0) {
      e[i] = d[i - 1];
      for (j = 0; j < i; j++) {
        d[j] = V[i - 1][j];
        V[i][j] = 0.0;
        V[j][i] = 0.0;
      }
    } else {
      double f, g, hh;
      for (k = 0; k < i; k++) {
        d[k] /= scale;
        h += d[k] * d[k];
      }
      f = d[i - 1];
      g = sqrt(h);
      if (f > 0) {
        g = -g;
      }
      e[i] = scale * g;
      h = h - f * g;
      d[i - 1] = f - g;
      for (j = 0; j < i; j++) {
        e[j] = 0.0;
      }
      for (j = 0; j < i; j++) {
        f = d[j];
        V[j][i] = f;
        g = e[j] + V[j][j] * f;
        for (k = j + 1; k <= i - 1; k++) {
          g += V[k][j] * d[k];
          e[k] += V[k][j] * f;
        }
        e[j] = g;
      }
      f = 0.0;
      for (j = 0; j < i; j++) {
        e[j] /= h;
        f += e[j] * d[j];
      }
      hh = f / (h + h);
      for (j = 0; j < i; j++) {
        e[j] -= hh * d[j];
      }
      for (j = 0; j < i; j++) {
        f = d[j];
        g = e[j];
        for (k = j; k <= i - 1; k++) {
          V[k][j] -= (f * e[k] + g * d[k]);
        }
        d[j] = V[i - 1][j];
        V[i][j] = 0.0;
      }
    }
    d[i] = h;
  }
  for (i = 0; i < n - 1; i++) {
    double h;
    V[n - 1][i] = V[i][i];
    V[i][i] = 1.0;
    h = d[i + 1];
    if (h != 0.0) {
      for (k = 0; k <= i; k++) {
        d[k] = V[k][i + 1] / h;
      }
      for (j = 0; j <= i; j++) {
        double g = 0.0;
        for (k = 0; k <= i; k++) {
          g += V[k][i + 1] * V[k][j];
        }
        for (k = 0; k <= i; k++) {
          V[k][j] -= g * d[k];
        }
      }
    }
    for (k = 0; k <= i; k++) {
      V[k][i + 1] = 0.0;
    }
  }
  for (j = 0; j < n; j++) {
    d[j] = V[n - 1][j];
    V[n - 1][j] = 0.0;
  }
  V[n - 1][n - 1] = 1.0;
  e[0] = 0.0;
}
```