user: 请将以下的汇编代码转换成C语言代码:

```asm
<eigen_decomposition>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x88(%rbp)
  mov    %rsi,-0x90(%rbp)
  mov    %rdx,-0x98(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x98(%rbp),%rdx
  mov    -0x90(%rbp),%rcx
  mov    -0x88(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <fast_eigen3x3@plt>
  test   %rax,%rax
  jne    L66
  movl   $0x0,-0x78(%rbp)
  jmp    L148
L183:
  movl   $0x0,-0x74(%rbp)
  jmp    L82
L90:
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x88(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x90(%rbp),%rax
  add    %rax,%rdx
  mov    -0x74(%rbp),%eax
  cltq
  movsd  (%rcx,%rax,8),%xmm0
  mov    -0x74(%rbp),%eax
  cltq
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x74(%rbp)
L82:
  cmpl   $0x2,-0x74(%rbp)
  jle    L90
  addl   $0x1,-0x78(%rbp)
L148:
  cmpl   $0x2,-0x78(%rbp)
  jle    L183
  lea    -0x60(%rbp),%rdx
  mov    -0x98(%rbp),%rcx
  mov    -0x90(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <tred2@plt>
  lea    -0x60(%rbp),%rdx
  mov    -0x98(%rbp),%rcx
  mov    -0x90(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <tql2@plt>
  mov    -0x98(%rbp),%rax
  movsd  (%rax),%xmm0
  mov    -0x98(%rbp),%rax
  movsd  (%rax),%xmm1
  movq   D21(%rip),%xmm2
  xorpd  %xmm2,%xmm1
  comisd %xmm1,%xmm0
  jbe    L0
  mov    -0x98(%rbp),%rax
  movsd  (%rax),%xmm0
  jmp    L145
L0:
  mov    -0x98(%rbp),%rax
  movsd  (%rax),%xmm0
  movq   D21(%rip),%xmm1
  xorpd  %xmm1,%xmm0
L145:
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  mov    -0x98(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm1
  movq   D21(%rip),%xmm2
  xorpd  %xmm2,%xmm1
  comisd %xmm1,%xmm0
  jbe    L139
  mov    -0x98(%rbp),%rax
  movsd  0x8(%rax),%xmm0
  jmp    L178
L139:
  mov    -0x98(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  movq   D21(%rip),%xmm1
  xorpd  %xmm1,%xmm0
L178:
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm0
  mov    -0x98(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm1
  movq   D21(%rip),%xmm2
  xorpd  %xmm2,%xmm1
  comisd %xmm1,%xmm0
  jbe    L102
  mov    -0x98(%rbp),%rax
  movsd  0x10(%rax),%xmm0
  jmp    L135
L102:
  mov    -0x98(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm0
  movq   D21(%rip),%xmm1
  xorpd  %xmm1,%xmm0
L135:
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x40(%rbp),%xmm0
  movsd  -0x38(%rbp),%xmm1
  comisd %xmm1,%xmm0
  jb     L185
  movsd  -0x40(%rbp),%xmm0
  movsd  -0x30(%rbp),%xmm1
  comisd %xmm1,%xmm0
  jbe    L185
  mov    -0x98(%rbp),%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  mov    -0x90(%rbp),%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x98(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x98(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x90(%rbp),%rax
  movsd  (%rax),%xmm0
  mov    -0x90(%rbp),%rax
  movsd  %xmm0,0x10(%rax)
  mov    -0x90(%rbp),%rax
  lea    0x18(%rax),%rdx
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,0x10(%rax)
  mov    -0x90(%rbp),%rax
  lea    0x30(%rax),%rdx
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,0x10(%rax)
  mov    -0x98(%rbp),%rax
  movsd  -0x70(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x20(%rbp),%xmm0
  mov    -0x90(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L160
L185:
  movsd  -0x38(%rbp),%xmm0
  movsd  -0x40(%rbp),%xmm1
  comisd %xmm1,%xmm0
  jb     L160
  movsd  -0x38(%rbp),%xmm0
  movsd  -0x30(%rbp),%xmm1
  comisd %xmm1,%xmm0
  jbe    L160
  mov    -0x98(%rbp),%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  mov    -0x90(%rbp),%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x98(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x98(%rbp),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x90(%rbp),%rax
  movsd  0x8(%rax),%xmm0
  mov    -0x90(%rbp),%rax
  movsd  %xmm0,0x10(%rax)
  mov    -0x90(%rbp),%rax
  lea    0x18(%rax),%rdx
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rdx),%xmm0
  movsd  %xmm0,0x10(%rax)
  mov    -0x90(%rbp),%rax
  lea    0x30(%rax),%rdx
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rdx),%xmm0
  movsd  %xmm0,0x10(%rax)
  mov    -0x98(%rbp),%rax
  add    $0x8,%rax
  movsd  -0x70(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x20(%rbp),%xmm0
  mov    -0x90(%rbp),%rax
  movsd  %xmm0,0x8(%rax)
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,0x8(%rax)
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,0x8(%rax)
L160:
  movsd  -0x40(%rbp),%xmm0
  movsd  -0x38(%rbp),%xmm1
  comisd %xmm1,%xmm0
  jbe    L161
  mov    -0x98(%rbp),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  mov    -0x90(%rbp),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x98(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x98(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x90(%rbp),%rax
  movsd  (%rax),%xmm0
  mov    -0x90(%rbp),%rax
  movsd  %xmm0,0x8(%rax)
  mov    -0x90(%rbp),%rax
  lea    0x18(%rax),%rdx
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,0x8(%rax)
  mov    -0x90(%rbp),%rax
  lea    0x30(%rax),%rdx
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,0x8(%rax)
  mov    -0x98(%rbp),%rax
  movsd  -0x70(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x20(%rbp),%xmm0
  mov    -0x90(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x90(%rbp),%rax
  add    $0x18,%rax
  movsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x90(%rbp),%rax
  add    $0x30,%rax
  movsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L161
L66:
  nop
L161:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L155
  call   <__stack_chk_fail@plt>
L155:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D21
data_type: byte[8]

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

assistant: ```c
void eigen_decomposition(double A[3][3], double V[3][3], double d[3]) {
  double e[3];
  double da[3];
  double dt, dat;
  double vet[3];
  int i, j;
  if (fast_eigen3x3(A, V, d)) {
    return;
  }
  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      V[i][j] = A[i][j];
    }
  }
  tred2(V, d, e);
  tql2(V, d, e);
  da[0] = ((d[0]) > (-d[0]) ? (d[0]) : (-d[0]));
  da[1] = ((d[1]) > (-d[1]) ? (d[1]) : (-d[1]));
  da[2] = ((d[2]) > (-d[2]) ? (d[2]) : (-d[2]));
  if ((da[0] >= da[1]) && (da[0] > da[2])) {
    dt = d[2];
    dat = da[2];
    vet[0] = V[0][2];
    vet[1] = V[1][2];
    vet[2] = V[2][2];
    d[2] = d[0];
    da[2] = da[0];
    V[0][2] = V[0][0];
    V[1][2] = V[1][0];
    V[2][2] = V[2][0];
    d[0] = dt;
    da[0] = dat;
    V[0][0] = vet[0];
    V[1][0] = vet[1];
    V[2][0] = vet[2];
  } else if ((da[1] >= da[0]) && (da[1] > da[2])) {
    dt = d[2];
    dat = da[2];
    vet[0] = V[0][2];
    vet[1] = V[1][2];
    vet[2] = V[2][2];
    d[2] = d[1];
    da[2] = da[1];
    V[0][2] = V[0][1];
    V[1][2] = V[1][1];
    V[2][2] = V[2][1];
    d[1] = dt;
    da[1] = dat;
    V[0][1] = vet[0];
    V[1][1] = vet[1];
    V[2][1] = vet[2];
  }
  if (da[0] > da[1]) {
    dt = d[1];
    dat = da[1];
    vet[0] = V[0][1];
    vet[1] = V[1][1];
    vet[2] = V[2][1];
    d[1] = d[0];
    da[1] = da[0];
    V[0][1] = V[0][0];
    V[1][1] = V[1][0];
    V[2][1] = V[2][0];
    d[0] = dt;
    da[0] = dat;
    V[0][0] = vet[0];
    V[1][0] = vet[1];
    V[2][0] = vet[2];
  }
}
```