user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D10(%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    D130(%rip),%rbp
  call   <scanf@plt>
  movsd  0x30(%rsp),%xmm2
  movsd  D96(%rip),%xmm0
  movsd  D43(%rip),%xmm1
  movsd  0x28(%rsp),%xmm4
  mulsd  %xmm2,%xmm0
  movsd  D80(%rip),%xmm3
  mulsd  %xmm2,%xmm1
  mulsd  %xmm2,%xmm0
  mulsd  %xmm4,%xmm1
  addsd  %xmm1,%xmm0
  movsd  D112(%rip),%xmm1
  mulsd  %xmm4,%xmm1
  mulsd  %xmm4,%xmm1
  addsd  %xmm1,%xmm0
  movsd  D60(%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  D29(%rip),%xmm2
  addsd  %xmm1,%xmm0
  movsd  D59(%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  D29(%rip),%xmm2
  movsd  0x28(%rsp),%xmm5
  movsd  %xmm0,0x10(%rsp)
  movsd  D94(%rip),%xmm0
  mulsd  %xmm3,%xmm2
  mulsd  %xmm5,%xmm0
  mulsd  %xmm3,%xmm2
  mulsd  D38(%rip),%xmm3
  mulsd  %xmm5,%xmm0
  mulsd  %xmm5,%xmm3
  subsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm2
  addsd  D44(%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    L9
  add    $0x40,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L9:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D10
type_infered: string
name: unpack_data
arguments: data_tag: D130
type_infered: string
name: unpack_data
arguments: data_tag: D96
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D43
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D80
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D112
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D60
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D29
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D59
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D30
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D94
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D38
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D44
type_infered: byte[8]

tool: D10: %lf

tool: D130: %f


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

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

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

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

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

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

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

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

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

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

tool: {"D44": [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;
}
```