#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*/ printf(char *, ...);
void HTMLHead() {
  printf("Content-Type: text/html;\n\n");
  printf("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" "
         "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html "
         "xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\" >\n\t<head>");
  printf("\t\t<title>%s</title>", "Domotics motion detection");
  printf("\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; "
         "charset=utf-8\" />\n\t</head>\n\t<body>");
}


x86 assembly (clang, -O0):
<HTMLHead>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
lea    0xfa2(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<HTMLHead>:
push   %rax
lea    0x1010(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf6f(%rip),%rdi
lea    0xf7c(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf88(%rip),%rdi
xor    %eax,%eax
pop    %rcx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [27 x i8] c"Content-Type: text/html;\0A\0A\00"
@.str.1 = [177 x i8] c"<!DOCTYPE html PUBLIC \22-//W3C//DTD XHTML 1.0 Strict//EN\22 \22http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\22>\0A<html xmlns=\22http://www.w3.org/1999/xhtml\22 xml:lang=\22fr\22 >\0A\09<head>\00"
@.str.2 = [20 x i8] c"\09\09<title>%s</title>\00"
@.str.3 = [26 x i8] c"Domotics motion detection\00"
@.str.4 = [89 x i8] c"\09\09<meta http-equiv=\22Content-Type\22 content=\22text/html; charset=utf-8\22 />\0A\09</head>\0A\09<body>\00"
define void @HTMLHead() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [177 x i8] c"<!DOCTYPE html PUBLIC \22-//W3C//DTD XHTML 1.0 Strict//EN\22 \22http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\22>\0A<html xmlns=\22http://www.w3.org/1999/xhtml\22 xml:lang=\22fr\22 >\0A\09<head>\00"
@.str.2 = [20 x i8] c"\09\09<title>%s</title>\00"
@.str.3 = [26 x i8] c"Domotics motion detection\00"
@.str.4 = [89 x i8] c"\09\09<meta http-equiv=\22Content-Type\22 content=\22text/html; charset=utf-8\22 />\0A\09</head>\0A\09<body>\00"
@str = [26 x i8] c"Content-Type: text/html;\0A\00"
define void @HTMLHead() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([177 x i8], [177 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @.str.4, i64 0, i64 0))
ret void
}