// File: metopa[P]HTTP_Server/src/config/CConfig.cpp
// Function: CConfig::parseLogger(std::_Rb_tree_iterator<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::parseLogger( map<string, map<string, vector<string>>>::iterator& data ) {
	try {
		vector<string> flags = data->second.at( "flags" );
		for ( int i = 0; i < E_LOG_FLAGS_MAX; i++ )
			logFlags_m[i] = false;

		for ( auto it = flags.begin(); it != flags.end(); it++ ) {
			ELogFlags eLogFlags = logflagsNS::logFlagsFromString( *it );

			switch ( eLogFlags ) {
				case SILENT:
					for ( int i = 0; i < E_LOG_FLAGS_MAX; i++ )
						logFlags_m[i] = false;
					break;

				case DEBUG_ALL:
					for ( int i = SILENT + 1; i < UNDEFINED; i++ )
						logFlags_m[i] = true;
					break;

				case UNDEFINED:
					break;

				default:
					logFlags_m[eLogFlags] = true;
					break;
			}
		}
	}
	catch ( out_of_range& e ) {
		throw ParamUndefinedException( "flags", "default: \"CRITICAL\"" );
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x10(%rbp), %rdi
callq 0xaf70
addq $0x20, %rax
movq %rax, -0xa0(%rbp)
leaq -0x49(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x6930
movq -0x98(%rbp), %rdx
leaq 0x230be(%rip), %rsi     # 0x2c0fe
leaq -0x48(%rbp), %rdi
callq 0xa9d0
jmp 0x904b
movq -0xa0(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0xaf90
movq %rax, -0xb0(%rbp)
jmp 0x9064
movq -0xb0(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0xb450
jmp 0x9076
leaq -0x48(%rbp), %rdi
callq 0x6310
leaq -0x49(%rbp), %rdi
callq 0x6550
movl $0x0, -0x60(%rbp)
cmpl $0xc, -0x60(%rbp)
jge 0x90e0
movq -0xa8(%rbp), %rax
movslq -0x60(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x60(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x60(%rbp)
jmp 0x908f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x90d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x6310
leaq -0x49(%rbp), %rdi
callq 0x6550
jmp 0x917f
leaq -0x28(%rbp), %rdi
callq 0xac50
movq %rax, -0x68(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xacc0
movq %rax, -0x70(%rbp)
leaq -0x68(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xac80
testb $0x1, %al
jne 0x9110
jmp 0x9265
leaq -0x68(%rbp), %rdi
callq 0xacf0
movq %rax, %rdi
callq 0x20980
movl %eax, -0xb4(%rbp)
jmp 0x9129
movl -0xb4(%rbp), %eax
movl %eax, -0x74(%rbp)
movl -0x74(%rbp), %eax
movl %eax, -0xb8(%rbp)
testl %eax, %eax
je 0x91ea
jmp 0x9145
movl -0xb8(%rbp), %eax
subl $0x3, %eax
je 0x9213
jmp 0x9156
movl -0xb8(%rbp), %eax
subl $0xb, %eax
je 0x923c
jmp 0x923e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xb540
movl -0x5c(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x92a8
movq -0x58(%rbp), %rdi
callq 0x6230
movq %rax, -0x90(%rbp)
movl $0x48, %edi
callq 0x6280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0xc0(%rbp)
leaq 0x22f41(%rip), %rsi     # 0x2c0fe
leaq 0x22f40(%rip), %rdx     # 0x2c104
callq 0xb2f0
jmp 0x91cb
movq -0xc0(%rbp), %rdi
leaq 0x3523f(%rip), %rsi     # 0x3e418
leaq 0x2250(%rip), %rdx      # 0xb430
callq 0x68e0
jmp 0x92b9
movl $0x0, -0x78(%rbp)
cmpl $0xc, -0x78(%rbp)
jge 0x9211
movq -0xa8(%rbp), %rax
movslq -0x78(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x91f1
jmp 0x924c
movl $0x1, -0x7c(%rbp)
cmpl $0xb, -0x7c(%rbp)
jge 0x923a
movq -0xa8(%rbp), %rax
movslq -0x7c(%rbp), %rcx
movb $0x1, (%rax,%rcx)
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
jmp 0x921a
jmp 0x924c
jmp 0x924c
movq -0xa8(%rbp), %rax
movl -0x74(%rbp), %ecx
movb $0x1, (%rax,%rcx)
jmp 0x924e
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
callq 0xad10
movq %rax, -0x88(%rbp)
jmp 0x90ed
leaq -0x28(%rbp), %rdi
callq 0xb540
jmp 0x929f
movq -0xc0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
callq 0x63b0
jmp 0x9296
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
callq 0x6880
jmp 0x929d
jmp 0x92a8
addq $0xc0, %rsp
popq %rbp
retq
movq -0x58(%rbp), %rdi
callq 0x6920
movq %rax, %rdi
callq 0xb060
nopl (%rax)