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

```asm
<stage_one>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,0x28(%rsp)
  mov    %rdx,0x20(%rsp)
  mov    %rcx,0x38(%rsp)
  mov    %r8d,0x14(%rsp)
  mov    0x80(%rsp),%r14
  mov    0x90(%rsp),%rbp
  lea    -0x1(%r8),%edx
  mov    %edx,0x34(%rsp)
  test   %edx,%edx
  jle    L68
  mov    %r8d,%eax
  mov    %r9,%r12
  sub    $0x2,%eax
  mov    %eax,0x10(%rsp)
  mov    %rsi,0x18(%rsp)
  movl   $0x0,0x30(%rsp)
  movq   $0x0,0x8(%rsp)
  jmp    L54
L44:
  mov    (%r12,%rbx,8),%rbp
  movsd  (%r14,%rbx,8),%xmm0
  subsd  (%r15),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  movq   %rbp,%xmm3
  mulsd  %xmm0,%xmm3
  movapd %xmm3,%xmm0
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  mov    %rbx,%rax
  add    $0x1,%rbx
  cmp    %rax,%r13
  jne    L44
  mov    0x90(%rsp),%rbp
L30:
  mov    0x10(%rsp),%eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  (%rsp),%xmm0
  divsd  %xmm1,%xmm0
  mov    0x20(%rsp),%rsi
  mov    0x8(%rsp),%rdi
  movsd  %xmm0,(%rsi,%rdi,1)
  add    $0x8,%rdi
  mov    %rdi,0x8(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x10(%rsp)
  addq   $0x8,0x18(%rsp)
  mov    0x14(%rsp),%edx
  add    %edx,0x30(%rsp)
  cmp    $0xffffffff,%eax
  je     L68
L54:
  movq   $0x0,0x0(%rbp)
  movq   $0x0,0x8(%rbp)
  mov    0x10(%rsp),%ecx
  lea    0x1(%rcx),%eax
  test   %eax,%eax
  jle    L64
  mov    %ecx,%r13d
  mov    0x30(%rsp),%ecx
  movslq %ecx,%rax
  mov    0x28(%rsp),%rdi
  lea    (%rdi,%rax,8),%rsi
  mov    %ecx,%eax
  add    0x14(%rsp),%eax
  cltq
  lea    (%rdi,%rax,8),%rcx
  mov    $0x0,%eax
L31:
  movsd  (%rsi,%rax,8),%xmm0
  movsd  (%rcx,%rax,8),%xmm1
  movsd  %xmm0,(%r12,%rax,8)
  movapd %xmm1,%xmm2
  divsd  %xmm0,%xmm2
  movsd  %xmm2,(%r14,%rax,8)
  addsd  0x0(%rbp),%xmm0
  movsd  %xmm0,0x0(%rbp)
  addsd  0x8(%rbp),%xmm1
  movsd  %xmm1,0x8(%rbp)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %rdx,%r13
  jne    L31
  mov    0x18(%rsp),%rax
  mov    %rax,%r15
  divsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
  movsd  0x0(%rbp),%xmm0
  mov    0x88(%rsp),%rax
  mov    0x8(%rsp),%rsi
  movsd  %xmm0,(%rax,%rsi,1)
  mov    $0x0,%ebx
  pxor   %xmm5,%xmm5
  movsd  %xmm5,(%rsp)
  mov    %rbp,0x90(%rsp)
  jmp    L44
L68:
  mov    0x14(%rsp),%r14d
  movslq %r14d,%rbx
  shl    $0x3,%rbx
  mov    0x20(%rsp),%r15
  mov    -0x18(%r15,%rbx,1),%r13
  lea    -0x20(%r15,%rbx,1),%r12
  movq   %r13,%xmm1
  movsd  (%r12),%xmm0
  call   <fmin@plt>
  movq   %xmm0,%rbp
  mov    $0x2,%edi
  movq   %r13,%xmm0
  call   <pow@plt>
  divsd  (%r12),%xmm0
  movq   %rbp,%xmm1
  call   <fmin@plt>
  mov    %r15,%rsi
  movsd  %xmm0,-0x10(%r15,%rbx,1)
  cmpl   $0x0,0x34(%rsp)
  jle    L17
  lea    -0x2(%r14),%ecx
  mov    $0x0,%eax
  mov    0x38(%rsp),%rdi
  mov    0x88(%rsp),%r8
L97:
  movsd  (%rsi,%rax,8),%xmm0
  divsd  (%r8,%rax,8),%xmm0
  movsd  %xmm0,(%rdi,%rax,8)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %rdx,%rcx
  jne    L97
L17:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L64:
  pxor   %xmm0,%xmm0
  divsd  %xmm0,%xmm0
  mov    0x18(%rsp),%rax
  movsd  %xmm0,(%rax)
  movsd  0x0(%rbp),%xmm0
  mov    0x88(%rsp),%rax
  mov    0x8(%rsp),%rdx
  movsd  %xmm0,(%rax,%rdx,1)
  pxor   %xmm6,%xmm6
  movsd  %xmm6,(%rsp)
  jmp    L30
```

assistant: ```c
void stage_one(double *vec, double *fact, double *sigmas, double *var_f, int p, double *Cik, double *Cik1_Cik, double *ECik, double *col_sums) {
  int j, m;
  double cik, cik_1, sigmacum;
  for (j = 0; j < p - 1; ++j) {
    col_sums[0] = 0.;
    col_sums[1] = 0., sigmacum = 0;
    for (m = 0; m < (p - (j + 1)); ++m) {
      cik = vec[(m + j * p)];
      cik_1 = vec[(m + (1 + j) * p)];
      Cik[m] = cik;
      Cik1_Cik[m] = cik_1 / cik;
      col_sums[0] += cik;
      col_sums[1] += cik_1;
    }
    fact[j] = col_sums[1] / col_sums[0];
    ECik[j] = col_sums[0];
    for (m = 0; m < (p - (j + 1)); ++m) {
      sigmacum += Cik[m] * pow((Cik1_Cik[m] - fact[j]), 2);
    }
    sigmas[j] = sigmacum / (p - j - 2);
  }
  sigmas[p - 2] = fmin(pow(sigmas[p - 3], 2) / sigmas[p - 4], fmin(sigmas[p - 4], sigmas[p - 3]));
  for (j = 0; j < p - 1; ++j) {
    var_f[j] = sigmas[j] / ECik[j];
  }
}
```