#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*/ CSS(char *, int);
char *TAG(char *, int, int, int, int, char *, char *, ...);
int /*<<< orphan*/ TITLE(char *, int);
char *HEAD(char *title) {
  return TAG("head", 0, 3, 1, 0, TITLE(title, 1), CSS("../css/style.css", 1),
             TAG("script", 1, 0, 1, 1, "src",
                 "//html5shim.googlecode.com/svn/trunk/html5.js"));
}


x86 assembly (clang, -O0):
<HEAD>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x1,%esi
call   1050 <TITLE@plt>
cltq
mov    %rax,-0x18(%rbp)
lea    0xeae(%rip),%rdi
mov    $0x1,%esi
call   1030 <CSS@plt>
cltq
mov    %rax,-0x10(%rbp)
lea    0xea8(%rip),%rdi
mov    $0x1,%r8d
xor    %edx,%edx
lea    0xea0(%rip),%r9
lea    0xe9d(%rip),%rax
mov    %r8d,%esi
mov    %r8d,%ecx
mov    %rax,(%rsp)
mov    $0x0,%al
call   1040 <TAG@plt>
mov    -0x18(%rbp),%r9
mov    -0x10(%rbp),%r10
lea    0xe5c(%rip),%rdi
xor    %r8d,%r8d
mov    $0x3,%edx
mov    $0x1,%ecx
mov    %r8d,%esi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1040 <TAG@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HEAD>:
push   %r15
push   %r14
push   %rbx
mov    $0x1,%esi
call   1050 <TITLE@plt>
movslq %eax,%r14
lea    0xebc(%rip),%rdi
mov    $0x1,%esi
call   1030 <CSS@plt>
movslq %eax,%r15
sub    $0x8,%rsp
lea    0xec0(%rip),%rbx
lea    0xeae(%rip),%rdi
lea    0xeae(%rip),%r9
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x1,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
push   %rbx
call   1040 <TAG@plt>
add    $0x10,%rsp
mov    %rax,%rbx
lea    0xe69(%rip),%rdi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x1,%ecx
xor    %r8d,%r8d
mov    %r14,%r9
xor    %eax,%eax
push   %rbx
push   %r15
call   1040 <TAG@plt>
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"head\00"
@.str.1 = [17 x i8] c"../css/style.css\00"
@.str.2 = [7 x i8] c"script\00"
@.str.3 = [4 x i8] c"src\00"
@.str.4 = [46 x i8] c"//html5shim.googlecode.com/svn/trunk/html5.js\00"
define i8* @HEAD(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @TITLE(i8* %3, i32 1)
%5 = sext i32 %4 to i64
%6 = inttoptr i64 %5 to i8*
%7 = call i32 @CSS(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 1)
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to i8*
%10 = call i8* (i8*, i32, i32, i32, i32, i8*, i8*, ...) @TAG(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 0, i32 1, i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0))
%11 = call i8* (i8*, i32, i32, i32, i32, i8*, i8*, ...) @TAG(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 0, i32 3, i32 1, i32 0, i8* %6, i8* %9, i8* %10)
ret i8* %11
}

LLVM IR (-O2):
@.str = [5 x i8] c"head\00"
@.str.1 = [17 x i8] c"../css/style.css\00"
@.str.2 = [7 x i8] c"script\00"
@.str.3 = [4 x i8] c"src\00"
@.str.4 = [46 x i8] c"//html5shim.googlecode.com/svn/trunk/html5.js\00"
define i8* @HEAD(i8* %0) {
%2 = tail call i32 @TITLE(i8* %0, i32 1)
%3 = sext i32 %2 to i64
%4 = inttoptr i64 %3 to i8*
%5 = tail call i32 @CSS(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 1)
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to i8*
%8 = tail call i8* (i8*, i32, i32, i32, i32, i8*, i8*, ...) @TAG(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 0, i32 1, i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0))
%9 = tail call i8* (i8*, i32, i32, i32, i32, i8*, i8*, ...) @TAG(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 0, i32 3, i32 1, i32 0, i8* %4, i8* %7, i8* %8)
ret i8* %9
}