// File: metopa[P]HTTP_Server/src/config/CConfig.cpp
// Function: CConfig::load(int, char**)
void CConfig::load( int argc, char * argv[] ) {
	const char * iniFile;
	if ( argc > 1 )
		iniFile = argv[1];
	else
		iniFile = DEFAULT_INIFILE;

	ifstream ifile( iniFile );
	if ( !ifile.is_open() )
		throw FileNotFoundException( iniFile, MSG_CRIT_ERR );

	ini_struct_t defVals;
	loadDefVals( defVals );
	parse( CParserINI( ifile, defVals ) );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x380, %rsp            # imm = 0x380
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x340(%rbp)
cmpl $0x1, -0xc(%rbp)
jle 0x6ca5
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x6cb3
leaq 0x3889c(%rip), %rax     # 0x3f548
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
leaq -0x228(%rbp), %rdi
movq %rdi, -0x350(%rbp)
movl $0x8, %edx
callq 0x6980
movq -0x350(%rbp), %rdi
callq 0x6840
movb %al, -0x341(%rbp)
jmp 0x6ce3
movb -0x341(%rbp), %al
testb $0x1, %al
jne 0x6e64
jmp 0x6cf3
movb $0x1, -0x282(%rbp)
movl $0x48, %edi
callq 0x6280
movq %rax, -0x368(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x360(%rbp)
leaq -0x259(%rbp), %rdi
movq %rdi, -0x358(%rbp)
callq 0x6930
movq -0x360(%rbp), %rsi
movq -0x358(%rbp), %rdx
leaq -0x258(%rbp), %rdi
callq 0xa9d0
jmp 0x6d45
leaq 0x387f4(%rip), %rax     # 0x3f540
movq (%rax), %rax
movq %rax, -0x378(%rbp)
leaq -0x281(%rbp), %rdi
movq %rdi, -0x370(%rbp)
callq 0x6930
movq -0x378(%rbp), %rsi
movq -0x370(%rbp), %rdx
leaq -0x280(%rbp), %rdi
callq 0xa9d0
jmp 0x6d85
movq -0x368(%rbp), %rdi
leaq -0x258(%rbp), %rsi
leaq -0x280(%rbp), %rdx
callq 0xaa80
jmp 0x6da1
movq -0x368(%rbp), %rdi
movb $0x0, -0x282(%rbp)
leaq 0x3761a(%rip), %rsi     # 0x3e3d0
leaq 0x3d13(%rip), %rdx      # 0xaad0
callq 0x68e0
jmp 0x6f81
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
jmp 0x6f69
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
jmp 0x6e3c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
jmp 0x6e24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
leaq -0x280(%rbp), %rdi
callq 0x6310
leaq -0x281(%rbp), %rdi
callq 0x6550
leaq -0x258(%rbp), %rdi
callq 0x6310
leaq -0x259(%rbp), %rdi
callq 0x6550
testb $0x1, -0x282(%rbp)
jne 0x6e53
jmp 0x6e5f
movq -0x368(%rbp), %rdi
callq 0x63b0
jmp 0x6f69
leaq -0x2b8(%rbp), %rdi
movq %rdi, -0x380(%rbp)
callq 0xaaf0
movq -0x340(%rbp), %rdi
movq -0x380(%rbp), %rsi
callq 0x6f90
jmp 0x6e8c
leaq -0x338(%rbp), %rdi
leaq -0x228(%rbp), %rsi
leaq -0x2b8(%rbp), %rdx
callq 0x12d30
jmp 0x6ea8
leaq -0x2e8(%rbp), %rdi
leaq -0x338(%rbp), %rsi
callq 0xab10
jmp 0x6ebd
movq -0x340(%rbp), %rdi
leaq -0x2e8(%rbp), %rsi
callq 0x7e60
jmp 0x6ed2
leaq -0x2e8(%rbp), %rdi
callq 0xab40
leaq -0x338(%rbp), %rdi
callq 0xab60
leaq -0x2b8(%rbp), %rdi
callq 0xab40
leaq -0x228(%rbp), %rdi
callq 0x6170
addq $0x380, %rsp            # imm = 0x380
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
jmp 0x6f5d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
jmp 0x6f51
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
leaq -0x2e8(%rbp), %rdi
callq 0xab40
leaq -0x338(%rbp), %rdi
callq 0xab60
leaq -0x2b8(%rbp), %rdi
callq 0xab40
leaq -0x228(%rbp), %rdi
callq 0x6170
movq -0x230(%rbp), %rdi
callq 0x6920
nopw %cs:(%rax,%rax)