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

```asm
<f3_coef>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x198,%rsp
  mov    %rdi,%rbp
  mov    %esi,%eax
  mov    %edx,%r12d
  mov    %ecx,%r11d
  movaps %xmm1,%xmm3
  mov    %fs:0x28,%rdx
  mov    %rdx,0x188(%rsp)
  xor    %edx,%edx
  movslq %esi,%rdx
  movl   $0x3f800000,(%rsp,%rdx,4)
  test   %esi,%esi
  jle    L154
  movaps %xmm0,%xmm4
  lea    (%rsp,%rdx,4),%rcx
  mov    %esi,%edx
  lea    0x1(%rsi),%edi
L45:
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  mulss  %xmm4,%xmm0
  mov    %edi,%esi
  sub    %edx,%esi
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  divss  %xmm1,%xmm0
  mulss  (%rcx),%xmm0
  movss  %xmm0,-0x4(%rcx)
  sub    $0x4,%rcx
  sub    $0x1,%edx
  jne    L45
L154:
  movslq %r12d,%rdx
  movl   $0x3f800000,0x80(%rsp,%rdx,4)
  test   %r12d,%r12d
  jle    L126
  lea    0x80(%rsp,%rdx,4),%rcx
  mov    %r12d,%edx
  lea    0x1(%r12),%edi
L100:
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  mulss  %xmm3,%xmm0
  mov    %edi,%esi
  sub    %edx,%esi
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  divss  %xmm1,%xmm0
  mulss  (%rcx),%xmm0
  movss  %xmm0,-0x4(%rcx)
  sub    $0x4,%rcx
  sub    $0x1,%edx
  jne    L100
L126:
  movslq %r11d,%rdx
  movl   $0x3f800000,0x100(%rsp,%rdx,4)
  test   %r11d,%r11d
  jle    L107
  lea    0x100(%rsp,%rdx,4),%rcx
  mov    %r11d,%edx
  lea    0x1(%r11),%edi
L91:
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  mulss  %xmm2,%xmm0
  mov    %edi,%esi
  sub    %edx,%esi
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  divss  %xmm1,%xmm0
  mulss  (%rcx),%xmm0
  movss  %xmm0,-0x4(%rcx)
  sub    $0x4,%rcx
  sub    $0x1,%edx
  jne    L91
L107:
  lea    (%rax,%r12,1),%edx
  mov    %edx,%ecx
  add    %r11d,%ecx
  js     L168
  mov    %rbp,%rdx
  mov    %ecx,%ecx
  lea    0x4(%rbp,%rcx,4),%rcx
L106:
  movl   $0x0,(%rdx)
  add    $0x4,%rdx
  cmp    %rcx,%rdx
  jne    L106
L168:
  test   %eax,%eax
  js     L103
  lea    0x1(%r12),%r10d
  lea    0x1(%rax),%r13d
  lea    0x100(%rsp),%rbx
  mov    %r11d,%eax
  lea    0x104(%rsp,%rax,4),%rcx
  mov    $0x0,%r9d
  jmp    L49
L178:
  movss  (%rsp,%r9,4),%xmm1
  mulss  (%r8),%xmm1
  mov    %rbx,%rdx
  mov    %rdi,%rax
L110:
  movaps %xmm1,%xmm0
  mulss  (%rdx),%xmm0
  addss  (%rax),%xmm0
  movss  %xmm0,(%rax)
  add    $0x4,%rax
  add    $0x4,%rdx
  cmp    %rdx,%rcx
  jne    L110
L1:
  add    $0x4,%rdi
  add    $0x1,%esi
  add    $0x4,%r8
  cmp    %r10d,%esi
  je     L48
L94:
  test   %r11d,%r11d
  jns    L178
  jmp    L1
L48:
  add    $0x1,%r9
  add    $0x1,%r10d
  add    $0x4,%rbp
  cmp    %r13,%r9
  je     L103
L49:
  test   %r12d,%r12d
  js     L48
  mov    %r9d,%esi
  lea    0x80(%rsp),%r8
  mov    %rbp,%rdi
  jmp    L94
L103:
  mov    0x188(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L67
  add    $0x198,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L67:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void f3_coef(float *f, int l, int m, int n, float a, float b, float c) {
  float Ca[32], Cb[32], Cc[32];
  int iA, iB, iC;
  int I;
  Ca[l] = 1.0;
  for (iA = l - 1; iA >= 0; iA--)
    Ca[iA] = a * (iA + 1) / (l - iA) * Ca[iA + 1];
  Cb[m] = 1.0;
  for (iB = m - 1; iB >= 0; iB--)
    Cb[iB] = b * (iB + 1) / (m - iB) * Cb[iB + 1];
  Cc[n] = 1.0;
  for (iC = n - 1; iC >= 0; iC--)
    Cc[iC] = c * (iC + 1) / (n - iC) * Cc[iC + 1];
  for (I = 0; I <= (l + m + n); I++)
    f[I] = 0.0;
  for (iA = 0; iA < l + 1; iA++)
    for (iB = 0; iB < m + 1; iB++)
      for (iC = 0; iC < n + 1; iC++) {
        I = iA + iB + iC;
        f[I] += Ca[iA] * Cb[iB] * Cc[iC];
      }
  return;
}
```