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

```asm
<set_gap_penalties_new>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %edx,-0x30(%rbp)
  movss  %xmm0,-0x34(%rbp)
  mov    %ecx,-0x38(%rbp)
  mov    %r8,-0x40(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x38(%rbp),%xmm0
  movss  %xmm0,-0x8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x10(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  shl    $0x6,%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x28(%rbp)
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  add    %eax,-0xc(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x10(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L0
L16:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  -0x10(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  addl   $0x1,-0x14(%rbp)
L0:
  cmpl   $0x16,-0x14(%rbp)
  jle    L16
  pxor   %xmm0,%xmm0
  cvtss2sd -0x10(%rbp),%xmm0
  movsd  D30(%rip),%xmm1
  subsd  %xmm1,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x8(%rbp),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x34(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D30(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x30(%rbp),%xmm0
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mulss  -0x4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0xdc,%rax
  movss  (%rax),%xmm1
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x6c,%rax
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0xe0,%rax
  movss  (%rax),%xmm1
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x70,%rax
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0xe4,%rax
  movss  (%rax),%xmm1
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x74,%rax
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x18(%rbp)
  jmp    L13
L6:
  subq   $0x100,-0x28(%rbp)
  subl   $0x1,-0xc(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x10(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L28
L1:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  -0x10(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  addl   $0x1,-0x14(%rbp)
L28:
  cmpl   $0x16,-0x14(%rbp)
  jle    L1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x10(%rbp),%xmm0
  movsd  D30(%rip),%xmm1
  subsd  %xmm1,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x8(%rbp),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x34(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D30(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x30(%rbp),%xmm0
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mulss  -0x4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0xdc,%rax
  movss  (%rax),%xmm1
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x6c,%rax
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0xe0,%rax
  movss  (%rax),%xmm1
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x70,%rax
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0xe4,%rax
  movss  (%rax),%xmm1
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x74,%rax
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
L13:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x18(%rbp)
  test   %eax,%eax
  jne    L6
  nop
  nop
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: label: D30
data_type: f64

tool: D30: 1

assistant: ```c
void set_gap_penalties_new(float *prof, int len, int nsip, float strength, int nsip_c, float *weightArray) {
  int i;
  int j;
  float res = (float)nsip_c;
  float local_res = 0;
  float w = 0.0;
  int idx = 0;
  prof += (64 * (len + 1));
  idx += len + 1;
  local_res = 0;
  for (j = 0; j < 23; j++) {
    local_res += prof[j];
  }
  w = 1.0 + (((local_res - 1.0) / res) * strength);
  weightArray[idx] = nsip * w;
  prof[27] = prof[55] * weightArray[idx];
  prof[28] = prof[56] * weightArray[idx];
  prof[29] = prof[57] * weightArray[idx];
  i = len + 1;
  while (i--) {
    prof -= 64;
    idx -= 1;
    local_res = 0;
    for (j = 0; j < 23; j++) {
      local_res += prof[j];
    }
    w = 1.0 + (((local_res - 1.0) / res) * strength);
    weightArray[idx] = nsip * w;
    prof[27] = prof[55] * weightArray[idx];
    prof[28] = prof[56] * weightArray[idx];
    prof[29] = prof[57] * weightArray[idx];
  }
}
```