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

```asm
<Householder>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  movslq %ecx,%rbp
  push   %rbx
  movslq %edx,%rbx
  mov    %ebx,%ecx
  shr    $0x1f,%ecx
  sub    $0x38,%rsp
  cmp    %ebp,%ebx
  setge  %dl
  or     %cl,%dl
  jne    L398
  cmp    %r8d,%ebp
  jg     L398
  shl    $0x3,%rbx
  mov    %rsi,%r12
  lea    (%rsi,%rbx,1),%r13
  movsd  0x0(%r13),%xmm4
  cmp    $0x1,%edi
  je     L383
  pxor   %xmm3,%xmm3
  ucomisd %xmm3,%xmm4
  jp     L178
  je     L398
L178:
  mov    0x78(%rsp),%eax
  test   %eax,%eax
  jle    L398
  cmpq   $0x0,0x70(%rsp)
  je     L398
  movsd  (%r9),%xmm5
  mulsd  %xmm5,%xmm4
  comisd %xmm3,%xmm4
  jae    L398
  mov    %r8d,%r14d
  movslq %ebp,%rax
  mov    %r12,0x28(%rsp)
  sub    %ebp,%r14d
  lea    0x0(,%rax,8),%rdx
  mov    %rax,0x20(%rsp)
  mov    %r14d,%eax
  mov    %rdx,(%rsp)
  lea    (%r12,%rdx,1),%rdi
  lea    0x8(%r12,%rdx,1),%rdx
  shr    %eax
  mov    %rdx,0x18(%rsp)
  lea    -0x1(%rax),%ecx
  mov    %r14d,%eax
  mov    %ebp,0x8(%rsp)
  and    $0xfffffffe,%eax
  add    $0x1,%rcx
  mov    %eax,0x14(%rsp)
  add    %ebp,%eax
  shl    $0x4,%rcx
  cmp    $0x1,%r14d
  movslq %eax,%rsi
  cltq
  cmove  %rbp,%rsi
  lea    0x0(,%rax,8),%r15
  xor    %r13d,%r13d
  lea    (%r12,%r15,1),%rax
  shl    $0x3,%rsi
  mov    %rax,%rbp
  lea    (%r12,%rsi,1),%r10
  nopl   0x0(%rax)
L283:
  mov    0x70(%rsp),%rax
  mov    (%rax,%r13,8),%rdx
  lea    (%rdx,%rbx,1),%r12
  movsd  (%r12),%xmm6
  movapd %xmm6,%xmm0
  mulsd  %xmm5,%xmm0
  cmp    %r8d,0x8(%rsp)
  jge    L177
  cmp    $0x1,%r14d
  je     L219
  mov    (%rsp),%rax
  lea    (%rdx,%rax,1),%r11
  xor    %eax,%eax
  cs nopw 0x0(%rax,%rax,1)
L14:
  movupd (%r11,%rax,1),%xmm2
  movupd (%rdi,%rax,1),%xmm7
  add    $0x10,%rax
  mulpd  %xmm7,%xmm2
  addsd  %xmm2,%xmm0
  unpckhpd %xmm2,%xmm2
  addsd  %xmm2,%xmm0
  cmp    %rax,%rcx
  jne    L14
  cmp    0x14(%rsp),%r14d
  je     L58
L219:
  movsd  (%rdx,%rsi,1),%xmm1
  mulsd  (%r10),%xmm1
  addsd  %xmm1,%xmm0
L58:
  ucomisd %xmm3,%xmm0
  jp     L184
  jne    L184
L185:
  add    $0x1,%r13
  cmp    %r13d,0x78(%rsp)
  jle    L398
  movsd  (%r9),%xmm5
  jmp    L283
  cs nopw 0x0(%rax,%rax,1)
L398:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L184:
  divsd  %xmm4,%xmm0
  mov    (%rsp),%rax
  lea    (%rdx,%rax,1),%r11
  mulsd  %xmm0,%xmm5
  addsd  %xmm6,%xmm5
  movsd  %xmm5,(%r12)
  cmp    %r11,0x18(%rsp)
  je     L118
  movapd %xmm0,%xmm2
  xor    %eax,%eax
  unpcklpd %xmm2,%xmm2
  cmp    $0x1,%r14d
  je     L118
  nopl   0x0(%rax)
L385:
  movupd (%rdi,%rax,1),%xmm1
  movupd (%r11,%rax,1),%xmm6
  mulpd  %xmm2,%xmm1
  addpd  %xmm6,%xmm1
  movups %xmm1,(%r11,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rcx
  jne    L385
  cmp    0x14(%rsp),%r14d
  je     L185
  mulsd  0x0(%rbp),%xmm0
  add    %r15,%rdx
  addsd  (%rdx),%xmm0
  movsd  %xmm0,(%rdx)
  jmp    L185
  nopl   0x0(%rax)
L383:
  movq   D31(%rip),%xmm1
  movapd %xmm4,%xmm5
  andpd  %xmm1,%xmm5
  cmp    %r8d,%ebp
  jge    L245
  lea    -0x1(%r8),%eax
  movslq %ebp,%rdx
  sub    %ebp,%eax
  lea    (%rsi,%rdx,8),%rcx
  add    %rdx,%rax
  lea    0x8(%rsi,%rax,8),%rdx
  mov    %rcx,%rax
  nopl   0x0(%rax)
L173:
  movsd  (%rax),%xmm0
  add    $0x8,%rax
  andpd  %xmm1,%xmm0
  maxsd  %xmm5,%xmm0
  movapd %xmm0,%xmm5
  cmp    %rdx,%rax
  jne    L173
  pxor   %xmm3,%xmm3
  ucomisd %xmm3,%xmm0
  jp     L368
  je     L398
L368:
  movsd  D7(%rip),%xmm1
  movapd %xmm4,%xmm0
  mov    %r8d,%esi
  sub    %ebp,%esi
  movapd %xmm1,%xmm6
  divsd  %xmm5,%xmm6
  mulsd  %xmm6,%xmm0
  mulsd  %xmm0,%xmm0
  cmp    $0x1,%esi
  je     L21
  mov    %esi,%eax
  movapd %xmm6,%xmm7
  shr    %eax
  unpcklpd %xmm7,%xmm7
  lea    -0x1(%rax),%edx
  lea    0x10(%rcx),%rax
  shl    $0x4,%rdx
  add    %rax,%rdx
  jmp    L324
  nop
L57:
  add    $0x10,%rax
L324:
  movupd (%rcx),%xmm2
  mov    %rax,%rcx
  mulpd  %xmm7,%xmm2
  mulpd  %xmm2,%xmm2
  addsd  %xmm2,%xmm0
  unpckhpd %xmm2,%xmm2
  addsd  %xmm2,%xmm0
  cmp    %rdx,%rax
  jne    L57
  mov    %esi,%edx
  and    $0xfffffffe,%edx
  lea    (%rdx,%rbp,1),%eax
  cmp    %edx,%esi
  je     L353
L37:
  cltq
  mulsd  (%r12,%rax,8),%xmm6
  movapd %xmm6,%xmm1
  mulsd  %xmm6,%xmm1
  addsd  %xmm1,%xmm0
L353:
  ucomisd %xmm0,%xmm3
  ja     L293
  sqrtsd %xmm0,%xmm0
L364:
  mulsd  %xmm5,%xmm0
  comisd %xmm3,%xmm4
  jbe    L406
  xorpd  D15(%rip),%xmm0
L406:
  subsd  %xmm0,%xmm4
  movsd  %xmm4,(%r9)
  movapd %xmm0,%xmm4
  movsd  %xmm0,0x0(%r13)
  jmp    L178
  nopl   0x0(%rax)
L177:
  ucomisd %xmm3,%xmm0
  jp     L325
  je     L185
L325:
  divsd  %xmm4,%xmm0
  mulsd  %xmm5,%xmm0
  addsd  %xmm6,%xmm0
  movsd  %xmm0,(%r12)
  jmp    L185
L118:
  mov    0x20(%rsp),%rax
  mov    0x28(%rsp),%r11
  nopl   (%rax)
L399:
  movsd  (%r11,%rax,8),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%rdx,%rax,8),%xmm1
  movsd  %xmm1,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%r8d
  jg     L399
  jmp    L185
L245:
  pxor   %xmm3,%xmm3
  ucomisd %xmm3,%xmm4
  jp     L176
  je     L398
L176:
  movsd  D7(%rip),%xmm0
  divsd  %xmm5,%xmm0
  mulsd  %xmm4,%xmm0
  mulsd  %xmm0,%xmm0
  jmp    L353
L21:
  mov    %ebp,%eax
  jmp    L37
L293:
  mov    %r9,0x18(%rsp)
  mov    %r8d,0x14(%rsp)
  movsd  %xmm3,0x20(%rsp)
  movsd  %xmm5,0x8(%rsp)
  movsd  %xmm4,(%rsp)
  call   <sqrt@plt>
  movsd  0x20(%rsp),%xmm3
  mov    0x18(%rsp),%r9
  mov    0x14(%rsp),%r8d
  movsd  0x8(%rsp),%xmm5
  movsd  (%rsp),%xmm4
  jmp    L364
```

tool_calls: name: parse_data
arguments: data_label: D31
data_type: qword
name: parse_data
arguments: data_label: D7
data_type: byte[8]
name: parse_data
arguments: data_label: D15
data_type: byte[16]

tool: D31: 9223372036854775807

tool: {"D7": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

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

assistant: ```c
void Householder(int mode, double *v, int p, int l, int m, double *u_p, double *C[], int nC) {
  double vmax, vmax_inv, vtmp, s, b, tj;
  double *cj;
  int i, j;
  if (0 > p || p >= l || l > m)
    return;
  vmax = fabs(v[p]);
  if (mode == 1) {
    for (i = l; i < m; i++)
      vmax = ((vmax) < (fabs(v[i])) ? (fabs(v[i])) : (vmax));
    if (vmax == 0)
      return;
    vmax_inv = 1 / vmax;
    vtmp = v[p] * vmax_inv;
    s = vtmp * vtmp;
    for (i = l; i < m; i++) {
      vtmp = v[i] * vmax_inv;
      s += vtmp * vtmp;
    }
    s = vmax * sqrt(s);
    if (v[p] > 0)
      s = -s;
    *u_p = v[p] - s;
    v[p] = s;
  } else {
    if (vmax == 0)
      return;
  }
  if (nC <= 0 || C == NULL)
    return;
  b = v[p] * (*u_p);
  if (b >= 0)
    return;
  for (j = 0; j < nC; j++) {
    cj = C[j];
    tj = cj[p] * (*u_p);
    for (i = l; i < m; i++)
      tj += cj[i] * v[i];
    if (tj != 0) {
      tj /= b;
      cj[p] += tj * (*u_p);
      for (i = l; i < m; i++)
        cj[i] += tj * v[i];
    }
  }
}
```