user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<qrbdu1>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %rdx,0x30(%rsp)
  mov    %r8,0x88(%rsp)
  movsd  (%rdi),%xmm2
  andpd  D84(%rip),%xmm2
  cmp    $0x1,%r9d
  jle    L294
  mov    %rdi,%rbx
  mov    %rsi,%r13
  mov    %ecx,%r14d
  mov    %r9d,%esi
  mov    %r9d,%edx
  mov    $0x1,%eax
  movq   D84(%rip),%xmm3
L137:
  movsd  (%rbx,%rax,8),%xmm0
  andpd  %xmm3,%xmm0
  movsd  -0x8(%r13,%rax,8),%xmm1
  andpd  %xmm3,%xmm1
  addsd  %xmm1,%xmm0
  maxsd  %xmm2,%xmm0
  movapd %xmm0,%xmm2
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L137
  mulsd  D63(%rip),%xmm2
  movsd  %xmm2,0x40(%rsp)
  mov    %esi,%r15d
  imul   $0x64,%esi,%eax
  mov    %eax,0x7c(%rsp)
  movslq %esi,%rax
  shl    $0x3,%rax
  mov    %rax,0x80(%rsp)
  mov    %esi,0x28(%rsp)
  movl   $0x0,0x2c(%rsp)
  jmp    L336
L32:
  mov    %edx,0x24(%rsp)
  mov    0x28(%rsp),%edi
  cmp    %edx,%edi
  jle    L88
  movslq %edx,%rax
  mov    %rax,%rcx
  sub    %rdx,%rcx
  lea    0x8(,%rcx,8),%rbp
  lea    -0x1(%rdi),%ecx
  sub    %edx,%ecx
  sub    %rdx,%rax
  lea    0x2(%rcx,%rax,1),%rax
  shl    $0x3,%rax
  shl    $0x3,%rdx
  lea    0x0(%r13,%rdx,1),%rsi
  lea    (%rbx,%rdx,1),%rdi
  movsd  D4(%rip),%xmm3
  pxor   %xmm4,%xmm4
  mov    %r12,0x10(%rsp)
  mov    %rax,%r12
  mov    %rbx,0x18(%rsp)
  mov    0x80(%rsp),%rbx
  mov    %r13,0x38(%rsp)
  mov    %rdi,%r13
  mov    %r15d,0x48(%rsp)
  mov    %rsi,%r15
L237:
  movsd  -0x10(%r15,%rbp,1),%xmm0
  movapd %xmm3,%xmm6
  mulsd  %xmm0,%xmm6
  movsd  %xmm6,(%rsp)
  movsd  -0x8(%r13,%rbp,1),%xmm7
  movsd  %xmm7,0x8(%rsp)
  mulsd  %xmm4,%xmm0
  movsd  %xmm0,-0x10(%r15,%rbp,1)
  movapd %xmm6,%xmm0
  mulsd  %xmm6,%xmm0
  movapd %xmm7,%xmm1
  mulsd  %xmm7,%xmm1
  addsd  %xmm1,%xmm0
  pxor   %xmm7,%xmm7
  ucomisd %xmm0,%xmm7
  ja     L11
  sqrtsd %xmm0,%xmm0
L189:
  movsd  %xmm0,-0x8(%r13,%rbp,1)
  movsd  (%rsp),%xmm3
  xorpd  D24(%rip),%xmm3
  divsd  %xmm0,%xmm3
  movsd  0x8(%rsp),%xmm4
  divsd  %xmm0,%xmm4
  mov    0x30(%rsp),%rax
  add    0x10(%rsp),%rax
  test   %r14d,%r14d
  jle    L148
  mov    $0x0,%edx
L136:
  movsd  (%rax),%xmm0
  movsd  (%rax,%rbp,1),%xmm1
  movapd %xmm1,%xmm2
  mulsd  %xmm4,%xmm2
  movapd %xmm0,%xmm5
  mulsd  %xmm3,%xmm5
  subsd  %xmm5,%xmm2
  movsd  %xmm2,(%rax,%rbp,1)
  mulsd  %xmm4,%xmm0
  mulsd  %xmm3,%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  add    $0x1,%edx
  add    %rbx,%rax
  cmp    %edx,%r14d
  jne    L136
L148:
  add    $0x8,%rbp
  cmp    %r12,%rbp
  jne    L237
  mov    0x18(%rsp),%rbx
  mov    0x38(%rsp),%r13
  mov    0x48(%rsp),%r15d
  jmp    L88
L11:
  call   <sqrt@plt>
  jmp    L189
L154:
  mov    0x78(%rsp),%eax
  mov    %eax,0x24(%rsp)
  jmp    L88
L169:
  mov    %edx,0x24(%rsp)
L88:
  movslq 0x24(%rsp),%rdx
  lea    0x0(,%rdx,8),%r12
  movsd  (%rbx,%rdx,8),%xmm5
  movsd  %xmm5,0x8(%rsp)
  movslq 0x28(%rsp),%rax
  shl    $0x3,%rax
  lea    -0x8(%rbx,%rax,1),%rsi
  mov    %rsi,0x48(%rsp)
  movsd  (%rsi),%xmm6
  movsd  %xmm6,0x18(%rsp)
  lea    -0x10(%r13,%rax,1),%rax
  mov    %rax,0x50(%rsp)
  movsd  (%rax),%xmm0
  movapd %xmm5,%xmm1
  addsd  %xmm6,%xmm1
  movapd %xmm5,%xmm2
  subsd  %xmm6,%xmm2
  mulsd  %xmm2,%xmm1
  mulsd  %xmm0,%xmm0
  movapd %xmm1,%xmm6
  subsd  %xmm0,%xmm6
  movsd  %xmm6,(%rsp)
  movsd  0x0(%r13,%rdx,8),%xmm7
  movsd  %xmm7,0x10(%rsp)
  mulsd  %xmm5,%xmm7
  movsd  %xmm7,0x58(%rsp)
  movapd %xmm7,%xmm1
  addsd  %xmm7,%xmm1
  movapd %xmm6,%xmm0
  mulsd  %xmm6,%xmm0
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L175
  sqrtsd %xmm0,%xmm0
  movsd  %xmm0,0x38(%rsp)
L80:
  movsd  0x38(%rsp),%xmm5
  comisd D83(%rip),%xmm5
  ja     L109
L300:
  mov    0x50(%rsp),%rax
  movsd  0x18(%rsp),%xmm5
  movsd  %xmm5,(%rax)
  mov    0x48(%rsp),%rax
  movsd  0x8(%rsp),%xmm6
  movsd  %xmm6,(%rax)
  andpd  D84(%rip),%xmm5
  movapd %xmm5,%xmm0
  movsd  0x40(%rsp),%xmm5
  ucomisd %xmm0,%xmm5
  mov    0x78(%rsp),%esi
  cmovbe 0x28(%rsp),%esi
  mov    0x24(%rsp),%eax
  add    $0x1,%eax
  cmp    %esi,%eax
  sete   %al
  movzbl %al,%eax
  sub    %eax,%esi
  mov    %esi,0x28(%rsp)
  addl   $0x1,0x2c(%rsp)
  mov    0x2c(%rsp),%edi
  cmp    $0x1,%esi
  jle    L151
  cmp    %edi,0x7c(%rsp)
  jle    L151
L336:
  mov    0x28(%rsp),%eax
  lea    -0x1(%rax),%edi
  mov    %edi,0x78(%rsp)
  test   %edi,%edi
  jle    L154
  sub    $0x2,%eax
  cltq
  movslq %edi,%rdx
  movsd  0x40(%rsp),%xmm1
L39:
  lea    0x0(,%rax,8),%r12
  movsd  0x0(%r13,%rax,8),%xmm0
  andpd  D84(%rip),%xmm0
  comisd %xmm0,%xmm1
  ja     L169
  movsd  (%rbx,%rax,8),%xmm0
  andpd  D84(%rip),%xmm0
  comisd %xmm0,%xmm1
  ja     L32
  mov    %eax,%ecx
  sub    $0x1,%rax
  sub    $0x1,%rdx
  test   %edx,%edx
  jg     L39
  mov    %ecx,0x24(%rsp)
  jmp    L88
L175:
  call   <sqrt@plt>
  movsd  %xmm0,0x38(%rsp)
  jmp    L80
L109:
  movsd  (%rsp),%xmm0
  movapd %xmm5,%xmm1
  addsd  %xmm5,%xmm0
  addsd  %xmm5,%xmm1
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L244
  sqrtsd %xmm0,%xmm0
  movsd  %xmm0,(%rsp)
L133:
  movsd  (%rsp),%xmm6
  ucomisd D83(%rip),%xmm6
  jp     L194
  movsd  D4(%rip),%xmm1
  jne    L194
L293:
  add    $0x8,%r12
  mov    0x28(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0x58(%rsp)
  mov    0x24(%rsp),%eax
  mov    %eax,%ebp
  cmp    %eax,0x78(%rsp)
  jle    L300
  mov    0x88(%rsp),%rax
  sub    $0x8,%rax
  mov    %rax,0x60(%rsp)
  mov    0x30(%rsp),%rax
  sub    $0x8,%rax
  mov    %rax,0x68(%rsp)
  mov    %r13,0x38(%rsp)
  mov    0x80(%rsp),%r13
  jmp    L106
L244:
  call   <sqrt@plt>
  movsd  %xmm0,(%rsp)
  jmp    L133
L194:
  movsd  0x38(%rsp),%xmm0
  mulsd  (%rsp),%xmm0
  movsd  0x58(%rsp),%xmm1
  divsd  %xmm0,%xmm1
  jmp    L293
L331:
  call   <sqrt@plt>
L190:
  mov    0x38(%rsp),%rax
  movsd  %xmm0,-0x8(%rax,%r12,1)
  movsd  0x18(%rsp),%xmm7
  divsd  %xmm0,%xmm7
  movsd  %xmm7,(%rsp)
  movsd  0x70(%rsp),%xmm1
  divsd  %xmm0,%xmm1
L236:
  add    $0x8,%r12
L106:
  movsd  0x8(%rsp),%xmm6
  movapd %xmm6,%xmm2
  movsd  (%rsp),%xmm7
  mulsd  %xmm7,%xmm2
  movsd  0x10(%rsp),%xmm5
  movapd %xmm5,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm2
  movsd  %xmm2,0x8(%rsp)
  mulsd  %xmm7,%xmm5
  movapd %xmm5,%xmm2
  mulsd  %xmm1,%xmm6
  subsd  %xmm6,%xmm2
  movsd  %xmm2,0x10(%rsp)
  mov    0x60(%rsp),%rax
  add    %r12,%rax
  mov    $0x0,%edx
L254:
  movsd  (%rax),%xmm0
  movsd  0x8(%rax),%xmm2
  movsd  (%rsp),%xmm6
  movapd %xmm6,%xmm3
  mulsd  %xmm2,%xmm3
  movapd %xmm0,%xmm4
  mulsd  %xmm1,%xmm4
  subsd  %xmm4,%xmm3
  movsd  %xmm3,0x8(%rax)
  mulsd  %xmm6,%xmm0
  mulsd  %xmm1,%xmm2
  addsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  add    $0x1,%edx
  add    %r13,%rax
  cmp    %edx,%r15d
  jne    L254
  mulsd  (%rbx,%r12,1),%xmm1
  movsd  %xmm1,0x18(%rsp)
  mulsd  %xmm1,%xmm1
  movsd  0x8(%rsp),%xmm5
  movapd %xmm5,%xmm0
  mulsd  %xmm5,%xmm0
  addsd  %xmm1,%xmm0
  pxor   %xmm5,%xmm5
  ucomisd %xmm0,%xmm5
  ja     L98
  sqrtsd %xmm0,%xmm0
L59:
  movsd  %xmm0,-0x8(%rbx,%r12,1)
  movsd  (%rsp),%xmm2
  mulsd  (%rbx,%r12,1),%xmm2
  movsd  0x8(%rsp),%xmm6
  divsd  %xmm0,%xmm6
  movsd  %xmm6,(%rsp)
  movsd  0x18(%rsp),%xmm1
  divsd  %xmm0,%xmm1
  movsd  0x10(%rsp),%xmm7
  movapd %xmm7,%xmm3
  mulsd  %xmm6,%xmm3
  movapd %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm3
  movsd  %xmm3,0x18(%rsp)
  mulsd  %xmm6,%xmm2
  mulsd  %xmm1,%xmm7
  subsd  %xmm7,%xmm2
  movsd  %xmm2,0x8(%rsp)
  mov    0x68(%rsp),%rax
  add    %r12,%rax
  test   %r14d,%r14d
  jle    L178
  mov    $0x0,%edx
L174:
  movsd  (%rax),%xmm0
  movsd  0x8(%rax),%xmm2
  movsd  (%rsp),%xmm7
  movapd %xmm7,%xmm3
  mulsd  %xmm2,%xmm3
  movapd %xmm0,%xmm4
  mulsd  %xmm1,%xmm4
  subsd  %xmm4,%xmm3
  movsd  %xmm3,0x8(%rax)
  mulsd  %xmm7,%xmm0
  mulsd  %xmm1,%xmm2
  addsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  add    $0x1,%edx
  add    %r13,%rax
  cmp    %edx,%r14d
  jne    L174
L178:
  add    $0x1,%ebp
  cmp    %ebp,0x58(%rsp)
  je     L177
  mov    0x38(%rsp),%rax
  movsd  (%rax,%r12,1),%xmm7
  movsd  %xmm7,0x10(%rsp)
  cmp    0x24(%rsp),%ebp
  jle    L236
  movapd %xmm1,%xmm5
  movapd %xmm7,%xmm6
  mulsd  %xmm7,%xmm5
  movsd  %xmm5,0x70(%rsp)
  mulsd  (%rsp),%xmm6
  movsd  %xmm6,0x10(%rsp)
  movapd %xmm5,%xmm1
  mulsd  %xmm5,%xmm1
  movsd  0x18(%rsp),%xmm7
  movapd %xmm7,%xmm0
  mulsd  %xmm7,%xmm0
  addsd  %xmm1,%xmm0
  pxor   %xmm6,%xmm6
  ucomisd %xmm0,%xmm6
  ja     L331
  sqrtsd %xmm0,%xmm0
  jmp    L190
L98:
  call   <sqrt@plt>
  jmp    L59
L177:
  mov    0x38(%rsp),%r13
  jmp    L300
L294:
  movl   $0x0,0x2c(%rsp)
L151:
  mov    0x2c(%rsp),%eax
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: data_tag: D84
data_type: qword[2]
name: read_data
arguments: data_tag: D63
data_type: byte[8]
name: read_data
arguments: data_tag: D4
data_type: f64
name: read_data
arguments: data_tag: D24
data_type: f32[4]
name: read_data
arguments: data_tag: D83
data_type: f32[4]

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

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

tool: D4: 1

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

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

assistant: ```c
int qrbdu1(double *dm, double *em, double *um, int mm, double *vm, int m) {
  int i, j, k, n, jj, nm;
  double u, x, y, a, b, c, s, t, w, *p, *q;
  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;
  nm = 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;
          for (jj = 0, p = um + k - 1; jj < mm; ++jj, p += nm) {
            q = p + i - k + 1;
            w = c * *p + s * *q;
            *q = c * *q - s * *p;
            *p = w;
          }
        }
        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;
        for (jj = 0, p = vm + i; jj < nm; ++jj, p += nm) {
          w = c * *p + s * *(p + 1);
          *(p + 1) = c * *(p + 1) - s * *p;
          *p = w;
        }
        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;
        for (jj = 0, p = um + i; jj < mm; ++jj, p += nm) {
          w = c * *p + s * *(p + 1);
          *(p + 1) = c * *(p + 1) - s * *p;
          *p = w;
        }
      }
    }
    em[m - 2] = x;
    dm[m - 1] = y;
    if (fabs(x) < t)
      --m;
    if (m == k + 1)
      --m;
  }
  return j;
}
```