#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 *getenv(char *);
int /*<<< orphan*/ printf(char *, char *);
void cgi_env(void) {
  printf("<B>SERVER_SOFTWARE:</B> %s<BR>\n", getenv("SERVER_SOFTWARE"));
  printf("<B>SERVER_NAME:</B> %s<BR>\n", getenv("SERVER_NAME"));
  printf("<B>GATEWAY_INTERFACE:</B> %s<BR>\n", getenv("GATEWAY_INTERFACE"));
  printf("<B>SERVER_PORT:</B> %s<BR>\n", getenv("SERVER_PORT"));
  printf("<B>REQUEST_METHOD:</B> %s<BR>\n", getenv("REQUEST_METHOD"));
  printf("<B>PATH_INFO:</B> %s<BR>\n", getenv("PATH_INFO"));
  printf("<B>PATH_TRANSLATED:</B> %s<BR>\n", getenv("PATH_TRANSLATED"));
  printf("<B>SCRIPT_NAME:</B> %s<BR>\n", getenv("SCRIPT_NAME"));
  printf("<B>QUERY_STRING:</B> %s<BR>\n", getenv("QUERY_STRING"));
  printf("<B>REMOTE_HOST:</B> %s<BR>\n", getenv("REMOTE_HOST"));
  printf("<B>REMOTE_ADDR:</B> %s<BR>\n", getenv("REMOTE_ADDR"));
  printf("<B>AUTH_TYPE:</B> %s<BR>\n", getenv("AUTH_TYPE"));
  printf("<B>REMOTE_USER:</B> %s<BR>\n", getenv("REMOTE_USER"));
  printf("<B>REMOTE_IDENT:</B> %s<BR>\n", getenv("REMOTE_IDENT"));
  printf("<B>CONTENT_TYPE:</B> %s<BR>\n", getenv("CONTENT_TYPE"));
  printf("<B>CONTENT_LENGTH:</B> %s<BR>\n", getenv("CONTENT_LENGTH"));
  printf("<B>SERVER_ADMIN:</B> %s<BR>\n", getenv("SERVER_ADMIN"));
  printf("<B>DOCUMENT_ROOT:</B> %s<BR>\n", getenv("DOCUMENT_ROOT"));
  printf("<B>REMOTE_GROUP:</B> %s<BR><BR>\n", getenv("REMOTE_GROUP"));
  printf("<B>HTTP_REFERER:</B> %s<BR>\n", getenv("HTTP_REFERER"));
  printf("<B>HTTP_ACCEPT:</B> %s<BR>\n", getenv("HTTP_ACCEPT"));
  printf("<B>HTTP_USER_AGENT:</B> %s<BR>\n", getenv("HTTP_USER_AGENT"));
  printf("<B>HTTP_ACCEPT_LANGUAGE:</B> %s<BR>\n",
         getenv("HTTP_ACCEPT_LANGUAGE"));
  printf("<B>HTTP_COOKIE:</B> %s<BR>\n", getenv("HTTP_COOKIE"));
}


x86 assembly (clang, -O0):
<cgi_env>:
push   %rbp
mov    %rsp,%rbp
lea    0xef5(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xec6(%rip),%rdi
call   1040 <printf@plt>
lea    0xf06(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xedb(%rip),%rdi
call   1040 <printf@plt>
lea    0xf19(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xee8(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2c(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf01(%rip),%rdi
call   1040 <printf@plt>
lea    0xf3c(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf0e(%rip),%rdi
call   1040 <printf@plt>
lea    0xf4a(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf21(%rip),%rdi
call   1040 <printf@plt>
lea    0xf59(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf2a(%rip),%rdi
call   1040 <printf@plt>
lea    0xf6a(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf3f(%rip),%rdi
call   1040 <printf@plt>
lea    0xf78(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf4c(%rip),%rdi
call   1040 <printf@plt>
lea    0xf86(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf5b(%rip),%rdi
call   1040 <printf@plt>
lea    0xf93(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf68(%rip),%rdi
call   1040 <printf@plt>
lea    0xf9e(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf75(%rip),%rdi
call   1040 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf7e(%rip),%rdi
call   1040 <printf@plt>
lea    0xfb7(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf8b(%rip),%rdi
call   1040 <printf@plt>
lea    0xfc6(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xf9a(%rip),%rdi
call   1040 <printf@plt>
lea    0xfd7(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xfa9(%rip),%rdi
call   1040 <printf@plt>
lea    0xfe8(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xfbc(%rip),%rdi
call   1040 <printf@plt>
lea    0xff8(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xfcb(%rip),%rdi
call   1040 <printf@plt>
lea    0x100c(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xfdc(%rip),%rdi
call   1040 <printf@plt>
lea    0x101b(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xfef(%rip),%rdi
call   1040 <printf@plt>
lea    0x1029(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0xffe(%rip),%rdi
call   1040 <printf@plt>
lea    0x103a(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0x100b(%rip),%rdi
call   1040 <printf@plt>
lea    0x1054(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0x1020(%rip),%rdi
call   1040 <printf@plt>
lea    0x106a(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rsi
lea    0x103f(%rip),%rdi
call   1040 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<cgi_env>:
push   %rax
lea    0xef8(%rip),%rdi
call   1030 <getenv@plt>
lea    0xecc(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf09(%rip),%rdi
call   1030 <getenv@plt>
lea    0xee1(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf1c(%rip),%rdi
call   1030 <getenv@plt>
lea    0xeee(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf2f(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf07(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf3f(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf14(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf4d(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf27(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf5c(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf30(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf6d(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf45(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf52(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf89(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf61(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xf96(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf6e(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xfa1(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf7b(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xfac(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf84(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xfba(%rip),%rdi
call   1030 <getenv@plt>
lea    0xf91(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xfc9(%rip),%rdi
call   1030 <getenv@plt>
lea    0xfa0(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xfda(%rip),%rdi
call   1030 <getenv@plt>
lea    0xfaf(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xfeb(%rip),%rdi
call   1030 <getenv@plt>
lea    0xfc2(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0xffb(%rip),%rdi
call   1030 <getenv@plt>
lea    0xfd1(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0x100f(%rip),%rdi
call   1030 <getenv@plt>
lea    0xfe2(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0x101e(%rip),%rdi
call   1030 <getenv@plt>
lea    0xff5(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0x102c(%rip),%rdi
call   1030 <getenv@plt>
lea    0x1004(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0x103d(%rip),%rdi
call   1030 <getenv@plt>
lea    0x1011(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0x1057(%rip),%rdi
call   1030 <getenv@plt>
lea    0x1026(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
lea    0x106d(%rip),%rdi
call   1030 <getenv@plt>
lea    0x1045(%rip),%rdi
mov    %rax,%rsi
pop    %rax
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"<B>SERVER_SOFTWARE:</B> %s<BR>\0A\00"
@.str.1 = [16 x i8] c"SERVER_SOFTWARE\00"
@.str.2 = [28 x i8] c"<B>SERVER_NAME:</B> %s<BR>\0A\00"
@.str.3 = [12 x i8] c"SERVER_NAME\00"
@.str.4 = [34 x i8] c"<B>GATEWAY_INTERFACE:</B> %s<BR>\0A\00"
@.str.5 = [18 x i8] c"GATEWAY_INTERFACE\00"
@.str.6 = [28 x i8] c"<B>SERVER_PORT:</B> %s<BR>\0A\00"
@.str.7 = [12 x i8] c"SERVER_PORT\00"
@.str.8 = [31 x i8] c"<B>REQUEST_METHOD:</B> %s<BR>\0A\00"
@.str.9 = [15 x i8] c"REQUEST_METHOD\00"
@.str.10 = [26 x i8] c"<B>PATH_INFO:</B> %s<BR>\0A\00"
@.str.11 = [10 x i8] c"PATH_INFO\00"
@.str.12 = [32 x i8] c"<B>PATH_TRANSLATED:</B> %s<BR>\0A\00"
@.str.13 = [16 x i8] c"PATH_TRANSLATED\00"
@.str.14 = [28 x i8] c"<B>SCRIPT_NAME:</B> %s<BR>\0A\00"
@.str.15 = [12 x i8] c"SCRIPT_NAME\00"
@.str.16 = [29 x i8] c"<B>QUERY_STRING:</B> %s<BR>\0A\00"
@.str.17 = [13 x i8] c"QUERY_STRING\00"
@.str.18 = [28 x i8] c"<B>REMOTE_HOST:</B> %s<BR>\0A\00"
@.str.19 = [12 x i8] c"REMOTE_HOST\00"
@.str.20 = [28 x i8] c"<B>REMOTE_ADDR:</B> %s<BR>\0A\00"
@.str.21 = [12 x i8] c"REMOTE_ADDR\00"
@.str.22 = [26 x i8] c"<B>AUTH_TYPE:</B> %s<BR>\0A\00"
@.str.23 = [10 x i8] c"AUTH_TYPE\00"
@.str.24 = [28 x i8] c"<B>REMOTE_USER:</B> %s<BR>\0A\00"
@.str.25 = [12 x i8] c"REMOTE_USER\00"
@.str.26 = [29 x i8] c"<B>REMOTE_IDENT:</B> %s<BR>\0A\00"
@.str.27 = [13 x i8] c"REMOTE_IDENT\00"
@.str.28 = [29 x i8] c"<B>CONTENT_TYPE:</B> %s<BR>\0A\00"
@.str.29 = [13 x i8] c"CONTENT_TYPE\00"
@.str.30 = [31 x i8] c"<B>CONTENT_LENGTH:</B> %s<BR>\0A\00"
@.str.31 = [15 x i8] c"CONTENT_LENGTH\00"
@.str.32 = [29 x i8] c"<B>SERVER_ADMIN:</B> %s<BR>\0A\00"
@.str.33 = [13 x i8] c"SERVER_ADMIN\00"
@.str.34 = [30 x i8] c"<B>DOCUMENT_ROOT:</B> %s<BR>\0A\00"
@.str.35 = [14 x i8] c"DOCUMENT_ROOT\00"
@.str.36 = [33 x i8] c"<B>REMOTE_GROUP:</B> %s<BR><BR>\0A\00"
@.str.37 = [13 x i8] c"REMOTE_GROUP\00"
@.str.38 = [29 x i8] c"<B>HTTP_REFERER:</B> %s<BR>\0A\00"
@.str.39 = [13 x i8] c"HTTP_REFERER\00"
@.str.40 = [28 x i8] c"<B>HTTP_ACCEPT:</B> %s<BR>\0A\00"
@.str.41 = [12 x i8] c"HTTP_ACCEPT\00"
@.str.42 = [32 x i8] c"<B>HTTP_USER_AGENT:</B> %s<BR>\0A\00"
@.str.43 = [16 x i8] c"HTTP_USER_AGENT\00"
@.str.44 = [37 x i8] c"<B>HTTP_ACCEPT_LANGUAGE:</B> %s<BR>\0A\00"
@.str.45 = [21 x i8] c"HTTP_ACCEPT_LANGUAGE\00"
@.str.46 = [28 x i8] c"<B>HTTP_COOKIE:</B> %s<BR>\0A\00"
@.str.47 = [12 x i8] c"HTTP_COOKIE\00"
define void @cgi_env() {
%1 = call i8* @getenv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i8* %1)
%3 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %3)
%5 = call i8* @getenv(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i8* %5)
%7 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), i8* %7)
%9 = call i8* @getenv(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* %9)
%11 = call i8* @getenv(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0), i8* %11)
%13 = call i8* @getenv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i8* %13)
%15 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0), i8* %15)
%17 = call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i8* %17)
%19 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0), i8* %19)
%21 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.20, i64 0, i64 0), i8* %21)
%23 = call i8* @getenv(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), i8* %23)
%25 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0), i8* %25)
%27 = call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.26, i64 0, i64 0), i8* %27)
%29 = call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.29, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.28, i64 0, i64 0), i8* %29)
%31 = call i8* @getenv(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.31, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.30, i64 0, i64 0), i8* %31)
%33 = call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.33, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.32, i64 0, i64 0), i8* %33)
%35 = call i8* @getenv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.35, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.34, i64 0, i64 0), i8* %35)
%37 = call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.37, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.36, i64 0, i64 0), i8* %37)
%39 = call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.39, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.38, i64 0, i64 0), i8* %39)
%41 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.41, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.40, i64 0, i64 0), i8* %41)
%43 = call i8* @getenv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.43, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.42, i64 0, i64 0), i8* %43)
%45 = call i8* @getenv(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.45, i64 0, i64 0))
%46 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.44, i64 0, i64 0), i8* %45)
%47 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.47, i64 0, i64 0))
%48 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.46, i64 0, i64 0), i8* %47)
ret void
}

LLVM IR (-O2):
@.str = [32 x i8] c"<B>SERVER_SOFTWARE:</B> %s<BR>\0A\00"
@.str.1 = [16 x i8] c"SERVER_SOFTWARE\00"
@.str.2 = [28 x i8] c"<B>SERVER_NAME:</B> %s<BR>\0A\00"
@.str.3 = [12 x i8] c"SERVER_NAME\00"
@.str.4 = [34 x i8] c"<B>GATEWAY_INTERFACE:</B> %s<BR>\0A\00"
@.str.5 = [18 x i8] c"GATEWAY_INTERFACE\00"
@.str.6 = [28 x i8] c"<B>SERVER_PORT:</B> %s<BR>\0A\00"
@.str.7 = [12 x i8] c"SERVER_PORT\00"
@.str.8 = [31 x i8] c"<B>REQUEST_METHOD:</B> %s<BR>\0A\00"
@.str.9 = [15 x i8] c"REQUEST_METHOD\00"
@.str.10 = [26 x i8] c"<B>PATH_INFO:</B> %s<BR>\0A\00"
@.str.11 = [10 x i8] c"PATH_INFO\00"
@.str.12 = [32 x i8] c"<B>PATH_TRANSLATED:</B> %s<BR>\0A\00"
@.str.13 = [16 x i8] c"PATH_TRANSLATED\00"
@.str.14 = [28 x i8] c"<B>SCRIPT_NAME:</B> %s<BR>\0A\00"
@.str.15 = [12 x i8] c"SCRIPT_NAME\00"
@.str.16 = [29 x i8] c"<B>QUERY_STRING:</B> %s<BR>\0A\00"
@.str.17 = [13 x i8] c"QUERY_STRING\00"
@.str.18 = [28 x i8] c"<B>REMOTE_HOST:</B> %s<BR>\0A\00"
@.str.19 = [12 x i8] c"REMOTE_HOST\00"
@.str.20 = [28 x i8] c"<B>REMOTE_ADDR:</B> %s<BR>\0A\00"
@.str.21 = [12 x i8] c"REMOTE_ADDR\00"
@.str.22 = [26 x i8] c"<B>AUTH_TYPE:</B> %s<BR>\0A\00"
@.str.23 = [10 x i8] c"AUTH_TYPE\00"
@.str.24 = [28 x i8] c"<B>REMOTE_USER:</B> %s<BR>\0A\00"
@.str.25 = [12 x i8] c"REMOTE_USER\00"
@.str.26 = [29 x i8] c"<B>REMOTE_IDENT:</B> %s<BR>\0A\00"
@.str.27 = [13 x i8] c"REMOTE_IDENT\00"
@.str.28 = [29 x i8] c"<B>CONTENT_TYPE:</B> %s<BR>\0A\00"
@.str.29 = [13 x i8] c"CONTENT_TYPE\00"
@.str.30 = [31 x i8] c"<B>CONTENT_LENGTH:</B> %s<BR>\0A\00"
@.str.31 = [15 x i8] c"CONTENT_LENGTH\00"
@.str.32 = [29 x i8] c"<B>SERVER_ADMIN:</B> %s<BR>\0A\00"
@.str.33 = [13 x i8] c"SERVER_ADMIN\00"
@.str.34 = [30 x i8] c"<B>DOCUMENT_ROOT:</B> %s<BR>\0A\00"
@.str.35 = [14 x i8] c"DOCUMENT_ROOT\00"
@.str.36 = [33 x i8] c"<B>REMOTE_GROUP:</B> %s<BR><BR>\0A\00"
@.str.37 = [13 x i8] c"REMOTE_GROUP\00"
@.str.38 = [29 x i8] c"<B>HTTP_REFERER:</B> %s<BR>\0A\00"
@.str.39 = [13 x i8] c"HTTP_REFERER\00"
@.str.40 = [28 x i8] c"<B>HTTP_ACCEPT:</B> %s<BR>\0A\00"
@.str.41 = [12 x i8] c"HTTP_ACCEPT\00"
@.str.42 = [32 x i8] c"<B>HTTP_USER_AGENT:</B> %s<BR>\0A\00"
@.str.43 = [16 x i8] c"HTTP_USER_AGENT\00"
@.str.44 = [37 x i8] c"<B>HTTP_ACCEPT_LANGUAGE:</B> %s<BR>\0A\00"
@.str.45 = [21 x i8] c"HTTP_ACCEPT_LANGUAGE\00"
@.str.46 = [28 x i8] c"<B>HTTP_COOKIE:</B> %s<BR>\0A\00"
@.str.47 = [12 x i8] c"HTTP_COOKIE\00"
define void @cgi_env() {
%1 = tail call i8* @getenv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i8* %1)
%3 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %3)
%5 = tail call i8* @getenv(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i8* %5)
%7 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%8 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), i8* %7)
%9 = tail call i8* @getenv(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
%10 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* %9)
%11 = tail call i8* @getenv(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%12 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0), i8* %11)
%13 = tail call i8* @getenv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
%14 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i8* %13)
%15 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
%16 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0), i8* %15)
%17 = tail call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0))
%18 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i8* %17)
%19 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0))
%20 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0), i8* %19)
%21 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0))
%22 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.20, i64 0, i64 0), i8* %21)
%23 = tail call i8* @getenv(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0))
%24 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), i8* %23)
%25 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0))
%26 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0), i8* %25)
%27 = tail call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0))
%28 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.26, i64 0, i64 0), i8* %27)
%29 = tail call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.29, i64 0, i64 0))
%30 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.28, i64 0, i64 0), i8* %29)
%31 = tail call i8* @getenv(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.31, i64 0, i64 0))
%32 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.30, i64 0, i64 0), i8* %31)
%33 = tail call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.33, i64 0, i64 0))
%34 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.32, i64 0, i64 0), i8* %33)
%35 = tail call i8* @getenv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.35, i64 0, i64 0))
%36 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.34, i64 0, i64 0), i8* %35)
%37 = tail call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.37, i64 0, i64 0))
%38 = tail call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.36, i64 0, i64 0), i8* %37)
%39 = tail call i8* @getenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.39, i64 0, i64 0))
%40 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.38, i64 0, i64 0), i8* %39)
%41 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.41, i64 0, i64 0))
%42 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.40, i64 0, i64 0), i8* %41)
%43 = tail call i8* @getenv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.43, i64 0, i64 0))
%44 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.42, i64 0, i64 0), i8* %43)
%45 = tail call i8* @getenv(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.45, i64 0, i64 0))
%46 = tail call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.44, i64 0, i64 0), i8* %45)
%47 = tail call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.47, i64 0, i64 0))
%48 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.46, i64 0, i64 0), i8* %47)
ret void
}