user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %edi,%ebx
  lea    D26(%rip),%rdi
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  lea    0x10(%rsp),%rsi
  lea    D47(%rip),%rdi
  call   <scanf@plt>
  cmp    $0x1,%eax
  je     L46
  cmp    $0x2,%ebx
  je     L35
  sub    $0x1,%eax
  je     L46
  lea    D136(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %edi,%edi
  call   <exit@plt>
L46:
  movsd  0x10(%rsp),%xmm1
  movsd  D52(%rip),%xmm3
  mov    $0x1,%eax
  lea    D58(%rip),%rdi
  movapd %xmm1,%xmm0
  subsd  D59(%rip),%xmm0
  addsd  %xmm1,%xmm3
  mulsd  %xmm1,%xmm0
  addsd  D103(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  subsd  D10(%rip),%xmm0
  movsd  %xmm0,(%rsp)
  movapd %xmm3,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm2
  subsd  D38(%rip),%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,0x8(%rsp)
  call   <printf@plt>
  movsd  (%rsp),%xmm0
  mov    $0x1,%eax
  lea    D0(%rip),%rdi
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm0
  mov    $0x1,%eax
  lea    D117(%rip),%rdi
  call   <printf@plt>
  movsd  (%rsp),%xmm4
  mov    $0x1,%eax
  divsd  0x8(%rsp),%xmm4
  lea    D74(%rip),%rdi
  movapd %xmm4,%xmm0
  call   <printf@plt>
  movsd  D85(%rip),%xmm0
  call   <ceil@plt>
  mov    %eax,%edi
  call   <floor@plt>
  lea    D82(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  ret
L35:
  mov    0x8(%rbp),%rdi
  call   <atoi@plt>
  movsd  %xmm0,0x10(%rsp)
  jmp    L46
L26:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D26
data_type: string
name: parse_data
arguments: data_label: D47
data_type: string
name: parse_data
arguments: data_label: D136
data_type: string
name: parse_data
arguments: data_label: D52
data_type: f64
name: parse_data
arguments: data_label: D58
data_type: string
name: parse_data
arguments: data_label: D59
data_type: byte[8]
name: parse_data
arguments: data_label: D103
data_type: byte[8]
name: parse_data
arguments: data_label: D10
data_type: f64
name: parse_data
arguments: data_label: D38
data_type: f64
name: parse_data
arguments: data_label: D0
data_type: string
name: parse_data
arguments: data_label: D117
data_type: string
name: parse_data
arguments: data_label: D74
data_type: string
name: parse_data
arguments: data_label: D85
data_type: f64
name: parse_data
arguments: data_label: D82
data_type: string

tool: D26: 
Please Input x value:


tool: D47: %lf

tool: D136: ERROR: inputs

tool: D52: 0.05005

tool: D58: 
x value = %g


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

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

tool: D10: 6.3

tool: D38: 3.14

tool: D0: f1(x) = %g 

tool: D117:  f2(x) = %g


tool: D74: f(x) = %g


tool: D85: 10.8

tool: D82: floor %g


assistant: ```c
int main(int argc, char *argv[]) {
  double f, f1, f2, x;
  int s;
  printf("\nPlease Input x value:\n\n");
  s = scanf("%lf", &x);
  if (s != 1 && argc == 2) {
    x = atoi(argv[1]);
  } else if (s != 1) {
    printf("ERROR: inputs");
    exit(0);
  }
  f1 = ((x - 2) * x + 1) * x - 6.3;
  f2 = (x + 0.05005) * x - 3.14;
  f = f1 / f2;
  printf("\nx value = %g\n", x);
  printf("f1(x) = %g ", f1);
  printf(" f2(x) = %g\n", f2);
  printf("f(x) = %g\n", f);
  printf("floor %g\n", floor(ceil(10.8)));
  return 0;
}
```