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

```asm
<g2_c_para_3>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    $0x8,%ebx
  sub    $0x868,%rsp
  mov    %edi,0x44(%rsp)
  lea    0x90(%rsp),%r10
  lea    0xb0(%rsp),%r15
  mov    $0x4,%edi
  mov    %rsi,0x48(%rsp)
  mov    %r10,%rdx
  mov    %r15,%rcx
  lea    0x70(%rsp),%r14
  lea    0x88(%rsp),%r12
  lea    0xa8(%rsp),%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x858(%rsp)
  xor    %eax,%eax
  mov    %r10,0x8(%rsp)
  call   <g2_split@plt>
  mov    0x8(%rsp),%r10
  pxor   %xmm2,%xmm2
  movq   $0x0,0x70(%rsp)
L29:
  movsd  (%r10,%rbx,1),%xmm0
  movsd  (%r15,%rbx,1),%xmm1
  pxor   %xmm5,%xmm5
  subsd  (%r12,%rbx,1),%xmm0
  subsd  0x0(%rbp,%rbx,1),%xmm1
  mulsd  %xmm0,%xmm0
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm0
  ucomisd %xmm0,%xmm5
  ja     L123
  sqrtsd %xmm0,%xmm0
L120:
  addsd  %xmm0,%xmm2
  movsd  %xmm2,(%r14,%rbx,1)
  cmp    $0x18,%rbx
  je     L47
  add    $0x8,%rbx
  jmp    L29
L47:
  xor    %eax,%eax
  lea    0x5d0(%rsp),%r8
  movsd  0x80(%rsp),%xmm1
  divsd  D12(%rip),%xmm1
  nopl   0x0(%rax)
L154:
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%r8,%rax,8)
  add    $0x1,%rax
  cmp    $0x50,%rax
  jne    L154
  mov    %r10,%rdx
  mov    $0x50,%ecx
  mov    %r14,%rsi
  mov    $0x4,%edi
  lea    0xd0(%rsp),%r12
  mov    %r10,0x10(%rsp)
  lea    0x350(%rsp),%rbp
  mov    %r12,%r9
  mov    %r8,0x8(%rsp)
  call   <g2_c_newton@plt>
  mov    0x8(%rsp),%r8
  mov    %rbp,%r9
  mov    %r15,%rdx
  mov    $0x50,%ecx
  mov    %r14,%rsi
  mov    $0x4,%edi
  call   <g2_c_newton@plt>
  mov    0x10(%rsp),%r10
  mov    0x8(%rsp),%r8
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L1:
  movsd  (%r12,%rax,1),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,2)
  movsd  0x0(%rbp,%rax,1),%xmm0
  movsd  %xmm0,0x8(%r13,%rax,2)
  add    $0x8,%rax
  cmp    $0x280,%rax
  jne    L1
  cmpl   $0x4,0x44(%rsp)
  jle    L75
  mov    0x48(%rsp),%rsi
  lea    0x78(%rsp),%rcx
  movsd  D0(%rip),%xmm7
  mov    %r13,0x50(%rsp)
  mov    %rcx,0x38(%rsp)
  lea    0x500(%r13),%rbx
  lea    0x98(%rsp),%r11
  mov    %r10,%r13
  lea    0x10(%rsi),%rax
  movsd  %xmm7,0x28(%rsp)
  mov    %rax,0x8(%rsp)
  mov    0x44(%rsp),%eax
  sub    $0x5,%eax
  shl    $0x4,%rax
  lea    0x20(%rsi,%rax,1),%rax
  mov    %rax,0x30(%rsp)
  lea    0xb8(%rsp),%rax
  mov    %rax,%r10
  xchg   %ax,%ax
L67:
  mov    0x8(%rsp),%rsi
  mov    %r13,%rdx
  mov    %r15,%rcx
  mov    $0x4,%edi
  mov    %r8,0x20(%rsp)
  mov    %r11,0x18(%rsp)
  mov    %r10,0x10(%rsp)
  call   <g2_split@plt>
  mov    0x10(%rsp),%r10
  mov    0x38(%rsp),%rdx
  xor    %eax,%eax
  mov    0x18(%rsp),%r11
  mov    0x20(%rsp),%r8
L90:
  movsd  (%r11,%rax,1),%xmm0
  movsd  (%r10,%rax,1),%xmm1
  pxor   %xmm3,%xmm3
  subsd  0x0(%r13,%rax,1),%xmm0
  subsd  (%r15,%rax,1),%xmm1
  movsd  (%r14,%rax,1),%xmm2
  mulsd  %xmm0,%xmm0
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm0
  ucomisd %xmm0,%xmm3
  ja     L117
  sqrtsd %xmm0,%xmm0
L53:
  addsd  %xmm2,%xmm0
  movsd  %xmm0,(%rdx,%rax,1)
  add    $0x8,%rax
  cmp    $0x18,%rax
  jne    L90
  movsd  0x78(%rsp),%xmm2
  xor    %eax,%eax
  movsd  0x80(%rsp),%xmm1
  subsd  %xmm2,%xmm1
  divsd  0x28(%rsp),%xmm1
  nopl   (%rax)
L55:
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  %xmm2,%xmm0
  movsd  %xmm0,(%r8,%rax,8)
  add    $0x1,%rax
  cmp    $0x28,%rax
  jne    L55
  mov    %r12,%r9
  mov    $0x28,%ecx
  mov    %r13,%rdx
  mov    %r14,%rsi
  mov    $0x4,%edi
  mov    %r10,0x20(%rsp)
  mov    %r11,0x18(%rsp)
  mov    %r8,0x10(%rsp)
  call   <g2_c_newton@plt>
  mov    0x10(%rsp),%r8
  mov    %rbp,%r9
  mov    %r15,%rdx
  mov    $0x28,%ecx
  mov    %r14,%rsi
  mov    $0x4,%edi
  call   <g2_c_newton@plt>
  mov    0x20(%rsp),%r10
  mov    0x18(%rsp),%r11
  xor    %eax,%eax
  mov    0x10(%rsp),%r8
  nopl   (%rax)
L108:
  movsd  (%r12,%rax,1),%xmm0
  movsd  %xmm0,(%rbx,%rax,2)
  movsd  0x0(%rbp,%rax,1),%xmm0
  movsd  %xmm0,0x8(%rbx,%rax,2)
  add    $0x8,%rax
  cmp    $0x140,%rax
  jne    L108
  addq   $0x10,0x8(%rsp)
  add    $0x280,%rbx
  mov    0x8(%rsp),%rax
  cmp    %rax,0x30(%rsp)
  jne    L67
  mov    %r13,%r10
  mov    0x50(%rsp),%r13
L148:
  movsd  0x80(%rsp),%xmm2
  xor    %eax,%eax
  movsd  0x88(%rsp),%xmm1
  subsd  %xmm2,%xmm1
  divsd  0x28(%rsp),%xmm1
  cs nopw 0x0(%rax,%rax,1)
L165:
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  %xmm2,%xmm0
  movsd  %xmm0,(%r8,%rax,8)
  add    $0x1,%rax
  cmp    $0x28,%rax
  jne    L165
  mov    %r10,%rdx
  mov    %r12,%r9
  mov    $0x28,%ecx
  mov    %r14,%rsi
  mov    $0x4,%edi
  mov    %r8,0x8(%rsp)
  call   <g2_c_newton@plt>
  mov    0x8(%rsp),%r8
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    $0x28,%ecx
  mov    %rbp,%r9
  mov    $0x4,%edi
  call   <g2_c_newton@plt>
  mov    0x44(%rsp),%eax
  lea    -0xa(%rax,%rax,4),%ecx
  xor    %eax,%eax
  shl    $0x4,%ecx
  movslq %ecx,%rcx
  lea    0x0(,%rcx,8),%rsi
  lea    0x0(%r13,%rsi,1),%rdx
  nopw   0x0(%rax,%rax,1)
L97:
  movsd  (%r12,%rax,1),%xmm0
  movsd  %xmm0,(%rdx,%rax,2)
  movsd  0x0(%rbp,%rax,1),%xmm0
  movsd  %xmm0,0x8(%rdx,%rax,2)
  add    $0x8,%rax
  cmp    $0x140,%rax
  jne    L97
  mov    0x44(%rsp),%eax
  mov    0x48(%rsp),%rdi
  add    %eax,%eax
  cltq
  shl    $0x3,%rax
  movsd  -0x10(%rdi,%rax,1),%xmm0
  movsd  %xmm0,0x280(%r13,%rsi,1)
  movsd  -0x8(%rdi,%rax,1),%xmm0
  movsd  %xmm0,0x288(%r13,%rcx,8)
  mov    0x858(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L68
  add    $0x868,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L75:
  movsd  D0(%rip),%xmm7
  movsd  %xmm7,0x28(%rsp)
  jmp    L148
L117:
  mov    %r8,0x68(%rsp)
  mov    %r11,0x60(%rsp)
  mov    %rdx,0x58(%rsp)
  mov    %r10,0x20(%rsp)
  mov    %rax,0x18(%rsp)
  movsd  %xmm2,0x10(%rsp)
  call   <sqrt@plt>
  mov    0x68(%rsp),%r8
  mov    0x60(%rsp),%r11
  mov    0x58(%rsp),%rdx
  mov    0x20(%rsp),%r10
  mov    0x18(%rsp),%rax
  movsd  0x10(%rsp),%xmm2
  jmp    L53
L123:
  mov    %r10,0x10(%rsp)
  movsd  %xmm2,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x10(%rsp),%r10
  movsd  0x8(%rsp),%xmm2
  jmp    L120
L68:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D12
type: f32[2]
name: disassemble_data
arguments: data_label: D0
type: f32[2]

tool: {"D12": [0.0,3.3125]}

tool: {"D0": [0.0,3.0625]}

assistant: ```c
void g2_c_para_3(int n, const double *points, int m, double *sxy) {
  int i, j;
  double x1t, y1t;
  double o, step;
  double X[(40 * 2)];
  double Y[(40 * 2)];
  double t[(3 + 1)];
  double Xpts[(3 + 1)];
  double Ypts[(3 + 1)];
  double s[(40 * 2)];
  m = m;
  g2_split((3 + 1), points, Xpts, Ypts);
  t[0] = 0.;
  for (i = 1; i < (3 + 1); i++) {
    x1t = Xpts[i] - Xpts[i - 1];
    y1t = Ypts[i] - Ypts[i - 1];
    t[i] = t[i - 1] + sqrt(x1t * x1t + y1t * y1t);
  }
  step = t[2] / (40 * 2);
  for (i = 0; i < (40 * 2); i++)
    s[i] = i * step;
  g2_c_newton((3 + 1), t, Xpts, (40 * 2), s, X);
  g2_c_newton((3 + 1), t, Ypts, (40 * 2), s, Y);
  for (i = 0; i < (40 * 2); i++) {
    sxy[i + i] = X[i];
    sxy[i + i + 1] = Y[i];
  }
  for (j = 1; j < n - (3 + 1) + 1; j++) {
    g2_split((3 + 1), points + j + j, Xpts, Ypts);
    for (i = 1; i < (3 + 1); i++) {
      x1t = Xpts[i] - Xpts[i - 1];
      y1t = Ypts[i] - Ypts[i - 1];
      t[i] = t[i - 1] + sqrt(x1t * x1t + y1t * y1t);
    }
    o = t[1];
    step = (t[2] - o) / 40;
    for (i = 0; i < 40; i++)
      s[i] = i * step + o;
    g2_c_newton((3 + 1), t, Xpts, 40, s, X);
    g2_c_newton((3 + 1), t, Ypts, 40, s, Y);
    for (i = 0; i < 40; i++) {
      sxy[(j + 1) * (40 * 2) + i + i] = X[i];
      sxy[(j + 1) * (40 * 2) + i + i + 1] = Y[i];
    }
  }
  o = t[2];
  step = (t[3] - o) / 40;
  for (i = 0; i < 40; i++)
    s[i] = i * step + o;
  g2_c_newton((3 + 1), t, Xpts, 40, s, X);
  g2_c_newton((3 + 1), t, Ypts, 40, s, Y);
  for (i = 0; i < 40; i++) {
    sxy[(n - (3 + 1) + 2) * (40 * 2) + i + i] = X[i];
    sxy[(n - (3 + 1) + 2) * (40 * 2) + i + i + 1] = Y[i];
  }
  sxy[(n - 1) * (40 * 2)] = points[n + n - 2];
  sxy[(n - 1) * (40 * 2) + 1] = points[n + n - 1];
}
```