user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    $0x0,%eax
  call   <read_degree@plt>
  mov    %eax,-0x3c(%rbp)
  mov    -0x3c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x38(%rbp)
  movl   $0x0,-0x40(%rbp)
  movl   $0x96,-0x34(%rbp)
  mov    -0x38(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x30(%rbp)
  mov    -0x38(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movl   $0x0,-0x40(%rbp)
  jmp    L7
L50:
  mov    -0x40(%rbp),%eax
  mov    %eax,%esi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  mov    $0x0,%eax
  call   <read_number@plt>
  movq   %xmm0,%rax
  mov    %rax,(%rbx)
  addl   $0x1,-0x40(%rbp)
L7:
  mov    -0x40(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L50
  mov    $0xa,%edi
  call   <putchar@plt>
  movl   $0x0,-0x40(%rbp)
  jmp    L0
L57:
  mov    -0x40(%rbp),%eax
  mov    %eax,%esi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  mov    $0x0,%eax
  call   <read_number@plt>
  movq   %xmm0,%rax
  mov    %rax,(%rbx)
  addl   $0x1,-0x40(%rbp)
L0:
  mov    -0x40(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L57
  mov    -0x28(%rbp),%rdx
  mov    -0x30(%rbp),%rcx
  mov    -0x38(%rbp),%eax
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <difdiv@plt>
  mov    -0x38(%rbp),%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <print_vector@plt>
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x30(%rbp),%rax
  movsd  (%rax),%xmm1
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x34(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x0,-0x40(%rbp)
  jmp    L54
L31:
  mov    -0x30(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x40(%rbp),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rsi
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%rcx
  mov    -0x38(%rbp),%eax
  movq   %rsi,%xmm0
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <horner@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x40(%rbp),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movsd  -0x18(%rbp),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  addl   $0x1,-0x40(%rbp)
L54:
  mov    -0x40(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jle    L31
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D2
type_guessed: string
name: parse_data
arguments: data_tag: D1
type_guessed: string
name: parse_data
arguments: data_tag: D3
type_guessed: string
name: parse_data
arguments: data_tag: D46
type_guessed: string
name: parse_data
arguments: data_tag: D14
type_guessed: string

tool: D2: x%d = 

tool: D1: f%d = 

tool: D3: 


tool: D46: x        p(x)

tool: D14: %8lf %8lf


assistant: ```c
int main() {
  int n = read_degree();
  int m = n + 1;
  int i = 0;
  int h = 150;
  double *x = malloc(sizeof(double) * m);
  double *f = malloc(sizeof(double) * m);
  double delta = 0;
  double p_z = 0;
  for (i = 0; i < m; i++) {
    printf("x%d = ", i);
    x[i] = read_number();
  }
  printf("\n");
  for (i = 0; i < m; i++) {
    printf("f%d = ", i);
    f[i] = read_number();
  }
  difdiv(m, x, f);
  print_vector(f, m);
  printf("\n\n");
  printf("x        p(x)\n");
  delta = (x[n] - x[0]) / h;
  for (i = 0; i <= h; i++) {
    p_z = horner(m, f, x, x[0] + i * delta);
    printf("%8lf %8lf\n", x[0] + i * delta, p_z);
  }
  free(x);
  free(f);
  return 0;
}
```