#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*/ gen_banner();
int /*<<< orphan*/ gen_basefunction();
int /*<<< orphan*/ gen_decode_ext();
int /*<<< orphan*/ gen_flush_interrupts();
int /*<<< orphan*/ gen_group_12_exception();
int /*<<< orphan*/ gen_interface();
int /*<<< orphan*/ gen_privilege_violation();
int /*<<< orphan*/ gen_readbw(int);
int /*<<< orphan*/ gen_readl();
int /*<<< orphan*/ gen_variables();
int /*<<< orphan*/ gen_writebw(int);
int /*<<< orphan*/ gen_writel();
void prefixes(void) {
  gen_banner();
  gen_variables();
  gen_interface();
  gen_basefunction();
  gen_decode_ext();
  gen_readbw(1);
  gen_readbw(2);
  gen_readl();
  gen_writebw(1);
  gen_writebw(2);
  gen_writel();
  gen_group_12_exception();
  gen_privilege_violation();
  gen_flush_interrupts();
}


x86 assembly (clang, -O0):
<prefixes>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   10c0 <gen_banner@plt>
mov    $0x0,%al
call   10e0 <gen_variables@plt>
mov    $0x0,%al
call   1060 <gen_interface@plt>
mov    $0x0,%al
call   10a0 <gen_basefunction@plt>
mov    $0x0,%al
call   1070 <gen_decode_ext@plt>
mov    $0x1,%edi
call   10b0 <gen_readbw@plt>
mov    $0x2,%edi
call   10b0 <gen_readbw@plt>
mov    $0x0,%al
call   1050 <gen_readl@plt>
mov    $0x1,%edi
call   10d0 <gen_writebw@plt>
mov    $0x2,%edi
call   10d0 <gen_writebw@plt>
mov    $0x0,%al
call   1090 <gen_writel@plt>
mov    $0x0,%al
call   1080 <gen_group_12_exception@plt>
mov    $0x0,%al
call   1030 <gen_privilege_violation@plt>
mov    $0x0,%al
call   1040 <gen_flush_interrupts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<prefixes>:
push   %rax
xor    %eax,%eax
call   10c0 <gen_banner@plt>
xor    %eax,%eax
call   10e0 <gen_variables@plt>
xor    %eax,%eax
call   1060 <gen_interface@plt>
xor    %eax,%eax
call   10a0 <gen_basefunction@plt>
xor    %eax,%eax
call   1070 <gen_decode_ext@plt>
mov    $0x1,%edi
call   10b0 <gen_readbw@plt>
mov    $0x2,%edi
call   10b0 <gen_readbw@plt>
xor    %eax,%eax
call   1050 <gen_readl@plt>
mov    $0x1,%edi
call   10d0 <gen_writebw@plt>
mov    $0x2,%edi
call   10d0 <gen_writebw@plt>
xor    %eax,%eax
call   1090 <gen_writel@plt>
xor    %eax,%eax
call   1080 <gen_group_12_exception@plt>
xor    %eax,%eax
call   1030 <gen_privilege_violation@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <gen_flush_interrupts@plt>

LLVM IR (-O0):
define void @prefixes() {
%1 = call i32 (...) @gen_banner()
%2 = call i32 (...) @gen_variables()
%3 = call i32 (...) @gen_interface()
%4 = call i32 (...) @gen_basefunction()
%5 = call i32 (...) @gen_decode_ext()
%6 = call i32 @gen_readbw(i32 1)
%7 = call i32 @gen_readbw(i32 2)
%8 = call i32 (...) @gen_readl()
%9 = call i32 @gen_writebw(i32 1)
%10 = call i32 @gen_writebw(i32 2)
%11 = call i32 (...) @gen_writel()
%12 = call i32 (...) @gen_group_12_exception()
%13 = call i32 (...) @gen_privilege_violation()
%14 = call i32 (...) @gen_flush_interrupts()
ret void
}

LLVM IR (-O2):
define void @prefixes() {
%1 = tail call i32 (...) @gen_banner()
%2 = tail call i32 (...) @gen_variables()
%3 = tail call i32 (...) @gen_interface()
%4 = tail call i32 (...) @gen_basefunction()
%5 = tail call i32 (...) @gen_decode_ext()
%6 = tail call i32 @gen_readbw(i32 1)
%7 = tail call i32 @gen_readbw(i32 2)
%8 = tail call i32 (...) @gen_readl()
%9 = tail call i32 @gen_writebw(i32 1)
%10 = tail call i32 @gen_writebw(i32 2)
%11 = tail call i32 (...) @gen_writel()
%12 = tail call i32 (...) @gen_group_12_exception()
%13 = tail call i32 (...) @gen_privilege_violation()
%14 = tail call i32 (...) @gen_flush_interrupts()
ret void
}