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

```asm
<Check_Eigen>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  movl   $0x0,-0x24(%rbp)
  movl   $0x0,-0x30(%rbp)
  jmp    L119
L227:
  movl   $0x0,-0x2c(%rbp)
  jmp    L112
L115:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movl   $0x0,-0x28(%rbp)
  jmp    L49
L25:
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x30(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x20(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x30(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x18(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  addl   $0x1,-0x28(%rbp)
L49:
  mov    -0x28(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L25
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L241
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L213
L241:
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
L213:
  mov    -0x40(%rbp),%rdx
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L149
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L111
L149:
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
L111:
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0x20(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  mov    %eax,%ebx
  mov    -0x30(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  mov    %eax,%esi
  mov    %ebx,%eax
  cltd
  idiv   %esi
  test   %eax,%eax
  jle    L71
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L156
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L98
L156:
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
L98:
  mov    -0x40(%rbp),%rdx
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L143
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L173
L143:
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
L173:
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0x20(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  test   %eax,%eax
  jle    L71
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L14
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L234
L14:
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
L234:
  mov    -0x40(%rbp),%rdx
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L35
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L197
L35:
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
L197:
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0x20(%rbp),%xmm0
  movapd %xmm0,%xmm2
  subsd  %xmm1,%xmm2
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L206
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L88
L206:
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
L88:
  mov    -0x40(%rbp),%rdx
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L216
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  jmp    L75
L216:
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
L75:
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x20(%rbp),%rcx
  mov    -0x2c(%rbp),%edx
  mov    -0x30(%rbp),%eax
  movapd %xmm0,%xmm1
  movq   %rcx,%xmm0
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D44(%rip),%rax
  mov    %rax,%rsi
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  mov    $0x3,%eax
  call   <sprintf@plt>
  mov    $0x0,%ecx
  mov    $0x0,%edx
  lea    D36(%rip),%rax
  mov    %rax,%rsi
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  call   <ERRORMESSAGE@plt>
  addl   $0x1,-0x24(%rbp)
L71:
  mov    -0x30(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jne    L169
  movsd  D14(%rip),%xmm0
  jmp    L222
L169:
  pxor   %xmm0,%xmm0
L222:
  movsd  -0x18(%rbp),%xmm1
  subsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  test   %eax,%eax
  jle    L232
  mov    -0x18(%rbp),%rcx
  mov    -0x2c(%rbp),%edx
  mov    -0x30(%rbp),%eax
  movq   %rcx,%xmm0
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D63(%rip),%rax
  mov    %rax,%rsi
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <sprintf@plt>
  mov    $0x0,%ecx
  mov    $0x0,%edx
  lea    D36(%rip),%rax
  mov    %rax,%rsi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  call   <ERRORMESSAGE@plt>
  addl   $0x1,-0x24(%rbp)
L232:
  addl   $0x1,-0x2c(%rbp)
L112:
  mov    -0x2c(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L115
  addl   $0x1,-0x30(%rbp)
L119:
  mov    -0x30(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L227
  mov    -0x24(%rbp),%eax
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D44
datatype: string
name: disassemble_data
arguments: data_tag: D81
datatype: string
name: disassemble_data
arguments: data_tag: D14
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D63
datatype: string
name: disassemble_data
arguments: data_tag: D0
datatype: string

tool: D44: %d %d: %.17e %.17e, %e

tool: D81: cmaes_t:Eigen(): imprecise result detected 

tool: {"D14": [0.0,1.875]}

tool: D63: %d %d %.17e 

tool: D0: cmaes_t:Eigen(): imprecise result detected (Q not orthog.)

assistant: ```c
int Check_Eigen(int N, double **C, double *diag, double **Q) {
  int i, j, k, res = 0;
  double cc, dd;
  static char s[324];
  for (i = 0; i < N; ++i)
    for (j = 0; j < N; ++j) {
      for (cc = 0., dd = 0., k = 0; k < N; ++k) {
        cc += diag[k] * Q[i][k] * Q[j][k];
        dd += Q[i][k] * Q[j][k];
      }
      if (fabs(cc - C[i > j ? i : j][i > j ? j : i]) / sqrt(C[i][i] * C[j][j]) > 1e-10 && fabs(cc - C[i > j ? i : j][i > j ? j : i]) > 3e-14) {
        sprintf(s, "%d %d: %.17e %.17e, %e", i, j, cc, C[i > j ? i : j][i > j ? j : i], cc - C[i > j ? i : j][i > j ? j : i]);
        ERRORMESSAGE("cmaes_t:Eigen(): imprecise result detected ", s, 0, 0);
        ++res;
      }
      if (fabs(dd - (i == j)) > 1e-10) {
        sprintf(s, "%d %d %.17e ", i, j, dd);
        ERRORMESSAGE("cmaes_t:Eigen(): imprecise result detected (Q not orthog.)", s, 0, 0);
        ++res;
      }
    }
  return res;
}
```