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

```asm
<qromb>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xf0,%rsp
  mov    %rdi,-0xd8(%rbp)
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0xe0(%rbp)
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm1,%xmm0
  movss  %xmm0,-0xe8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movss  D54(%rip),%xmm0
  movss  %xmm0,-0x5c(%rbp)
  movl   $0x1,-0xc4(%rbp)
  jmp    L2
L20:
  pxor   %xmm0,%xmm0
  cvtss2sd -0xe8(%rbp),%xmm0
  pxor   %xmm3,%xmm3
  cvtss2sd -0xe0(%rbp),%xmm3
  movq   %xmm3,%rdx
  mov    -0xc4(%rbp),%ecx
  mov    -0xd8(%rbp),%rax
  mov    %ecx,%esi
  movapd %xmm0,%xmm1
  movq   %rdx,%xmm0
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <trapzd@plt>
  movd   %xmm0,%eax
  mov    -0xc4(%rbp),%edx
  movslq %edx,%rdx
  mov    %eax,-0xc0(%rbp,%rdx,4)
  cmpl   $0x4,-0xc4(%rbp)
  jle    L31
  mov    -0xc4(%rbp),%eax
  sub    $0x5,%eax
  lea    -0xc0(%rbp),%rdx
  cltq
  shl    $0x2,%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0xc4(%rbp),%eax
  sub    $0x5,%eax
  lea    -0x60(%rbp),%rdx
  cltq
  shl    $0x2,%rax
  lea    (%rdx,%rax,1),%rdi
  lea    -0xc8(%rbp),%rdx
  lea    -0xcc(%rbp),%rax
  mov    %rdx,%r8
  mov    %rax,%rcx
  mov    D29(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x5,%edx
  mov    $0x1,%eax
  call   <polint@plt>
  movss  -0xc8(%rbp),%xmm0
  movss  D38(%rip),%xmm1
  andps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movss  -0xcc(%rbp),%xmm0
  movss  D38(%rip),%xmm2
  andps  %xmm2,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movsd  D0(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  comisd %xmm1,%xmm0
  jbe    L31
  movss  -0xcc(%rbp),%xmm0
  jmp    L35
L31:
  mov    -0xc4(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0xc4(%rbp),%eax
  cltq
  movss  -0xc0(%rbp,%rax,4),%xmm0
  movslq %edx,%rax
  movss  %xmm0,-0xc0(%rbp,%rax,4)
  mov    -0xc4(%rbp),%eax
  cltq
  movss  -0x60(%rbp,%rax,4),%xmm1
  mov    -0xc4(%rbp),%eax
  add    $0x1,%eax
  movss  D27(%rip),%xmm0
  mulss  %xmm1,%xmm0
  cltq
  movss  %xmm0,-0x60(%rbp,%rax,4)
  addl   $0x1,-0xc4(%rbp)
L2:
  cmpl   $0x14,-0xc4(%rbp)
  jle    L20
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <nrerror@plt>
L35:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L38
  call   <__stack_chk_fail@plt>
L38:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D54
type_guessed: f32
name: extract_symbolic_data
arguments: data_label: D29
type_guessed: f64
name: extract_symbolic_data
arguments: data_label: D38
type_guessed: dword
name: extract_symbolic_data
arguments: data_label: D0
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_label: D27
type_guessed: f32
name: extract_symbolic_data
arguments: data_label: D42
type_guessed: string

tool: D54: 1

tool: D29: 0

tool: D38: 2147483647

tool: {"D0": [0xf1,0x68,0xe3,0x88,0xb5,0xf8,0xd4,0x3e]}

tool: D27: 0.25

tool: D42: Too many steps in routine QROMB

assistant: ```c
float qromb(func, a, b)
float a, b;
float (*func)();
{
  float ss, dss, trapzd();
  float s[20 + 1 + 1], h[20 + 1 + 1];
  int j;
  void polint(), nrerror();
  h[1] = 1.0;
  for (j = 1; j <= 20; j++) {
    s[j] = trapzd(func, a, b, j);
    if (j >= 5) {
      polint(&h[j - 5], &s[j - 5], 5, 0.0, &ss, &dss);
      if (fabs(dss) < 0.5e-5 * fabs(ss))
        return ss;
    }
    s[j + 1] = s[j];
    h[j + 1] = 0.25 * h[j];
  }
  nrerror("Too many steps in routine QROMB");
}
```