#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*/ ioapic_map(int, int);
void ioapic_init() {
  ioapic_map(0, 219);
  ioapic_map(1, 218);
  ioapic_map(3, 216);
  ioapic_map(4, 215);
  ioapic_map(5, 214);
  ioapic_map(6, 213);
  ioapic_map(7, 212);
  ioapic_map(8, 211);
  ioapic_map(9, 210);
  ioapic_map(10, 209);
  ioapic_map(11, 208);
  ioapic_map(12, 207);
  ioapic_map(13, 206);
  ioapic_map(14, 205);
  ioapic_map(15, 204);
}


x86 assembly (clang, -O0):
<ioapic_init>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
mov    $0xdb,%esi
call   1030 <ioapic_map@plt>
mov    $0x1,%edi
mov    $0xda,%esi
call   1030 <ioapic_map@plt>
mov    $0x3,%edi
mov    $0xd8,%esi
call   1030 <ioapic_map@plt>
mov    $0x4,%edi
mov    $0xd7,%esi
call   1030 <ioapic_map@plt>
mov    $0x5,%edi
mov    $0xd6,%esi
call   1030 <ioapic_map@plt>
mov    $0x6,%edi
mov    $0xd5,%esi
call   1030 <ioapic_map@plt>
mov    $0x7,%edi
mov    $0xd4,%esi
call   1030 <ioapic_map@plt>
mov    $0x8,%edi
mov    $0xd3,%esi
call   1030 <ioapic_map@plt>
mov    $0x9,%edi
mov    $0xd2,%esi
call   1030 <ioapic_map@plt>
mov    $0xa,%edi
mov    $0xd1,%esi
call   1030 <ioapic_map@plt>
mov    $0xb,%edi
mov    $0xd0,%esi
call   1030 <ioapic_map@plt>
mov    $0xc,%edi
mov    $0xcf,%esi
call   1030 <ioapic_map@plt>
mov    $0xd,%edi
mov    $0xce,%esi
call   1030 <ioapic_map@plt>
mov    $0xe,%edi
mov    $0xcd,%esi
call   1030 <ioapic_map@plt>
mov    $0xf,%edi
mov    $0xcc,%esi
call   1030 <ioapic_map@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ioapic_init>:
push   %rax
xor    %edi,%edi
mov    $0xdb,%esi
call   1030 <ioapic_map@plt>
mov    $0x1,%edi
mov    $0xda,%esi
call   1030 <ioapic_map@plt>
mov    $0x3,%edi
mov    $0xd8,%esi
call   1030 <ioapic_map@plt>
mov    $0x4,%edi
mov    $0xd7,%esi
call   1030 <ioapic_map@plt>
mov    $0x5,%edi
mov    $0xd6,%esi
call   1030 <ioapic_map@plt>
mov    $0x6,%edi
mov    $0xd5,%esi
call   1030 <ioapic_map@plt>
mov    $0x7,%edi
mov    $0xd4,%esi
call   1030 <ioapic_map@plt>
mov    $0x8,%edi
mov    $0xd3,%esi
call   1030 <ioapic_map@plt>
mov    $0x9,%edi
mov    $0xd2,%esi
call   1030 <ioapic_map@plt>
mov    $0xa,%edi
mov    $0xd1,%esi
call   1030 <ioapic_map@plt>
mov    $0xb,%edi
mov    $0xd0,%esi
call   1030 <ioapic_map@plt>
mov    $0xc,%edi
mov    $0xcf,%esi
call   1030 <ioapic_map@plt>
mov    $0xd,%edi
mov    $0xce,%esi
call   1030 <ioapic_map@plt>
mov    $0xe,%edi
mov    $0xcd,%esi
call   1030 <ioapic_map@plt>
mov    $0xf,%edi
mov    $0xcc,%esi
pop    %rax
jmp    1030 <ioapic_map@plt>

LLVM IR (-O0):
define void @ioapic_init() {
%1 = call i32 @ioapic_map(i32 0, i32 219)
%2 = call i32 @ioapic_map(i32 1, i32 218)
%3 = call i32 @ioapic_map(i32 3, i32 216)
%4 = call i32 @ioapic_map(i32 4, i32 215)
%5 = call i32 @ioapic_map(i32 5, i32 214)
%6 = call i32 @ioapic_map(i32 6, i32 213)
%7 = call i32 @ioapic_map(i32 7, i32 212)
%8 = call i32 @ioapic_map(i32 8, i32 211)
%9 = call i32 @ioapic_map(i32 9, i32 210)
%10 = call i32 @ioapic_map(i32 10, i32 209)
%11 = call i32 @ioapic_map(i32 11, i32 208)
%12 = call i32 @ioapic_map(i32 12, i32 207)
%13 = call i32 @ioapic_map(i32 13, i32 206)
%14 = call i32 @ioapic_map(i32 14, i32 205)
%15 = call i32 @ioapic_map(i32 15, i32 204)
ret void
}

LLVM IR (-O2):
define void @ioapic_init() {
%1 = tail call i32 @ioapic_map(i32 0, i32 219)
%2 = tail call i32 @ioapic_map(i32 1, i32 218)
%3 = tail call i32 @ioapic_map(i32 3, i32 216)
%4 = tail call i32 @ioapic_map(i32 4, i32 215)
%5 = tail call i32 @ioapic_map(i32 5, i32 214)
%6 = tail call i32 @ioapic_map(i32 6, i32 213)
%7 = tail call i32 @ioapic_map(i32 7, i32 212)
%8 = tail call i32 @ioapic_map(i32 8, i32 211)
%9 = tail call i32 @ioapic_map(i32 9, i32 210)
%10 = tail call i32 @ioapic_map(i32 10, i32 209)
%11 = tail call i32 @ioapic_map(i32 11, i32 208)
%12 = tail call i32 @ioapic_map(i32 12, i32 207)
%13 = tail call i32 @ioapic_map(i32 13, i32 206)
%14 = tail call i32 @ioapic_map(i32 14, i32 205)
%15 = tail call i32 @ioapic_map(i32 15, i32 204)
ret void
}