#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*/ AddLabel(char *, int);
void AdicionarLabelsFixos(void) {
  AddLabel("Dynamic_data_start", 24577);
  AddLabel("Dynamic_data_end", 30681);
  AddLabel("System_call", 30682);
  AddLabel("Stack_end", 30690);
  AddLabel("Stack_start", 32738);
  AddLabel("Serial_RX", 32746);
  AddLabel("Serial_TX", 32747);
  AddLabel("Timer", 32748);
  AddLabel("Arg0", ((0) + (32749)));
  AddLabel("Arg1", ((1) + (32749)));
  AddLabel("Arg2", ((2) + (32749)));
  AddLabel("Arg3", ((3) + (32749)));
  AddLabel("Arg4", ((4) + (32749)));
  AddLabel("Arg5", ((5) + (32749)));
  AddLabel("Arg6", ((6) + (32749)));
  AddLabel("Arg7", ((7) + (32749)));
  AddLabel("Arg8", ((8) + (32749)));
  AddLabel("Arg9", ((9) + (32749)));
  AddLabel("Ret", 32759);
  AddLabel("Interrupt_Timer", 32760);
  AddLabel("Interrupt_Keyboard", 32761);
  AddLabel("Interrupt_System", 32762);
  AddLabel("Interrupt_Stack_Overflow", 32763);
  AddLabel("Interrupt_Stack_Underflow", 32764);
  AddLabel("Interrupt_Division_by_zero", 32765);
  AddLabel("Interrupt_Serial_Ready", 32766);
  AddLabel("Interrupt_Reset", 32767);
}


x86 assembly (clang, -O0):
<AdicionarLabelsFixos>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x6001,%esi
call   1030 <AddLabel@plt>
lea    0xee7(%rip),%rdi
mov    $0x77d9,%esi
call   1030 <AddLabel@plt>
lea    0xee7(%rip),%rdi
mov    $0x77da,%esi
call   1030 <AddLabel@plt>
lea    0xee2(%rip),%rdi
mov    $0x77e2,%esi
call   1030 <AddLabel@plt>
lea    0xedb(%rip),%rdi
mov    $0x7fe2,%esi
call   1030 <AddLabel@plt>
lea    0xed6(%rip),%rdi
mov    $0x7fea,%esi
call   1030 <AddLabel@plt>
lea    0xecf(%rip),%rdi
mov    $0x7feb,%esi
call   1030 <AddLabel@plt>
lea    0xf08(%rip),%rdi
mov    $0x7fec,%esi
call   1030 <AddLabel@plt>
lea    0xeb7(%rip),%rdi
mov    $0x7fed,%esi
call   1030 <AddLabel@plt>
lea    0xeab(%rip),%rdi
mov    $0x7fee,%esi
call   1030 <AddLabel@plt>
lea    0xe9f(%rip),%rdi
mov    $0x7fef,%esi
call   1030 <AddLabel@plt>
lea    0xe93(%rip),%rdi
mov    $0x7ff0,%esi
call   1030 <AddLabel@plt>
lea    0xe87(%rip),%rdi
mov    $0x7ff1,%esi
call   1030 <AddLabel@plt>
lea    0xe7b(%rip),%rdi
mov    $0x7ff2,%esi
call   1030 <AddLabel@plt>
lea    0xe6f(%rip),%rdi
mov    $0x7ff3,%esi
call   1030 <AddLabel@plt>
lea    0xe63(%rip),%rdi
mov    $0x7ff4,%esi
call   1030 <AddLabel@plt>
lea    0xe57(%rip),%rdi
mov    $0x7ff5,%esi
call   1030 <AddLabel@plt>
lea    0xe4b(%rip),%rdi
mov    $0x7ff6,%esi
call   1030 <AddLabel@plt>
lea    0xe3f(%rip),%rdi
mov    $0x7ff7,%esi
call   1030 <AddLabel@plt>
lea    0xe32(%rip),%rdi
mov    $0x7ff8,%esi
call   1030 <AddLabel@plt>
lea    0xe31(%rip),%rdi
mov    $0x7ff9,%esi
call   1030 <AddLabel@plt>
lea    0xe33(%rip),%rdi
mov    $0x7ffa,%esi
call   1030 <AddLabel@plt>
lea    0xe33(%rip),%rdi
mov    $0x7ffb,%esi
call   1030 <AddLabel@plt>
lea    0xe3b(%rip),%rdi
mov    $0x7ffc,%esi
call   1030 <AddLabel@plt>
lea    0xe44(%rip),%rdi
mov    $0x7ffd,%esi
call   1030 <AddLabel@plt>
lea    0xe4e(%rip),%rdi
mov    $0x7ffe,%esi
call   1030 <AddLabel@plt>
lea    0xe54(%rip),%rdi
mov    $0x7fff,%esi
call   1030 <AddLabel@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<AdicionarLabelsFixos>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x6001,%esi
call   1030 <AddLabel@plt>
lea    0xeea(%rip),%rdi
mov    $0x77d9,%esi
call   1030 <AddLabel@plt>
lea    0xeea(%rip),%rdi
mov    $0x77da,%esi
call   1030 <AddLabel@plt>
lea    0xee5(%rip),%rdi
mov    $0x77e2,%esi
call   1030 <AddLabel@plt>
lea    0xede(%rip),%rdi
mov    $0x7fe2,%esi
call   1030 <AddLabel@plt>
lea    0xed9(%rip),%rdi
mov    $0x7fea,%esi
call   1030 <AddLabel@plt>
lea    0xed2(%rip),%rdi
mov    $0x7feb,%esi
call   1030 <AddLabel@plt>
lea    0xf0b(%rip),%rdi
mov    $0x7fec,%esi
call   1030 <AddLabel@plt>
lea    0xeba(%rip),%rdi
mov    $0x7fed,%esi
call   1030 <AddLabel@plt>
lea    0xeae(%rip),%rdi
mov    $0x7fee,%esi
call   1030 <AddLabel@plt>
lea    0xea2(%rip),%rdi
mov    $0x7fef,%esi
call   1030 <AddLabel@plt>
lea    0xe96(%rip),%rdi
mov    $0x7ff0,%esi
call   1030 <AddLabel@plt>
lea    0xe8a(%rip),%rdi
mov    $0x7ff1,%esi
call   1030 <AddLabel@plt>
lea    0xe7e(%rip),%rdi
mov    $0x7ff2,%esi
call   1030 <AddLabel@plt>
lea    0xe72(%rip),%rdi
mov    $0x7ff3,%esi
call   1030 <AddLabel@plt>
lea    0xe66(%rip),%rdi
mov    $0x7ff4,%esi
call   1030 <AddLabel@plt>
lea    0xe5a(%rip),%rdi
mov    $0x7ff5,%esi
call   1030 <AddLabel@plt>
lea    0xe4e(%rip),%rdi
mov    $0x7ff6,%esi
call   1030 <AddLabel@plt>
lea    0xe42(%rip),%rdi
mov    $0x7ff7,%esi
call   1030 <AddLabel@plt>
lea    0xe35(%rip),%rdi
mov    $0x7ff8,%esi
call   1030 <AddLabel@plt>
lea    0xe34(%rip),%rdi
mov    $0x7ff9,%esi
call   1030 <AddLabel@plt>
lea    0xe36(%rip),%rdi
mov    $0x7ffa,%esi
call   1030 <AddLabel@plt>
lea    0xe36(%rip),%rdi
mov    $0x7ffb,%esi
call   1030 <AddLabel@plt>
lea    0xe3e(%rip),%rdi
mov    $0x7ffc,%esi
call   1030 <AddLabel@plt>
lea    0xe47(%rip),%rdi
mov    $0x7ffd,%esi
call   1030 <AddLabel@plt>
lea    0xe51(%rip),%rdi
mov    $0x7ffe,%esi
call   1030 <AddLabel@plt>
lea    0xe57(%rip),%rdi
mov    $0x7fff,%esi
pop    %rax
jmp    1030 <AddLabel@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"Dynamic_data_start\00"
@.str.1 = [17 x i8] c"Dynamic_data_end\00"
@.str.2 = [12 x i8] c"System_call\00"
@.str.3 = [10 x i8] c"Stack_end\00"
@.str.4 = [12 x i8] c"Stack_start\00"
@.str.5 = [10 x i8] c"Serial_RX\00"
@.str.6 = [10 x i8] c"Serial_TX\00"
@.str.7 = [6 x i8] c"Timer\00"
@.str.8 = [5 x i8] c"Arg0\00"
@.str.9 = [5 x i8] c"Arg1\00"
@.str.10 = [5 x i8] c"Arg2\00"
@.str.11 = [5 x i8] c"Arg3\00"
@.str.12 = [5 x i8] c"Arg4\00"
@.str.13 = [5 x i8] c"Arg5\00"
@.str.14 = [5 x i8] c"Arg6\00"
@.str.15 = [5 x i8] c"Arg7\00"
@.str.16 = [5 x i8] c"Arg8\00"
@.str.17 = [5 x i8] c"Arg9\00"
@.str.18 = [4 x i8] c"Ret\00"
@.str.19 = [16 x i8] c"Interrupt_Timer\00"
@.str.20 = [19 x i8] c"Interrupt_Keyboard\00"
@.str.21 = [17 x i8] c"Interrupt_System\00"
@.str.22 = [25 x i8] c"Interrupt_Stack_Overflow\00"
@.str.23 = [26 x i8] c"Interrupt_Stack_Underflow\00"
@.str.24 = [27 x i8] c"Interrupt_Division_by_zero\00"
@.str.25 = [23 x i8] c"Interrupt_Serial_Ready\00"
@.str.26 = [16 x i8] c"Interrupt_Reset\00"
define void @AdicionarLabelsFixos() {
%1 = call i32 @AddLabel(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i32 24577)
%2 = call i32 @AddLabel(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 30681)
%3 = call i32 @AddLabel(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 30682)
%4 = call i32 @AddLabel(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 30690)
%5 = call i32 @AddLabel(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 32738)
%6 = call i32 @AddLabel(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 32746)
%7 = call i32 @AddLabel(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 32747)
%8 = call i32 @AddLabel(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 32748)
%9 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 32749)
%10 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 32750)
%11 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 32751)
%12 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 32752)
%13 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i32 32753)
%14 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i32 32754)
%15 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i32 32755)
%16 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i32 32756)
%17 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32 32757)
%18 = call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i32 32758)
%19 = call i32 @AddLabel(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 32759)
%20 = call i32 @AddLabel(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.19, i64 0, i64 0), i32 32760)
%21 = call i32 @AddLabel(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0), i32 32761)
%22 = call i32 @AddLabel(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), i32 32762)
%23 = call i32 @AddLabel(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0), i32 32763)
%24 = call i32 @AddLabel(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.23, i64 0, i64 0), i32 32764)
%25 = call i32 @AddLabel(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.24, i64 0, i64 0), i32 32765)
%26 = call i32 @AddLabel(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.25, i64 0, i64 0), i32 32766)
%27 = call i32 @AddLabel(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.26, i64 0, i64 0), i32 32767)
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"Dynamic_data_start\00"
@.str.1 = [17 x i8] c"Dynamic_data_end\00"
@.str.2 = [12 x i8] c"System_call\00"
@.str.3 = [10 x i8] c"Stack_end\00"
@.str.4 = [12 x i8] c"Stack_start\00"
@.str.5 = [10 x i8] c"Serial_RX\00"
@.str.6 = [10 x i8] c"Serial_TX\00"
@.str.7 = [6 x i8] c"Timer\00"
@.str.8 = [5 x i8] c"Arg0\00"
@.str.9 = [5 x i8] c"Arg1\00"
@.str.10 = [5 x i8] c"Arg2\00"
@.str.11 = [5 x i8] c"Arg3\00"
@.str.12 = [5 x i8] c"Arg4\00"
@.str.13 = [5 x i8] c"Arg5\00"
@.str.14 = [5 x i8] c"Arg6\00"
@.str.15 = [5 x i8] c"Arg7\00"
@.str.16 = [5 x i8] c"Arg8\00"
@.str.17 = [5 x i8] c"Arg9\00"
@.str.18 = [4 x i8] c"Ret\00"
@.str.19 = [16 x i8] c"Interrupt_Timer\00"
@.str.20 = [19 x i8] c"Interrupt_Keyboard\00"
@.str.21 = [17 x i8] c"Interrupt_System\00"
@.str.22 = [25 x i8] c"Interrupt_Stack_Overflow\00"
@.str.23 = [26 x i8] c"Interrupt_Stack_Underflow\00"
@.str.24 = [27 x i8] c"Interrupt_Division_by_zero\00"
@.str.25 = [23 x i8] c"Interrupt_Serial_Ready\00"
@.str.26 = [16 x i8] c"Interrupt_Reset\00"
define void @AdicionarLabelsFixos() {
%1 = tail call i32 @AddLabel(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i32 24577)
%2 = tail call i32 @AddLabel(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 30681)
%3 = tail call i32 @AddLabel(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 30682)
%4 = tail call i32 @AddLabel(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 30690)
%5 = tail call i32 @AddLabel(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 32738)
%6 = tail call i32 @AddLabel(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 32746)
%7 = tail call i32 @AddLabel(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 32747)
%8 = tail call i32 @AddLabel(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 32748)
%9 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 32749)
%10 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 32750)
%11 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 32751)
%12 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 32752)
%13 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i32 32753)
%14 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i32 32754)
%15 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i32 32755)
%16 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i32 32756)
%17 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32 32757)
%18 = tail call i32 @AddLabel(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i32 32758)
%19 = tail call i32 @AddLabel(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 32759)
%20 = tail call i32 @AddLabel(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.19, i64 0, i64 0), i32 32760)
%21 = tail call i32 @AddLabel(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0), i32 32761)
%22 = tail call i32 @AddLabel(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), i32 32762)
%23 = tail call i32 @AddLabel(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0), i32 32763)
%24 = tail call i32 @AddLabel(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.23, i64 0, i64 0), i32 32764)
%25 = tail call i32 @AddLabel(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.24, i64 0, i64 0), i32 32765)
%26 = tail call i32 @AddLabel(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.25, i64 0, i64 0), i32 32766)
%27 = tail call i32 @AddLabel(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.26, i64 0, i64 0), i32 32767)
ret void
}