user: 请从给定的汇编指令推导出C源代码：

```asm
<project_2>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rsi,%r12
  movss  %xmm0,0x3c(%rsp)
  movss  %xmm1,0x14(%rsp)
  mov    %r9,0x18(%rsp)
  mov    0xa0(%rsp),%rax
  mov    %rax,0x30(%rsp)
  movss  %xmm2,0x20(%rsp)
  movss  %xmm3,0x24(%rsp)
  movss  %xmm4,0xc(%rsp)
  movss  %xmm6,0x10(%rsp)
  movss  %xmm7,0x38(%rsp)
  mov    0xc0(%rsp),%r15d
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  test   %ecx,%ecx
  cmovns %ecx,%eax
  mov    %eax,%esi
  movslq %eax,%rbx
  lea    -0x1(%rdx),%eax
  cltq
  movslq %r8d,%r13
  cmp    %r8d,%edx
  cmovle %rax,%r13
  movslq %edx,%rcx
  test   %rcx,%rcx
  jle    L91
  mov    %rdi,%rax
  lea    (%rdi,%rcx,4),%rdx
L74:
  movss  %xmm0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L74
  mov    $0x0,%eax
  movss  D27(%rip),%xmm0
  test   %r12,%r12
  je     L91
L153:
  movss  %xmm0,(%r12,%rax,4)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jl     L153
L91:
  cmp    %rbx,%r13
  jl     L75
  movslq %esi,%rsi
  lea    (%rdi,%rsi,4),%rbp
  mov    %r13,%r14
  jmp    L72
L83:
  movss  0x3c(%rsp),%xmm0
  jmp    L14
L105:
  mov    0x28(%rsp),%rax
  movss  D27(%rip),%xmm2
  movss  %xmm2,(%r12,%rax,4)
  jmp    L15
L52:
  lea    0x48(%rsp),%rcx
  lea    0x4c(%rsp),%r8
  movss  0x10(%rsp),%xmm5
  movss  0xc(%rsp),%xmm1
  addss  %xmm1,%xmm5
  movss  0x24(%rsp),%xmm4
  movaps %xmm1,%xmm3
  movss  0x20(%rsp),%xmm2
  movss  0xb8(%rsp),%xmm1
  movss  0x38(%rsp),%xmm0
  mov    0xb0(%rsp),%edx
  mov    0xa8(%rsp),%esi
  mov    0x18(%rsp),%rdi
  call   <Isum2ldw@plt>
  movss  0x14(%rsp),%xmm0
  mulss  0x48(%rsp),%xmm0
  movss  %xmm0,0x0(%rbp)
  test   %r15d,%r15d
  jne    L0
L15:
  movss  0xc(%rsp),%xmm7
  addss  0x10(%rsp),%xmm7
  movss  %xmm7,0xc(%rsp)
  add    $0x1,%rbx
  add    $0x4,%rbp
  cmp    %rbx,%r14
  jl     L75
L72:
  test   %r12,%r12
  je     L52
  lea    0x54(%rsp),%rax
  push   %rax
  lea    0x58(%rsp),%rax
  push   %rax
  lea    0x5c(%rsp),%r9
  lea    0x58(%rsp),%r8
  movss  0x20(%rsp),%xmm5
  movss  0x1c(%rsp),%xmm3
  addss  %xmm3,%xmm5
  movss  0x34(%rsp),%xmm4
  movss  0x30(%rsp),%xmm2
  movss  0xc8(%rsp),%xmm1
  movss  0x48(%rsp),%xmm0
  mov    0xc0(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  mov    0x40(%rsp),%rsi
  mov    0x28(%rsp),%rdi
  call   <Isum2ldwE@plt>
  mov    %rbp,%r13
  movss  0x24(%rsp),%xmm6
  movaps %xmm6,%xmm0
  mulss  0x58(%rsp),%xmm0
  movss  %xmm0,0x0(%rbp)
  mov    %rbx,0x38(%rsp)
  movaps %xmm6,%xmm0
  mulss  0x60(%rsp),%xmm0
  mulss  %xmm6,%xmm0
  movss  %xmm0,(%r12,%rbx,4)
  add    $0x10,%rsp
  test   %r15d,%r15d
  je     L15
  movss  0x4c(%rsp),%xmm0
  call   <fabs@plt>
  comiss D25(%rip),%xmm0
  jbe    L83
  movss  0x0(%rbp),%xmm0
  divss  0x4c(%rsp),%xmm0
L14:
  movss  %xmm0,0x0(%r13)
  movss  0x54(%rsp),%xmm0
  call   <fabs@plt>
  comiss D25(%rip),%xmm0
  jbe    L105
  movss  0x54(%rsp),%xmm0
  mulss  %xmm0,%xmm0
  mov    0x28(%rsp),%rax
  movss  (%r12,%rax,4),%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,(%r12,%rax,4)
  jmp    L15
L0:
  movss  0x4c(%rsp),%xmm0
  call   <fabs@plt>
  comiss D25(%rip),%xmm0
  jbe    L61
  movss  0x0(%rbp),%xmm0
  divss  0x4c(%rsp),%xmm0
  movss  %xmm0,0x0(%rbp)
  jmp    L15
L61:
  movss  0x3c(%rsp),%xmm2
  movss  %xmm2,0x0(%rbp)
  jmp    L15
L75:
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L122
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L122:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D27
type_infered: byte[4]
name: retrieve_data
arguments: data_tag: D25
type_infered: byte[4]

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

tool: {"D25": [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;
  }
}
```