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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0xc8(%rsp), %r12
movq %r12, %rdi
callq 0x4490
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5d2e(%rip), %rsi      # 0xb02c
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %r13d
movq %r12, %rdi
callq 0x41f0
leaq 0xc8(%rsp), %rdi
callq 0x41f0
movl $0x238, %eax            # imm = 0x238
testb %r13b, %r13b
jne 0x54e6
leaq 0xa8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5cd5(%rip), %rsi      # 0xb030
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %r13d
movq %r12, %rdi
callq 0x41f0
leaq 0xa8(%rsp), %rdi
callq 0x41f0
movl $0x2b0, %eax            # imm = 0x2B0
testb %r13b, %r13b
jne 0x54e6
leaq 0x88(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5c5b(%rip), %rsi      # 0xb013
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %r13d
movq %r12, %rdi
callq 0x41f0
leaq 0x88(%rsp), %rdi
callq 0x41f0
movl $0xa0, %eax
testb %r13b, %r13b
jne 0x54e6
leaq 0x68(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5c07(%rip), %rsi      # 0xb019
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %r13d
movq %r12, %rdi
callq 0x41f0
leaq 0x68(%rsp), %rdi
callq 0x41f0
movl $0xd0, %eax
testb %r13b, %r13b
jne 0x54e6
leaq 0x48(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x5bb8(%rip), %rsi      # 0xb021
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x59d4
movl %eax, %r13d
movq %r12, %rdi
callq 0x41f0
leaq 0x48(%rsp), %rdi
callq 0x41f0
movl $0x120, %eax            # imm = 0x120
testb %r13b, %r13b
jne 0x54e6
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4490
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6ab4
leaq 0x6473(%rip), %rsi      # 0xb92f
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x59d4
movl %eax, %r15d
movq %r14, %rdi
callq 0x41f0
leaq 0x28(%rsp), %rdi
callq 0x41f0
testb %r15b, %r15b
je 0x54f5
pushq $0x70
popq %rax
addq %rax, %rbx
movzbl %bpl, %esi
movq %rbx, %rdi
callq 0x71ac
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
jmp 0x554a
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x554a
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x554a
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0x554a
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
jmp 0x554a
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x41f0
movq %rbx, %rdi
callq 0x45a0
nop