user: 这段汇编代码用C语言表示是什么样的:

```asm
<orthes>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,0x3c(%rsp)
  mov    %rsi,%rbp
  mov    %rdx,%r14
  mov    %rcx,%rbx
  mov    %edi,%eax
  lea    -0x1(%rdi),%r15d
  cmp    $0x1,%r15d
  jle    L334
  lea    -0x2(%rdi),%edi
  mov    %edi,0x38(%rsp)
  lea    0x8(%rsi),%rdi
  mov    %rdi,0x28(%rsp)
  lea    -0x1(%rax),%eax
  lea    (%rdi,%rax,8),%rax
  mov    %rax,0x40(%rsp)
  mov    $0x8,%eax
  movq   $0x1,0x18(%rsp)
  mov    %rdx,0x48(%rsp)
  mov    %rax,%r14
  jmp    L377
L185:
  movsd  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm4
  jmp    L224
L404:
  mov    %rcx,%rdx
  add    0x0(%rbp,%rax,8),%rdx
  movapd %xmm1,%xmm2
  mulsd  (%rbx,%rax,8),%xmm2
  movsd  (%rdx),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rdx)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jge    L404
  add    $0x8,%rcx
  cmp    %rsi,%rcx
  je     L53
L194:
  mov    %rdi,%rax
  pxor   %xmm1,%xmm1
L364:
  mov    0x0(%rbp,%rax,8),%rdx
  movsd  (%rdx,%rcx,1),%xmm0
  mulsd  (%rbx,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  sub    $0x1,%rax
  cmp    %eax,%r12d
  jle    L364
  divsd  %xmm3,%xmm1
  mov    %r8,%rax
  jmp    L404
L53:
  mov    0x20(%rsp),%rax
  mov    0x18(%rsp),%rdi
  lea    0x1(%rax,%rdi,1),%rsi
  shl    $0x3,%rsi
  mov    %rbp,%rdi
  mov    0x40(%rsp),%rcx
  mov    0x30(%rsp),%r8
  jmp    L106
L221:
  mov    %rax,%r9
  add    (%rdx),%r9
  movapd %xmm1,%xmm2
  mulsd  (%rbx,%rax,1),%xmm2
  movsd  (%r9),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%r9)
  add    $0x8,%rax
  cmp    %rsi,%rax
  jne    L221
  add    $0x8,%rdi
  cmp    %rcx,%rdi
  je     L222
L106:
  mov    %rdi,%rdx
  mov    (%rdi),%r9
  mov    %r8,%rax
  pxor   %xmm1,%xmm1
L31:
  movsd  (%rbx,%rax,8),%xmm0
  mulsd  (%r9,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  sub    $0x1,%rax
  cmp    %eax,%r12d
  jle    L31
  divsd  %xmm3,%xmm1
  mov    %r14,%rax
  jmp    L221
L222:
  movsd  0x8(%rsp),%xmm7
  movapd %xmm7,%xmm0
  mulsd  (%rbx,%r14,1),%xmm0
  movsd  %xmm0,(%rbx,%r14,1)
  mov    0x0(%rbp,%r14,1),%rax
  mulsd  %xmm7,%xmm4
  movsd  %xmm4,(%rax,%r13,1)
L184:
  addq   $0x1,0x18(%rsp)
  add    $0x8,%r14
  subl   $0x1,0x38(%rsp)
  je     L25
L377:
  mov    0x18(%rsp),%rax
  mov    %eax,%r12d
  cmp    %eax,%r15d
  jl     L184
  lea    -0x8(%r14),%r13
  lea    0x0(%rbp,%r14,1),%rax
  mov    0x38(%rsp),%edi
  mov    %rdi,0x20(%rsp)
  mov    %rdi,%rdx
  add    0x18(%rsp),%rdx
  mov    0x28(%rsp),%rdi
  lea    (%rdi,%rdx,8),%rcx
  pxor   %xmm6,%xmm6
  movsd  %xmm6,0x8(%rsp)
L331:
  mov    (%rax),%rdx
  movsd  (%rdx,%r13,1),%xmm0
  andpd  D5(%rip),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    $0x8,%rax
  cmp    %rcx,%rax
  jne    L331
  movsd  0x8(%rsp),%xmm4
  ucomisd D25(%rip),%xmm4
  jp     L165
  je     L184
L165:
  movslq %r15d,%rax
  mov    %rax,0x30(%rsp)
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x10(%rsp)
L3:
  mov    0x0(%rbp,%rax,8),%rdx
  movsd  (%rdx,%r13,1),%xmm0
  divsd  0x8(%rsp),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  mulsd  %xmm0,%xmm0
  addsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  sub    $0x1,%rax
  cmp    %eax,%r12d
  jle    L3
  pxor   %xmm0,%xmm0
  movsd  0x10(%rsp),%xmm3
  ucomisd %xmm3,%xmm0
  ja     L185
  sqrtsd %xmm3,%xmm3
  movapd %xmm3,%xmm4
L224:
  movsd  (%rbx,%r14,1),%xmm0
  comisd D25(%rip),%xmm0
  jbe    L177
  xorpd  D16(%rip),%xmm4
L177:
  movapd %xmm0,%xmm1
  mulsd  %xmm4,%xmm1
  movsd  0x10(%rsp),%xmm3
  subsd  %xmm1,%xmm3
  subsd  %xmm4,%xmm0
  movsd  %xmm0,(%rbx,%r14,1)
  cmp    %r12d,0x3c(%rsp)
  jle    L53
  mov    0x20(%rsp),%rax
  mov    0x18(%rsp),%r8
  lea    0x1(%rax,%r8,1),%rsi
  shl    $0x3,%rsi
  mov    %r14,%rcx
  mov    0x30(%rsp),%rdi
  jmp    L194
L25:
  mov    0x48(%rsp),%r14
L334:
  mov    0x3c(%rsp),%r8d
  test   %r8d,%r8d
  jle    L216
  mov    %r14,%rsi
  mov    $0x0,%ecx
  mov    %r8d,%edi
  movsd  D0(%rip),%xmm1
  pxor   %xmm2,%xmm2
  jmp    L349
L356:
  mov    (%rsi),%rdx
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%rdi
  je     L390
L163:
  movapd %xmm1,%xmm0
  cmp    %eax,%ecx
  je     L356
  movapd %xmm2,%xmm0
  jmp    L356
L390:
  add    $0x1,%ecx
  add    $0x8,%rsi
  cmp    %ecx,%r8d
  je     L216
L349:
  mov    $0x0,%eax
  jmp    L163
L216:
  mov    0x3c(%rsp),%r10d
  lea    -0x2(%r10),%esi
  test   %esi,%esi
  jle    L247
  movslq %esi,%rsi
  lea    0x0(,%rsi,8),%rcx
  lea    -0x1(%r10),%r9d
  pxor   %xmm3,%xmm3
  movapd %xmm3,%xmm2
  jmp    L143
L347:
  sub    $0x1,%rsi
  sub    $0x8,%rcx
  sub    $0x1,%r9d
  test   %esi,%esi
  jle    L247
L143:
  lea    -0x8(%rcx),%rdi
  mov    0x0(%rbp,%rcx,1),%rax
  ucomisd -0x8(%rax,%rcx,1),%xmm3
  jp     L358
  ucomisd -0x8(%rax,%rcx,1),%xmm2
  je     L347
L358:
  cmp    %r9d,%r15d
  jl     L128
  movslq %r9d,%rax
L94:
  mov    0x0(%rbp,%rax,8),%rdx
  movsd  (%rdx,%rdi,1),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jge    L94
L128:
  cmp    %esi,%r15d
  jl     L347
  mov    %r10d,%eax
  sub    %r9d,%eax
  lea    0x1(%rsi,%rax,1),%r8
  shl    $0x3,%r8
  mov    %rcx,%rdx
L284:
  mov    %rsi,%rax
  pxor   %xmm1,%xmm1
L82:
  mov    (%r14,%rax,8),%r11
  movsd  (%r11,%rdx,1),%xmm0
  mulsd  (%rbx,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  add    $0x1,%rax
  cmp    %eax,%r15d
  jge    L82
  divsd  (%rbx,%rcx,1),%xmm1
  mov    0x0(%rbp,%rcx,1),%rax
  divsd  (%rax,%rdi,1),%xmm1
  mov    %rsi,%rax
L326:
  mov    %rdx,%r11
  add    (%r14,%rax,8),%r11
  movapd %xmm1,%xmm0
  mulsd  (%rbx,%rax,8),%xmm0
  addsd  (%r11),%xmm0
  movsd  %xmm0,(%r11)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jge    L326
  add    $0x8,%rdx
  cmp    %rdx,%r8
  jne    L284
  jmp    L347
L247:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D5
type: qword[2]
name: parse_data
arguments: data_tag: D25
type: f64[2]
name: parse_data
arguments: data_tag: D16
type: byte[16]
name: parse_data
arguments: data_tag: D0
type: f64

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

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

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

tool: D0: 1

assistant: ```c
void orthes(int n, double **H, double **V, double *ort) {
  int low = 0;
  int high = n - 1;
  for (int m = low + 1; m <= high - 1; m++) {
    double scale = 0.0;
    for (int i = m; i <= high; i++) {
      scale = scale + fabs(H[i][m - 1]);
    }
    if (scale != 0.0) {
      double h = 0.0;
      for (int i = high; i >= m; i--) {
        ort[i] = H[i][m - 1] / scale;
        h += ort[i] * ort[i];
      }
      double g = sqrt(h);
      if (ort[m] > 0) {
        g = -g;
      }
      h = h - ort[m] * g;
      ort[m] = ort[m] - g;
      for (int j = m; j < n; j++) {
        double f = 0.0;
        for (int i = high; i >= m; i--) {
          f += ort[i] * H[i][j];
        }
        f = f / h;
        for (int i = m; i <= high; i++) {
          H[i][j] -= f * ort[i];
        }
      }
      for (int i = 0; i <= high; i++) {
        double f = 0.0;
        for (int j = high; j >= m; j--) {
          f += ort[j] * H[i][j];
        }
        f = f / h;
        for (int j = m; j <= high; j++) {
          H[i][j] -= f * ort[j];
        }
      }
      ort[m] = scale * ort[m];
      H[m][m - 1] = scale * g;
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      V[i][j] = (i == j ? 1.0 : 0.0);
    }
  }
  for (int m = high - 1; m >= low + 1; m--) {
    if (H[m][m - 1] != 0.0) {
      for (int i = m + 1; i <= high; i++) {
        ort[i] = H[i][m - 1];
      }
      for (int j = m; j <= high; j++) {
        double g = 0.0;
        for (int i = m; i <= high; i++) {
          g += ort[i] * V[i][j];
        }
        g = (g / ort[m]) / H[m][m - 1];
        for (int i = m; i <= high; i++) {
          V[i][j] += g * ort[i];
        }
      }
    }
  }
}
```