user: Converte this assembly snippet into its equivalent C code:

```asm
<imdct_step3_inner_s_loop_ld654>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x28(%rbp)
  mov    %rcx,-0x38(%rbp)
  mov    %r8d,-0x3c(%rbp)
  mov    -0x3c(%rbp),%eax
  sar    $0x3,%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x24(%rbp),%eax
  shl    $0x4,%eax
  cltq
  shl    $0x2,%rax
  neg    %rax
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  jmp    L15
L9:
  mov    -0x10(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x20,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x10(%rbp),%rax
  sub    $0x4,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x24,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x10(%rbp),%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x20,%rax
  movss  (%rax),%xmm0
  addss  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x4,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x24,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x4,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x20,%rax
  movss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x24,%rax
  movss  -0x14(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x8,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x28,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x10(%rbp),%rax
  sub    $0xc,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x2c,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x10(%rbp),%rax
  sub    $0x8,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x28,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x8,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0xc,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x2c,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0xc,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  movss  -0x18(%rbp),%xmm0
  addss  -0x14(%rbp),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x28,%rax
  mulss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  movss  -0x14(%rbp),%xmm0
  subss  -0x18(%rbp),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x2c,%rax
  mulss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x30,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x10,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x10(%rbp),%rax
  sub    $0x14,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x34,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x10(%rbp),%rax
  sub    $0x10,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x30,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x10,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x14,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x34,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x14,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x30,%rax
  movss  -0x14(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x34,%rax
  movss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x38,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x18,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x10(%rbp),%rax
  sub    $0x1c,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x3c,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x10(%rbp),%rax
  sub    $0x18,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x38,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x18,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    $0x1c,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  sub    $0x3c,%rax
  movss  (%rax),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x1c,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  movss  -0x18(%rbp),%xmm0
  addss  -0x14(%rbp),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x38,%rax
  mulss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  movss  -0x18(%rbp),%xmm0
  subss  -0x14(%rbp),%xmm0
  mov    -0x10(%rbp),%rax
  sub    $0x3c,%rax
  mulss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <iter_54@plt>
  mov    -0x10(%rbp),%rax
  sub    $0x20,%rax
  mov    %rax,%rdi
  call   <iter_54@plt>
  subq   $0x40,-0x10(%rbp)
L15:
  mov    -0x10(%rbp),%rax
  cmp    -0x8(%rbp),%rax
  ja     L9
  nop
  nop
  leave
  ret
```

assistant: ```c
void imdct_step3_inner_s_loop_ld654(int n, float *e, int i_off, float *A, int base_n) {
  int a_off = base_n >> 3;
  float A2 = A[0 + a_off];
  float *z = e + i_off;
  float *base = z - 16 * n;
  while (z > base) {
    float k00, k11;
    k00 = z[-0] - z[-8];
    k11 = z[-1] - z[-9];
    z[-0] = z[-0] + z[-8];
    z[-1] = z[-1] + z[-9];
    z[-8] = k00;
    z[-9] = k11;
    k00 = z[-2] - z[-10];
    k11 = z[-3] - z[-11];
    z[-2] = z[-2] + z[-10];
    z[-3] = z[-3] + z[-11];
    z[-10] = (k00 + k11) * A2;
    z[-11] = (k11 - k00) * A2;
    k00 = z[-12] - z[-4];
    k11 = z[-5] - z[-13];
    z[-4] = z[-4] + z[-12];
    z[-5] = z[-5] + z[-13];
    z[-12] = k11;
    z[-13] = k00;
    k00 = z[-14] - z[-6];
    k11 = z[-7] - z[-15];
    z[-6] = z[-6] + z[-14];
    z[-7] = z[-7] + z[-15];
    z[-14] = (k00 + k11) * A2;
    z[-15] = (k00 - k11) * A2;
    iter_54(z);
    iter_54(z - 8);
    z -= 16;
  }
}
```