// File: /workspace/github_cpp_makefile_star2_O1/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, 0x24(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0xd8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %r12
movq %r12, %rdi
callq 0x635a
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x7a00(%rip), %rsi      # 0xd048
movq %rsp, %r13
movq %r13, %rdi
callq 0x4120
movl %eax, %r12d
movq (%r13), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5669
callq 0x4320
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x567b
callq 0x4320
testl %r12d, %r12d
je 0x58bf
leaq 0xb8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %r12
movq %r12, %rdi
callq 0x635a
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x798d(%rip), %rsi      # 0xd04c
movq %rsp, %r13
movq %r13, %rdi
callq 0x4120
movl %eax, %r12d
movq (%r13), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x56e0
callq 0x4320
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x56f2
callq 0x4320
testl %r12d, %r12d
je 0x58c6
leaq 0x98(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %r12
movq %r12, %rdi
callq 0x635a
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x78f9(%rip), %rsi      # 0xd02f
movq %rsp, %r13
movq %r13, %rdi
callq 0x4120
movl %eax, %r12d
movq (%r13), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5757
callq 0x4320
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5769
callq 0x4320
testl %r12d, %r12d
je 0x58cd
leaq 0x78(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %r12
movq %r12, %rdi
callq 0x635a
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x788e(%rip), %rsi      # 0xd035
movq %rsp, %r13
movq %r13, %rdi
callq 0x4120
movl %eax, %r12d
movq (%r13), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x57c8
callq 0x4320
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x57d7
callq 0x4320
testl %r12d, %r12d
je 0x58d4
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %r12
movq %r12, %rdi
callq 0x635a
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x74fe
leaq 0x7828(%rip), %rsi      # 0xd03d
movq %rsp, %r13
movq %r13, %rdi
callq 0x4120
movl %eax, %r12d
movq (%r13), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5836
callq 0x4320
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5845
callq 0x4320
testl %r12d, %r12d
je 0x58db
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
movq %rsp, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x74fe
leaq 0x80cb(%rip), %rsi      # 0xd94f
movq %rsp, %r15
movq %r15, %rdi
callq 0x4120
movl %eax, %r14d
movq (%r15), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x58a4
callq 0x4320
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x58b3
callq 0x4320
testl %r14d, %r14d
jne 0x58f0
movl $0x70, %eax
jmp 0x58e0
movl $0x238, %eax            # imm = 0x238
jmp 0x58e0
movl $0x2b0, %eax            # imm = 0x2B0
jmp 0x58e0
movl $0xa0, %eax
jmp 0x58e0
movl $0xd0, %eax
jmp 0x58e0
movl $0x120, %eax            # imm = 0x120
addq %rax, %rbx
movzbl 0x24(%rsp), %esi
movq %rbx, %rdi
callq 0x7d28
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 0x594f
jmp 0x5954
movq %rax, %rbx
movq 0x48(%rsp), %rdi
jmp 0x594a
movq %rax, %rbx
movq 0x68(%rsp), %rdi
jmp 0x594a
movq %rax, %rbx
movq 0x88(%rsp), %rdi
jmp 0x594a
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
jmp 0x594a
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5954
callq 0x4320
movq %rbx, %rdi
callq 0x45c0