user: What is the c source code of the assembly code below?

```asm
<Householder2>:
  endbr64
  push   %r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  movslq %edi,%r13
  push   %r12
  lea    0x0(,%r13,8),%rdi
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x48,%rsp
  mov    %rdi,0x20(%rsp)
  lea    -0x8(%rsi,%rdi,1),%rdi
  mov    %r13d,0x38(%rsp)
  mov    %rdi,0x18(%rsp)
  test   %r13d,%r13d
  jle    L40
  mov    0x18(%rsp),%rax
  mov    (%rax),%rdx
  xor    %eax,%eax
  nopl   0x0(%rax)
L325:
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%r13
  jne    L325
L40:
  mov    0x38(%rsp),%eax
  lea    -0x1(%rax),%r15d
  test   %r15d,%r15d
  jle    L62
  movq   D35(%rip),%xmm4
  mov    %r13,0x28(%rsp)
  movslq %r15d,%r15
  pxor   %xmm2,%xmm2
  mov    %r14,%r13
  nopl   0x0(%rax,%rax,1)
L122:
  mov    %r15d,%edx
  mov    %r15d,%r8d
  xor    %eax,%eax
  mov    %r15d,%r12d
  movapd %xmm2,%xmm1
  nop
L290:
  movsd  (%rbx,%rax,8),%xmm0
  add    $0x1,%rax
  andpd  %xmm4,%xmm0
  addsd  %xmm0,%xmm1
  cmp    %eax,%r15d
  jg     L290
  ucomisd %xmm2,%xmm1
  lea    0x0(,%r15,8),%r14
  jp     L246
  jne    L246
  movsd  -0x8(%rbx,%r15,8),%xmm0
  mov    -0x8(%rbp,%r15,8),%rsi
  xor    %eax,%eax
  mov    0x0(%rbp,%r15,8),%rcx
  movsd  %xmm0,0x0(%r13,%r15,8)
  nopl   0x0(%rax,%rax,1)
L82:
  movsd  (%rsi,%rax,8),%xmm0
  mov    0x0(%rbp,%rax,8),%rdx
  movsd  %xmm0,(%rbx,%rax,8)
  movq   $0x0,(%rcx,%rax,8)
  add    $0x1,%rax
  movq   $0x0,(%rdx,%r14,1)
  cmp    %eax,%r12d
  jg     L82
  movapd %xmm2,%xmm5
L75:
  movsd  %xmm5,(%rbx,%r15,8)
  sub    $0x1,%r15
  test   %r15d,%r15d
  jg     L122
  mov    0x18(%rsp),%rax
  mov    %r13,%r14
  mov    0x28(%rsp),%r13
  lea    0x8(%rbp),%r8
  movsd  D17(%rip),%xmm4
  mov    $0x8,%edx
  mov    (%rax),%r10
  mov    0x38(%rsp),%eax
  sub    $0x2,%eax
  lea    0x10(,%rax,8),%r11
  nop
L256:
  mov    -0x8(%r8),%rax
  lea    -0x8(%rax,%rdx,1),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x8(%r10,%rdx,1)
  movsd  %xmm4,(%rax)
  movsd  (%rbx,%rdx,1),%xmm1
  ucomisd %xmm2,%xmm1
  jp     L39
  jne    L39
L204:
  mov    %rbp,%rax
L129:
  mov    (%rax),%rcx
  add    $0x8,%rax
  movq   $0x0,(%rcx,%rdx,1)
  cmp    %rax,%r8
  jne    L129
  add    $0x8,%rdx
  add    $0x8,%r8
  cmp    %rdx,%r11
  jne    L256
L236:
  mov    0x38(%rsp),%edx
  xor    %eax,%eax
  test   %edx,%edx
  jle    L8
  nopl   0x0(%rax,%rax,1)
L222:
  movsd  (%r10,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  movq   $0x0,(%r10,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%r13
  jne    L222
L8:
  mov    0x20(%rsp),%rax
  movsd  %xmm4,-0x8(%r10,%rax,1)
  movq   $0x0,(%r14)
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L246:
  xor    %eax,%eax
  movapd %xmm2,%xmm5
  cs nopw 0x0(%rax,%rax,1)
L308:
  movsd  (%rbx,%rax,8),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  mulsd  %xmm0,%xmm0
  add    $0x1,%rax
  addsd  %xmm0,%xmm5
  cmp    %eax,%r12d
  jg     L308
  ucomisd %xmm5,%xmm2
  movsd  -0x8(%rbx,%r15,8),%xmm3
  ja     L43
  movapd %xmm5,%xmm0
  sqrtsd %xmm0,%xmm0
L199:
  comisd %xmm2,%xmm3
  jbe    L285
  xorpd  D4(%rip),%xmm0
L285:
  mulsd  %xmm0,%xmm1
  lea    -0x1(%rdx),%ecx
  test   %r8d,%r8d
  mov    $0x8,%eax
  lea    0x8(,%rcx,8),%rdx
  mov    %r13,%rdi
  mov    %rcx,0x8(%rsp)
  cmovle %rax,%rdx
  xor    %esi,%esi
  mov    %r8d,(%rsp)
  movsd  %xmm1,0x0(%r13,%r15,8)
  movapd %xmm0,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm0,%xmm3
  movsd  %xmm3,-0x8(%rbx,%r15,8)
  subsd  %xmm1,%xmm5
  movsd  %xmm5,0x10(%rsp)
  call   <memset@plt>
  mov    (%rsp),%r8d
  mov    0x8(%rsp),%rcx
  xor    %edx,%edx
  movsd  0x10(%rsp),%xmm5
  movq   D35(%rip),%xmm4
  mov    $0x1,%esi
  pxor   %xmm2,%xmm2
  nopw   0x0(%rax,%rax,1)
L164:
  movsd  (%rbx,%rdx,1),%xmm6
  mov    0x0(%rbp,%rdx,1),%rax
  movsd  %xmm6,(%rax,%r14,1)
  movsd  (%rax,%rdx,1),%xmm1
  mulsd  %xmm6,%xmm1
  addsd  0x0(%r13,%rdx,1),%xmm1
  cmp    %esi,%r12d
  jle    L84
  mov    %rsi,%rax
  nopl   0x0(%rax,%rax,1)
L128:
  mov    0x0(%rbp,%rax,8),%rdi
  movsd  (%rbx,%rax,8),%xmm3
  movsd  (%rdi,%rdx,1),%xmm0
  mulsd  %xmm0,%xmm3
  mulsd  %xmm6,%xmm0
  addsd  0x0(%r13,%rax,8),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  add    $0x1,%rax
  addsd  %xmm3,%xmm1
  cmp    %eax,%r12d
  jg     L128
  movsd  %xmm1,0x0(%r13,%rdx,1)
  add    $0x1,%rsi
  add    $0x8,%rdx
  jmp    L164
  nopl   0x0(%rax,%rax,1)
L84:
  shl    $0x3,%rcx
  xor    %eax,%eax
  test   %r8d,%r8d
  cmovle %rax,%rcx
  movsd  %xmm1,0x0(%r13,%rcx,1)
  movapd %xmm2,%xmm1
L71:
  movsd  0x0(%r13,%rax,8),%xmm0
  divsd  %xmm5,%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  mulsd  (%rbx,%rax,8),%xmm0
  add    $0x1,%rax
  addsd  %xmm0,%xmm1
  cmp    %eax,%r12d
  jg     L71
  movapd %xmm5,%xmm0
  xor    %eax,%eax
  addsd  %xmm5,%xmm0
  divsd  %xmm0,%xmm1
  nopw   0x0(%rax,%rax,1)
L94:
  movsd  (%rbx,%rax,8),%xmm3
  movsd  0x0(%r13,%rax,8),%xmm0
  mulsd  %xmm1,%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%r12d
  jg     L94
  mov    -0x8(%rbp,%r15,8),%r9
  mov    0x0(%rbp,%r15,8),%r8
  xor    %ecx,%ecx
  nopl   0x0(%rax,%rax,1)
L14:
  movsd  (%rbx,%rcx,8),%xmm6
  movsd  0x0(%r13,%rcx,8),%xmm3
  lea    0x0(,%rcx,8),%rsi
  cmp    %ecx,%r12d
  jle    L288
  mov    %rcx,%rax
  movapd %xmm6,%xmm1
  movapd %xmm3,%xmm0
  jmp    L167
  cs nopw 0x0(%rax,%rax,1)
L284:
  movsd  0x0(%r13,%rax,8),%xmm0
  movsd  (%rbx,%rax,8),%xmm1
L167:
  mulsd  %xmm3,%xmm1
  mov    0x0(%rbp,%rax,8),%rdx
  add    $0x1,%rax
  mulsd  %xmm6,%xmm0
  add    %rsi,%rdx
  addsd  %xmm1,%xmm0
  movsd  (%rdx),%xmm1
  subsd  %xmm0,%xmm1
  movsd  %xmm1,(%rdx)
  cmp    %eax,%r12d
  jg     L284
L288:
  movsd  (%r9,%rcx,8),%xmm0
  movsd  %xmm0,(%rbx,%rcx,8)
  movq   $0x0,(%r8,%rcx,8)
  add    $0x1,%rcx
  cmp    %ecx,%r12d
  jg     L14
  jmp    L75
L39:
  xor    %eax,%eax
  nopl   0x0(%rax)
L66:
  mov    0x0(%rbp,%rax,1),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rbx,%rax,1)
  add    $0x8,%rax
  cmp    %rax,%rdx
  jne    L66
  xor    %esi,%esi
  xchg   %ax,%ax
L336:
  mov    %rbp,%rax
  movapd %xmm2,%xmm1
  nopw   0x0(%rax,%rax,1)
L138:
  mov    (%rax),%rcx
  add    $0x8,%rax
  movsd  (%rcx,%rdx,1),%xmm0
  mulsd  (%rcx,%rsi,1),%xmm0
  addsd  %xmm0,%xmm1
  cmp    %rax,%r8
  jne    L138
  xor    %eax,%eax
  nopl   0x0(%rax)
L178:
  movsd  (%rbx,%rax,1),%xmm3
  mov    0x0(%rbp,%rax,1),%rcx
  add    $0x8,%rax
  mulsd  %xmm1,%xmm3
  add    %rsi,%rcx
  movsd  (%rcx),%xmm0
  subsd  %xmm3,%xmm0
  movsd  %xmm0,(%rcx)
  cmp    %rax,%rdx
  jne    L178
  add    $0x8,%rsi
  cmp    %rsi,%rdx
  jne    L336
  jmp    L204
L62:
  mov    0x18(%rsp),%rax
  movsd  D17(%rip),%xmm4
  mov    (%rax),%r10
  jmp    L236
L43:
  movapd %xmm5,%xmm0
  mov    %edx,0x3c(%rsp)
  mov    %r8d,0x8(%rsp)
  movsd  %xmm1,0x30(%rsp)
  movsd  %xmm3,0x10(%rsp)
  movsd  %xmm5,(%rsp)
  call   <sqrt@plt>
  mov    0x3c(%rsp),%edx
  movsd  0x30(%rsp),%xmm1
  pxor   %xmm2,%xmm2
  movsd  0x10(%rsp),%xmm3
  mov    0x8(%rsp),%r8d
  movsd  (%rsp),%xmm5
  jmp    L199
```

tool_calls: name: read_data
arguments: tag: D35
data_type: qword
name: read_data
arguments: tag: D17
data_type: f64
name: read_data
arguments: tag: D4
data_type: f32[4]

tool: D35: 9223372036854775807

tool: D17: 1

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

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;
}
```