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

```asm
<project_2>:
  endbr64
  push   %r15
  movslq %edx,%rax
  movaps %xmm4,%xmm5
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %r9,%rbp
  push   %rbx
  mov    %rsi,%rbx
  movslq %r8d,%rsi
  sub    $0x58,%rsp
  mov    0x90(%rsp),%rdx
  movss  %xmm0,0x2c(%rsp)
  movss  %xmm1,0x18(%rsp)
  mov    %rdx,0x20(%rsp)
  movss  %xmm6,0x1c(%rsp)
  movss  %xmm7,0x28(%rsp)
  mov    %fs:0x28,%rdx
  mov    %rdx,0x48(%rsp)
  xor    %edx,%edx
  test   %ecx,%ecx
  cmovns %ecx,%edx
  lea    -0x1(%rax),%ecx
  cmp    %r8d,%eax
  movslq %ecx,%rcx
  cmovg  %rsi,%rcx
  movslq %edx,%rdx
  mov    %rdx,%r12
  mov    %rcx,0x10(%rsp)
  test   %rax,%rax
  jle    L295
  lea    -0x1(%rax),%rsi
  cmp    $0x2,%rsi
  jbe    L36
  mov    %rax,%r8
  mov    %rdi,%rcx
  shufps $0x0,%xmm0,%xmm0
  shr    $0x2,%r8
  shl    $0x4,%r8
  add    %rdi,%r8
  nop
L21:
  movups %xmm0,(%rcx)
  add    $0x10,%rcx
  cmp    %r8,%rcx
  jne    L21
  mov    %rax,%rcx
  and    $0xfffffffffffffffc,%rcx
  cmp    %rcx,%rax
  je     L175
L232:
  movss  0x2c(%rsp),%xmm1
  lea    0x1(%rcx),%r9
  lea    0x0(,%rcx,4),%r8
  movss  %xmm1,(%rdi,%rcx,4)
  cmp    %r9,%rax
  jle    L151
  add    $0x2,%rcx
  movss  %xmm1,0x4(%rdi,%r8,1)
  cmp    %rcx,%rax
  jle    L151
  movss  %xmm1,0x8(%rdi,%r8,1)
L151:
  test   %rbx,%rbx
  je     L295
  cmp    $0x2,%rsi
  jbe    L277
L42:
  mov    %rax,%rsi
  movaps D5(%rip),%xmm0
  mov    %rbx,%rcx
  shr    $0x2,%rsi
  shl    $0x4,%rsi
  add    %rbx,%rsi
  cs nopw 0x0(%rax,%rax,1)
L85:
  movups %xmm0,(%rcx)
  add    $0x10,%rcx
  cmp    %rsi,%rcx
  jne    L85
  mov    %rax,%rcx
  and    $0xfffffffffffffffc,%rcx
  test   $0x3,%al
  je     L295
L32:
  movss  D5(%rip),%xmm0
  lea    0x1(%rcx),%r8
  lea    0x0(,%rcx,4),%rsi
  movss  %xmm0,(%rbx,%rcx,4)
  cmp    %rax,%r8
  jge    L295
  add    $0x2,%rcx
  movss  %xmm0,0x4(%rbx,%rsi,1)
  cmp    %rax,%rcx
  jge    L295
  movss  %xmm0,0x8(%rbx,%rsi,1)
L295:
  cmp    %rdx,0x10(%rsp)
  jl     L53
  lea    (%rdi,%rdx,4),%r13
  lea    0x3c(%rsp),%r15
  movaps %xmm3,%xmm4
  lea    0x38(%rsp),%r14
  jmp    L111
  nopl   0x0(%rax,%rax,1)
L77:
  lea    0x44(%rsp),%rax
  mov    %r15,%r9
  mov    %r14,%r8
  mov    %rbp,%rdi
  push   %rax
  lea    0x48(%rsp),%rax
  push   %rax
  movss  0x38(%rsp),%xmm0
  mov    0x30(%rsp),%rsi
  mov    0xb0(%rsp),%ecx
  movss  0xb8(%rsp),%xmm1
  mov    0xa8(%rsp),%edx
  movss  %xmm5,0x1c(%rsp)
  movss  %xmm4,0x18(%rsp)
  movss  %xmm2,0x14(%rsp)
  call   <Isum2ldwE@plt>
  movss  0x28(%rsp),%xmm6
  movss  0x48(%rsp),%xmm0
  mulss  %xmm6,%xmm0
  movss  %xmm0,0x0(%r13)
  movss  0x50(%rsp),%xmm0
  pop    %rdx
  pop    %rcx
  mov    0xb0(%rsp),%esi
  mulss  %xmm6,%xmm0
  movss  0x4(%rsp),%xmm2
  movss  0x8(%rsp),%xmm4
  test   %esi,%esi
  movss  0xc(%rsp),%xmm5
  mulss  %xmm6,%xmm0
  movss  %xmm0,(%rbx,%r12,4)
  jne    L304
L126:
  add    $0x1,%r12
  add    $0x4,%r13
  cmp    %r12,0x10(%rsp)
  jl     L53
L111:
  movaps %xmm5,%xmm3
  addss  0x1c(%rsp),%xmm5
  test   %rbx,%rbx
  jne    L77
  movss  0x28(%rsp),%xmm0
  mov    %r15,%r8
  mov    %r14,%rcx
  mov    %rbp,%rdi
  movss  0xa8(%rsp),%xmm1
  mov    0xa0(%rsp),%edx
  movss  %xmm5,0xc(%rsp)
  mov    0x98(%rsp),%esi
  movss  %xmm4,0x8(%rsp)
  movss  %xmm2,0x4(%rsp)
  call   <Isum2ldw@plt>
  movss  0x18(%rsp),%xmm0
  mulss  0x38(%rsp),%xmm0
  mov    0xb0(%rsp),%eax
  movss  0x4(%rsp),%xmm2
  movss  0x8(%rsp),%xmm4
  movss  0xc(%rsp),%xmm5
  test   %eax,%eax
  movss  %xmm0,0x0(%r13)
  je     L126
  movss  0x3c(%rsp),%xmm0
  call   <fabs@plt>
  comiss D28(%rip),%xmm0
  movss  0x4(%rsp),%xmm2
  movss  0x8(%rsp),%xmm4
  movss  0xc(%rsp),%xmm5
  jbe    L262
  movss  0x0(%r13),%xmm0
  add    $0x1,%r12
  add    $0x4,%r13
  divss  0x3c(%rsp),%xmm0
  movss  %xmm0,-0x4(%r13)
  cmp    %r12,0x10(%rsp)
  jge    L111
  nop
L53:
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L307
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L304:
  movss  0x3c(%rsp),%xmm0
  call   <fabs@plt>
  comiss D28(%rip),%xmm0
  movss  0x4(%rsp),%xmm2
  movss  0x8(%rsp),%xmm4
  movss  0xc(%rsp),%xmm5
  jbe    L154
  movss  0x0(%r13),%xmm0
  divss  0x3c(%rsp),%xmm0
L44:
  movss  %xmm0,0x0(%r13)
  movss  0x44(%rsp),%xmm0
  movss  %xmm5,0xc(%rsp)
  movss  %xmm4,0x8(%rsp)
  movss  %xmm2,0x4(%rsp)
  call   <fabs@plt>
  comiss D28(%rip),%xmm0
  movss  0x4(%rsp),%xmm2
  movss  0x8(%rsp),%xmm4
  movss  0xc(%rsp),%xmm5
  jbe    L255
  movss  0x44(%rsp),%xmm0
  movss  (%rbx,%r12,4),%xmm1
  mulss  %xmm0,%xmm0
  divss  %xmm0,%xmm1
  movss  %xmm1,(%rbx,%r12,4)
  jmp    L126
  nopl   0x0(%rax,%rax,1)
L255:
  movl   $0xbf800000,(%rbx,%r12,4)
  jmp    L126
  nopl   (%rax)
L154:
  movss  0x2c(%rsp),%xmm0
  jmp    L44
  nopl   0x0(%rax,%rax,1)
L262:
  movss  0x2c(%rsp),%xmm7
  movss  %xmm7,0x0(%r13)
  jmp    L126
  nopl   0x0(%rax)
L175:
  test   %rbx,%rbx
  jne    L42
  jmp    L295
L36:
  xor    %ecx,%ecx
  jmp    L232
L277:
  xor    %ecx,%ecx
  jmp    L32
L307:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D5
datatype: byte[16]
name: parse_data
arguments: tag: D28
datatype: byte[4]

tool: {"D5": [0x00,0x00,0x80,0xbf,0x00,0x00,0x80,0xbf,0x00,0x00,0x80,0xbf,0x00,0x00,0x80,0xbf]}

tool: {"D28": [0x60,0x42,0xa2,0x0d]}

assistant: ```c
void project_2(float *line, float *varline, int dim, int imin, int imax, float initvalue, float factor, float *data, float *vardat, int dim_1, int dim_2, float f1_1, float f3_1, float f1_2, float f3_2, float Df_2, float dummy, float ddummy, int ave) {
  const float eps = 1e-30;
  float sum, weight;
  float varsum, varweight;
  float f_2;
  long i, i0, i1;
  int cnt;
  i0 = ((0) > (imin) ? (0) : (imin));
  i1 = ((dim - 1) < (imax) ? (dim - 1) : (imax));
  for (i = 0; i < dim; i++)
    line[i] = initvalue;
  if (varline)
    for (i = 0; i < dim; i++)
      varline[i] = -1.0;
  f_2 = f1_2;
  for (i = i0; i <= i1; i++) {
    if (varline) {
      cnt = Isum2ldwE(data, vardat, dim_1, dim_2, dummy, ddummy, f1_1, f_2, f3_1, f_2 + Df_2, &sum, &weight, &varsum, &varweight);
      line[i] = sum * factor;
      varline[i] = varsum * factor * factor;
      if (ave) {
        if (fabs(weight) > eps)
          line[i] /= weight;
        else
          line[i] = initvalue;
        if (fabs(varweight) > eps)
          varline[i] /= varweight * varweight;
        else
          varline[i] = -1.0;
      }
    } else {
      cnt = Isum2ldw(data, dim_1, dim_2, dummy, ddummy, f1_1, f_2, f3_1, f_2 + Df_2, &sum, &weight);
      line[i] = sum * factor;
      if (ave) {
        if (fabs(weight) > eps)
          line[i] /= weight;
        else
          line[i] = initvalue;
      }
    }
    f_2 += Df_2;
  }
}
```