user: What would the C source look like for the assembly code provided here?

```asm
<mp_qrfac>:
  endbr64
  push   %r15
  mov    %edi,%r15d
  push   %r14
  mov    %rdx,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x108,%rsp
  mov    %esi,0x34(%rsp)
  mov    0x150(%rsp),%rbx
  mov    %r8d,0x18(%rsp)
  mov    %r9,0xa8(%rsp)
  test   %esi,%esi
  jle    L787
  movslq %edi,%rax
  mov    0x18(%rsp),%r8d
  mov    %rdx,0x10(%rsp)
  mov    $0x0,%r13d
  lea    0x0(,%rax,8),%r12
  movslq 0x34(%rsp),%rax
  test   %r8d,%r8d
  mov    %rax,0x8(%rsp)
  jne    L373
  mov    %rbx,0x150(%rsp)
  mov    %r13,%r14
  mov    %rdx,%rbx
  mov    0x158(%rsp),%r13
  mov    0x150(%rsp),%rbp
  nopl   0x0(%rax,%rax,1)
L179:
  mov    %rbx,%rsi
  mov    %r15d,%edi
  add    %r12,%rbx
  call   <mp_enorm@plt>
  mov    0x148(%rsp),%rax
  movsd  %xmm0,0x0(%rbp,%r14,8)
  movsd  %xmm0,(%rax,%r14,8)
  movsd  %xmm0,0x0(%r13,%r14,8)
  add    $0x1,%r14
  cmp    0x8(%rsp),%r14
  jne    L179
  mov    0x10(%rsp),%r14
L787:
  mov    0x34(%rsp),%esi
  mov    %r15d,%edi
  call   <mp_min0@plt>
  mov    %eax,0x50(%rsp)
  test   %eax,%eax
  jle    L464
  test   %r15d,%r15d
  jle    L701
  cmp    %eax,%r15d
  mov    %r15d,%r12d
  mov    %r15d,%ebp
  movq   D37(%rip),%xmm5
  cmovle %r15d,%eax
  pxor   %xmm3,%xmm3
  xor    %r13d,%r13d
  mov    %r15d,0x90(%rsp)
  movq   $0x0,0x48(%rsp)
  mov    %eax,0x68(%rsp)
  movslq %r15d,%rax
  mov    %rax,0x8(%rsp)
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rbx
  mov    %rax,0x70(%rsp)
  lea    0x1(%r15),%eax
  mov    %eax,0x1c(%rsp)
  mov    %r15d,%eax
  shr    %eax
  mov    %rbx,0x78(%rsp)
  sub    $0x1,%eax
  movaps %xmm5,0x20(%rsp)
  add    $0x1,%rax
  movq   $0x0,0x60(%rsp)
  shl    $0x4,%rax
  movl   $0x0,0x40(%rsp)
  mov    %rax,0xe8(%rsp)
  mov    %r15d,%eax
  movq   $0x1,0x10(%rsp)
  and    $0xfffffffe,%eax
  mov    %eax,0xf0(%rsp)
  lea    -0x8(%rbx),%rax
  mov    %r14,%rbx
  mov    %rax,0x88(%rsp)
  jmp    L693
  nopw   0x0(%rax,%rax,1)
L468:
  mov    %rbx,%rsi
  mov    %ebp,%edi
  movsd  %xmm3,0x38(%rsp)
  call   <mp_enorm@plt>
  movsd  0x38(%rsp),%xmm3
  mov    0x10(%rsp),%eax
  movapd %xmm0,%xmm1
  ucomisd %xmm3,%xmm0
  mov    %eax,0x54(%rsp)
  jp     L214
  jne    L214
  movapd %xmm0,%xmm4
  xorpd  0x20(%rsp),%xmm4
  lea    -0x1(%rbp),%r11d
L342:
  mov    0x148(%rsp),%rax
  mov    0x1c(%rsp),%ecx
  mov    %r11d,%ebp
  add    %ecx,0x40(%rsp)
  add    0x78(%rsp),%rbx
  movsd  %xmm4,(%rax,%r13,8)
  mov    0x30(%rsp),%eax
  add    $0x1,%r13
  add    %ecx,0x90(%rsp)
  mov    0x70(%rsp),%rcx
  addq   $0x1,0x10(%rsp)
  lea    (%rax,%r15,2),%r12d
  add    %rcx,0x60(%rsp)
  mov    0x8(%rsp),%rcx
  add    %rcx,0x48(%rsp)
  cmp    %r13d,0x68(%rsp)
  jle    L778
L693:
  mov    %r12d,%eax
  mov    0x18(%rsp),%edi
  mov    %r13d,0x58(%rsp)
  sub    %r15d,%eax
  mov    %r13d,0x80(%rsp)
  mov    %eax,0x30(%rsp)
  test   %edi,%edi
  je     L468
  mov    0x34(%rsp),%r10d
  mov    %r13d,%r9d
  cmp    %r13d,%r10d
  jle    L468
  mov    0x148(%rsp),%rax
  mov    0x148(%rsp),%r11
  mov    %r13,%rcx
  movsd  (%rax,%r13,8),%xmm1
  lea    (%rax,%r13,8),%r8
  mov    %r13d,%eax
  jmp    L188
  nopl   0x0(%rax)
L545:
  movslq %eax,%rdi
  add    $0x1,%rcx
  add    $0x8,%r8
  lea    0x0(,%rdi,8),%rdx
  lea    (%r11,%rdx,1),%rsi
  cmp    %ecx,%r10d
  jle    L143
L188:
  movsd  (%r8),%xmm0
  lea    0x0(,%rcx,8),%rdx
  mov    %r8,%rsi
  comisd %xmm1,%xmm0
  jbe    L545
  mov    %rcx,%rdi
  mov    %ecx,%eax
  add    $0x1,%rcx
  add    $0x8,%r8
  movapd %xmm0,%xmm1
  cmp    %ecx,%r10d
  jg     L188
L143:
  cmp    %r9d,%eax
  je     L468
  imul   %r15d,%eax
  mov    0x48(%rsp),%rcx
  lea    -0x1(%r15),%r11d
  mov    %r11d,0x38(%rsp)
  shl    $0x3,%rcx
  movslq %eax,%r9
  lea    0x10(%rcx),%r11
  lea    0x0(,%r9,8),%r8
  lea    0x10(,%r9,8),%r10
  cmp    %r11,%r8
  setge  0x54(%rsp)
  cmp    %rcx,%r10
  movzbl 0x54(%rsp),%r11d
  setle  %r10b
  add    %r14,%rcx
  or     %r11b,%r10b
  je     L556
  cmpl   $0x1,0x38(%rsp)
  jbe    L556
  mov    0xe8(%rsp),%r10
  add    %r14,%r8
  xor    %r9d,%r9d
  nopl   0x0(%rax,%rax,1)
L529:
  movupd (%rcx,%r9,1),%xmm0
  movupd (%r8,%r9,1),%xmm7
  movups %xmm7,(%rcx,%r9,1)
  movups %xmm0,(%r8,%r9,1)
  add    $0x10,%r9
  cmp    %r10,%r9
  jne    L529
  mov    0xf0(%rsp),%r11d
  mov    0x30(%rsp),%ecx
  add    %r11d,%eax
  add    %r11d,%ecx
  cmp    %r15d,%r11d
  je     L96
  movslq %ecx,%rcx
  cltq
  lea    (%r14,%rcx,8),%rcx
  lea    (%r14,%rax,8),%rax
  movsd  (%rcx),%xmm0
  movsd  (%rax),%xmm1
  movsd  %xmm1,(%rcx)
  movsd  %xmm0,(%rax)
L96:
  mov    0x148(%rsp),%rax
  movsd  (%rax,%r13,8),%xmm0
  mov    0x158(%rsp),%rax
  movsd  %xmm0,(%rsi)
  mov    0xa8(%rsp),%rsi
  movsd  (%rax,%r13,8),%xmm0
  movsd  %xmm0,(%rax,%rdx,1)
  lea    (%rsi,%rdi,4),%rdx
  mov    (%rsi,%r13,4),%eax
  mov    (%rdx),%ecx
  mov    %ecx,(%rsi,%r13,4)
  mov    %eax,(%rdx)
  jmp    L468
  nopl   (%rax)
L214:
  movsd  (%rbx),%xmm0
  movapd 0x20(%rsp),%xmm7
  comisd %xmm0,%xmm3
  xorpd  %xmm1,%xmm7
  movapd %xmm7,%xmm4
  jbe    L65
  movq   %xmm1,%rax
  movapd %xmm7,%xmm1
  movq   %rax,%xmm4
L65:
  mov    %r13d,0x38(%rsp)
  cmp    %r13d,%r15d
  jle    L185
  cmp    $0x1,%ebp
  je     L79
  mov    %ebp,%eax
  movapd %xmm1,%xmm2
  shr    %eax
  unpcklpd %xmm2,%xmm2
  sub    $0x1,%eax
  shl    $0x4,%rax
  lea    0x10(%rbx,%rax,1),%rdx
  mov    %rbx,%rax
  nopl   0x0(%rax)
L754:
  movupd (%rax),%xmm0
  add    $0x10,%rax
  divpd  %xmm2,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L754
  mov    0x40(%rsp),%eax
  mov    %ebp,%edx
  and    $0xfffffffe,%edx
  add    %edx,%eax
  cmp    %ebp,%edx
  je     L39
L562:
  cltq
  lea    (%r14,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L39:
  movsd  (%rbx),%xmm0
L185:
  addsd  D44(%rip),%xmm0
  mov    0x10(%rsp),%ecx
  lea    -0x1(%rbp),%r11d
  movsd  %xmm0,(%rbx)
  cmp    %ecx,0x34(%rsp)
  jle    L342
  mov    0x10(%rsp),%rax
  mov    0x60(%rsp),%rsi
  mov    %ebp,0x94(%rsp)
  mov    0x148(%rsp),%rcx
  mov    0x34(%rsp),%edi
  mov    %r11d,0xf4(%rsp)
  shl    $0x3,%rax
  mov    %rsi,%r8
  mov    0x40(%rsp),%r9d
  lea    0x8(,%rsi,8),%rsi
  add    %rax,%rcx
  add    0x158(%rsp),%rax
  sub    %r13,%r8
  mov    %rsi,0x98(%rsp)
  mov    %rax,0xb0(%rsp)
  movslq %r12d,%rax
  lea    (%rax,%r13,1),%rdx
  sub    %rax,%r8
  lea    -0x2(%rdi),%eax
  mov    0x148(%rsp),%rdi
  sub    0x80(%rsp),%eax
  lea    (%r14,%rdx,8),%r12
  mov    %r13,0xf8(%rsp)
  add    %r13,%rax
  cmp    0x58(%rsp),%r15d
  lea    0x10(%rdi,%rax,8),%rdi
  mov    %rdi,0x80(%rsp)
  mov    $0x1,%edi
  cmovg  %ebp,%edi
  cmp    0x38(%rsp),%r15d
  setle  %dl
  cmp    $0x1,%ebp
  sete   %al
  mov    %edi,%r10d
  or     %eax,%edx
  and    $0xfffffffe,%r10d
  mov    %edi,%eax
  add    %r10d,%r9d
  shr    %eax
  mov    %dl,0xb8(%rsp)
  movzbl 0xb8(%rsp),%r11d
  movslq %r9d,%rdx
  sub    $0x1,%eax
  mov    %r9d,0xa0(%rsp)
  mov    0x90(%rsp),%r9d
  lea    (%r14,%rdx,8),%rdx
  add    $0x1,%rax
  shl    $0x4,%rax
  mov    %rdx,%rbp
  mov    0xb0(%rsp),%rdx
  mov    %rax,%r13
  mov    %r15d,%eax
  mov    %rcx,%r15
  mov    %edi,%ecx
  nopw   0x0(%rax,%rax,1)
L440:
  test   %r11b,%r11b
  jne    L211
  xor    %esi,%esi
  movapd %xmm3,%xmm0
  nop
L391:
  movupd (%rbx,%rsi,1),%xmm2
  movupd (%r12,%rsi,1),%xmm6
  add    $0x10,%rsi
  mulpd  %xmm6,%xmm2
  addsd  %xmm2,%xmm0
  unpckhpd %xmm2,%xmm2
  addsd  %xmm2,%xmm0
  cmp    %r13,%rsi
  jne    L391
  lea    (%r9,%r10,1),%esi
  cmp    %r10d,%ecx
  je     L652
  movslq 0xa0(%rsp),%rdi
L124:
  movslq %esi,%rsi
  movsd  (%r14,%rdi,8),%xmm1
  mulsd  (%r14,%rsi,8),%xmm1
  addsd  %xmm1,%xmm0
L652:
  cmp    0x38(%rsp),%eax
  divsd  (%rbx),%xmm0
  setg   %dil
  cmpl   $0x1,0x94(%rsp)
  setne  %sil
  test   %sil,%dil
  je     L500
  mov    %r12,%rdi
  movapd %xmm0,%xmm5
  xor    %esi,%esi
  sub    %r14,%rdi
  unpcklpd %xmm5,%xmm5
  cmp    0x98(%rsp),%rdi
  je     L500
  nopw   0x0(%rax,%rax,1)
L518:
  movupd (%rbx,%rsi,1),%xmm2
  movupd (%r12,%rsi,1),%xmm1
  mulpd  %xmm5,%xmm2
  subpd  %xmm2,%xmm1
  movups %xmm1,(%r12,%rsi,1)
  add    $0x10,%rsi
  cmp    %r13,%rsi
  jne    L518
  lea    (%r9,%r10,1),%esi
  cmp    %r10d,%ecx
  je     L29
  mulsd  0x0(%rbp),%xmm0
  movslq %esi,%rsi
  lea    (%r14,%rsi,8),%rsi
  movsd  (%rsi),%xmm1
  subsd  %xmm0,%xmm1
  movsd  %xmm1,(%rsi)
L29:
  mov    0x18(%rsp),%esi
  test   %esi,%esi
  je     L726
  movsd  (%r15),%xmm0
  ucomisd %xmm3,%xmm0
  jp     L531
  jne    L531
L726:
  add    %eax,%r9d
  add    $0x8,%r15
  add    $0x8,%rdx
  sub    0x8(%rsp),%r8
  add    0x88(%rsp),%r12
  cmp    0x80(%rsp),%r15
  jne    L440
  mov    0xf8(%rsp),%r13
  mov    0xf4(%rsp),%r11d
  mov    %eax,%r15d
  jmp    L342
  nopl   (%rax)
L500:
  mov    0x58(%rsp),%edi
  mov    %r12,%rsi
  nop
L30:
  movsd  (%rsi,%r8,8),%xmm2
  movsd  (%rsi),%xmm1
  add    $0x1,%edi
  add    $0x8,%rsi
  mulsd  %xmm0,%xmm2
  subsd  %xmm2,%xmm1
  movsd  %xmm1,-0x8(%rsi)
  cmp    %edi,%eax
  jg     L30
  jmp    L29
  nopw   0x0(%rax,%rax,1)
L531:
  movsd  (%r12),%xmm1
  movsd  D44(%rip),%xmm7
  mov    %eax,0xe4(%rsp)
  mov    %r8,0xd8(%rsp)
  divsd  %xmm0,%xmm1
  movapd %xmm3,%xmm0
  mov    %r9d,0xe0(%rsp)
  mov    %r10d,0xd4(%rsp)
  mov    %r11b,0xd0(%rsp)
  mov    %ecx,0xc8(%rsp)
  mov    %rdx,0xb8(%rsp)
  movsd  %xmm4,0xc0(%rsp)
  movsd  %xmm3,0xb0(%rsp)
  mulsd  %xmm1,%xmm1
  subsd  %xmm1,%xmm7
  movapd %xmm7,%xmm1
  call   <mp_dmax1@plt>
  mov    0xb8(%rsp),%rdx
  movsd  0xb0(%rsp),%xmm3
  movsd  0xc0(%rsp),%xmm4
  mov    0xc8(%rsp),%ecx
  ucomisd %xmm0,%xmm3
  mov    0xd4(%rsp),%r10d
  movzbl 0xd0(%rsp),%r11d
  mov    0xe0(%rsp),%r9d
  mov    0xd8(%rsp),%r8
  mov    0xe4(%rsp),%eax
  ja     L613
  sqrtsd %xmm0,%xmm0
L225:
  mulsd  (%r15),%xmm0
  movsd  D75(%rip),%xmm1
  movsd  D5(%rip),%xmm5
  movsd  %xmm0,(%r15)
  divsd  (%rdx),%xmm0
  mulsd  %xmm0,%xmm1
  mulsd  %xmm1,%xmm0
  comisd %xmm0,%xmm5
  jb     L726
  lea    0x1(%r9),%esi
  mov    0xf4(%rsp),%edi
  mov    %eax,0xe4(%rsp)
  movslq %esi,%rsi
  mov    %r8,0xd8(%rsp)
  lea    (%r14,%rsi,8),%rsi
  mov    %r10d,0xe0(%rsp)
  mov    %r11b,0xd4(%rsp)
  mov    %ecx,0xd0(%rsp)
  mov    %rdx,0xc0(%rsp)
  mov    %r9d,0xb0(%rsp)
  movsd  %xmm4,0xc8(%rsp)
  movsd  %xmm3,0xb8(%rsp)
  call   <mp_enorm@plt>
  mov    0xc0(%rsp),%rdx
  mov    0xe4(%rsp),%eax
  movsd  %xmm0,(%r15)
  mov    0xd0(%rsp),%ecx
  mov    0xd8(%rsp),%r8
  mov    0xe0(%rsp),%r10d
  movsd  %xmm0,(%rdx)
  movzbl 0xd4(%rsp),%r11d
  movsd  0xc8(%rsp),%xmm4
  mov    0xb0(%rsp),%r9d
  movsd  0xb8(%rsp),%xmm3
  jmp    L726
  nopl   0x0(%rax)
L778:
  mov    0x54(%rsp),%ebx
  cmp    %ebx,0x50(%rsp)
  jg     L784
L464:
  add    $0x108,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L701:
  movslq %r15d,%rax
  movq   D37(%rip),%xmm7
  movl   $0x0,0x54(%rsp)
  pxor   %xmm3,%xmm3
  mov    %rax,0x8(%rsp)
  lea    0x1(%r15),%eax
  mov    %eax,0x1c(%rsp)
  movaps %xmm7,0x20(%rsp)
L784:
  mov    0x8(%rsp),%rdi
  movslq 0x54(%rsp),%rbx
  mov    0x148(%rsp),%r13
  lea    0x8(,%rdi,8),%rax
  lea    0x1(%rbx),%r12d
  mov    %rbx,%r10
  mov    %rax,0x58(%rsp)
  mov    %ebx,%eax
  mov    %r12d,%ecx
  imul   %r15d,%eax
  imul   %r15d,%ecx
  movslq %eax,%rdx
  mov    %rdx,0x48(%rsp)
  add    %rbx,%rdx
  lea    (%r14,%rdx,8),%rbp
  mov    %r12d,%edx
  mov    %ecx,0x30(%rsp)
  add    %ecx,%edx
  mov    %edx,0x54(%rsp)
  lea    (%rax,%rbx,1),%edx
  sub    %ecx,%eax
  mov    %eax,0x90(%rsp)
  mov    %r15d,%eax
  shr    %eax
  mov    %edx,0x10(%rsp)
  sub    $0x1,%eax
  add    $0x1,%rax
  shl    $0x4,%rax
  mov    %rax,0x78(%rsp)
  mov    %r15d,%eax
  and    $0xfffffffe,%eax
  mov    %eax,0x70(%rsp)
  lea    0x0(,%rdi,8),%rax
  mov    %rax,0x80(%rsp)
  jmp    L764
  nopl   0x0(%rax)
L632:
  mov    0x10(%rsp),%eax
  mov    %r15d,%edi
  mov    %rbp,%rsi
  movsd  %xmm3,0x40(%rsp)
  sub    %r10d,%edi
  mov    %eax,0x38(%rsp)
  call   <mp_enorm@plt>
  movsd  0x40(%rsp),%xmm3
  mov    0x38(%rsp),%eax
  mov    %r12d,%r10d
  movapd %xmm0,%xmm1
  ucomisd %xmm3,%xmm0
  jp     L208
  jne    L208
  movapd %xmm0,%xmm2
  xorpd  0x20(%rsp),%xmm2
L663:
  mov    0x1c(%rsp),%edx
  mov    0x8(%rsp),%rcx
  movsd  %xmm2,0x0(%r13,%rbx,8)
  add    $0x1,%rbx
  add    %edx,0x54(%rsp)
  add    0x58(%rsp),%rbp
  add    %r15d,0x30(%rsp)
  add    %edx,0x10(%rsp)
  add    %rcx,0x48(%rsp)
  cmp    0x50(%rsp),%r12d
  jge    L464
  add    $0x1,%r12d
L764:
  mov    0x18(%rsp),%eax
  mov    0x30(%rsp),%r11d
  add    0x90(%rsp),%r11d
  test   %eax,%eax
  je     L632
  mov    0x34(%rsp),%r9d
  cmp    %r10d,%r9d
  jle    L632
  movsd  0x0(%r13,%rbx,8),%xmm2
  lea    0x0(%r13,%rbx,8),%rdi
  mov    %rbx,%rdx
  mov    %r10d,%r8d
  movapd %xmm2,%xmm1
  jmp    L7
L390:
  movslq %r8d,%rsi
  add    $0x1,%rdx
  add    $0x8,%rdi
  lea    0x0(,%rsi,8),%rax
  lea    0x0(%r13,%rax,1),%rcx
  cmp    %edx,%r9d
  jle    L346
L7:
  movsd  (%rdi),%xmm0
  lea    0x0(,%rdx,8),%rax
  mov    %rdi,%rcx
  comisd %xmm1,%xmm0
  jbe    L390
  mov    %rdx,%rsi
  mov    %edx,%r8d
  add    $0x1,%rdx
  add    $0x8,%rdi
  movapd %xmm0,%xmm1
  cmp    %edx,%r9d
  jg     L7
L346:
  cmp    %r10d,%r8d
  je     L632
  imul   %r15d,%r8d
  mov    %r8d,0x38(%rsp)
  test   %r15d,%r15d
  jle    L134
  movslq 0x38(%rsp),%r8
  mov    0x48(%rsp),%rdi
  lea    -0x1(%r15),%edx
  mov    %edx,0x60(%rsp)
  lea    0x0(,%rdi,8),%rdx
  lea    0x0(,%r8,8),%rdi
  mov    %rdi,0x40(%rsp)
  lea    0x10(,%r8,8),%r9
  lea    0x10(%rdx),%rdi
  cmp    0x40(%rsp),%rdi
  setle  0x68(%rsp)
  cmp    %r9,%rdx
  movzbl 0x68(%rsp),%edi
  setge  %r9b
  add    %r14,%rdx
  or     %dil,%r9b
  je     L574
  cmpl   $0x1,0x60(%rsp)
  jbe    L574
  mov    0x40(%rsp),%rdi
  mov    0x78(%rsp),%r9
  xor    %r8d,%r8d
  add    %r14,%rdi
  nopl   0x0(%rax)
L417:
  movupd (%rdx,%r8,1),%xmm0
  movupd (%rdi,%r8,1),%xmm7
  movups %xmm7,(%rdx,%r8,1)
  movups %xmm0,(%rdi,%r8,1)
  add    $0x10,%r8
  cmp    %r9,%r8
  jne    L417
  mov    0x70(%rsp),%r9d
  mov    0x38(%rsp),%edi
  lea    (%r11,%r9,1),%edx
  add    %r9d,%edi
  cmp    %r9d,%r15d
  je     L733
  movslq %edx,%rdx
  movslq %edi,%rdi
  lea    (%r14,%rdx,8),%rdx
  lea    (%r14,%rdi,8),%rdi
  movsd  (%rdx),%xmm0
  movsd  (%rdi),%xmm1
  movsd  %xmm1,(%rdx)
  movsd  %xmm0,(%rdi)
L733:
  movsd  0x0(%r13,%rbx,8),%xmm2
L134:
  mov    0x158(%rsp),%rdx
  movsd  %xmm2,(%rcx)
  mov    0xa8(%rsp),%rdi
  movsd  (%rdx,%rbx,8),%xmm0
  movsd  %xmm0,(%rdx,%rax,1)
  lea    (%rdi,%rsi,4),%rdx
  mov    (%rdi,%rbx,4),%eax
  mov    (%rdx),%ecx
  mov    %ecx,(%rdi,%rbx,4)
  mov    %eax,(%rdx)
  jmp    L632
  nopw   0x0(%rax,%rax,1)
L208:
  movsd  0x0(%rbp),%xmm0
  movapd 0x20(%rsp),%xmm7
  comisd %xmm0,%xmm3
  xorpd  %xmm1,%xmm7
  movapd %xmm7,%xmm2
  jbe    L239
  movq   %xmm1,%rdx
  movapd %xmm7,%xmm1
  movq   %rdx,%xmm2
L239:
  cmp    %ebx,%r15d
  jle    L843
  mov    0x1c(%rsp),%edx
  sub    %r12d,%edx
  cmp    $0x1,%edx
  je     L633
  mov    %edx,%eax
  movapd %xmm1,%xmm4
  shr    %eax
  unpcklpd %xmm4,%xmm4
  sub    $0x1,%eax
  shl    $0x4,%rax
  lea    0x10(%rbp,%rax,1),%rcx
  mov    %rbp,%rax
  nopl   0x0(%rax,%rax,1)
L808:
  movupd (%rax),%xmm0
  add    $0x10,%rax
  divpd  %xmm4,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rax,%rcx
  jne    L808
  mov    0x10(%rsp),%eax
  mov    %edx,%ecx
  and    $0xfffffffe,%ecx
  add    %ecx,%eax
  cmp    %ecx,%edx
  je     L511
L633:
  cltq
  lea    (%r14,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L511:
  movsd  0x0(%rbp),%xmm0
L843:
  addsd  D44(%rip),%xmm0
  movsd  %xmm0,0x0(%rbp)
  cmp    0x34(%rsp),%r12d
  jge    L663
  mov    0x34(%rsp),%edi
  movslq 0x30(%rsp),%rcx
  movslq %r12d,%rdx
  mov    %r10d,0x94(%rsp)
  shl    $0x3,%rdx
  mov    0x54(%rsp),%r8d
  mov    %r15d,%r10d
  mov    %rbx,0x98(%rsp)
  lea    -0x1(%rdi),%esi
  add    %rbx,%rcx
  mov    %r15d,%edi
  mov    %r14,0x68(%rsp)
  sub    %r12d,%esi
  lea    0x0(%r13,%rdx,1),%rax
  lea    (%r14,%rcx,8),%rcx
  sub    %r12d,%edi
  add    %rbx,%rsi
  add    0x158(%rsp),%rdx
  mov    %rbp,0xa0(%rsp)
  mov    %rax,%rbx
  lea    0x10(%r13,%rsi,8),%r9
  mov    0x18(%rsp),%r11d
  mov    %r8d,%ebp
  mov    %rdx,%r15
  mov    %r13,0x148(%rsp)
  mov    %r9,%r14
  mov    0x80(%rsp),%r13
  mov    %r12d,0xb0(%rsp)
  mov    %rcx,%r12
  mov    %edi,0xb8(%rsp)
  movsd  %xmm2,0x88(%rsp)
  jmp    L252
  xchg   %ax,%ax
L12:
  add    $0x8,%rbx
  add    %r10d,%ebp
  add    $0x8,%r15
  add    %r13,%r12
  cmp    %r14,%rbx
  je     L797
L252:
  test   %r11d,%r11d
  je     L12
  movsd  (%rbx),%xmm0
  ucomisd %xmm3,%xmm0
  jp     L834
  je     L12
L834:
  movsd  (%r12),%xmm1
  movsd  D44(%rip),%xmm7
  mov    %r11d,0x60(%rsp)
  mov    %r10d,0x40(%rsp)
  divsd  %xmm0,%xmm1
  movapd %xmm3,%xmm0
  movsd  %xmm3,0x38(%rsp)
  mulsd  %xmm1,%xmm1
  subsd  %xmm1,%xmm7
  movapd %xmm7,%xmm1
  call   <mp_dmax1@plt>
  movsd  0x38(%rsp),%xmm3
  mov    0x40(%rsp),%r10d
  mov    0x60(%rsp),%r11d
  ucomisd %xmm0,%xmm3
  ja     L403
  sqrtsd %xmm0,%xmm0
L147:
  mulsd  (%rbx),%xmm0
  movsd  D75(%rip),%xmm1
  movsd  D5(%rip),%xmm7
  movsd  %xmm0,(%rbx)
  divsd  (%r15),%xmm0
  mulsd  %xmm0,%xmm1
  mulsd  %xmm1,%xmm0
  comisd %xmm0,%xmm7
  jb     L12
  mov    0x68(%rsp),%rax
  mov    0xb8(%rsp),%edi
  movslq %ebp,%rsi
  mov    %r11d,0x60(%rsp)
  mov    %r10d,0x40(%rsp)
  lea    (%rax,%rsi,8),%rsi
  movsd  %xmm3,0x38(%rsp)
  call   <mp_enorm@plt>
  mov    0x60(%rsp),%r11d
  mov    0x40(%rsp),%r10d
  movsd  %xmm0,(%rbx)
  movsd  0x38(%rsp),%xmm3
  movsd  %xmm0,(%r15)
  jmp    L12
  nopw   0x0(%rax,%rax,1)
L797:
  mov    %r10d,%r15d
  mov    0x98(%rsp),%rbx
  movsd  0x88(%rsp),%xmm2
  mov    0xa0(%rsp),%rbp
  mov    0x94(%rsp),%r10d
  mov    0x68(%rsp),%r14
  mov    0x148(%rsp),%r13
  mov    0xb0(%rsp),%r12d
  jmp    L663
  cs nopw 0x0(%rax,%rax,1)
L211:
  movslq 0x40(%rsp),%rdi
  mov    %r9d,%esi
  movapd %xmm3,%xmm0
  jmp    L124
L373:
  mov    %rbx,0x150(%rsp)
  mov    0xa8(%rsp),%r14
  mov    %r13,%rbx
  mov    %rdx,%r13
  mov    0x150(%rsp),%rbp
  nop
L682:
  mov    %r13,%rsi
  mov    %r15d,%edi
  add    %r12,%r13
  call   <mp_enorm@plt>
  mov    0x148(%rsp),%rax
  movsd  %xmm0,0x0(%rbp,%rbx,8)
  movsd  %xmm0,(%rax,%rbx,8)
  mov    0x158(%rsp),%rax
  movsd  %xmm0,(%rax,%rbx,8)
  mov    %ebx,(%r14,%rbx,4)
  add    $0x1,%rbx
  cmp    0x8(%rsp),%rbx
  jne    L682
  mov    0x10(%rsp),%r14
  jmp    L787
L574:
  mov    0x48(%rsp),%r11
  mov    0x60(%rsp),%edi
  add    %r11,%rdi
  sub    %r11,%r8
  lea    0x8(%r14,%rdi,8),%rdi
  nopl   0x0(%rax,%rax,1)
L791:
  movsd  (%rdx),%xmm0
  movsd  (%rdx,%r8,8),%xmm1
  movsd  %xmm1,(%rdx)
  movsd  %xmm0,(%rdx,%r8,8)
  add    $0x8,%rdx
  cmp    %rdx,%rdi
  jne    L791
  jmp    L733
L556:
  mov    0x48(%rsp),%r11
  mov    0x38(%rsp),%eax
  add    %r11,%rax
  sub    %r11,%r9
  lea    0x8(%r14,%rax,8),%rax
  cs nopw 0x0(%rax,%rax,1)
L128:
  movsd  (%rcx),%xmm0
  movsd  (%rcx,%r9,8),%xmm1
  movsd  %xmm1,(%rcx)
  movsd  %xmm0,(%rcx,%r9,8)
  add    $0x8,%rcx
  cmp    %rax,%rcx
  jne    L128
  jmp    L96
L79:
  mov    0x40(%rsp),%eax
  jmp    L562
L613:
  mov    %eax,0xe4(%rsp)
  mov    %r8,0xd8(%rsp)
  mov    %r9d,0xe0(%rsp)
  mov    %r10d,0xd4(%rsp)
  mov    %r11b,0xd0(%rsp)
  mov    %ecx,0xc8(%rsp)
  mov    %rdx,0xb8(%rsp)
  movsd  %xmm4,0xc0(%rsp)
  movsd  %xmm3,0xb0(%rsp)
  call   <sqrt@plt>
  mov    0xe4(%rsp),%eax
  mov    0xd8(%rsp),%r8
  mov    0xe0(%rsp),%r9d
  mov    0xd4(%rsp),%r10d
  movzbl 0xd0(%rsp),%r11d
  mov    0xc8(%rsp),%ecx
  movsd  0xc0(%rsp),%xmm4
  mov    0xb8(%rsp),%rdx
  movsd  0xb0(%rsp),%xmm3
  jmp    L225
L403:
  mov    %r11d,0x60(%rsp)
  mov    %r10d,0x40(%rsp)
  movsd  %xmm3,0x38(%rsp)
  call   <sqrt@plt>
  mov    0x60(%rsp),%r11d
  mov    0x40(%rsp),%r10d
  movsd  0x38(%rsp),%xmm3
  jmp    L147
```

tool_calls: name: unpack_data
arguments: tag: D37
data_type: f32[2]
name: unpack_data
arguments: tag: D44
data_type: f64
name: unpack_data
arguments: tag: D75
data_type: f64
name: unpack_data
arguments: tag: D5
data_type: byte[8]

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

tool: D44: 1

tool: D75: 0.05

tool: {"D5": [0xa3,0x8d,0x17,0xf4,0xff,0xff,0xaf,0x3c]}

assistant: ```c
void mp_qrfac(int m, int n, double *a, int lda, int pivot, int *ipvt, int lipvt, double *rdiag, double *acnorm, double *wa) {
  int i, ij, jj, j, jp1, k, kmax, minmn;
  double ajnorm, sum, temp;
  static double zero = 0.0;
  static double one = 1.0;
  static double p05 = 0.05;
  lda = 0;
  lipvt = 0;
  ij = 0;
  for (j = 0; j < n; j++) {
    acnorm[j] = mp_enorm(m, &a[ij]);
    rdiag[j] = acnorm[j];
    wa[j] = rdiag[j];
    if (pivot != 0)
      ipvt[j] = j;
    ij += m;
  }
  minmn = mp_min0(m, n);
  for (j = 0; j < minmn; j++) {
    if (pivot == 0)
      goto L40;
    kmax = j;
    for (k = j; k < n; k++) {
      if (rdiag[k] > rdiag[kmax])
        kmax = k;
    }
    if (kmax == j)
      goto L40;
    ij = m * j;
    jj = m * kmax;
    for (i = 0; i < m; i++) {
      temp = a[ij];
      a[ij] = a[jj];
      a[jj] = temp;
      ij += 1;
      jj += 1;
    }
    rdiag[kmax] = rdiag[j];
    wa[kmax] = wa[j];
    k = ipvt[j];
    ipvt[j] = ipvt[kmax];
    ipvt[kmax] = k;
  L40:
    jj = j + m * j;
    ajnorm = mp_enorm(m - j, &a[jj]);
    if (ajnorm == zero)
      goto L100;
    if (a[jj] < zero)
      ajnorm = -ajnorm;
    ij = jj;
    for (i = j; i < m; i++) {
      a[ij] /= ajnorm;
      ij += 1;
    }
    a[jj] += one;
    jp1 = j + 1;
    if (jp1 < n) {
      for (k = jp1; k < n; k++) {
        sum = zero;
        ij = j + m * k;
        jj = j + m * j;
        for (i = j; i < m; i++) {
          sum += a[jj] * a[ij];
          ij += 1;
          jj += 1;
        }
        temp = sum / a[j + m * j];
        ij = j + m * k;
        jj = j + m * j;
        for (i = j; i < m; i++) {
          a[ij] -= temp * a[jj];
          ij += 1;
          jj += 1;
        }
        if ((pivot != 0) && (rdiag[k] != zero)) {
          temp = a[j + m * k] / rdiag[k];
          temp = mp_dmax1(zero, one - temp * temp);
          rdiag[k] *= sqrt(temp);
          temp = rdiag[k] / wa[k];
          if ((p05 * temp * temp) <= 2.2204460e-16) {
            rdiag[k] = mp_enorm(m - j - 1, &a[jp1 + m * k]);
            wa[k] = rdiag[k];
          }
        }
      }
    }
  L100:
    rdiag[j] = -ajnorm;
  }
}
```