user: 请从给定的汇编指令推导出C源代码：

```asm
<dft_xckernel_xb97_>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xc8,%rsp
  mov    %rsi,%rax
  mov    %rdx,%rsi
  mov    %rcx,%rbp
  mov    %r8,%rbx
  mov    %r9,%r12
  mov    0x100(%rsp),%rdx
  mov    %fs:0x28,%rcx
  mov    %rcx,0xb8(%rsp)
  xor    %ecx,%ecx
  mov    (%rdi),%r14
  mov    (%rax),%r13
  movsd  (%rsi),%xmm5
  movsd  %xmm5,0x28(%rsp)
  movsd  0x8(%rdi),%xmm2
  movsd  0x10(%rdi),%xmm3
  movsd  0x18(%rdi),%xmm1
  mov    0x8(%rax),%r15
  movsd  0x10(%rax),%xmm6
  movsd  %xmm6,0x10(%rsp)
  movsd  0x18(%rax),%xmm5
  movsd  %xmm5,0x18(%rsp)
  mov    (%r9),%rsi
  test   %rsi,%rsi
  js     L99
  lea    0x90(%rsp),%rax
  lea    0x98(%rsp,%rsi,8),%rcx
L18:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x18,%rdx
  add    $0x8,%rax
  cmp    %rcx,%rax
  jne    L18
L99:
  movq   %r14,%xmm4
  comisd 0x0(%rbp),%xmm4
  jbe    L79
  addsd  %xmm3,%xmm2
  addsd  %xmm2,%xmm1
  cmp    $0x2,%rsi
  je     L50
  lea    0x50(%rsp),%rcx
  lea    0x40(%rsp),%rdx
  lea    0x30(%rsp),%rsi
  lea    0x90(%rsp),%rdi
  sub    $0x8,%rsp
  lea    0x78(%rsp),%rax
  push   %rax
  lea    0x90(%rsp),%r9
  lea    0x70(%rsp),%r8
  movsd  D107(%rip),%xmm2
  movq   %r14,%xmm0
  call   <gss5tar@plt>
  add    $0x10,%rsp
L69:
  movsd  D20(%rip),%xmm1
  movq   %r14,%xmm0
  call   <pow@plt>
  mulsd  D27(%rip),%xmm0
  movsd  %xmm0,(%rsp)
  movsd  D4(%rip),%xmm1
  movq   %r14,%xmm0
  call   <pow@plt>
  mulsd  D67(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  movsd  D44(%rip),%xmm1
  movq   %r14,%xmm0
  call   <pow@plt>
  mulsd  D36(%rip),%xmm0
  movsd  %xmm0,0x20(%rsp)
L90:
  movq   %r13,%xmm6
  comisd 0x0(%rbp),%xmm6
  jbe    L17
  movq   %r15,%xmm1
  addsd  0x10(%rsp),%xmm1
  addsd  0x18(%rsp),%xmm1
  cmpq   $0x2,(%r12)
  je     L32
  lea    0x58(%rsp),%rcx
  lea    0x48(%rsp),%rdx
  lea    0x38(%rsp),%rsi
  lea    0x90(%rsp),%rdi
  sub    $0x8,%rsp
  lea    0x80(%rsp),%rax
  push   %rax
  lea    0x98(%rsp),%r9
  lea    0x78(%rsp),%r8
  movsd  D107(%rip),%xmm2
  movq   %r13,%xmm0
  call   <gss5tar@plt>
  add    $0x10,%rsp
L27:
  movsd  D20(%rip),%xmm1
  movq   %r13,%xmm0
  call   <pow@plt>
  mulsd  D27(%rip),%xmm0
  movsd  %xmm0,0x10(%rsp)
  movsd  D4(%rip),%xmm1
  movq   %r13,%xmm0
  call   <pow@plt>
  mulsd  D67(%rip),%xmm0
  movsd  %xmm0,0x18(%rsp)
  movsd  D44(%rip),%xmm1
  movq   %r13,%xmm0
  call   <pow@plt>
  movapd %xmm0,%xmm5
  mulsd  D36(%rip),%xmm5
L109:
  movsd  0x30(%rsp),%xmm3
  movsd  0x38(%rsp),%xmm1
  movsd  (%rsp),%xmm8
  movapd %xmm8,%xmm0
  mulsd  %xmm3,%xmm0
  movsd  0x10(%rsp),%xmm9
  movapd %xmm9,%xmm2
  mulsd  %xmm1,%xmm2
  addsd  %xmm2,%xmm0
  movsd  0x28(%rsp),%xmm10
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,(%rbx)
  movsd  0x40(%rsp),%xmm7
  movsd  0x8(%rsp),%xmm11
  movapd %xmm11,%xmm0
  mulsd  %xmm3,%xmm0
  movapd %xmm8,%xmm2
  mulsd  %xmm7,%xmm2
  addsd  %xmm2,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x8(%rbx)
  movsd  0x48(%rsp),%xmm6
  movsd  0x18(%rsp),%xmm12
  movapd %xmm12,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm9,%xmm2
  mulsd  %xmm6,%xmm2
  addsd  %xmm2,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x10(%rbx)
  movsd  0x50(%rsp),%xmm4
  movapd %xmm8,%xmm0
  mulsd  %xmm4,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x18(%rbx)
  movsd  0x58(%rsp),%xmm2
  movapd %xmm9,%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x28(%rbx)
  movapd %xmm11,%xmm0
  addsd  %xmm11,%xmm0
  mulsd  %xmm7,%xmm0
  mulsd  0x20(%rsp),%xmm3
  addsd  %xmm3,%xmm0
  movapd %xmm8,%xmm3
  mulsd  0x60(%rsp),%xmm3
  addsd  %xmm3,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x30(%rbx)
  movapd %xmm12,%xmm0
  addsd  %xmm12,%xmm0
  mulsd  %xmm6,%xmm0
  mulsd  %xmm5,%xmm1
  addsd  %xmm1,%xmm0
  movapd %xmm9,%xmm1
  mulsd  0x68(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x38(%rbx)
  movapd %xmm8,%xmm7
  movapd %xmm8,%xmm0
  mulsd  0x70(%rsp),%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x48(%rbx)
  movapd %xmm9,%xmm0
  mulsd  0x78(%rsp),%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x68(%rbx)
  mulsd  0x80(%rsp),%xmm7
  movapd %xmm7,%xmm0
  mulsd  %xmm11,%xmm4
  addsd  %xmm4,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0x78(%rbx)
  mulsd  0x88(%rsp),%xmm9
  movapd %xmm9,%xmm0
  mulsd  %xmm12,%xmm2
  addsd  %xmm2,%xmm0
  mulsd  %xmm10,%xmm0
  movsd  %xmm0,0xa0(%rbx)
  movq   $0x0,0x70(%rbx)
  movq   $0x0,0x20(%rbx)
  movq   $0x0,0x40(%rbx)
  movq   $0x0,0x80(%rbx)
  movq   $0x0,0x88(%rbx)
  movq   $0x0,0x90(%rbx)
  movq   $0x0,0x98(%rbx)
  movq   $0x0,0x50(%rbx)
  movq   $0x0,0x58(%rbx)
  movq   $0x0,0x60(%rbx)
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L52
  add    $0xc8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L50:
  lea    0x50(%rsp),%rcx
  lea    0x40(%rsp),%rdx
  lea    0x30(%rsp),%rsi
  lea    0x90(%rsp),%rdi
  sub    $0x8,%rsp
  lea    0x78(%rsp),%rax
  push   %rax
  lea    0x90(%rsp),%r9
  lea    0x70(%rsp),%r8
  movsd  D107(%rip),%xmm2
  movq   %r14,%xmm0
  call   <gss3tar@plt>
  add    $0x10,%rsp
  jmp    L69
L79:
  movq   $0x0,0x40(%rsp)
  movq   $0x0,0x50(%rsp)
  movq   $0x0,0x60(%rsp)
  movq   $0x0,0x80(%rsp)
  movq   $0x0,0x70(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x8(%rsp)
  movq   $0x0,(%rsp)
  jmp    L90
L32:
  lea    0x58(%rsp),%rcx
  lea    0x48(%rsp),%rdx
  lea    0x38(%rsp),%rsi
  lea    0x90(%rsp),%rdi
  sub    $0x8,%rsp
  lea    0x80(%rsp),%rax
  push   %rax
  lea    0x98(%rsp),%r9
  lea    0x78(%rsp),%r8
  movsd  D107(%rip),%xmm2
  movq   %r13,%xmm0
  call   <gss3tar@plt>
  add    $0x10,%rsp
  jmp    L27
L17:
  movq   $0x0,0x48(%rsp)
  movq   $0x0,0x58(%rsp)
  movq   $0x0,0x68(%rsp)
  movq   $0x0,0x88(%rsp)
  movq   $0x0,0x78(%rsp)
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm5,0x10(%rsp)
  jmp    L109
L52:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D107
type: f64
name: read_data
arguments: data_label: D20
type: byte[8]
name: read_data
arguments: data_label: D27
type: byte[8]
name: read_data
arguments: data_label: D4
type: byte[8]
name: read_data
arguments: data_label: D67
type: byte[8]
name: read_data
arguments: data_label: D44
type: byte[8]
name: read_data
arguments: data_label: D36
type: byte[8]

tool: D107: 0.004

tool: {"D20": [0x55,0x55,0x55,0x55,0x55,0x55,0xf5,0x3f]}

tool: {"D27": [0x18,0x95,0xb6,0xe8,0xdd,0xc6,0xed,0xbf]}

tool: {"D4": [0x55,0x55,0x55,0x55,0x55,0x55,0xd5,0x3f]}

tool: {"D67": [0x10,0x0e,0xcf,0x45,0xe9,0xd9,0xf3,0xbf]}

tool: {"D44": [0x55,0x55,0x55,0x55,0x55,0x55,0xe5,0xbf]}

tool: {"D36": [0x15,0x68,0x69,0xb2,0xe1,0x77,0xda,0xbf]}

assistant: ```c
void dft_xckernel_xb97_(double *rho_a, double *rho_b, double *ScalGGAXin, double *tol_rho, double *FX, long *max_pow_u, double *sol) {
  double ra = rho_a[0];
  double rb = rho_b[0];
  double ScalGGAX = *ScalGGAXin;
  double gaa = rho_a[1] + rho_a[2] + rho_a[3];
  double gbb = rho_b[1] + rho_b[2] + rho_b[3];
  double CX, CX43, CX49, ra43, ra13, rb43, rb13, raM23, rbM23;
  double exaa, exbb;
  double Gex_aa_ra, Gex_bb_rb, Gex_aa_gaa, Gex_bb_gbb;
  double Gex_aa_rara, Gex_bb_rbrb;
  double Gex_aa_gaagaa, Gex_bb_gbbgbb;
  double Gex_aa_ragaa, Gex_bb_rbgbb;
  double xss[5];
  double gamma_xss = 0.004;
  int i;
  for (i = 0; i <= *max_pow_u; i++) {
    xss[i] = sol[i * 3];
  }
  CX = 0.9305257363490993;
  CX43 = (4.0 / 3.0) * CX;
  CX49 = (4.0 / 9.0) * CX;
  if (ra > *tol_rho) {
    if (*max_pow_u == 2) {
      gss3tar(ra, gaa, gamma_xss, xss, &exaa, &Gex_aa_ra, &Gex_aa_gaa, &Gex_aa_rara, &Gex_aa_ragaa, &Gex_aa_gaagaa);
    } else {
      gss5tar(ra, gaa, gamma_xss, xss, &exaa, &Gex_aa_ra, &Gex_aa_gaa, &Gex_aa_rara, &Gex_aa_ragaa, &Gex_aa_gaagaa);
    }
    ra43 = -CX * pow(ra, (4.0 / 3.0));
    ra13 = -CX43 * pow(ra, (1.0 / 3.0));
    raM23 = -CX49 * pow(ra, (-2.0 / 3.0));
  } else {
    ra43 = 0.0;
    ra13 = 0.0;
    raM23 = 0.0;
    Gex_aa_ra = 0.0;
    Gex_aa_gaa = 0.0;
    Gex_aa_rara = 0.0;
    Gex_aa_ragaa = 0.0;
    Gex_aa_gaagaa = 0.0;
  }
  if (rb > *tol_rho) {
    if (*max_pow_u == 2) {
      gss3tar(rb, gbb, gamma_xss, xss, &exbb, &Gex_bb_rb, &Gex_bb_gbb, &Gex_bb_rbrb, &Gex_bb_rbgbb, &Gex_bb_gbbgbb);
    } else {
      gss5tar(rb, gbb, gamma_xss, xss, &exbb, &Gex_bb_rb, &Gex_bb_gbb, &Gex_bb_rbrb, &Gex_bb_rbgbb, &Gex_bb_gbbgbb);
    }
    rb43 = -CX * pow(rb, (4.0 / 3.0));
    rb13 = -CX43 * pow(rb, (1.0 / 3.0));
    rbM23 = -CX49 * pow(rb, (-2.0 / 3.0));
  } else {
    rb43 = 0.0;
    rb13 = 0.0;
    rbM23 = 0.0;
    Gex_bb_rb = 0.0;
    Gex_bb_gbb = 0.0;
    Gex_bb_rbrb = 0.0;
    Gex_bb_rbgbb = 0.0;
    Gex_bb_gbbgbb = 0.0;
  }
  FX[0] = ScalGGAX * (ra43 * exaa + rb43 * exbb);
  FX[1] = ScalGGAX * (ra13 * exaa + ra43 * Gex_aa_ra);
  FX[2] = ScalGGAX * (rb13 * exbb + rb43 * Gex_bb_rb);
  FX[3] = ScalGGAX * (ra43 * Gex_aa_gaa);
  FX[5] = ScalGGAX * (rb43 * Gex_bb_gbb);
  FX[6] = ScalGGAX * (raM23 * exaa + 2.0 * ra13 * Gex_aa_ra + ra43 * Gex_aa_rara);
  FX[7] = ScalGGAX * (rbM23 * exbb + 2.0 * rb13 * Gex_bb_rb + rb43 * Gex_bb_rbrb);
  FX[9] = ScalGGAX * (ra43 * Gex_aa_gaagaa);
  FX[13] = ScalGGAX * (rb43 * Gex_bb_gbbgbb);
  FX[15] = ScalGGAX * (ra13 * Gex_aa_gaa + ra43 * Gex_aa_ragaa);
  FX[20] = ScalGGAX * (rb13 * Gex_bb_gbb + rb43 * Gex_bb_rbgbb);
  FX[14] = 0.0;
  FX[4] = 0.0;
  FX[8] = 0.0;
  FX[16] = 0.0;
  FX[17] = 0.0;
  FX[18] = 0.0;
  FX[19] = 0.0;
  FX[10] = 0.0;
  FX[11] = 0.0;
  FX[12] = 0.0;
}
```