#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int __cvmx_helper_initialize_fpa(int, int /*<<< orphan*/, int, int,
                                 int /*<<< orphan*/, int, int,
                                 int /*<<< orphan*/, int, int,
                                 int /*<<< orphan*/, int, int,
                                 int /*<<< orphan*/, int);
int cvmx_helper_initialize_fpa(int packet_buffers, int work_queue_entries,
                               int pko_buffers, int tim_buffers,
                               int dfa_buffers) {
  return __cvmx_helper_initialize_fpa(-1, 0, packet_buffers, -1, 0,
                                      work_queue_entries, -1, 0, pko_buffers,
                                      -1, 0, tim_buffers, -1, 0, dfa_buffers);
}


x86 assembly (clang, -O0):
<cvmx_helper_initialize_fpa>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
mov    -0x4(%rbp),%edx
mov    -0x8(%rbp),%r9d
mov    -0xc(%rbp),%r11d
mov    -0x10(%rbp),%r10d
mov    -0x14(%rbp),%eax
mov    $0xffffffff,%ecx
xor    %r8d,%r8d
mov    %ecx,%edi
mov    %r8d,%esi
movl   $0xffffffff,(%rsp)
movl   $0x0,0x8(%rsp)
mov    %r11d,0x10(%rsp)
movl   $0xffffffff,0x18(%rsp)
ff
movl   $0x0,0x20(%rsp)
mov    %r10d,0x28(%rsp)
movl   $0xffffffff,0x30(%rsp)
ff
movl   $0x0,0x38(%rsp)
mov    %eax,0x40(%rsp)
call   1030 <__cvmx_helper_initialize_fpa@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cvmx_helper_initialize_fpa>:
push   %rax
mov    %r8d,%eax
mov    %ecx,%r10d
mov    %edx,%r11d
mov    %esi,%r9d
mov    %edi,%edx
sub    $0x8,%rsp
mov    $0xffffffff,%edi
xor    %esi,%esi
mov    $0xffffffff,%ecx
xor    %r8d,%r8d
push   %rax
push   $0x0
push   $0xffffffffffffffff
push   %r10
push   $0x0
push   $0xffffffffffffffff
push   %r11
push   $0x0
push   $0xffffffffffffffff
call   1030 <__cvmx_helper_initialize_fpa@plt>
add    $0x50,%rsp
pop    %rcx
ret

LLVM IR (-O0):
define i32 @cvmx_helper_initialize_fpa(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 %0, i32* %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%11 = load i32, i32* %6
%12 = load i32, i32* %7
%13 = load i32, i32* %8
%14 = load i32, i32* %9
%15 = load i32, i32* %10
%16 = call i32 @__cvmx_helper_initialize_fpa(i32 -1, i32 0, i32 %11, i32 -1, i32 0, i32 %12, i32 -1, i32 0, i32 %13, i32 -1, i32 0, i32 %14, i32 -1, i32 0, i32 %15)
ret i32 %16
}

LLVM IR (-O2):
define i32 @cvmx_helper_initialize_fpa(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = tail call i32 @__cvmx_helper_initialize_fpa(i32 -1, i32 0, i32 %0, i32 -1, i32 0, i32 %1, i32 -1, i32 0, i32 %2, i32 -1, i32 0, i32 %3, i32 -1, i32 0, i32 %4)
ret i32 %6
}