#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_admin_header(char *title) {
  printf("Content-Type: text/html\n\n");
  printf(gettext("<html><head><title>CryptNET OpenPGP Public Key "
                 "Server</title></head>\n"));
  printf("<body bgcolor=\"#ffffff\">\n");
  printf(
      gettext("<center><h2>CryptNET Keyserver Administration</h2></center>\n"));
  printf("<hr size=\"1\" width=\"100%%\">\n");
  printf("<center>\n");
  printf(gettext("[ <a href=\"sync_manage.cgi\">Manage Sync Hosts</a> ]\n"));
  printf(gettext(
      "[ <a href=\"delete.html\">Delete A Key From This Server</a> ]\n"));
  printf(gettext("[ <a href=\"../stats/\">Stats On This Server</a> ]\n"));
  printf(gettext("[ <a href=\"index.html\">Admin Home</a> ]\n"));
  printf(gettext("[ <a href=\"../index.html\">Home</a> ]\n"));
  printf("</center>\n");
  printf("<hr size=\"1\" width=\"100%%\">\n");
  printf(gettext("<h3>%s</h3>\n"), title);
}


x86 assembly (clang, -O0):
<print_admin_header>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xecd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xed9(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf09(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf15(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf3c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf4b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf47(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf66(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf8d(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfbc(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xea4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfb0(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
mov    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_admin_header>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%r14
lea    0x1062(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb6(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1059(%rip),%rdi
call   1030 <puts@plt>
lea    0xeda(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf01(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x103f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf01(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf20(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf47(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf63(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf76(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf70(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
mov    %r14,%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [26 x i8] c"Content-Type: text/html\0A\0A\00"
@.str.1 = [70 x i8] c"<html><head><title>CryptNET OpenPGP Public Key Server</title></head>\0A\00"
@.str.2 = [26 x i8] c"<body bgcolor=\22#ffffff\22>\0A\00"
@.str.3 = [61 x i8] c"<center><h2>CryptNET Keyserver Administration</h2></center>\0A\00"
@.str.4 = [29 x i8] c"<hr size=\221\22 width=\22100%%\22>\0A\00"
@.str.5 = [10 x i8] c"<center>\0A\00"
@.str.6 = [53 x i8] c"[ <a href=\22sync_manage.cgi\22>Manage Sync Hosts</a> ]\0A\00"
@.str.7 = [61 x i8] c"[ <a href=\22delete.html\22>Delete A Key From This Server</a> ]\0A\00"
@.str.8 = [50 x i8] c"[ <a href=\22../stats/\22>Stats On This Server</a> ]\0A\00"
@.str.9 = [41 x i8] c"[ <a href=\22index.html\22>Admin Home</a> ]\0A\00"
@.str.10 = [38 x i8] c"[ <a href=\22../index.html\22>Home</a> ]\0A\00"
@.str.11 = [11 x i8] c"</center>\0A\00"
@.str.12 = [13 x i8] c"<h3>%s</h3>\0A\00"
define void @print_admin_header(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%4 = call i8* @gettext(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* %4)
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
%7 = call i8* @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* %7)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%11 = call i8* @gettext(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* %11)
%13 = call i8* @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.7, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* %13)
%15 = call i8* @gettext(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* %15)
%17 = call i8* @gettext(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* %17)
%19 = call i8* @gettext(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* %19)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%23 = call i8* @gettext(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%24 = load i8*, i8** %2
%25 = call i32 (i8*, ...) @printf(i8* %23, i8* %24)
ret void
}

LLVM IR (-O2):
@.str.1 = [70 x i8] c"<html><head><title>CryptNET OpenPGP Public Key Server</title></head>\0A\00"
@.str.3 = [61 x i8] c"<center><h2>CryptNET Keyserver Administration</h2></center>\0A\00"
@.str.4 = [29 x i8] c"<hr size=\221\22 width=\22100%%\22>\0A\00"
@.str.6 = [53 x i8] c"[ <a href=\22sync_manage.cgi\22>Manage Sync Hosts</a> ]\0A\00"
@.str.7 = [61 x i8] c"[ <a href=\22delete.html\22>Delete A Key From This Server</a> ]\0A\00"
@.str.8 = [50 x i8] c"[ <a href=\22../stats/\22>Stats On This Server</a> ]\0A\00"
@.str.9 = [41 x i8] c"[ <a href=\22index.html\22>Admin Home</a> ]\0A\00"
@.str.10 = [38 x i8] c"[ <a href=\22../index.html\22>Home</a> ]\0A\00"
@.str.12 = [13 x i8] c"<h3>%s</h3>\0A\00"
@str = [25 x i8] c"Content-Type: text/html\0A\00"
@str.13 = [25 x i8] c"<body bgcolor=\22#ffffff\22>\00"
@str.14 = [9 x i8] c"<center>\00"
@str.15 = [10 x i8] c"</center>\00"
define void @print_admin_header(i8* %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%3 = tail call i8* @gettext(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %3)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i8* @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %6)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.14, i64 0, i64 0))
%10 = tail call i8* @gettext(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %10)
%12 = tail call i8* @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.7, i64 0, i64 0))
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %12)
%14 = tail call i8* @gettext(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %14)
%16 = tail call i8* @gettext(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %16)
%18 = tail call i8* @gettext(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %18)
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.15, i64 0, i64 0))
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%22 = tail call i8* @gettext(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %22, i8* %0)
ret void
}