#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*/ uint32_t;
typedef int /*<<< orphan*/ uint16_t;

/* Variables and functions */
int /*<<< orphan*/ fs_univ_link(int /*<<< orphan*/, int /*<<< orphan*/,
                                int /*<<< orphan*/, int /*<<< orphan*/,
                                int /*<<< orphan*/, int /*<<< orphan*/,
                                int /*<<< orphan*/ const *, int /*<<< orphan*/,
                                int /*<<< orphan*/, int /*<<< orphan*/ *,
                                int /*<<< orphan*/, int /*<<< orphan*/,
                                int /*<<< orphan*/ *, int /*<<< orphan*/ *);
int /*<<< orphan*/ main_time();
uint8_t fs_link(uint32_t rootinode, uint8_t sesflags, uint32_t inode_src,
                uint32_t parent_dst, uint16_t nleng_dst,
                const uint8_t *name_dst, uint32_t uid, uint32_t gids,
                uint32_t *gid, uint32_t auid, uint32_t agid, uint32_t *inode,
                uint8_t attr[35]) {
  return fs_univ_link(main_time(), rootinode, sesflags, inode_src, parent_dst,
                      nleng_dst, name_dst, uid, gids, gid, auid, agid, inode,
                      attr);
}


x86 assembly (clang, -O0):
<fs_link>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %edi,-0x2c(%rbp)
mov    %esi,-0x30(%rbp)
mov    %edx,-0x34(%rbp)
mov    %ecx,-0x38(%rbp)
mov    %r8d,-0x3c(%rbp)
mov    %r9,-0x48(%rbp)
mov    $0x0,%al
call   1040 <main_time@plt>
mov    %eax,%edi
mov    -0x2c(%rbp),%esi
mov    -0x30(%rbp),%edx
mov    -0x34(%rbp),%ecx
mov    -0x38(%rbp),%r8d
mov    -0x3c(%rbp),%r9d
mov    -0x48(%rbp),%r13
mov    0x10(%rbp),%r12d
mov    0x18(%rbp),%r15d
mov    0x20(%rbp),%r14
mov    0x28(%rbp),%ebx
mov    0x30(%rbp),%r11d
mov    0x38(%rbp),%r10
mov    0x40(%rbp),%rax
mov    %r13,(%rsp)
mov    %r12d,0x8(%rsp)
mov    %r15d,0x10(%rsp)
mov    %r14,0x18(%rsp)
mov    %ebx,0x20(%rsp)
mov    %r11d,0x28(%rsp)
mov    %r10,0x30(%rsp)
mov    %rax,0x38(%rsp)
call   1030 <fs_univ_link@plt>
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<fs_link>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %r9,%r13
mov    %r8d,%r14d
mov    %ecx,%r15d
mov    %edx,%r12d
mov    %esi,%ebp
mov    %edi,%ebx
xor    %eax,%eax
call   1040 <main_time@plt>
movups 0xa8(%rsp),%xmm0
movups %xmm0,0x30(%rsp)
mov    0xa0(%rsp),%ecx
mov    %ecx,0x28(%rsp)
mov    0x98(%rsp),%ecx
mov    %ecx,0x20(%rsp)
mov    0x90(%rsp),%rcx
mov    %rcx,0x18(%rsp)
mov    0x88(%rsp),%ecx
mov    %ecx,0x10(%rsp)
mov    0x80(%rsp),%ecx
mov    %ecx,0x8(%rsp)
mov    %r13,(%rsp)
mov    %eax,%edi
mov    %ebx,%esi
mov    %ebp,%edx
mov    %r12d,%ecx
mov    %r15d,%r8d
mov    %r14d,%r9d
call   1030 <fs_univ_link@plt>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @fs_link(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32* %5, i32 %6, i32 %7, i32* %8, i32 %9, i32 %10, i32* %11, i32* %12) {
%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*
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32*
%26 = alloca i32*
store i32 %0, i32* %14
store i32 %1, i32* %15
store i32 %2, i32* %16
store i32 %3, i32* %17
store i32 %4, i32* %18
store i32* %5, i32** %19
store i32 %6, i32* %20
store i32 %7, i32* %21
store i32* %8, i32** %22
store i32 %9, i32* %23
store i32 %10, i32* %24
store i32* %11, i32** %25
store i32* %12, i32** %26
%27 = call i32 (...) @main_time()
%28 = load i32, i32* %14
%29 = load i32, i32* %15
%30 = load i32, i32* %16
%31 = load i32, i32* %17
%32 = load i32, i32* %18
%33 = load i32*, i32** %19
%34 = load i32, i32* %20
%35 = load i32, i32* %21
%36 = load i32*, i32** %22
%37 = load i32, i32* %23
%38 = load i32, i32* %24
%39 = load i32*, i32** %25
%40 = load i32*, i32** %26
%41 = call i32 @fs_univ_link(i32 %27, i32 %28, i32 %29, i32 %30, i32 %31, i32 %32, i32* %33, i32 %34, i32 %35, i32* %36, i32 %37, i32 %38, i32* %39, i32* %40)
ret i32 %41
}

LLVM IR (-O2):
define i32 @fs_link(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32* %5, i32 %6, i32 %7, i32* %8, i32 %9, i32 %10, i32* %11, i32* %12) {
%14 = tail call i32 (...) @main_time()
%15 = tail call i32 @fs_univ_link(i32 %14, i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32* %5, i32 %6, i32 %7, i32* %8, i32 %9, i32 %10, i32* %11, i32* %12)
ret i32 %15
}