// File: /workspace/github_cpp_makefile_star2_O2/acherkaoui[P]HTOP/core/Core.cpp
// Function: Core::getModuleActive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
bool Core::getModuleActive(const std::string name) const
{
	if (parser.toLower(name) == "ram")
		return (this->data.ram.isActive());
	else if (parser.toLower(name) == "user")
		return (this->data.user.isActive());
	else if (parser.toLower(name) == "clock")
		return (this->data.clock.isActive());
	else if (parser.toLower(name) == "network")
		return (this->data.network.isActive());
	else if (parser.toLower(name) == "os")
		return (this->data.os.isActive());
	else if (parser.toLower(name) == "cpu")
		return (this->data.cpu.isActive());
	return (false);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xe0, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0xc0(%rsp), %r12
movq %r12, %rdi
callq 0x4490
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5a96(%rip), %rsi      # 0xb02c
movq %rsp, %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %ebp
movq %r12, %rdi
callq 0x41f0
leaq 0xc0(%rsp), %rdi
callq 0x41f0
movl $0x238, %eax            # imm = 0x238
testb %bpl, %bpl
jne 0x5762
leaq 0xa0(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5a42(%rip), %rsi      # 0xb030
movq %rsp, %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %ebp
movq %r12, %rdi
callq 0x41f0
leaq 0xa0(%rsp), %rdi
callq 0x41f0
movl $0x2b0, %eax            # imm = 0x2B0
testb %bpl, %bpl
jne 0x5762
leaq 0x80(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x59cd(%rip), %rsi      # 0xb013
movq %rsp, %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %ebp
movq %r12, %rdi
callq 0x41f0
leaq 0x80(%rsp), %rdi
callq 0x41f0
movl $0xa0, %eax
testb %bpl, %bpl
jne 0x5762
leaq 0x60(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x597e(%rip), %rsi      # 0xb019
movq %rsp, %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %ebp
movq %r12, %rdi
callq 0x41f0
leaq 0x60(%rsp), %rdi
callq 0x41f0
movl $0xd0, %eax
testb %bpl, %bpl
jne 0x5762
leaq 0x40(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5934(%rip), %rsi      # 0xb021
movq %rsp, %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %ebp
movq %r12, %rdi
callq 0x41f0
leaq 0x40(%rsp), %rdi
callq 0x41f0
movl $0x120, %eax            # imm = 0x120
testb %bpl, %bpl
jne 0x5762
leaq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x61f4(%rip), %rsi      # 0xb92f
movq %rsp, %r14
movq %r14, %rdi
callq 0x59d4
movl %eax, %ebp
movq %r14, %rdi
callq 0x41f0
leaq 0x20(%rsp), %rdi
callq 0x41f0
testb %bpl, %bpl
je 0x577d
pushq $0x70
popq %rax
addq %rax, %rbx
movq %rbx, %rdi
callq 0x71a8
addq $0xe0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
jmp 0x576d
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
jmp 0x57c4
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
jmp 0x57c4
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
jmp 0x57c4
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
jmp 0x57c4
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
jmp 0x57c4
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x41f0
movq %rbx, %rdi
callq 0x45a0
nop