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

```asm
<qrbdi>:
  endbr64
  movsd  (%rdi),%xmm2
  movq   D24(%rip),%xmm3
  andpd  %xmm3,%xmm2
  cmp    $0x1,%edx
  jle    L43
  push   %r15
  movslq %edx,%r11
  mov    $0x1,%eax
  push   %r14
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x68,%rsp
  nopl   0x0(%rax)
L19:
  movsd  -0x8(%r12,%rax,8),%xmm0
  movsd  0x0(%rbp,%rax,8),%xmm1
  add    $0x1,%rax
  andpd  %xmm3,%xmm0
  andpd  %xmm3,%xmm1
  addsd  %xmm1,%xmm0
  maxsd  %xmm2,%xmm0
  movapd %xmm0,%xmm2
  cmp    %rax,%r11
  jne    L19
  imul   $0x64,%edx,%eax
  mulsd  D19(%rip),%xmm2
  pxor   %xmm5,%xmm5
  xor    %r8d,%r8d
  mov    %eax,0x4(%rsp)
L298:
  lea    -0x1(%rdx),%ecx
  movslq %ecx,%rbx
  cs nopw 0x0(%rax,%rax,1)
L90:
  movsd  -0x8(%r12,%rbx,8),%xmm0
  mov    %ebx,%r15d
  lea    0x0(,%rbx,8),%r13
  andpd  %xmm3,%xmm0
  comisd %xmm0,%xmm2
  ja     L177
  movsd  -0x8(%rbp,%rbx,8),%xmm0
  andpd  %xmm3,%xmm0
  comisd %xmm0,%xmm2
  ja     L194
  sub    $0x1,%rbx
  jne    L90
  mov    %r12,%rsi
  mov    %rbp,%rdi
  xor    %r13d,%r13d
  mov    $0x1,%r10d
  xor    %r15d,%r15d
L70:
  shl    $0x3,%r11
  movsd  (%rdi),%xmm1
  lea    -0x8(%rbp,%r11,1),%rax
  lea    -0x10(%r12,%r11,1),%rdi
  movsd  (%rax),%xmm6
  movapd %xmm1,%xmm8
  movapd %xmm1,%xmm4
  movsd  (%rdi),%xmm0
  subsd  %xmm6,%xmm4
  addsd  %xmm6,%xmm8
  mulsd  %xmm0,%xmm0
  mulsd  %xmm4,%xmm8
  movsd  (%rsi),%xmm4
  movapd %xmm4,%xmm9
  mulsd  %xmm1,%xmm9
  subsd  %xmm0,%xmm8
  movapd %xmm9,%xmm7
  movapd %xmm8,%xmm0
  addsd  %xmm9,%xmm7
  mulsd  %xmm8,%xmm0
  mulsd  %xmm7,%xmm7
  addsd  %xmm0,%xmm7
  ucomisd %xmm7,%xmm5
  ja     L168
  sqrtsd %xmm7,%xmm7
L217:
  comisd %xmm5,%xmm7
  ja     L125
L288:
  movsd  %xmm6,(%rdi)
  andpd  %xmm3,%xmm6
  ucomisd %xmm6,%xmm2
  movsd  %xmm1,(%rax)
  cmova  %ecx,%edx
  xor    %eax,%eax
  cmp    %r10d,%edx
  sete   %al
  add    $0x1,%r8d
  sub    %eax,%edx
  cmp    $0x1,%edx
  jle    L121
  cmp    %r8d,0x4(%rsp)
  jle    L121
  movslq %edx,%r11
  jmp    L298
  nopl   (%rax)
L177:
  lea    0x0(%rbp,%r13,1),%rdi
  lea    (%r12,%r13,1),%rsi
  lea    0x1(%rbx),%r10d
  jmp    L70
  nopw   0x0(%rax,%rax,1)
L194:
  lea    0x0(%rbp,%r13,1),%rdi
  lea    (%r12,%r13,1),%rsi
  lea    0x1(%rbx),%r10d
  cmp    %edx,%ebx
  jge    L70
  movslq %ebx,%r9
  movapd %xmm5,%xmm1
  lea    0x0(,%r9,8),%rax
  lea    -0x8(%r12,%rax,1),%r14
  add    %rbp,%rax
  mov    %rax,0x8(%rsp)
  mov    %ecx,%eax
  sub    %ebx,%eax
  add    %rax,%r9
  mov    D28(%rip),%rax
  lea    (%r12,%r9,8),%r9
  movq   %rax,%xmm4
  mov    0x8(%rsp),%rax
  jmp    L95
  nop
L254:
  sqrtsd %xmm0,%xmm0
  add    $0x8,%r14
  add    $0x8,%rax
  divsd  %xmm0,%xmm6
  movsd  %xmm0,-0x8(%rax)
  divsd  %xmm0,%xmm4
  movapd %xmm6,%xmm1
  cmp    %r9,%r14
  je     L70
L95:
  movsd  (%r14),%xmm0
  movsd  (%rax),%xmm6
  mulsd  %xmm0,%xmm4
  mulsd  %xmm1,%xmm0
  movapd %xmm6,%xmm1
  mulsd  %xmm6,%xmm1
  movsd  %xmm0,(%r14)
  movapd %xmm4,%xmm0
  mulsd  %xmm4,%xmm0
  addsd  %xmm1,%xmm0
  ucomisd %xmm0,%xmm5
  jbe    L254
  mov    %ecx,0x5c(%rsp)
  add    $0x8,%r14
  mov    %r11,0x50(%rsp)
  mov    %edx,0x48(%rsp)
  mov    %r8d,0x58(%rsp)
  mov    %r10d,0x40(%rsp)
  mov    %rsi,0x38(%rsp)
  mov    %rdi,0x30(%rsp)
  mov    %r9,0x28(%rsp)
  mov    %rax,0x20(%rsp)
  movsd  %xmm2,0x18(%rsp)
  movsd  %xmm6,0x10(%rsp)
  movsd  %xmm4,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x20(%rsp),%rax
  mov    0x28(%rsp),%r9
  pxor   %xmm5,%xmm5
  movsd  0x10(%rsp),%xmm6
  movsd  0x8(%rsp),%xmm4
  movsd  %xmm0,(%rax)
  add    $0x8,%rax
  cmp    %r14,%r9
  movq   D24(%rip),%xmm3
  movapd %xmm6,%xmm1
  movsd  0x18(%rsp),%xmm2
  mov    0x30(%rsp),%rdi
  divsd  %xmm0,%xmm4
  mov    0x38(%rsp),%rsi
  mov    0x40(%rsp),%r10d
  mov    0x58(%rsp),%r8d
  mov    0x48(%rsp),%edx
  mov    0x50(%rsp),%r11
  mov    0x5c(%rsp),%ecx
  divsd  %xmm0,%xmm1
  jne    L95
  jmp    L70
  nopw   0x0(%rax,%rax,1)
L125:
  movapd %xmm7,%xmm0
  addsd  %xmm7,%xmm8
  addsd  %xmm7,%xmm0
  divsd  %xmm0,%xmm8
  ucomisd %xmm8,%xmm5
  ja     L272
  sqrtsd %xmm8,%xmm8
L54:
  ucomisd %xmm5,%xmm8
  jp     L176
  mov    D28(%rip),%rsi
  movq   %rsi,%xmm0
  je     L6
L176:
  mulsd  %xmm8,%xmm7
  movapd %xmm9,%xmm0
  divsd  %xmm7,%xmm0
L6:
  cmp    %ecx,%r15d
  jge    L288
  lea    0x1(%r15),%r14d
  movslq %r14d,%r14
  jmp    L112
  nopw   0x0(%rax,%rax,1)
L232:
  mov    %r14,%rbx
  add    $0x1,%r14
L112:
  movapd %xmm4,%xmm6
  movapd %xmm8,%xmm7
  lea    0x8(%rbp,%rbx,8),%rbx
  mulsd  %xmm0,%xmm6
  mulsd  %xmm1,%xmm7
  mulsd  %xmm0,%xmm1
  mulsd  (%rbx),%xmm0
  mulsd  %xmm8,%xmm4
  addsd  %xmm6,%xmm7
  movapd %xmm0,%xmm9
  mulsd  %xmm0,%xmm0
  movapd %xmm7,%xmm6
  subsd  %xmm1,%xmm4
  mulsd  %xmm7,%xmm6
  addsd  %xmm0,%xmm6
  ucomisd %xmm6,%xmm5
  ja     L248
  sqrtsd %xmm6,%xmm6
L49:
  divsd  %xmm6,%xmm7
  movapd %xmm9,%xmm0
  movsd  %xmm6,0x0(%rbp,%r13,1)
  movsd  (%rbx),%xmm1
  mulsd  %xmm8,%xmm1
  divsd  %xmm6,%xmm0
  movapd %xmm4,%xmm6
  mulsd  %xmm7,%xmm6
  movapd %xmm7,%xmm8
  movapd %xmm1,%xmm7
  mulsd  %xmm8,%xmm1
  mulsd  %xmm0,%xmm7
  mulsd  %xmm0,%xmm4
  addsd  %xmm7,%xmm6
  subsd  %xmm4,%xmm1
  cmp    %ecx,%r14d
  jge    L288
  movsd  (%r12,%r14,8),%xmm4
  lea    0x0(,%r14,8),%r13
  cmp    %r15d,%r14d
  jle    L232
  mulsd  %xmm4,%xmm0
  movapd %xmm6,%xmm7
  mulsd  %xmm6,%xmm7
  movapd %xmm0,%xmm9
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm7
  ucomisd %xmm7,%xmm5
  ja     L63
  sqrtsd %xmm7,%xmm7
L265:
  divsd  %xmm7,%xmm6
  movapd %xmm9,%xmm0
  movsd  %xmm7,-0x8(%r12,%r14,8)
  mulsd  %xmm8,%xmm4
  divsd  %xmm7,%xmm0
  movapd %xmm6,%xmm8
  jmp    L232
  nopw   0x0(%rax,%rax,1)
L121:
  add    $0x68,%rsp
  mov    %r8d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L43:
  xor    %eax,%eax
  ret
L248:
  movapd %xmm6,%xmm0
  mov    %ecx,0x50(%rsp)
  mov    %edx,0x48(%rsp)
  mov    %r8d,0x58(%rsp)
  mov    %r10d,0x40(%rsp)
  mov    %rdi,0x30(%rsp)
  mov    %rax,0x28(%rsp)
  movsd  %xmm2,0x38(%rsp)
  movsd  %xmm8,0x20(%rsp)
  movsd  %xmm9,0x18(%rsp)
  movsd  %xmm4,0x10(%rsp)
  movsd  %xmm7,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x50(%rsp),%ecx
  mov    0x48(%rsp),%edx
  pxor   %xmm5,%xmm5
  mov    0x58(%rsp),%r8d
  mov    0x40(%rsp),%r10d
  movapd %xmm0,%xmm6
  movsd  0x38(%rsp),%xmm2
  mov    0x30(%rsp),%rdi
  mov    0x28(%rsp),%rax
  movq   D24(%rip),%xmm3
  movsd  0x20(%rsp),%xmm8
  movsd  0x18(%rsp),%xmm9
  movsd  0x10(%rsp),%xmm4
  movsd  0x8(%rsp),%xmm7
  jmp    L49
L168:
  movapd %xmm7,%xmm0
  mov    %edx,0x5c(%rsp)
  mov    %r8d,0x50(%rsp)
  mov    %ecx,0x58(%rsp)
  mov    %r10d,0x40(%rsp)
  mov    %rdi,0x10(%rsp)
  mov    %rax,0x8(%rsp)
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm4,0x38(%rsp)
  movsd  %xmm9,0x30(%rsp)
  movsd  %xmm8,0x28(%rsp)
  movsd  %xmm1,0x20(%rsp)
  movsd  %xmm6,0x18(%rsp)
  call   <sqrt@plt>
  mov    0x5c(%rsp),%edx
  mov    0x50(%rsp),%r8d
  pxor   %xmm5,%xmm5
  movsd  0x48(%rsp),%xmm2
  mov    0x58(%rsp),%ecx
  movapd %xmm0,%xmm7
  movq   D24(%rip),%xmm3
  mov    0x40(%rsp),%r10d
  movsd  0x38(%rsp),%xmm4
  movsd  0x30(%rsp),%xmm9
  movsd  0x28(%rsp),%xmm8
  movsd  0x20(%rsp),%xmm1
  movsd  0x18(%rsp),%xmm6
  mov    0x10(%rsp),%rdi
  mov    0x8(%rsp),%rax
  jmp    L217
L63:
  movapd %xmm7,%xmm0
  mov    %ecx,0x5c(%rsp)
  mov    %edx,0x50(%rsp)
  mov    %r8d,0x48(%rsp)
  mov    %r10d,0x58(%rsp)
  mov    %rdi,0x38(%rsp)
  mov    %rax,0x30(%rsp)
  movsd  %xmm2,0x40(%rsp)
  movsd  %xmm9,0x28(%rsp)
  movsd  %xmm8,0x20(%rsp)
  movsd  %xmm4,0x18(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm6,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x5c(%rsp),%ecx
  mov    0x50(%rsp),%edx
  pxor   %xmm5,%xmm5
  mov    0x48(%rsp),%r8d
  mov    0x58(%rsp),%r10d
  movapd %xmm0,%xmm7
  movsd  0x40(%rsp),%xmm2
  mov    0x38(%rsp),%rdi
  mov    0x30(%rsp),%rax
  movq   D24(%rip),%xmm3
  movsd  0x28(%rsp),%xmm9
  movsd  0x20(%rsp),%xmm8
  movsd  0x18(%rsp),%xmm4
  movsd  0x10(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm6
  jmp    L265
L272:
  movapd %xmm8,%xmm0
  mov    %edx,0x5c(%rsp)
  mov    %r8d,0x50(%rsp)
  mov    %ecx,0x58(%rsp)
  mov    %r10d,0x40(%rsp)
  mov    %rdi,0x10(%rsp)
  mov    %rax,0x8(%rsp)
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm4,0x38(%rsp)
  movsd  %xmm7,0x30(%rsp)
  movsd  %xmm9,0x28(%rsp)
  movsd  %xmm1,0x20(%rsp)
  movsd  %xmm6,0x18(%rsp)
  call   <sqrt@plt>
  mov    0x5c(%rsp),%edx
  mov    0x50(%rsp),%r8d
  pxor   %xmm5,%xmm5
  movsd  0x48(%rsp),%xmm2
  mov    0x58(%rsp),%ecx
  movapd %xmm0,%xmm8
  movq   D24(%rip),%xmm3
  mov    0x40(%rsp),%r10d
  movsd  0x38(%rsp),%xmm4
  movsd  0x30(%rsp),%xmm7
  movsd  0x28(%rsp),%xmm9
  movsd  0x20(%rsp),%xmm1
  movsd  0x18(%rsp),%xmm6
  mov    0x10(%rsp),%rdi
  mov    0x8(%rsp),%rax
  jmp    L54
```

tool_calls: name: retrieve_data
arguments: label: D24
type_guessed: qword
name: retrieve_data
arguments: label: D19
type_guessed: byte[8]
name: retrieve_data
arguments: label: D28
type_guessed: f64

tool: D24: 9223372036854775807

tool: {"D19": [0x16,0x56,0xe7,0x9e,0xaf,0x03,0xd2,0x3c]}

tool: D28: 1

assistant: ```c
int qrbdi(double *dm, double *em, int m) {
  int i, j, k, n;
  double u, x, y, a, b, c, s, t;
  for (j = 1, t = fabs(dm[0]); j < m; ++j)
    if ((s = fabs(dm[j]) + fabs(em[j - 1])) > t)
      t = s;
  t *= 1.e-15;
  n = 100 * m;
  for (j = 0; m > 1 && j < n; ++j) {
    for (k = m - 1; k > 0; --k) {
      if (fabs(em[k - 1]) < t)
        break;
      if (fabs(dm[k - 1]) < t) {
        for (i = k, s = 1., c = 0.; i < m; ++i) {
          a = s * em[i - 1];
          b = dm[i];
          em[i - 1] *= c;
          dm[i] = u = sqrt(a * a + b * b);
          s = -a / u;
          c = b / u;
        }
        break;
      }
    }
    y = dm[k];
    x = dm[m - 1];
    u = em[m - 2];
    a = (y + x) * (y - x) - u * u;
    s = y * em[k];
    b = s + s;
    u = sqrt(a * a + b * b);
    if (u > 0.) {
      c = sqrt((u + a) / (u + u));
      if (c != 0.)
        s /= (c * u);
      else
        s = 1.;
      for (i = k; i < m - 1; ++i) {
        b = em[i];
        if (i > k) {
          a = s * em[i];
          b *= c;
          em[i - 1] = u = sqrt(x * x + a * a);
          c = x / u;
          s = a / u;
        }
        a = c * y + s * b;
        b = c * b - s * y;
        s *= dm[i + 1];
        dm[i] = u = sqrt(a * a + s * s);
        y = c * dm[i + 1];
        c = a / u;
        s /= u;
        x = c * b + s * y;
        y = c * y - s * b;
      }
    }
    em[m - 2] = x;
    dm[m - 1] = y;
    if (fabs(x) < t)
      --m;
    if (m == k + 1)
      --m;
  }
  return j;
}
```