#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*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdout;
void printEnv() {
  {
    printf("------------------------------------------\n");
    fflush(stdout);
  }
  {
    printf("\t Server environment\n");
    fflush(stdout);
  }
  {
    printf("------------------------------------------\n");
    fflush(stdout);
  }
  {
    printf("SOCKET_PATH = %s\n", "./tmp/cars.sck");
    fflush(stdout);
  }
  {
    printf("NTRIALCONN = %d\n", 3);
    fflush(stdout);
  }
  {
    printf("SEC_TIMER = %d\n", 30);
    fflush(stdout);
  }
  {
    printf("NSEC_TIMER = %d\n", 0);
    fflush(stdout);
  }
  {
    printf("LOG_FILE_NAME = %s\n", "./mgcars.log");
    fflush(stdout);
  }
  {
    printf("POOL_SIZE = %d\n", 8);
    fflush(stdout);
  }
  {
    printf("MAX_TRY = %d\n", 5);
    fflush(stdout);
  }
  {
    printf("DELAY = %d\n", 1);
    fflush(stdout);
  }
  {
    printf("UPDATE_OFFER = OFF\n");
    fflush(stdout);
  }
  {
    printf("FREE_OFFER_LIST = ON\n");
    fflush(stdout);
  }
  {
    printf("VERBOSE = OFF\n");
    fflush(stdout);
  }
  {
    printf("------------------------------------------\n");
    fflush(stdout);
  }
}


x86 assembly (clang, -O0):
<printEnv>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2ea7(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e6f(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xec3(%rip),%rdi
lea    0xece(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e4c(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xec1(%rip),%rdi
mov    $0x3,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e2b(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xeb2(%rip),%rdi
mov    $0x1e,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e0a(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe90(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2dec(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe83(%rip),%rdi
lea    0xe90(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2dc9(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe81(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2da8(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe70(%rip),%rdi
mov    $0x5,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d87(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe5d(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d66(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d4a(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d2e(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d12(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xd24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2cf6(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printEnv>:
push   %r14
push   %rbx
push   %rax
lea    0xf9e(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
mov    0x2e96(%rip),%rbx
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe86(%rip),%rdi
lea    0xe91(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe8b(%rip),%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe83(%rip),%rdi
mov    $0x1e,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe68(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe62(%rip),%rdi
lea    0xe6f(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe67(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe5d(%rip),%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe51(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe58(%rip),%rdi
call   1030 <puts@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe58(%rip),%rdi
call   1030 <puts@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
lea    0xe5a(%rip),%rdi
call   1030 <puts@plt>
mov    (%rbx),%edi
call   1050 <fflush@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
mov    (%rbx),%edi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1050 <fflush@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"------------------------------------------\0A\00"
@stdout = global i32 0
@.str.1 = [22 x i8] c"\09 Server environment\0A\00"
@.str.2 = [18 x i8] c"SOCKET_PATH = %s\0A\00"
@.str.3 = [15 x i8] c"./tmp/cars.sck\00"
@.str.4 = [17 x i8] c"NTRIALCONN = %d\0A\00"
@.str.5 = [16 x i8] c"SEC_TIMER = %d\0A\00"
@.str.6 = [17 x i8] c"NSEC_TIMER = %d\0A\00"
@.str.7 = [20 x i8] c"LOG_FILE_NAME = %s\0A\00"
@.str.8 = [13 x i8] c"./mgcars.log\00"
@.str.9 = [16 x i8] c"POOL_SIZE = %d\0A\00"
@.str.10 = [14 x i8] c"MAX_TRY = %d\0A\00"
@.str.11 = [12 x i8] c"DELAY = %d\0A\00"
@.str.12 = [20 x i8] c"UPDATE_OFFER = OFF\0A\00"
@.str.13 = [22 x i8] c"FREE_OFFER_LIST = ON\0A\00"
@.str.14 = [15 x i8] c"VERBOSE = OFF\0A\00"
define void @printEnv() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%2 = load i32, i32* @stdout
%3 = call i32 @fflush(i32 %2)
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = call i32 @fflush(i32 %5)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* @stdout
%9 = call i32 @fflush(i32 %8)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = call i32 @fflush(i32 %11)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 3)
%14 = load i32, i32* @stdout
%15 = call i32 @fflush(i32 %14)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 30)
%17 = load i32, i32* @stdout
%18 = call i32 @fflush(i32 %17)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 0)
%20 = load i32, i32* @stdout
%21 = call i32 @fflush(i32 %20)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%23 = load i32, i32* @stdout
%24 = call i32 @fflush(i32 %23)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i32 8)
%26 = load i32, i32* @stdout
%27 = call i32 @fflush(i32 %26)
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0), i32 5)
%29 = load i32, i32* @stdout
%30 = call i32 @fflush(i32 %29)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 1)
%32 = load i32, i32* @stdout
%33 = call i32 @fflush(i32 %32)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0))
%35 = load i32, i32* @stdout
%36 = call i32 @fflush(i32 %35)
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
%38 = load i32, i32* @stdout
%39 = call i32 @fflush(i32 %38)
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0))
%41 = load i32, i32* @stdout
%42 = call i32 @fflush(i32 %41)
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%44 = load i32, i32* @stdout
%45 = call i32 @fflush(i32 %44)
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str.2 = [18 x i8] c"SOCKET_PATH = %s\0A\00"
@.str.3 = [15 x i8] c"./tmp/cars.sck\00"
@.str.4 = [17 x i8] c"NTRIALCONN = %d\0A\00"
@.str.5 = [16 x i8] c"SEC_TIMER = %d\0A\00"
@.str.6 = [17 x i8] c"NSEC_TIMER = %d\0A\00"
@.str.7 = [20 x i8] c"LOG_FILE_NAME = %s\0A\00"
@.str.8 = [13 x i8] c"./mgcars.log\00"
@.str.9 = [16 x i8] c"POOL_SIZE = %d\0A\00"
@.str.10 = [14 x i8] c"MAX_TRY = %d\0A\00"
@.str.11 = [12 x i8] c"DELAY = %d\0A\00"
@str.15 = [21 x i8] c"\09 Server environment\00"
@str.17 = [19 x i8] c"UPDATE_OFFER = OFF\00"
@str.18 = [21 x i8] c"FREE_OFFER_LIST = ON\00"
@str.19 = [14 x i8] c"VERBOSE = OFF\00"
@str.20 = [43 x i8] c"------------------------------------------\00"
define void @printEnv() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.20, i64 0, i64 0))
%2 = load i32, i32* @stdout
%3 = tail call i32 @fflush(i32 %2)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.15, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = tail call i32 @fflush(i32 %5)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.20, i64 0, i64 0))
%8 = load i32, i32* @stdout
%9 = tail call i32 @fflush(i32 %8)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = tail call i32 @fflush(i32 %11)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 3)
%14 = load i32, i32* @stdout
%15 = tail call i32 @fflush(i32 %14)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 30)
%17 = load i32, i32* @stdout
%18 = tail call i32 @fflush(i32 %17)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 0)
%20 = load i32, i32* @stdout
%21 = tail call i32 @fflush(i32 %20)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%23 = load i32, i32* @stdout
%24 = tail call i32 @fflush(i32 %23)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i32 8)
%26 = load i32, i32* @stdout
%27 = tail call i32 @fflush(i32 %26)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0), i32 5)
%29 = load i32, i32* @stdout
%30 = tail call i32 @fflush(i32 %29)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 1)
%32 = load i32, i32* @stdout
%33 = tail call i32 @fflush(i32 %32)
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.17, i64 0, i64 0))
%35 = load i32, i32* @stdout
%36 = tail call i32 @fflush(i32 %35)
%37 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.18, i64 0, i64 0))
%38 = load i32, i32* @stdout
%39 = tail call i32 @fflush(i32 %38)
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.19, i64 0, i64 0))
%41 = load i32, i32* @stdout
%42 = tail call i32 @fflush(i32 %41)
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.20, i64 0, i64 0))
%44 = load i32, i32* @stdout
%45 = tail call i32 @fflush(i32 %44)
ret void
}