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

```asm
<fir_mem2_10>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,%r14
  mov    %rsi,%rbp
  mov    %rdx,%r13
  mov    %ecx,%ebx
  mov    %r9,%r15
  mov    %r9,0x18(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  mov    %r9,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0x2c(%rsp)
  mov    %rbp,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0xc(%rsp)
  lea    0x10(%r15),%rax
  mov    %rax,0x10(%rsp)
  mov    %rax,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0x30(%rsp)
  lea    0x10(%rbp),%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0x4(%rsp)
  movss  0x20(%r15),%xmm0
  mov    $0x0,%esi
  mov    $0x0,%edi
  movss  0x24(%r15),%xmm1
  call   <_mm_setr_ps@plt>
  mov    %eax,0x34(%rsp)
  movss  0x24(%rbp),%xmm0
  mov    $0x0,%esi
  mov    $0x0,%edi
  movss  0x28(%rbp),%xmm1
  call   <_mm_setr_ps@plt>
  mov    %eax,0x8(%rsp)
  test   %ebx,%ebx
  jle    L16
  mov    %r14,%r12
  lea    -0x1(%rbx),%eax
  lea    0x4(%r14,%rax,4),%r15
L29:
  mov    %r12,%rdi
  call   <_mm_load_ps1@plt>
  mov    %eax,%ebx
  mov    0x2c(%rsp),%r14d
  mov    %r14d,%esi
  mov    %eax,%edi
  call   <_mm_add_ss@plt>
  mov    %eax,%ebp
  mov    %eax,%esi
  mov    %r13,%rdi
  call   <_mm_store_ss@plt>
  mov    $0x0,%edx
  mov    %ebp,%esi
  mov    %ebp,%edi
  call   <_mm_shuffle_ps@plt>
  mov    0x30(%rsp),%ebp
  mov    %ebp,%esi
  mov    %r14d,%edi
  call   <_mm_move_ss@plt>
  mov    %eax,%edi
  mov    $0x39,%edx
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    %eax,%r14d
  mov    0xc(%rsp),%esi
  mov    %ebx,%edi
  call   <_mm_mul_ps@plt>
  mov    %eax,%esi
  mov    %r14d,%edi
  call   <_mm_add_ps@plt>
  mov    %eax,0x2c(%rsp)
  mov    0x34(%rsp),%r14d
  mov    %r14d,%esi
  mov    %ebp,%edi
  call   <_mm_move_ss@plt>
  mov    %eax,%edi
  mov    $0x39,%edx
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    %eax,%ebp
  mov    0x4(%rsp),%esi
  mov    %ebx,%edi
  call   <_mm_mul_ps@plt>
  mov    %eax,%esi
  mov    %ebp,%edi
  call   <_mm_add_ps@plt>
  mov    %eax,0x30(%rsp)
  mov    $0xfd,%edx
  mov    %r14d,%esi
  mov    %r14d,%edi
  call   <_mm_shuffle_ps@plt>
  mov    %eax,%ebp
  mov    0x8(%rsp),%esi
  mov    %ebx,%edi
  call   <_mm_mul_ps@plt>
  mov    %eax,%esi
  mov    %ebp,%edi
  call   <_mm_add_ps@plt>
  mov    %eax,0x34(%rsp)
  add    $0x4,%r12
  add    $0x4,%r13
  cmp    %r15,%r12
  jne    L29
L16:
  mov    0x2c(%rsp),%esi
  mov    0x18(%rsp),%r15
  mov    %r15,%rdi
  call   <_mm_storeu_ps@plt>
  mov    0x30(%rsp),%esi
  mov    0x10(%rsp),%rdi
  call   <_mm_storeu_ps@plt>
  mov    0x34(%rsp),%ebx
  lea    0x20(%r15),%rdi
  mov    %ebx,%esi
  call   <_mm_store_ss@plt>
  mov    $0x55,%edx
  mov    %ebx,%esi
  mov    %ebx,%edi
  call   <_mm_shuffle_ps@plt>
  mov    %eax,%esi
  lea    0x24(%r15),%rdi
  call   <_mm_store_ss@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L25
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L25:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void fir_mem2_10(const float *x, const float *_num, float *y, int N, int ord, float *_mem) {
  __m128 num[3], mem[3];
  int i;
  for (i = 0; i < 2; i++) {
    mem[i] = _mm_loadu_ps(_mem + 4 * i);
    num[i] = _mm_loadu_ps(_num + 4 * i);
  }
  mem[2] = _mm_setr_ps(_mem[8], _mem[9], 0, 0);
  num[2] = _mm_setr_ps(_num[9], _num[10], 0, 0);
  for (i = 0; i < N; i++) {
    __m128 xx;
    __m128 yy;
    xx = _mm_load_ps1(x + i);
    yy = _mm_add_ss(xx, mem[0]);
    _mm_store_ss(y + i, yy);
    yy = _mm_shuffle_ps(yy, yy, 0);
    mem[0] = _mm_move_ss(mem[0], mem[1]);
    mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39);
    mem[0] = _mm_add_ps(mem[0], _mm_mul_ps(xx, num[0]));
    mem[1] = _mm_move_ss(mem[1], mem[2]);
    mem[1] = _mm_shuffle_ps(mem[1], mem[1], 0x39);
    mem[1] = _mm_add_ps(mem[1], _mm_mul_ps(xx, num[1]));
    mem[2] = _mm_shuffle_ps(mem[2], mem[2], 0xfd);
    mem[2] = _mm_add_ps(mem[2], _mm_mul_ps(xx, num[2]));
  }
  _mm_storeu_ps(_mem, mem[0]);
  _mm_storeu_ps(_mem + 4, mem[1]);
  _mm_store_ss(_mem + 8, mem[2]);
  mem[2] = _mm_shuffle_ps(mem[2], mem[2], 0x55);
  _mm_store_ss(_mem + 9, mem[2]);
}
```