#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*/ frontend_version();
int /*<<< orphan*/ newline();
int /*<<< orphan*/ output_line(char *);
int /*<<< orphan*/ output_string(char *);
void header() {
  output_string("; Small C 8080;\n;\tCoder (2.4,84/11/27)\n;");
  frontend_version();
  newline();
  output_line("\t;program area SMALLC_GENERATED is RELOCATABLE");
  output_line("\t.area\tSMALLC_GENERATED\t(REL,CON)");
  output_line("\t.module SMALLC_GENERATED");
  output_line("\t.list   (err, loc, bin, eqt, cyc, lin, src, lst, md)");
  output_line("\t.nlist  (pag)");
}


x86 assembly (clang, -O0):
<header>:
push   %rbp
mov    %rsp,%rbp
lea    0xeb5(%rip),%rdi
call   1040 <output_string@plt>
mov    $0x0,%al
call   1050 <frontend_version@plt>
mov    $0x0,%al
call   1030 <newline@plt>
lea    0xec4(%rip),%rdi
call   1060 <output_line@plt>
lea    0xee7(%rip),%rdi
call   1060 <output_line@plt>
lea    0xefd(%rip),%rdi
call   1060 <output_line@plt>
lea    0xf0b(%rip),%rdi
call   1060 <output_line@plt>
lea    0xf35(%rip),%rdi
call   1060 <output_line@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<header>:
push   %rax
lea    0xeb8(%rip),%rdi
call   1040 <output_string@plt>
xor    %eax,%eax
call   1050 <frontend_version@plt>
xor    %eax,%eax
call   1030 <newline@plt>
lea    0xec7(%rip),%rdi
call   1060 <output_line@plt>
lea    0xeea(%rip),%rdi
call   1060 <output_line@plt>
lea    0xf00(%rip),%rdi
call   1060 <output_line@plt>
lea    0xf0e(%rip),%rdi
call   1060 <output_line@plt>
lea    0xf38(%rip),%rdi
pop    %rax
jmp    1060 <output_line@plt>

LLVM IR (-O0):
@.str = [41 x i8] c"; Small C 8080;\0A;\09Coder (2.4,84/11/27)\0A;\00"
@.str.1 = [47 x i8] c"\09;program area SMALLC_GENERATED is RELOCATABLE\00"
@.str.2 = [34 x i8] c"\09.area\09SMALLC_GENERATED\09(REL,CON)\00"
@.str.3 = [26 x i8] c"\09.module SMALLC_GENERATED\00"
@.str.4 = [54 x i8] c"\09.list (err, loc, bin, eqt, cyc, lin, src, lst, md)\00"
@.str.5 = [15 x i8] c"\09.nlist (pag)\00"
define void @header() {
%1 = call i32 @output_string(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (...) @frontend_version()
%3 = call i32 (...) @newline()
%4 = call i32 @output_line(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @output_line(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @output_line(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @output_line(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @output_line(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [41 x i8] c"; Small C 8080;\0A;\09Coder (2.4,84/11/27)\0A;\00"
@.str.1 = [47 x i8] c"\09;program area SMALLC_GENERATED is RELOCATABLE\00"
@.str.2 = [34 x i8] c"\09.area\09SMALLC_GENERATED\09(REL,CON)\00"
@.str.3 = [26 x i8] c"\09.module SMALLC_GENERATED\00"
@.str.4 = [54 x i8] c"\09.list (err, loc, bin, eqt, cyc, lin, src, lst, md)\00"
@.str.5 = [15 x i8] c"\09.nlist (pag)\00"
define void @header() {
%1 = tail call i32 @output_string(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (...) @frontend_version()
%3 = tail call i32 (...) @newline()
%4 = tail call i32 @output_line(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @output_line(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @output_line(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 @output_line(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%8 = tail call i32 @output_line(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
ret void
}