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

```asm
<ifrstage>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%r10
  mov    %rsi,%rax
  lea    -0x1(%rsi),%edi
  mov    $0x1,%esi
  mov    %rsi,%r8
  mov    %edi,%ecx
  shl    %cl,%r8
  mov    %r8,%rcx
  shr    %rcx
  lea    (%r10,%rcx,4),%r9
  lea    -0x3(%rax),%r11d
  mov    $0x4,%ebx
  mov    %rbx,%rbp
  mov    %r11d,%ecx
  shl    %cl,%rbp
  movss  (%rdx,%rbp,1),%xmm4
  movss  (%r10),%xmm6
  movss  0x4(%r10),%xmm7
  mov    %rbx,%rbp
  mov    %edi,%ecx
  shl    %cl,%rbp
  mov    %rbp,%rdi
  lea    (%r10,%rbp,1),%r13
  lea    0x4(,%r8,4),%r8
  lea    (%r10,%r8,1),%r12
  movss  (%r12),%xmm8
  movss  (%r9),%xmm0
  movss  0x4(%r9),%xmm2
  lea    (%r9,%rbp,1),%rbp
  movss  0x0(%rbp),%xmm10
  lea    (%r9,%r8,1),%rcx
  movss  (%rcx),%xmm9
  movss  0x0(%r13),%xmm5
  addss  %xmm5,%xmm5
  movaps %xmm0,%xmm1
  addss  %xmm10,%xmm1
  movaps %xmm2,%xmm3
  subss  %xmm9,%xmm3
  subss  %xmm10,%xmm0
  mulss  %xmm4,%xmm0
  addss  %xmm9,%xmm2
  mulss  %xmm4,%xmm2
  movaps %xmm1,%xmm4
  subss  %xmm0,%xmm4
  subss  %xmm2,%xmm4
  addss  %xmm3,%xmm0
  subss  %xmm2,%xmm0
  movaps %xmm6,%xmm2
  addss  %xmm7,%xmm2
  movss  %xmm2,(%r10)
  subss  %xmm7,%xmm6
  movss  %xmm6,0x4(%r10)
  movss  %xmm5,0x0(%r13)
  movaps %xmm8,%xmm2
  xorps  D7(%rip),%xmm2
  subss  %xmm8,%xmm2
  movss  %xmm2,(%r12)
  movss  %xmm4,(%r9)
  movss  %xmm0,0x4(%r9)
  addss  %xmm1,%xmm1
  subss  %xmm4,%xmm1
  movss  %xmm1,0x0(%rbp)
  addss  %xmm3,%xmm3
  subss  %xmm3,%xmm0
  movss  %xmm0,(%rcx)
  lea    0x4(%rdx),%r9
  lea    -0x2(%rax),%ecx
  shl    %cl,%rbx
  lea    -0x4(%rdx,%rbx,1),%rbx
  movss  0x4(%rdx),%xmm6
  movss  (%rbx),%xmm0
  mov    %rsi,%rdx
  shl    %cl,%rdx
  lea    -0x8(%r10,%rdx,8),%rdx
  mov    %r11d,%ecx
  shl    %cl,%rsi
  sub    $0x1,%rsi
  je     L17
  lea    0x8(%r10),%rax
  mov    $0xfffffffffffffffc,%r10
  shl    %cl,%r10
  lea    (%rbx,%r10,1),%rcx
L14:
  movss  (%rax),%xmm2
  movss  0x4(%rax),%xmm4
  movss  (%rdx,%rdi,1),%xmm11
  movss  (%rdx,%r8,1),%xmm8
  movss  (%rdx),%xmm1
  movss  0x4(%rdx),%xmm3
  movss  (%rax,%rdi,1),%xmm10
  movss  (%rax,%r8,1),%xmm9
  movaps %xmm2,%xmm7
  addss  %xmm11,%xmm7
  movaps %xmm4,%xmm5
  subss  %xmm8,%xmm5
  subss  %xmm11,%xmm2
  addss  %xmm8,%xmm4
  movaps %xmm2,%xmm8
  mulss  %xmm0,%xmm8
  movaps %xmm7,%xmm12
  subss  %xmm8,%xmm12
  movaps %xmm4,%xmm8
  mulss  %xmm6,%xmm8
  subss  %xmm8,%xmm12
  mulss  %xmm6,%xmm2
  addss  %xmm5,%xmm2
  mulss  %xmm0,%xmm4
  subss  %xmm4,%xmm2
  movaps %xmm1,%xmm8
  addss  %xmm10,%xmm8
  movaps %xmm3,%xmm4
  subss  %xmm9,%xmm4
  subss  %xmm10,%xmm1
  addss  %xmm9,%xmm3
  movaps %xmm1,%xmm10
  mulss  %xmm6,%xmm10
  movaps %xmm8,%xmm11
  subss  %xmm10,%xmm11
  movaps %xmm3,%xmm10
  mulss  %xmm0,%xmm10
  subss  %xmm10,%xmm11
  mulss  %xmm0,%xmm1
  movaps %xmm1,%xmm9
  addss  %xmm4,%xmm9
  mulss  %xmm6,%xmm3
  subss  %xmm3,%xmm9
  movss  %xmm12,(%rax)
  movss  %xmm2,0x4(%rax)
  addss  %xmm7,%xmm7
  subss  %xmm12,%xmm7
  movss  %xmm7,(%rdx,%rdi,1)
  addss  %xmm5,%xmm5
  subss  %xmm5,%xmm2
  movss  %xmm2,(%rdx,%r8,1)
  add    $0x4,%r9
  movss  (%r9),%xmm6
  movss  (%rcx,%rsi,4),%xmm0
  movss  %xmm11,(%rdx)
  movss  %xmm9,0x4(%rdx)
  addss  %xmm8,%xmm8
  subss  %xmm11,%xmm8
  movss  %xmm8,(%rax,%rdi,1)
  addss  %xmm4,%xmm4
  subss  %xmm4,%xmm9
  movss  %xmm9,(%rax,%r8,1)
  add    $0x8,%rax
  sub    $0x8,%rdx
  sub    $0x1,%rsi
  jne    L14
L17:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D7
type: byte[16]

tool: {"D7": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

assistant: ```c
void ifrstage(float *ioptr, long M, float *Utbl) {
  unsigned long pos;
  unsigned long posi;
  unsigned long diffUcnt;
  float *p0r, *p1r;
  float *u0r, *u0i;
  float w0r, w0i;
  float f0r, f0i, f1r, f1i, f4r, f4i, f5r, f5i;
  float t0r, t0i, t1r, t1i;
  const float Two = 2.0;
  pos = ((unsigned long)1 << (M - 1));
  posi = pos + 1;
  p0r = ioptr;
  p1r = ioptr + pos / 2;
  u0r = Utbl + ((unsigned long)1 << (M - 3));
  w0r = *u0r, f0r = *(p0r);
  f0i = *(p0r + 1);
  f4r = *(p0r + pos);
  f4i = *(p0r + posi);
  f1r = *(p1r);
  f1i = *(p1r + 1);
  f5r = *(p1r + pos);
  f5i = *(p1r + posi);
  t0r = f0r + f0i;
  t0i = f0r - f0i;
  t1r = f4r + f4r;
  t1i = -f4i - f4i;
  f0r = f1r + f5r;
  f0i = f1i - f5i;
  f4r = f1r - f5r;
  f4i = f1i + f5i;
  f1r = f0r - w0r * f4r - w0r * f4i;
  f1i = f0i + w0r * f4r - w0r * f4i;
  f5r = Two * f0r - f1r;
  f5i = f1i - Two * f0i;
  *(p0r) = t0r;
  *(p0r + 1) = t0i;
  *(p0r + pos) = t1r;
  *(p0r + posi) = t1i;
  *(p1r) = f1r;
  *(p1r + 1) = f1i;
  *(p1r + pos) = f5r;
  *(p1r + posi) = f5i;
  u0r = Utbl + 1;
  u0i = Utbl + (((unsigned long)1 << (M - 2)) - 1);
  w0r = *u0r, w0i = *u0i;
  p0r = (ioptr + 2);
  p1r = (ioptr + (((unsigned long)1 << (M - 2)) - 1) * 2);
  for (diffUcnt = ((unsigned long)1 << (M - 3)) - 1; diffUcnt > 0; diffUcnt--) {
    f0r = *(p0r);
    f0i = *(p0r + 1);
    f5r = *(p1r + pos);
    f5i = *(p1r + posi);
    f1r = *(p1r);
    f1i = *(p1r + 1);
    f4r = *(p0r + pos);
    f4i = *(p0r + posi);
    t0r = f0r + f5r;
    t0i = f0i - f5i;
    t1r = f0r - f5r;
    t1i = f0i + f5i;
    f0r = t0r - w0i * t1r - w0r * t1i;
    f0i = t0i + w0r * t1r - w0i * t1i;
    f5r = Two * t0r - f0r;
    f5i = f0i - Two * t0i;
    t0r = f1r + f4r;
    t0i = f1i - f4i;
    t1r = f1r - f4r;
    t1i = f1i + f4i;
    f1r = t0r - w0r * t1r - w0i * t1i;
    f1i = t0i + w0i * t1r - w0r * t1i;
    f4r = Two * t0r - f1r;
    f4i = f1i - Two * t0i;
    *(p0r) = f0r;
    *(p0r + 1) = f0i;
    *(p1r + pos) = f5r;
    *(p1r + posi) = f5i;
    w0r = *++u0r;
    w0i = *--u0i;
    *(p1r) = f1r;
    *(p1r + 1) = f1i;
    *(p0r + pos) = f4r;
    *(p0r + posi) = f4i;
    p0r += 2;
    p1r -= 2;
  };
}
```