#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 */
char *gettext(char *);
int /*<<< orphan*/ printf(char *);
void print_footer(void) {
  printf("<hr size=\"1\" width=\"100%%\">\n");
  printf("<center>\n");
  printf(gettext("[ <a href=\"index.html\">Search</a> ]\n"));
  printf(gettext("[ <a href=\"add.html\">Add A Public Key</a> ]\n"));
  printf(gettext("[ <a href=\"advsrch.html\">Advanced Search</a> ]\n"));
  printf(gettext("[ <a href=\"help.html\">Help</a> ]\n"));
  printf(gettext("[ <a href=\"about.html\">About CKS</a> ]\n"));
  printf("</center>\n");
  printf("<hr size=\"1\" width=\"100%%\">\n");
  printf(gettext("<center><a href=\"http://keyserver.cryptnet.net/\">CryptNET "
                 "Key Server Network</a></center>\n"));
  printf("</body></html>\n");
}


x86 assembly (clang, -O0):
<print_footer>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1040 <printf@plt>
lea    0xee6(%rip),%rdi
call   1040 <printf@plt>
lea    0xee4(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xef5(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf0e(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf38(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf9c(%rip),%rdi
call   1040 <printf@plt>
lea    0xe4d(%rip),%rdi
call   1040 <printf@plt>
lea    0xf34(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1040 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_footer>:
push   %rbx
lea    0xec8(%rip),%rbx
mov    %rbx,%rdi
call   1050 <printf@plt>
lea    0xffd(%rip),%rdi
call   1030 <puts@plt>
lea    0xeca(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xedb(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xef4(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xf10(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xf96(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1050 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xf78(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [29 x i8] c"<hr size=\221\22 width=\22100%%\22>\0A\00"
@.str.1 = [10 x i8] c"<center>\0A\00"
@.str.2 = [37 x i8] c"[ <a href=\22index.html\22>Search</a> ]\0A\00"
@.str.3 = [45 x i8] c"[ <a href=\22add.html\22>Add A Public Key</a> ]\0A\00"
@.str.4 = [48 x i8] c"[ <a href=\22advsrch.html\22>Advanced Search</a> ]\0A\00"
@.str.5 = [34 x i8] c"[ <a href=\22help.html\22>Help</a> ]\0A\00"
@.str.6 = [40 x i8] c"[ <a href=\22about.html\22>About CKS</a> ]\0A\00"
@.str.7 = [11 x i8] c"</center>\0A\00"
@.str.8 = [91 x i8] c"<center><a href=\22http://keyserver.cryptnet.net/\22>CryptNET Key Server Network</a></center>\0A\00"
@.str.9 = [16 x i8] c"</body></html>\0A\00"
define void @print_footer() {
%1 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i8* @gettext(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* %3)
%5 = call i8* @gettext(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* %5)
%7 = call i8* @gettext(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* %7)
%9 = call i8* @gettext(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 @printf(i8* %9)
%11 = call i8* @gettext(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 @printf(i8* %11)
%13 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%15 = call i8* @gettext(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.8, i64 0, i64 0))
%16 = call i32 @printf(i8* %15)
%17 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [29 x i8] c"<hr size=\221\22 width=\22100%%\22>\0A\00"
@.str.2 = [37 x i8] c"[ <a href=\22index.html\22>Search</a> ]\0A\00"
@.str.3 = [45 x i8] c"[ <a href=\22add.html\22>Add A Public Key</a> ]\0A\00"
@.str.4 = [48 x i8] c"[ <a href=\22advsrch.html\22>Advanced Search</a> ]\0A\00"
@.str.5 = [34 x i8] c"[ <a href=\22help.html\22>Help</a> ]\0A\00"
@.str.6 = [40 x i8] c"[ <a href=\22about.html\22>About CKS</a> ]\0A\00"
@.str.8 = [91 x i8] c"<center><a href=\22http://keyserver.cryptnet.net/\22>CryptNET Key Server Network</a></center>\0A\00"
@str = [9 x i8] c"<center>\00"
@str.10 = [10 x i8] c"</center>\00"
@str.11 = [15 x i8] c"</body></html>\00"
define void @print_footer() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%3 = tail call i8* @gettext(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) %3)
%5 = tail call i8* @gettext(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) %5)
%7 = tail call i8* @gettext(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) %7)
%9 = tail call i8* @gettext(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) %9)
%11 = tail call i8* @gettext(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0))
%12 = tail call i32 @printf(i8* dereferenceable(1) %11)
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.10, i64 0, i64 0))
%14 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%15 = tail call i8* @gettext(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.8, i64 0, i64 0))
%16 = tail call i32 @printf(i8* dereferenceable(1) %15)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.11, i64 0, i64 0))
ret void
}