user: Translate the below assembly code into C programming language:

```asm
<BackSubstitute_Complex_Vector>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %rdi,0x60(%rsp)
  mov    %rsi,%r9
  mov    %rsi,0x50(%rsp)
  mov    %rdx,0x38(%rsp)
  mov    %ecx,0x5c(%rsp)
  movsd  %xmm0,0x98(%rsp)
  mov    %r8d,0x44(%rsp)
  lea    -0x1(%rcx),%r12d
  mov    %ecx,%ebp
  imul   %r8d,%ebp
  movslq %ebp,%rax
  lea    (%rdi,%rax,8),%r13
  movslq %r12d,%rbx
  shl    $0x3,%rbx
  lea    0x0(%r13,%rbx,1),%r14
  movsd  (%r14),%xmm2
  mov    %ecx,%eax
  sub    %r8d,%eax
  cltq
  lea    0x0(%r13,%rax,8),%rsi
  movsd  (%rsi),%xmm0
  movq   D161(%rip),%xmm1
  movapd %xmm2,%xmm3
  andpd  %xmm1,%xmm3
  andpd  %xmm0,%xmm1
  comisd %xmm1,%xmm3
  jbe    L83
  mov    %r12d,%eax
  sub    %r8d,%eax
  cltq
  movsd  0x8(%r13,%rbx,1),%xmm0
  subsd  0x8(%r9,%rbx,1),%xmm0
  movq   D85(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  movsd  0x8(%rdx,%rbx,1),%xmm0
  xorpd  %xmm1,%xmm0
  divsd  (%r14),%xmm0
  movsd  %xmm0,(%rsi)
L71:
  mov    D84(%rip),%rax
  mov    %rax,(%r14)
  lea    0x8(%rbx),%rax
  mov    %rax,0x28(%rsp)
  movq   $0x0,0x8(%r13,%rbx,1)
  mov    0x44(%rsp),%ecx
  lea    (%rcx,%rcx,1),%eax
  sub    %eax,%ebp
  movslq %ebp,%rax
  mov    0x60(%rsp),%rsi
  lea    (%rsi,%rax,8),%r13
  mov    0x5c(%rsp),%edi
  mov    %edi,%edx
  sub    $0x2,%edx
  js     L151
  movslq %ecx,%rax
  lea    0x0(,%rax,8),%rsi
  mov    %rsi,0x10(%rsp)
  add    %edi,%ecx
  mov    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    %rcx,0x90(%rsp)
  mov    %rsi,%rax
  neg    %rax
  mov    %rax,0x70(%rsp)
  movslq %edx,%rbp
  mov    $0xfffffffffffffff8,%rax
  sub    %rsi,%rax
  mov    %rax,0x68(%rsp)
  lea    -0x8(%r13,%rbx,1),%r14
  lea    0x0(%r13,%rbx,1),%r15
  lea    -0x8(%r13,%rcx,1),%rbx
  jmp    L78
L83:
  mov    %r12d,%eax
  sub    0x44(%rsp),%eax
  cltq
  lea    0x0(%r13,%rax,8),%rdi
  movsd  (%rdi),%xmm2
  xorpd  D85(%rip),%xmm0
  mov    0x38(%rsp),%rax
  movsd  0x8(%rax,%rbx,1),%xmm3
  mov    0x50(%rsp),%rax
  subsd  0x8(%rax,%rbx,1),%xmm2
  pxor   %xmm1,%xmm1
  mov    $0x4,%eax
  call   <Complex_Division@plt>
  jmp    L71
L105:
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x8(%rsp)
  jmp    L34
L30:
  movq   D85(%rip),%xmm0
  movsd  0x8(%rsp),%xmm1
  xorpd  %xmm0,%xmm1
  movsd  (%rsp),%xmm4
  xorpd  %xmm0,%xmm4
  movapd %xmm4,%xmm0
  mov    0x20(%rsp),%rdi
  mov    0x28(%rsp),%rcx
  movsd  (%rax,%rcx,1),%xmm3
  movsd  0x18(%rsp),%xmm2
  mov    $0x4,%eax
  call   <Complex_Division@plt>
  mov    0x58(%rsp),%r12d
  jmp    L144
L92:
  lea    0x8(%rbx),%rsi
  movsd  0x80(%rsp),%xmm1
  xorpd  D85(%rip),%xmm1
  mov    0x20(%rsp),%rax
  movsd  0x88(%rsp),%xmm2
  movapd %xmm2,%xmm5
  mulsd  0x8(%rax),%xmm5
  movsd  0x78(%rsp),%xmm4
  xorpd  D85(%rip),%xmm4
  mulsd  (%rax),%xmm2
  subsd  %xmm2,%xmm4
  mov    %rbx,%rdi
  movsd  0x30(%rsp),%xmm2
  subsd  %xmm5,%xmm1
  movapd %xmm4,%xmm0
  mov    $0x4,%eax
  call   <Complex_Division@plt>
  mov    0x58(%rsp),%r12d
  jmp    L144
L13:
  movsd  0x8(%rsp),%xmm4
  movsd  %xmm4,0x80(%rsp)
  movsd  (%rsp),%xmm4
  movsd  %xmm4,0x78(%rsp)
  movsd  0x18(%rsp),%xmm4
  movsd  %xmm4,0x30(%rsp)
L144:
  add    0x70(%rsp),%r13
  sub    $0x1,%rbp
  add    0x68(%rsp),%r14
  mov    0x10(%rsp),%rax
  sub    %rax,%r15
  sub    %rax,%rbx
  test   %ebp,%ebp
  js     L151
L78:
  mov    %ebp,%ecx
  mov    %ebp,0x58(%rsp)
  mov    %r14,%rdi
  mov    0x50(%rsp),%rax
  mov    0x28(%rsp),%rdx
  movsd  (%rax,%rdx,1),%xmm3
  movsd  (%r14),%xmm0
  subsd  %xmm3,%xmm0
  movsd  %xmm0,0x18(%rsp)
  lea    (%rdx,%r13,1),%rsi
  mov    %r15,0x20(%rsp)
  movsd  0x8(%r15),%xmm4
  movsd  %xmm4,(%rsp)
  mov    0x44(%rsp),%eax
  imul   %r12d,%eax
  cltq
  shl    $0x3,%rax
  mov    0x5c(%rsp),%r10d
  cmp    %r12d,%r10d
  jle    L105
  movslq %r12d,%r9
  lea    0x0(%r13,%r9,8),%r8
  add    %rdx,%rax
  add    0x60(%rsp),%rax
  lea    -0x1(%r10),%edx
  sub    %r12d,%edx
  add    %r9,%rdx
  lea    0x8(%r13,%rdx,8),%rdx
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x8(%rsp)
L5:
  movsd  (%r8),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x8(%rax),%xmm1
  addsd  (%rsp),%xmm1
  movsd  %xmm1,(%rsp)
  mulsd  (%rax),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    $0x8,%r8
  add    0x10(%rsp),%rax
  cmp    %rdx,%r8
  jne    L5
L34:
  mov    0x38(%rsp),%rax
  movsd  (%rax,%rbp,8),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  ja     L13
  ucomisd %xmm1,%xmm0
  jp     L119
  je     L30
L119:
  movsd  0x8(%rdi),%xmm5
  movsd  %xmm5,0x48(%rsp)
  add    0x44(%rsp),%ecx
  movslq %ecx,%rcx
  movsd  0x0(%r13,%rcx,8),%xmm7
  movsd  %xmm7,0x88(%rsp)
  mov    0x50(%rsp),%rax
  movsd  (%rax,%rbp,8),%xmm2
  subsd  %xmm3,%xmm2
  mov    0x38(%rsp),%r12
  add    0x28(%rsp),%r12
  movsd  (%r12),%xmm4
  movapd %xmm2,%xmm3
  addsd  %xmm2,%xmm3
  mulsd  %xmm4,%xmm3
  mulsd  %xmm2,%xmm2
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm4,%xmm0
  mulsd  %xmm4,%xmm0
  subsd  %xmm0,%xmm2
  ucomisd D97(%rip),%xmm2
  setnp  %al
  mov    $0x0,%edx
  cmovne %edx,%eax
  test   %al,%al
  je     L88
  ucomisd D97(%rip),%xmm3
  setnp  %al
  cmovne %edx,%eax
  test   %al,%al
  je     L88
  movsd  0x18(%rsp),%xmm2
  andpd  D161(%rip),%xmm2
  andpd  D161(%rip),%xmm5
  addsd  %xmm5,%xmm2
  andpd  D161(%rip),%xmm7
  addsd  %xmm7,%xmm2
  movsd  0x30(%rsp),%xmm0
  andpd  D161(%rip),%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm4,%xmm0
  andpd  D161(%rip),%xmm0
  addsd  %xmm0,%xmm2
  mulsd  0x98(%rsp),%xmm2
L88:
  movsd  0x30(%rsp),%xmm6
  movapd %xmm6,%xmm0
  movsd  0x8(%rsp),%xmm9
  mulsd  %xmm9,%xmm0
  movsd  0x48(%rsp),%xmm7
  movapd %xmm7,%xmm1
  mulsd  0x80(%rsp),%xmm1
  subsd  %xmm0,%xmm1
  movsd  (%rsp),%xmm8
  movapd %xmm8,%xmm5
  mulsd  %xmm4,%xmm5
  mulsd  %xmm8,%xmm6
  movapd %xmm7,%xmm0
  mulsd  0x78(%rsp),%xmm0
  subsd  %xmm6,%xmm0
  mulsd  %xmm9,%xmm4
  addsd  %xmm4,%xmm0
  mov    0x20(%rsp),%rdi
  subsd  %xmm5,%xmm1
  mov    $0x4,%eax
  call   <Complex_Division@plt>
  movsd  (%r12),%xmm3
  movsd  0x48(%rsp),%xmm5
  movapd %xmm5,%xmm1
  andpd  D161(%rip),%xmm1
  movsd  0x30(%rsp),%xmm0
  andpd  D161(%rip),%xmm0
  movapd %xmm3,%xmm2
  andpd  D161(%rip),%xmm2
  addsd  %xmm2,%xmm0
  comisd %xmm0,%xmm1
  jbe    L92
  mov    %r15,%rax
  sub    0x28(%rsp),%rax
  movsd  (%rsp),%xmm0
  xorpd  D85(%rip),%xmm0
  mov    0x20(%rsp),%rdi
  movsd  0x18(%rsp),%xmm4
  movapd %xmm4,%xmm1
  mulsd  (%rdi),%xmm1
  subsd  %xmm1,%xmm0
  mulsd  0x8(%rdi),%xmm3
  divsd  %xmm5,%xmm3
  addsd  %xmm3,%xmm0
  mov    0x90(%rsp),%rsi
  movsd  %xmm0,(%rax,%rsi,1)
  movsd  0x8(%rsp),%xmm0
  xorpd  D85(%rip),%xmm0
  mulsd  0x8(%rdi),%xmm4
  subsd  %xmm4,%xmm0
  movsd  (%r12),%xmm1
  mulsd  (%rdi),%xmm1
  divsd  %xmm5,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rax,%rsi,1)
  mov    0x58(%rsp),%r12d
  jmp    L144
L151:
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D161
type: qword[2]
name: disassemble_data
arguments: data_tag: D85
type: f32[4]
name: disassemble_data
arguments: data_tag: D84
type: f64
name: disassemble_data
arguments: data_tag: D97
type: f32[2]

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

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

tool: D84: 1

tool: {"D97": [0.0,0.0]}

assistant: ```c
void BackSubstitute_Complex_Vector(double *H, double eigen_real[], double eigen_imag[], int row, double zero_tolerance, int n) {
  double *pH;
  double *pV;
  double x, y;
  double u[4];
  double v[2];
  double w[2];
  int i, j, k;
  k = row - 1;
  pH = H + n * row;
  if (fabs(pH[k]) > fabs(pH[row - n])) {
    pH[k - n] = -(pH[row] - eigen_real[row]) / pH[k];
    pH[row - n] = -eigen_imag[row] / pH[k];
  } else
    Complex_Division(-pH[row - n], 0.0, pH[k - n] - eigen_real[row], eigen_imag[row], &pH[k - n], &pH[row - n]);
  pH[k] = 1.0;
  pH[row] = 0.0;
  for (i = row - 2, pH = H + n * i; i >= 0; pH -= n, i--) {
    u[0] = pH[i] - eigen_real[row];
    w[0] = pH[row];
    w[1] = 0.0;
    pV = H + k * n;
    for (j = k; j < row; j++, pV += n) {
      w[0] += pH[j] * pV[row - 1];
      w[1] += pH[j] * pV[row];
    }
    if (eigen_imag[i] < 0.0) {
      u[3] = u[0];
      v[0] = w[0];
      v[1] = w[1];
    } else {
      k = i;
      if (eigen_imag[i] == 0.0) {
        Complex_Division(-w[0], -w[1], u[0], eigen_imag[row], &pH[row - 1], &pH[row]);
      } else {
        u[1] = pH[i + 1];
        u[2] = pH[n + i];
        x = eigen_real[i] - eigen_real[row];
        y = 2.0 * x * eigen_imag[row];
        x = x * x + eigen_imag[i] * eigen_imag[i] - eigen_imag[row] * eigen_imag[row];
        if (x == 0.0 && y == 0.0)
          x = zero_tolerance * (fabs(u[0]) + fabs(u[1]) + fabs(u[2]) + fabs(u[3]) + fabs(eigen_imag[row]));
        Complex_Division(u[1] * v[0] - u[3] * w[0] + w[1] * eigen_imag[row], u[1] * v[1] - u[3] * w[1] - w[0] * eigen_imag[row], x, y, &pH[row - 1], &pH[row]);
        if (fabs(u[1]) > (fabs(u[3]) + fabs(eigen_imag[row]))) {
          pH[n + row - 1] = -w[0] - u[0] * pH[row - 1] + eigen_imag[row] * pH[row] / u[1];
          pH[n + row] = -w[1] - u[0] * pH[row] - eigen_imag[row] * pH[row - 1] / u[1];
        } else {
          Complex_Division(-v[0] - u[2] * pH[row - 1], -v[1] - u[2] * pH[row], u[3], eigen_imag[row], &pH[n + row - 1], &pH[n + row]);
        }
      }
    }
  }
}
```