// File: /workspace/github_cpp_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0xd8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %r12
movq %r12, %rdi
callq 0x635a
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x7694(%rip), %rsi      # 0xd048
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x4120
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x59d6
callq 0x4320
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x59e8
callq 0x4320
testl %ebp, %ebp
je 0x5c32
leaq 0xb8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %r12
movq %r12, %rdi
callq 0x635a
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x761f(%rip), %rsi      # 0xd04c
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x4120
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5a4f
callq 0x4320
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5a61
callq 0x4320
testl %ebp, %ebp
je 0x5c39
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %r12
movq %r12, %rdi
callq 0x635a
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x7589(%rip), %rsi      # 0xd02f
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x4120
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5ac8
callq 0x4320
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x5ada
callq 0x4320
testl %ebp, %ebp
je 0x5c40
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %r12
movq %r12, %rdi
callq 0x635a
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x751c(%rip), %rsi      # 0xd035
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x4120
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5b3b
callq 0x4320
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x5b4a
callq 0x4320
testl %ebp, %ebp
je 0x5c47
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %r12
movq %r12, %rdi
callq 0x635a
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x74b4(%rip), %rsi      # 0xd03d
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x4120
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5bab
callq 0x4320
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x5bba
callq 0x4320
testl %ebp, %ebp
je 0x5c4e
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x635a
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x74fe
leaq 0x7d55(%rip), %rsi      # 0xd94f
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x4120
movl %eax, %ebp
movq (%r14), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5c1b
callq 0x4320
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x5c2a
callq 0x4320
testl %ebp, %ebp
je 0x5c55
xorl %eax, %eax
jmp 0x5c65
movl $0x238, %eax            # imm = 0x238
jmp 0x5c5a
movl $0x2b0, %eax            # imm = 0x2B0
jmp 0x5c5a
movl $0xa0, %eax
jmp 0x5c5a
movl $0xd0, %eax
jmp 0x5c5a
movl $0x120, %eax            # imm = 0x120
jmp 0x5c5a
movl $0x70, %eax
addq %rax, %rbx
movq %rbx, %rdi
callq 0x7d24
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
jne 0x5cc4
jmp 0x5cc9
movq %rax, %rbx
movq 0x48(%rsp), %rdi
jmp 0x5cbf
movq %rax, %rbx
movq 0x68(%rsp), %rdi
jmp 0x5cbf
movq %rax, %rbx
movq 0x88(%rsp), %rdi
jmp 0x5cbf
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
jmp 0x5cbf
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5cc9
callq 0x4320
movq %rbx, %rdi
callq 0x45c0
nop