#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 /*<<< orphan*/ setup_epoll_wrappers();
int /*<<< orphan*/ setup_fork_wrappers();
int /*<<< orphan*/ setup_ioctl_wrappers();
int /*<<< orphan*/ setup_select_wrappers();
int /*<<< orphan*/ setup_sendfile_wrappers();
int /*<<< orphan*/ setup_socket_wrappers();
int /*<<< orphan*/ setup_sockopt_wrappers();
int /*<<< orphan*/ setup_uio_wrappers();
__attribute__((constructor)) void setup_wrappers(void) {
  setup_socket_wrappers();
  setup_sockopt_wrappers();
  setup_ioctl_wrappers();
  setup_fork_wrappers();
  setup_select_wrappers();
  setup_uio_wrappers();
  setup_sendfile_wrappers();
  setup_epoll_wrappers();
}


x86 assembly (clang, -O0):
<setup_wrappers>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1070 <setup_socket_wrappers@plt>
mov    $0x0,%al
call   1060 <setup_sockopt_wrappers@plt>
mov    $0x0,%al
call   1080 <setup_ioctl_wrappers@plt>
mov    $0x0,%al
call   1050 <setup_fork_wrappers@plt>
mov    $0x0,%al
call   1030 <setup_select_wrappers@plt>
mov    $0x0,%al
call   1090 <setup_uio_wrappers@plt>
mov    $0x0,%al
call   1040 <setup_sendfile_wrappers@plt>
mov    $0x0,%al
call   10a0 <setup_epoll_wrappers@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<setup_wrappers>:
push   %rax
xor    %eax,%eax
call   1070 <setup_socket_wrappers@plt>
xor    %eax,%eax
call   1060 <setup_sockopt_wrappers@plt>
xor    %eax,%eax
call   1080 <setup_ioctl_wrappers@plt>
xor    %eax,%eax
call   1050 <setup_fork_wrappers@plt>
xor    %eax,%eax
call   1030 <setup_select_wrappers@plt>
xor    %eax,%eax
call   1090 <setup_uio_wrappers@plt>
xor    %eax,%eax
call   1040 <setup_sendfile_wrappers@plt>
xor    %eax,%eax
pop    %rcx
jmp    10a0 <setup_epoll_wrappers@plt>

LLVM IR (-O0):
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @setup_wrappers, i8* null }]
define void @setup_wrappers() {
%1 = call i32 (...) @setup_socket_wrappers()
%2 = call i32 (...) @setup_sockopt_wrappers()
%3 = call i32 (...) @setup_ioctl_wrappers()
%4 = call i32 (...) @setup_fork_wrappers()
%5 = call i32 (...) @setup_select_wrappers()
%6 = call i32 (...) @setup_uio_wrappers()
%7 = call i32 (...) @setup_sendfile_wrappers()
%8 = call i32 (...) @setup_epoll_wrappers()
ret void
}

LLVM IR (-O2):
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @setup_wrappers, i8* null }]
define void @setup_wrappers() {
%1 = tail call i32 (...) @setup_socket_wrappers()
%2 = tail call i32 (...) @setup_sockopt_wrappers()
%3 = tail call i32 (...) @setup_ioctl_wrappers()
%4 = tail call i32 (...) @setup_fork_wrappers()
%5 = tail call i32 (...) @setup_select_wrappers()
%6 = tail call i32 (...) @setup_uio_wrappers()
%7 = tail call i32 (...) @setup_sendfile_wrappers()
%8 = tail call i32 (...) @setup_epoll_wrappers()
ret void
}