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

```asm
<Aw>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x48,%rsp
  movsd  %xmm0,-0x28(%rbp)
  movsd  %xmm1,-0x30(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Cg@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x30(%rbp),%xmm1
  movsd  -0x30(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  subsd  %xmm0,%xmm1
  movsd  %xmm1,-0x38(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <m0@plt>
  mov    %eax,%ebx
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Cg@plt>
  imul   %ebx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  -0x38(%rbp),%xmm1
  subsd  %xmm0,%xmm1
  movsd  %xmm1,-0x38(%rbp)
  movsd  -0x30(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    D14(%rip),%rdx
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Cg@plt>
  mov    %eax,%edx
  mov    D14(%rip),%rax
  movq   %rax,%xmm0
  mov    %edx,%edi
  call   <pow@plt>
  movapd %xmm0,%xmm3
  mulsd  -0x40(%rbp),%xmm3
  movsd  %xmm3,-0x40(%rbp)
  movsd  -0x30(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Cg@plt>
  mov    %eax,%edx
  mov    D14(%rip),%rax
  movq   %rax,%xmm0
  mov    %edx,%edi
  call   <pow@plt>
  movapd %xmm0,%xmm5
  mulsd  -0x48(%rbp),%xmm5
  movsd  %xmm5,-0x48(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <m0@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  movsd  -0x40(%rbp),%xmm3
  subsd  %xmm0,%xmm3
  movsd  %xmm3,-0x40(%rbp)
  movsd  -0x30(%rbp),%xmm1
  movsd  D81(%rip),%xmm0
  movapd %xmm1,%xmm6
  mulsd  %xmm0,%xmm6
  movsd  %xmm6,-0x48(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <m0@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Cg@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  addsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <m0@plt>
  mov    %eax,%edx
  mov    D14(%rip),%rax
  movq   %rax,%xmm0
  mov    %edx,%edi
  call   <pow@plt>
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Cg@plt>
  mov    %eax,%edx
  mov    D14(%rip),%rax
  movq   %rax,%xmm0
  mov    %edx,%edi
  call   <pow@plt>
  mulsd  -0x48(%rbp),%xmm0
  addsd  -0x40(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    D78(%rip),%rdx
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D78(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  divsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Cg@plt>
  sub    $0x1,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  -0x38(%rbp),%xmm2
  divsd  %xmm0,%xmm2
  movsd  %xmm2,-0x38(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Kk@plt>
  movapd %xmm0,%xmm1
  movsd  -0x38(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x18(%rbp),%xmm0
  movsd  D53(%rip),%xmm1
  comisd %xmm1,%xmm0
  jbe    L13
  movsd  D53(%rip),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  jmp    L7
L13:
  movsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
L7:
  movsd  -0x20(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D14
type_infered: byte[8]
name: disassemble_data
arguments: data_label: D81
type_infered: byte[8]
name: disassemble_data
arguments: data_label: D78
type_infered: byte[8]
name: disassemble_data
arguments: data_label: D53
type_infered: byte[8]

tool: {"D14": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40]}

tool: {"D81": [0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x40]}

tool: {"D78": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: {"D53": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

assistant: ```c
double Aw(double T, double xw) {
  double x, xx;
  xx = .5 * (xw * Cg(T) - 2 * xw - m0(T) * Cg(T) + pow(pow(xw, 2) * pow(Cg(T), 2) - 2 * xw * pow(Cg(T), 2) * m0(T) + 4 * xw * m0(T) * Cg(T) + pow(m0(T), 2) * pow(Cg(T), 2), .5)) / xw / (Cg(T) - 1) / Kk(T);
  if (xx > 1)
    x = 1;
  else
    x = xx;
  return x;
}
```