user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<sbrNoiseFloorLevelsQuantisation>:
  endbr64
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  jne    L230
  movss  (%rsi),%xmm0
  comiss D66(%rip),%xmm0
  mov    $0x1e,%eax
  jbe    L118
L126:
  movss  0x4(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x0(%rbp)
  mov    $0x1e,%eax
  jbe    L80
L40:
  movss  0x8(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x4(%rbp)
  mov    $0x1e,%eax
  jbe    L160
L101:
  movss  0xc(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x8(%rbp)
  mov    $0x1e,%eax
  jbe    L10
L189:
  movss  0x10(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0xc(%rbp)
  mov    $0x1e,%eax
  jbe    L74
L168:
  movss  0x14(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x10(%rbp)
  mov    $0x1e,%eax
  jbe    L6
L33:
  movss  0x18(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x14(%rbp)
  mov    $0x1e,%eax
  jbe    L37
L96:
  movss  0x1c(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x18(%rbp)
  mov    $0x1e,%eax
  jbe    L62
L235:
  movss  0x20(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x1c(%rbp)
  mov    $0x1e,%eax
  jbe    L65
L2:
  movss  0x24(%r12),%xmm0
  comiss D66(%rip),%xmm0
  mov    %eax,0x20(%rbp)
  mov    $0x1e,%eax
  jbe    L129
L237:
  mov    %eax,0x24(%rbp)
L232:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L52
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L129:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L237
  cs nopw 0x0(%rax,%rax,1)
L65:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L2
  xchg   %ax,%ax
L62:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L235
  nopl   0x0(%rax)
L37:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L96
  nopl   0x0(%rax)
L6:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L33
  nopl   0x0(%rax)
L74:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L168
  nopl   0x0(%rax)
L10:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L189
  nopl   0x0(%rax)
L160:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L101
  nopl   0x0(%rax)
L80:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L40
  nopl   0x0(%rax)
L118:
  addss  D96(%rip),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L126
  nopl   0x0(%rax)
L230:
  xor    %ebx,%ebx
  lea    0x4(%rsp),%r13
  jmp    L193
  nopl   0x0(%rax)
L238:
  addss  D96(%rip),%xmm0
  mov    $0xffffffe2,%eax
  mov    %r13,%rdx
  mov    $0x1,%esi
  cvttss2si %xmm0,%edi
  cmp    %eax,%edi
  cmovl  %eax,%edi
L30:
  call   <mapPanorama@plt>
  mov    %eax,0x0(%rbp,%rbx,1)
  add    $0x4,%rbx
  cmp    $0x28,%rbx
  je     L232
L193:
  movss  (%r12,%rbx,1),%xmm0
  comiss D66(%rip),%xmm0
  jbe    L238
  mov    %r13,%rdx
  mov    $0x1,%esi
  mov    $0x1e,%edi
  jmp    L30
L52:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D66
data_type: byte[4]
name: retrieve_data
arguments: data_label: D96
data_type: f32

tool: {"D66": [0x00,0x00,0xf0,0x41]}

tool: D96: 0.5

assistant: ```c
void sbrNoiseFloorLevelsQuantisation(int *iNoiseLevels, float *NoiseLevels, int coupling) {
  int i;
  int dummy;
  ;
  ;
  ;
  for (i = 0; i < 10; i++) {
    int tmp;
    ;
    ;
    tmp = NoiseLevels[i] > (float)30.0f ? 30 : (int)(NoiseLevels[i] + (float)0.5);
    ;
    if (coupling) {
      ;
      ;
      ;
      tmp = tmp < -30 ? -30 : tmp;
      ;
      tmp = mapPanorama(tmp, 1, &dummy);
    };
    iNoiseLevels[i] = tmp;
  };
}
```