#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 */
typedef int /*<<< orphan*/ uint8_t;
typedef int /*<<< orphan*/ uint16_t;
struct lcpa_metapack {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ lcpf_authreq(struct lcpa_metapack *, int /*<<< orphan*/ *,
                                int /*<<< orphan*/ *, int /*<<< orphan*/ *, int,
                                int, int, int, int /*<<< orphan*/,
                                int /*<<< orphan*/, int /*<<< orphan*/);
void lcpf_authresq(struct lcpa_metapack *pack, uint8_t *dst, uint8_t *src,
                   uint8_t *bssid, int framecontrol, int duration, int fragment,
                   int sequence, uint16_t authalgo, uint16_t auth_seq,
                   uint16_t auth_status) {
  lcpf_authreq(pack, dst, src, bssid, framecontrol, duration, fragment,
               sequence, authalgo, auth_seq, auth_status);
}


x86 assembly (clang, -O0):
<lcpf_authresq>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x50,%rsp
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    %rcx,-0x30(%rbp)
mov    %r8d,-0x34(%rbp)
mov    %r9d,-0x38(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
mov    0x10(%rbp),%r14d
mov    0x18(%rbp),%ebx
mov    0x20(%rbp),%r11d
mov    0x28(%rbp),%r10d
mov    0x30(%rbp),%eax
mov    %r14d,(%rsp)
mov    %ebx,0x8(%rsp)
mov    %r11d,0x10(%rsp)
mov    %r10d,0x18(%rsp)
mov    %eax,0x20(%rsp)
call   1030 <lcpf_authreq@plt>
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<lcpf_authresq>:
jmp    1030 <lcpf_authreq@plt>

LLVM IR (-O0):
%struct.lcpa_metapack = type { i32 }
define void @lcpf_authresq(%struct.lcpa_metapack* %0, i32* %1, i32* %2, i32* %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9, i32 %10) {
%12 = alloca %struct.lcpa_metapack*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
store %struct.lcpa_metapack* %0, %struct.lcpa_metapack** %12
store i32* %1, i32** %13
store i32* %2, i32** %14
store i32* %3, i32** %15
store i32 %4, i32* %16
store i32 %5, i32* %17
store i32 %6, i32* %18
store i32 %7, i32* %19
store i32 %8, i32* %20
store i32 %9, i32* %21
store i32 %10, i32* %22
%23 = load %struct.lcpa_metapack*, %struct.lcpa_metapack** %12
%24 = load i32*, i32** %13
%25 = load i32*, i32** %14
%26 = load i32*, i32** %15
%27 = load i32, i32* %16
%28 = load i32, i32* %17
%29 = load i32, i32* %18
%30 = load i32, i32* %19
%31 = load i32, i32* %20
%32 = load i32, i32* %21
%33 = load i32, i32* %22
%34 = call i32 @lcpf_authreq(%struct.lcpa_metapack* %23, i32* %24, i32* %25, i32* %26, i32 %27, i32 %28, i32 %29, i32 %30, i32 %31, i32 %32, i32 %33)
ret void
}

LLVM IR (-O2):
%struct.lcpa_metapack = type { i32 }
define void @lcpf_authresq(%struct.lcpa_metapack* %0, i32* %1, i32* %2, i32* %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9, i32 %10) {
%12 = tail call i32 @lcpf_authreq(%struct.lcpa_metapack* %0, i32* %1, i32* %2, i32* %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9, i32 %10)
ret void
}