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

```asm
<__cvmx_helper_initialize_fpa>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %edi,%r13d
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %ecx,%ebp
  push   %rbx
  sub    $0x38,%rsp
  mov    0x78(%rsp),%eax
  mov    0x70(%rsp),%r14d
  mov    %esi,0xc(%rsp)
  mov    %r8d,0x10(%rsp)
  mov    0x88(%rsp),%r15d
  mov    %eax,0x18(%rsp)
  mov    0x80(%rsp),%eax
  mov    %r9d,0x14(%rsp)
  mov    0xa0(%rsp),%ebx
  mov    %eax,0x1c(%rsp)
  mov    0x90(%rsp),%eax
  mov    %eax,0x20(%rsp)
  mov    0x98(%rsp),%eax
  mov    %eax,0x24(%rsp)
  mov    0xa8(%rsp),%eax
  mov    %eax,0x28(%rsp)
  mov    0xb0(%rsp),%eax
  mov    %eax,0x2c(%rsp)
  xor    %eax,%eax
  call   <cvmx_fpa_enable@plt>
  lea    -0x1(%r12),%eax
  cmp    $0x3f,%eax
  jbe    L61
L72:
  test   %r13d,%r13d
  jns    L56
  test   %ebp,%ebp
  jns    L136
L134:
  test   %r14d,%r14d
  jns    L82
  test   %r15d,%r15d
  jns    L27
L99:
  xor    %eax,%eax
  test   %ebx,%ebx
  jns    L6
L9:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L82:
  mov    0x1c(%rsp),%edx
  mov    0x18(%rsp),%esi
  lea    D40(%rip),%rcx
  mov    %r14d,%edi
  call   <__cvmx_helper_initialize_fpa_pool@plt>
  test   %eax,%eax
  jne    L9
  test   %r15d,%r15d
  js     L99
L27:
  mov    0x24(%rsp),%edx
  mov    0x20(%rsp),%esi
  lea    D52(%rip),%rcx
  mov    %r15d,%edi
  call   <__cvmx_helper_initialize_fpa_pool@plt>
  test   %eax,%eax
  jne    L9
  xor    %eax,%eax
  test   %ebx,%ebx
  js     L9
L6:
  mov    0x2c(%rsp),%edx
  mov    0x28(%rsp),%esi
  mov    %ebx,%edi
  add    $0x38,%rsp
  pop    %rbx
  lea    D59(%rip),%rcx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1080 <__cvmx_helper_initialize_fpa_pool@plt>
  nopl   (%rax)
L56:
  mov    0xc(%rsp),%esi
  lea    D7(%rip),%rcx
  mov    %r12d,%edx
  mov    %r13d,%edi
  call   <__cvmx_helper_initialize_fpa_pool@plt>
  test   %eax,%eax
  jne    L9
  test   %ebp,%ebp
  js     L134
L136:
  mov    0x14(%rsp),%edx
  mov    0x10(%rsp),%esi
  lea    D48(%rip),%rcx
  mov    %ebp,%edi
  call   <__cvmx_helper_initialize_fpa_pool@plt>
  test   %eax,%eax
  je     L134
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L61:
  mov    %r12d,%esi
  lea    D1(%rip),%rdi
  call   <printf@plt>
  jmp    L72
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D40
datatype: string
name: extract_symbolic_data
arguments: data_label: D52
datatype: string
name: extract_symbolic_data
arguments: data_label: D59
datatype: string
name: extract_symbolic_data
arguments: data_label: D7
datatype: string
name: extract_symbolic_data
arguments: data_label: D48
datatype: string
name: extract_symbolic_data
arguments: data_label: D1
datatype: string

tool: D40: PKO Command Buffers

tool: D52: TIM Command Buffers

tool: D59: DFA Command Buffers

tool: D7: Packet Buffers

tool: D48: Work Queue Entries

tool: D1: Warning: %d packet buffers may not be enough for hardware prefetch. 65 or more is recommended.


assistant: ```c
int __cvmx_helper_initialize_fpa(int pip_pool, int pip_size, int pip_buffers, int wqe_pool, int wqe_size, int wqe_entries, int pko_pool, int pko_size, int pko_buffers, int tim_pool, int tim_size, int tim_buffers, int dfa_pool, int dfa_size, int dfa_buffers) {
  int status;
  cvmx_fpa_enable();
  if ((pip_buffers > 0) && (pip_buffers <= 64))
    printf("Warning: %d packet buffers may not be enough for hardware"
           " prefetch. 65 or more is recommended.\n",
           pip_buffers);
  if (pip_pool >= 0) {
    status = __cvmx_helper_initialize_fpa_pool(pip_pool, pip_size, pip_buffers, "Packet Buffers");
    if (status)
      return status;
  }
  if (wqe_pool >= 0) {
    status = __cvmx_helper_initialize_fpa_pool(wqe_pool, wqe_size, wqe_entries, "Work Queue Entries");
    if (status)
      return status;
  }
  if (pko_pool >= 0) {
    status = __cvmx_helper_initialize_fpa_pool(pko_pool, pko_size, pko_buffers, "PKO Command Buffers");
    if (status)
      return status;
  }
  if (tim_pool >= 0) {
    status = __cvmx_helper_initialize_fpa_pool(tim_pool, tim_size, tim_buffers, "TIM Command Buffers");
    if (status)
      return status;
  }
  if (dfa_pool >= 0) {
    status = __cvmx_helper_initialize_fpa_pool(dfa_pool, dfa_size, dfa_buffers, "DFA Command Buffers");
    if (status)
      return status;
  }
  return 0;
}
```