#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(void) {
  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.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    0xec3(%rip),%rdi
call   1060 <output_line@plt>
lea    0xee6(%rip),%rdi
call   1060 <output_line@plt>
lea    0xef4(%rip),%rdi
call   1060 <output_line@plt>
lea    0xf1e(%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    0xec6(%rip),%rdi
call   1060 <output_line@plt>
lea    0xee9(%rip),%rdi
call   1060 <output_line@plt>
lea    0xef7(%rip),%rdi
call   1060 <output_line@plt>
lea    0xf21(%rip),%rdi
pop    %rax
jmp    1060 <output_line@plt>

LLVM IR (-O0):
@.str = [40 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 = [26 x i8] c"\09.module SMALLC_GENERATED\00"
@.str.3 = [54 x i8] c"\09.list (err, loc, bin, eqt, cyc, lin, src, lst, md)\00"
@.str.4 = [15 x i8] c"\09.nlist (pag)\00"
define void @header() {
%1 = call i32 @output_string(i8* getelementptr inbounds ([40 x i8], [40 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 ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @output_line(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @output_line(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [40 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 = [26 x i8] c"\09.module SMALLC_GENERATED\00"
@.str.3 = [54 x i8] c"\09.list (err, loc, bin, eqt, cyc, lin, src, lst, md)\00"
@.str.4 = [15 x i8] c"\09.nlist (pag)\00"
define void @header() {
%1 = tail call i32 @output_string(i8* getelementptr inbounds ([40 x i8], [40 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 ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @output_line(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 @output_line(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
ret void
}