user: Demonstrate the C code that generates the assembly output below:

```asm
<polinomial>:
  endbr64
  pxor   %xmm5,%xmm5
  sub    $0x28,%rsp
  cvtsi2sd %edx,%xmm5
  test   %edx,%edx
  jle    L13
  cmp    $0x1,%edx
  je     L123
  mov    %edx,%r10d
  pxor   %xmm2,%xmm2
  xor    %eax,%eax
  movapd %xmm2,%xmm4
  shr    %r10d
  movapd %xmm2,%xmm6
  movapd %xmm2,%xmm1
  shl    $0x4,%r10
  nopl   (%rax)
L32:
  movsd  (%rdi,%rax,1),%xmm0
  movupd (%rsi,%rax,1),%xmm7
  addsd  %xmm1,%xmm0
  movsd  0x8(%rdi,%rax,1),%xmm1
  addsd  %xmm0,%xmm1
  movsd  (%rsi,%rax,1),%xmm0
  addsd  %xmm4,%xmm0
  movsd  0x8(%rsi,%rax,1),%xmm4
  addsd  %xmm0,%xmm4
  movupd (%rdi,%rax,1),%xmm0
  add    $0x10,%rax
  mulpd  %xmm7,%xmm0
  movapd %xmm0,%xmm3
  unpckhpd %xmm0,%xmm0
  addsd  %xmm6,%xmm3
  movapd %xmm0,%xmm6
  addsd  %xmm3,%xmm6
  cmp    %rax,%r10
  jne    L32
  mov    %edx,%eax
  and    $0xfffffffe,%eax
  cmp    %eax,%edx
  je     L75
L65:
  cltq
  movsd  (%rdi,%rax,8),%xmm7
  movsd  (%rsi,%rax,8),%xmm0
  addsd  %xmm0,%xmm4
  mulsd  %xmm7,%xmm0
  addsd  %xmm7,%xmm1
  movapd %xmm4,%xmm3
  divsd  %xmm5,%xmm3
  addsd  %xmm6,%xmm0
  movapd %xmm4,%xmm6
  mulsd  %xmm1,%xmm6
  mulsd  %xmm5,%xmm0
  movapd %xmm0,%xmm4
  subsd  %xmm6,%xmm4
  movapd %xmm1,%xmm6
  mulsd  %xmm1,%xmm6
  subsd  %xmm6,%xmm0
  divsd  %xmm5,%xmm1
  movapd %xmm3,%xmm6
  divsd  %xmm0,%xmm4
  mulsd  %xmm4,%xmm1
  movsd  %xmm4,(%rcx)
  subsd  %xmm1,%xmm6
  movsd  %xmm6,(%r8)
  movsd  (%rcx),%xmm10
  cmp    $0x1,%edx
  je     L63
L78:
  mov    %edx,%ecx
  movapd %xmm3,%xmm9
  movapd %xmm10,%xmm8
  xor    %eax,%eax
  movapd %xmm6,%xmm7
  shr    %ecx
  unpcklpd %xmm9,%xmm9
  unpcklpd %xmm8,%xmm8
  unpcklpd %xmm7,%xmm7
  shl    $0x4,%rcx
  movapd %xmm2,%xmm5
  movapd %xmm2,%xmm4
  nopl   0x0(%rax,%rax,1)
L72:
  movupd (%rsi,%rax,1),%xmm0
  movapd %xmm0,%xmm1
  subpd  %xmm9,%xmm1
  mulpd  %xmm1,%xmm1
  addsd  %xmm1,%xmm4
  unpckhpd %xmm1,%xmm1
  addsd  %xmm1,%xmm4
  movupd (%rdi,%rax,1),%xmm1
  add    $0x10,%rax
  mulpd  %xmm8,%xmm1
  subpd  %xmm1,%xmm0
  subpd  %xmm7,%xmm0
  mulpd  %xmm0,%xmm0
  movapd %xmm0,%xmm1
  unpckhpd %xmm0,%xmm0
  addsd  %xmm5,%xmm1
  movapd %xmm0,%xmm5
  addsd  %xmm1,%xmm5
  cmp    %rcx,%rax
  jne    L72
  mov    %edx,%eax
  and    $0xfffffffe,%eax
  test   $0x1,%dl
  je     L129
L116:
  cltq
  mulsd  (%rdi,%rax,8),%xmm10
  movsd  (%rsi,%rax,8),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm3,%xmm1
  subsd  %xmm10,%xmm0
  mulsd  %xmm1,%xmm1
  subsd  %xmm6,%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm1,%xmm4
  addsd  %xmm0,%xmm5
L129:
  sub    $0x2,%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  %xmm5,%xmm0
  ucomisd %xmm0,%xmm2
  ja     L37
  sqrtsd %xmm0,%xmm0
L121:
  movsd  %xmm0,(%r9)
  movapd %xmm4,%xmm0
  mov    0x30(%rsp),%rax
  subsd  %xmm5,%xmm0
  divsd  %xmm4,%xmm0
  movsd  %xmm0,(%rax)
  add    $0x28,%rsp
  ret
  nopl   (%rax)
L63:
  xor    %eax,%eax
  movapd %xmm2,%xmm5
  movapd %xmm2,%xmm4
  jmp    L116
  nopl   0x0(%rax)
L75:
  mulsd  %xmm5,%xmm6
  movapd %xmm4,%xmm3
  mulsd  %xmm1,%xmm4
  divsd  %xmm5,%xmm3
  movapd %xmm6,%xmm0
  subsd  %xmm4,%xmm6
  movapd %xmm1,%xmm4
  mulsd  %xmm1,%xmm4
  subsd  %xmm4,%xmm0
  movapd %xmm6,%xmm4
  divsd  %xmm0,%xmm4
  movapd %xmm3,%xmm6
  divsd  %xmm5,%xmm1
  movsd  %xmm4,(%rcx)
  mulsd  %xmm4,%xmm1
  subsd  %xmm1,%xmm6
  movsd  %xmm6,(%r8)
  movsd  (%rcx),%xmm10
  jmp    L78
  nopw   0x0(%rax,%rax,1)
L13:
  pxor   %xmm2,%xmm2
  movapd %xmm2,%xmm0
  movapd %xmm2,%xmm4
  divsd  %xmm5,%xmm0
  mulsd  %xmm2,%xmm5
  divsd  %xmm5,%xmm5
  movsd  %xmm5,(%rcx)
  mulsd  %xmm0,%xmm5
  subsd  %xmm5,%xmm0
  movapd %xmm2,%xmm5
  movsd  %xmm0,(%r8)
  jmp    L129
L123:
  pxor   %xmm2,%xmm2
  xor    %eax,%eax
  movapd %xmm2,%xmm4
  movapd %xmm2,%xmm6
  movapd %xmm2,%xmm1
  jmp    L65
L37:
  mov    %r9,0x18(%rsp)
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm4,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x18(%rsp),%r9
  movsd  0x10(%rsp),%xmm5
  movsd  0x8(%rsp),%xmm4
  jmp    L121
```

assistant: ```c
void polinomial(double *x, double *y, int n, double *a1, double *a0, double *syx, double *r2) {
  double sumx = 0, sumxy = 0, st = 0, sumy = 0, sumx2 = 0, sr = 0, ym, xm;
  int i;
  for (i = 0; i < n; i++) {
    sumx = sumx + x[i];
    sumy = sumy + y[i];
    sumxy = sumxy + (x[i] * y[i]);
    sumx2 = sumx2 + (x[i] * y[i]);
  }
  xm = sumx / n;
  ym = sumy / n;
  *a1 = (n * sumxy - sumx * sumy) / (n * sumx2 - sumx * sumx);
  *a0 = ym - *a1 * xm;
  for (i = 0; i < n; i++) {
    st = st + ((y[i] - ym) * (y[i] - ym));
    sr = sr + ((y[i] - (*a1 * x[i]) - *a0) * (y[i] - (*a1 * x[i]) - *a0));
  }
  *syx = sqrt(sr * (n - 2));
  *r2 = (st - sr) / st;
}
```