// File: /workspace/github_cpp_makefile_star2_O2/metopa[P]HTTP_Server/src/config/CConfig.cpp
// Function: CConfig::parse(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>>>>>>)
void CConfig::parse( ini_struct_t data ) {
	auto section = data.find( "options" );
	if ( section == data.end() )
		throw BlockUndefinedException( "options", MSG_CRIT_ERR );

	parseOptions( section );

	section = data.find( "logger" );
	if ( section == data.end() ) {
		cout << BlockUndefinedException( "logger", "Default value: \"CRITICAL\"" ) << endl;
		logFlags_m[CRITICAL] = true;
	}
	else {
		try {
			logFile_m = section->second.at( "logfile" ).front();
		}
		catch ( out_of_range& e ) {
			logFile_m = "stdout";
		}
		try {
			parseLogger( section );
		}
		catch ( ParamUndefinedException& e ) {
			logFlags_m[CRITICAL] = true;
		}
	}

	section = data.find( "path_mapping" );
	if ( section != data.end() )
		parseMapper( section );

	section = data.find( "executables" );
	if ( section != data.end() )
		parseExec( section );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xded6(%rip), %rsi      # 0x1406e
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x712a
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x80a6
movq %rax, %r15
movq %rax, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x5210
leaq 0x8(%r14), %r13
cmpq %r13, %r15
je 0x6343
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x657e
leaq 0xde8f(%rip), %rsi      # 0x14076
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x712a
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x80a6
movq %rax, %r15
movq %rax, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x5210
cmpq %r13, %r15
je 0x6266
leaq 0xde76(%rip), %rsi      # 0x14097
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x712a
addq $0x40, %r15
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x7240
movq (%rax), %rsi
leaq 0x50(%rbx), %rdi
callq 0x5270
leaq 0x18(%rsp), %rdi
callq 0x5210
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x69b4
jmp 0x62a7
leaq 0xde09(%rip), %rsi      # 0x14076
leaq 0xde09(%rip), %rdx      # 0x1407d
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0x71b6
movq (%r15), %rax
movq 0x1ad45(%rip), %rsi     # 0x20fd0
movq %r15, %rdi
callq *0x10(%rax)
movq %rax, %rdi
callq 0x5220
leaq 0x18(%rsp), %rdi
callq 0x73e4
movb $0x1, 0x1(%rbx)
leaq 0xddf8(%rip), %rsi      # 0x140a6
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x712a
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x80a6
movq %rax, %r15
movq %rax, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x5210
cmpq %r13, %r15
je 0x62ee
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6b10
leaq 0xddbe(%rip), %rsi      # 0x140b3
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x712a
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x80a6
movq %rax, %r14
movq %rax, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x5210
cmpq %r13, %r14
je 0x6335
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6bfc
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
pushq $0x48
popq %rdi
callq 0x5230
movq %rax, %rbx
leaq 0x1b0fb(%rip), %rax     # 0x21450
movq (%rax), %rdx
leaq 0xdd0f(%rip), %rsi      # 0x1406e
movq %rbx, %rdi
callq 0x71b6
leaq 0x1a122(%rip), %rsi     # 0x20490
leaq 0x106f(%rip), %rdx      # 0x73e4
movq %rbx, %rdi
callq 0x5740
movq %rax, %r15
movq %rbx, %rdi
callq 0x5300
jmp 0x63dd
movq %rax, %r15
cmpl $0x3, %edx
jne 0x63dd
movq %r15, %rdi
callq 0x51f0
movb $0x1, 0x1(%rbx)
callq 0x5700
jmp 0x62a7
movq %rdx, %r12
movq %rax, %r15
jmp 0x63f5
movq %rax, %r15
leaq 0x18(%rsp), %rdi
callq 0x73e4
jmp 0x63dd
jmp 0x63cb
jmp 0x63da
jmp 0x63cb
jmp 0x63da
jmp 0x63cb
jmp 0x63da
movq %rax, %r15
leaq 0x18(%rsp), %rdi
callq 0x5210
jmp 0x63dd
movq %rax, %r15
movq %r15, %rdi
callq 0x5770
movq %rdx, %r12
movq %rax, %r15
leaq 0x18(%rsp), %rdi
callq 0x5210
cmpl $0x1, %r12d
jne 0x63dd
movq %r15, %rdi
callq 0x51f0
leaq 0x50(%rbx), %rdi
leaq 0xdc91(%rip), %rsi      # 0x1409f
callq 0x57f0
callq 0x5700
jmp 0x6257
movq %rax, %r15
callq 0x5700
jmp 0x63dd
movq %rax, %rdi
callq 0x7285
nop