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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0xd000(%rsp),%r11
L9:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L9
  sub    $0xb00,%rsp
  pxor   %xmm5,%xmm5
  mov    $0x1,%r12d
  movapd %xmm5,%xmm4
  movapd %xmm5,%xmm3
  mov    %fs:0x28,%rax
  mov    %rax,0xdaf8(%rsp)
  xor    %eax,%eax
  lea    0x1f70(%rsp),%rbx
  lea    0x30(%rsp),%r13
  mov    %rbx,%rbp
  nopl   0x0(%rax)
L58:
  pxor   %xmm1,%xmm1
  pxor   %xmm7,%xmm7
  cvtsi2sd %r12d,%xmm1
  divsd  D3(%rip),%xmm1
  ucomisd %xmm1,%xmm7
  movsd  %xmm1,-0x8(%r13,%r12,8)
  ja     L20
  movapd %xmm1,%xmm6
  sqrtsd %xmm6,%xmm6
L36:
  movsd  %xmm6,0x0(%rbp)
  movapd %xmm1,%xmm0
  add    $0x1,%r12
  add    $0x8,%rbp
  movsd  %xmm5,0x28(%rsp)
  movsd  %xmm4,0x20(%rsp)
  movsd  %xmm3,0x18(%rsp)
  movsd  %xmm6,0x10(%rsp)
  movsd  %xmm1,0x8(%rsp)
  call   <log@plt>
  movsd  0x8(%rsp),%xmm1
  movsd  %xmm0,0x1f38(%rbp)
  movsd  %xmm0,(%rsp)
  movapd %xmm1,%xmm0
  call   <exp@plt>
  movsd  0x10(%rsp),%xmm6
  movsd  (%rsp),%xmm2
  movsd  0x18(%rsp),%xmm3
  movsd  0x20(%rsp),%xmm4
  movsd  %xmm0,0x3e78(%rbp)
  movsd  0x28(%rsp),%xmm5
  addsd  %xmm6,%xmm3
  addsd  %xmm2,%xmm4
  addsd  %xmm0,%xmm5
  movsd  %xmm3,0x5db8(%rbp)
  movsd  %xmm4,0x7cf8(%rbp)
  movsd  %xmm5,0x9c38(%rbp)
  cmp    $0x65,%r12
  jne    L58
  lea    0x7d30(%rsp),%rdi
  mov    $0x64,%esi
  lea    0x320(%rbx),%r14
  call   <normalize@plt>
  lea    0x9c70(%rsp),%rdi
  mov    $0x64,%esi
  lea    D15(%rip),%r12
  call   <normalize@plt>
  lea    0xbbb0(%rsp),%rdi
  mov    $0x64,%esi
  lea    D18(%rip),%rbp
  call   <normalize@plt>
  nopl   0x0(%rax)
L48:
  mov    %r12,%rdi
  mov    $0x1,%eax
  add    $0x8,%rbx
  add    $0x8,%r13
  movsd  -0x8(%r13),%xmm0
  call   <printf@plt>
  movsd  0x3e78(%rbx),%xmm2
  movsd  -0x8(%rbx),%xmm0
  mov    %rbp,%rdi
  movsd  0x1f38(%rbx),%xmm1
  mov    $0x3,%eax
  call   <printf@plt>
  movsd  0x5db8(%rbx),%xmm0
  mov    %rbp,%rdi
  mov    $0x3,%eax
  movsd  0x9c38(%rbx),%xmm2
  movsd  0x7cf8(%rbx),%xmm1
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  cmp    %r14,%rbx
  jne    L48
  mov    0xdaf8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0xdb00,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L20:
  movapd %xmm1,%xmm0
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm4,0x10(%rsp)
  movsd  %xmm3,0x8(%rsp)
  movsd  %xmm1,(%rsp)
  call   <sqrt@plt>
  movsd  0x18(%rsp),%xmm5
  movsd  0x10(%rsp),%xmm4
  movsd  0x8(%rsp),%xmm3
  movsd  (%rsp),%xmm1
  movapd %xmm0,%xmm6
  jmp    L36
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D3
type_guessed: f32[2]
name: disassemble_data
arguments: tag: D15
type_guessed: string
name: disassemble_data
arguments: tag: D18
type_guessed: string

tool: {"D3": [0.0,3.390625]}

tool: D15: %g

tool: D18:  %g %g %g

assistant: ```c
int main(int argc, char *argv[]) {
  int i, j, npt;
  double x[1000], y[6][1000], sum0, sum1, sum2;
  npt = 100;
  if (npt >= 1000) {
    printf("npt=%d too large -or- MAXROW=%d too small\n", npt, 1000);
    exit(1);
  }
  sum0 = sum1 = sum2 = 0.0;
  for (i = 0; i < npt; i++) {
    x[i] = (double)(i + 1) / (double)npt;
    y[0][i] = sqrt(x[i]);
    y[1][i] = log(x[i]);
    y[2][i] = exp(x[i]);
    sum0 += y[0][i];
    sum1 += y[1][i];
    sum2 += y[2][i];
    y[3][i] = sum0;
    y[4][i] = sum1;
    y[5][i] = sum2;
  }
  normalize(y[3], npt);
  normalize(y[4], npt);
  normalize(y[5], npt);
  for (i = 0; i < npt; i++) {
    printf("%g", x[i]);
    printf(" %g %g %g", y[0][i], y[1][i], y[2][i]);
    printf(" %g %g %g", y[3][i], y[4][i], y[5][i]);
    printf("\n");
  }
  return 0;
}
```