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

```asm
<addHighbandEnergies>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %ecx,-0x3c(%rbp)
  mov    %r8d,-0x40(%rbp)
  mov    %r9d,-0x44(%rbp)
  movss  D0(%rip),%xmm0
  movss  %xmm0,-0x10(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L18
L98:
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0xc(%rbp)
  movl   $0x0,-0x1c(%rbp)
  jmp    L66
L107:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,8),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rdx,%rax,4)
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  jmp    L69
L7:
  movl   $0x0,-0x20(%rbp)
  jmp    L22
L84:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,8),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  movss  (%rdx,%rax,4),%xmm1
  mov    -0xc(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,8),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  addss  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  movss  %xmm0,(%rdx,%rax,4)
  addl   $0x1,-0x20(%rbp)
L22:
  mov    -0x20(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L84
  addl   $0x1,-0x18(%rbp)
L69:
  mov    -0x18(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jl     L7
  addl   $0x1,-0x1c(%rbp)
L66:
  mov    -0x1c(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L107
  addl   $0x1,-0x14(%rbp)
L18:
  mov    -0x14(%rbp),%eax
  cmp    -0x40(%rbp),%eax
  jl     L98
  movl   $0x0,-0x14(%rbp)
  jmp    L3
L80:
  movl   $0x0,-0x1c(%rbp)
  jmp    L115
L25:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,8),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  movss  (%rdx,%rax,4),%xmm0
  movss  -0x10(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  addl   $0x1,-0x1c(%rbp)
L115:
  mov    -0x1c(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L25
  addl   $0x1,-0x14(%rbp)
L3:
  mov    -0x14(%rbp),%eax
  cmp    -0x40(%rbp),%eax
  jl     L80
  movss  -0x10(%rbp),%xmm0
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: data_label: D0
type_guessed: f32

tool: D0: 1

assistant: ```c
float addHighbandEnergies(float **Energies, float EnergiesM[16][27], unsigned char *freqBandTable, int nSfb, int sbrSlots, int timeStep) {
  int i, j, k, slotIn, slotOut;
  int li, ui;
  float nrgTotal = 1.0;
  ;
  ;
  ;
  for (slotOut = 0; slotOut < sbrSlots; slotOut++) {
    ;
    slotIn = 2 * slotOut;
    ;
    ;
    for (j = 0; j < nSfb; j++) {
      ;
      EnergiesM[slotOut][j] = 0;
      ;
      li = freqBandTable[j];
      ui = freqBandTable[j + 1];
      ;
      for (k = li; k < ui; k++) {
        ;
        ;
        for (i = 0; i < timeStep; i++) {
          ;
          ;
          EnergiesM[slotOut][j] += Energies[(slotIn + i) / 2][k];
        }
      }
    }
  };
  for (slotOut = 0; slotOut < sbrSlots; slotOut++) {
    ;
    ;
    for (j = 0; j < nSfb; j++) {
      ;
      nrgTotal += EnergiesM[slotOut][j];
    }
  };
  return (nrgTotal);
}
```