#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*/ out_html(char *);
void outputPageHeader(char *l, char *c, char *r) {
  out_html("<TABLE WIDTH=100%>\n<TR>\n");
  out_html("<TH ALIGN=LEFT width=33%>");
  out_html(l);
  out_html("<TH ALIGN=CENTER width=33%>");
  out_html(c);
  out_html("<TH ALIGN=RIGHT width=33%>");
  out_html(r);
  out_html("\n</TR>\n</TABLE>\n");
}


x86 assembly (clang, -O0):
<outputPageHeader>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
lea    0xed5(%rip),%rdi
call   1030 <out_html@plt>
lea    0xee2(%rip),%rdi
call   1030 <out_html@plt>
mov    -0x8(%rbp),%rdi
call   1030 <out_html@plt>
lea    0xee7(%rip),%rdi
call   1030 <out_html@plt>
mov    -0x10(%rbp),%rdi
call   1030 <out_html@plt>
lea    0xeee(%rip),%rdi
call   1030 <out_html@plt>
mov    -0x18(%rbp),%rdi
call   1030 <out_html@plt>
lea    0xef4(%rip),%rdi
call   1030 <out_html@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<outputPageHeader>:
push   %r15
push   %r14
push   %rbx
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%rbx
lea    0xedb(%rip),%rdi
call   1030 <out_html@plt>
lea    0xee8(%rip),%rdi
call   1030 <out_html@plt>
mov    %rbx,%rdi
call   1030 <out_html@plt>
lea    0xeee(%rip),%rdi
call   1030 <out_html@plt>
mov    %r15,%rdi
call   1030 <out_html@plt>
lea    0xef6(%rip),%rdi
call   1030 <out_html@plt>
mov    %r14,%rdi
call   1030 <out_html@plt>
lea    0xefd(%rip),%rdi
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <out_html@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"<TABLE WIDTH=100%>\0A<TR>\0A\00"
@.str.1 = [26 x i8] c"<TH ALIGN=LEFT width=33%>\00"
@.str.2 = [28 x i8] c"<TH ALIGN=CENTER width=33%>\00"
@.str.3 = [27 x i8] c"<TH ALIGN=RIGHT width=33%>\00"
@.str.4 = [17 x i8] c"\0A</TR>\0A</TABLE>\0A\00"
define void @outputPageHeader(i8* %0, i8* %1, i8* %2) {
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
store i8* %0, i8** %4
store i8* %1, i8** %5
store i8* %2, i8** %6
%7 = call i32 @out_html(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @out_html(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%9 = load i8*, i8** %4
%10 = call i32 @out_html(i8* %9)
%11 = call i32 @out_html(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%12 = load i8*, i8** %5
%13 = call i32 @out_html(i8* %12)
%14 = call i32 @out_html(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%15 = load i8*, i8** %6
%16 = call i32 @out_html(i8* %15)
%17 = call i32 @out_html(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [25 x i8] c"<TABLE WIDTH=100%>\0A<TR>\0A\00"
@.str.1 = [26 x i8] c"<TH ALIGN=LEFT width=33%>\00"
@.str.2 = [28 x i8] c"<TH ALIGN=CENTER width=33%>\00"
@.str.3 = [27 x i8] c"<TH ALIGN=RIGHT width=33%>\00"
@.str.4 = [17 x i8] c"\0A</TR>\0A</TABLE>\0A\00"
define void @outputPageHeader(i8* %0, i8* %1, i8* %2) {
%4 = tail call i32 @out_html(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @out_html(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32 @out_html(i8* %0)
%7 = tail call i32 @out_html(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @out_html(i8* %1)
%9 = tail call i32 @out_html(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%10 = tail call i32 @out_html(i8* %2)
%11 = tail call i32 @out_html(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
ret void
}