user: What would the C source look like for the assembly code provided here?

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D3(%rip),%rdi
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D95(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  lea    0x0(,%rax,8),%edi
  call   <malloc@plt>
  mov    %rax,%r12
  mov    0x14(%rsp),%eax
  lea    0x0(,%rax,8),%edi
  call   <malloc@plt>
  mov    %rax,0x8(%rsp)
  mov    0x14(%rsp),%eax
  lea    0x0(,%rax,8),%edi
  call   <malloc@plt>
  cmpl   $0x0,0x14(%rsp)
  jle    L42
  mov    %rax,%r14
  mov    %r12,%rbp
  mov    $0x0,%ebx
  lea    D48(%rip),%r15
  lea    D23(%rip),%r13
L124:
  mov    %ebx,%esi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D100(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D85(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r14,%rsi
  sub    %r12,%rsi
  add    %rbp,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%ebx
  mov    0x14(%rsp),%ecx
  add    $0x8,%rbp
  cmp    %ebx,%ecx
  jg     L124
  test   %ecx,%ecx
  jle    L42
  mov    %r12,%r8
  mov    $0x0,%esi
  movsd  D33(%rip),%xmm4
  mov    0x8(%rsp),%r9
  sub    %r12,%r9
  jmp    L107
L81:
  add    $0x1,%eax
  add    $0x8,%rdx
  cmp    %ecx,%eax
  je     L144
L13:
  cmp    %eax,%esi
  je     L81
  movsd  (%rdx),%xmm1
  movapd %xmm4,%xmm0
  subsd  %xmm1,%xmm0
  mulsd  %xmm0,%xmm2
  movsd  (%rdi),%xmm0
  subsd  %xmm1,%xmm0
  mulsd  %xmm0,%xmm3
  jmp    L81
L144:
  divsd  %xmm3,%xmm2
  movsd  %xmm2,(%r9,%r8,1)
  add    $0x1,%esi
  mov    0x14(%rsp),%ecx
  add    $0x8,%r8
  cmp    %esi,%ecx
  jle    L29
L107:
  movsd  D77(%rip),%xmm2
  movapd %xmm2,%xmm3
  test   %ecx,%ecx
  jle    L144
  mov    %r8,%rdi
  mov    %r12,%rdx
  movsd  D77(%rip),%xmm2
  movapd %xmm2,%xmm3
  mov    $0x0,%eax
  jmp    L13
L29:
  test   %ecx,%ecx
  jle    L108
  mov    %ecx,%ecx
  lea    (%r14,%rcx,8),%rcx
  mov    %r14,%rax
  pxor   %xmm1,%xmm1
  mov    0x8(%rsp),%rdx
  sub    %r14,%rdx
L60:
  movsd  (%rdx,%rax,1),%xmm0
  mulsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  add    $0x8,%rax
  cmp    %rax,%rcx
  jne    L60
L117:
  movapd %xmm1,%xmm0
  lea    D75(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D80(%rip),%rdi
  call   <system@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L67
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L108:
  pxor   %xmm1,%xmm1
  jmp    L117
L42:
  pxor   %xmm1,%xmm1
  jmp    L117
L67:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D3
datatype: string
name: read_data
arguments: label: D95
datatype: string
name: read_data
arguments: label: D48
datatype: string
name: read_data
arguments: label: D23
datatype: string
name: read_data
arguments: label: D100
datatype: string
name: read_data
arguments: label: D85
datatype: string
name: read_data
arguments: label: D33
datatype: f64
name: read_data
arguments: label: D77
datatype: f64
name: read_data
arguments: label: D75
datatype: string
name: read_data
arguments: label: D80
datatype: string

tool: D3: dame el numero de puntos: 

tool: D95: %d

tool: D48: DAME EL PUNTO %d POR DONDE QUIERES ESTIMAR:


tool: D23: %lf

tool: D100: x: 

tool: D85: y: 

tool: D33: 0.5

tool: D77: 1

tool: D75: estimacion--> Px= %lf


tool: D80: PAUSE

assistant: ```c
int main() {
  int i, j;
  int n;
  double *l;
  double *X;
  double *Y;
  double x = 0.5;
  double denom = 1;
  double numer = 1;
  double Px = 0;
  printf("dame el numero de puntos: ");
  scanf("%d", &n);
  X = (double *)malloc(n * sizeof(double));
  l = (double *)malloc(n * sizeof(double));
  Y = (double *)malloc(n * sizeof(double));
  for (i = 0; i < n; i++) {
    printf("DAME EL PUNTO %d POR DONDE QUIERES ESTIMAR:\n", i);
    printf("x: ");
    scanf("%lf", &X[i]);
    printf("y: ");
    scanf("%lf", &Y[i]);
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      if (i != j) {
        numer = numer * (x - X[j]);
        denom = denom * (X[i] - X[j]);
      }
    }
    l[i] = numer / denom;
    numer = 1;
    denom = 1;
  }
  for (i = 0; i < n; i++) {
    Px = Px + Y[i] * l[i];
  }
  printf("estimacion--> Px= %lf\n", Px);
  system("PAUSE");
  return 0;
}
```