user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D50(%rip),%rbp
  mov    %rbp,%rdi
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x30(%rsp),%rsi
  call   <scanf@plt>
  lea    0x28(%rsp),%rsi
  mov    %rbp,%rdi
  lea    D13(%rip),%rbp
  call   <scanf@plt>
  movsd  0x30(%rsp),%xmm2
  movsd  D97(%rip),%xmm0
  movsd  D25(%rip),%xmm1
  movsd  0x28(%rsp),%xmm4
  mulsd  %xmm2,%xmm0
  movsd  D73(%rip),%xmm3
  mulsd  %xmm2,%xmm1
  mulsd  %xmm2,%xmm0
  mulsd  %xmm4,%xmm1
  addsd  %xmm1,%xmm0
  movsd  D63(%rip),%xmm1
  mulsd  %xmm4,%xmm1
  mulsd  %xmm4,%xmm1
  addsd  %xmm1,%xmm0
  movsd  D33(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  mulsd  %xmm3,%xmm0
  mulsd  %xmm4,%xmm1
  divsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm3
  mulsd  %xmm2,%xmm3
  mulsd  %xmm2,%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  D42(%rip),%xmm2
  addsd  %xmm1,%xmm0
  movsd  D96(%rip),%xmm1
  mulsd  %xmm4,%xmm2
  mulsd  %xmm4,%xmm1
  subsd  %xmm2,%xmm3
  mulsd  %xmm4,%xmm1
  addsd  %xmm0,%xmm1
  movsd  D30(%rip),%xmm0
  mulsd  %xmm4,%xmm0
  movsd  %xmm1,0x18(%rsp)
  mulsd  %xmm4,%xmm0
  addsd  %xmm0,%xmm3
  cvttsd2si %xmm3,%edi
  call   <tanh@plt>
  movsd  0x30(%rsp),%xmm3
  movsd  D42(%rip),%xmm2
  movsd  0x28(%rsp),%xmm5
  movsd  %xmm0,0x10(%rsp)
  movsd  D131(%rip),%xmm0
  mulsd  %xmm3,%xmm2
  mulsd  %xmm5,%xmm0
  mulsd  %xmm3,%xmm2
  mulsd  D51(%rip),%xmm3
  mulsd  %xmm5,%xmm0
  mulsd  %xmm5,%xmm3
  subsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm2
  addsd  D91(%rip),%xmm2
  cvttsd2si %xmm2,%edi
  call   <log@plt>
  mov    $0xa,%edi
  movsd  %xmm0,0x8(%rsp)
  call   <log@plt>
  movsd  0x8(%rsp),%xmm2
  movsd  0x18(%rsp),%xmm1
  mov    %rbp,%rdi
  divsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,0x8(%rsp)
  call   <printf@plt>
  movsd  0x10(%rsp),%xmm4
  mov    %rbp,%rdi
  movapd %xmm4,%xmm0
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm2
  mov    %rbp,%rdi
  movapd %xmm2,%xmm0
  call   <printf@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0x40,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D50
type_infered: string
name: read_data
arguments: data_label: D13
type_infered: string
name: read_data
arguments: data_label: D97
type_infered: byte[8]
name: read_data
arguments: data_label: D25
type_infered: byte[8]
name: read_data
arguments: data_label: D73
type_infered: byte[8]
name: read_data
arguments: data_label: D63
type_infered: byte[8]
name: read_data
arguments: data_label: D33
type_infered: byte[8]
name: read_data
arguments: data_label: D42
type_infered: byte[8]
name: read_data
arguments: data_label: D96
type_infered: byte[8]
name: read_data
arguments: data_label: D30
type_infered: byte[8]
name: read_data
arguments: data_label: D131
type_infered: byte[8]
name: read_data
arguments: data_label: D51
type_infered: byte[8]
name: read_data
arguments: data_label: D91
type_infered: byte[8]

tool: D50: %lf

tool: D13: %f


tool: {"D97": [0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x40]}

tool: {"D25": [0x00,0x00,0x00,0x00,0x00,0x80,0x43,0x40]}

tool: {"D73": [0x00,0x00,0x00,0x00,0x00,0x00,0x22,0x40]}

tool: {"D63": [0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x40]}

tool: {"D33": [0x00,0x00,0x00,0x00,0x00,0x80,0x4d,0x40]}

tool: {"D42": [0x00,0x00,0x00,0x00,0x00,0x00,0x2c,0x40]}

tool: {"D96": [0x00,0x00,0x00,0x00,0x00,0x00,0x3e,0x40]}

tool: {"D30": [0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x40]}

tool: {"D131": [0x00,0x00,0x00,0x00,0x00,0x00,0x4b,0x40]}

tool: {"D51": [0x00,0x00,0x00,0x00,0x00,0xc0,0x52,0x40]}

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

assistant: ```c
int main() {
  double G, F, Y, x, a;
  scanf("%lf", &a);
  scanf("%lf", &x);
  G = ((9 * (7 * a * a + 39 * a * x + 20 * x * x)) / 9 * a * a + 59 * a * x + 30 * x * x);
  F = (tanh(9 * a * a - 14 * a * x + 5 * x * x));
  Y = (log(14 * a * a - 75 * a * x + 54 * x * x + 1) / log(10));
  printf("%f\n", G);
  printf("%f\n", F);
  printf("%f\n", Y);
  return 0;
}
```