// File: /workspace/github_cpp_makefile_star2_O1/bobverity[P]MavericK/misc.cpp
// Function: checkBoolean(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, std::basic_ofstream<char, std::char_traits<char>>&)
void checkBoolean(string param_string, bool &param_final, string param_name, bool writeErrorToFile, ofstream &logFileStream) {
    if (param_string=="1" || param_string=="1\r" || param_string=="true" || param_string=="true\r" || param_string=="True" || param_string=="True\r" ||  param_string=="TRUE" || param_string=="TRUE\r" || param_string=="t" || param_string=="t\r" || param_string=="T" || param_string=="T\r") {
        param_final = true;
    } else if (param_string=="0" || param_string=="0\r" || param_string=="false" || param_string=="false\r" || param_string=="False" || param_string=="False\r" || param_string=="FALSE" || param_string=="FALSE\r" || param_string=="f" || param_string=="f\r" || param_string=="F" || param_string=="F\r") {
        param_final = false;
    } else {
        cerrAndLog("\nError: '"+param_name+"' parameter must take on a Boolean value (either 1/t/true/T/True/TRUE or 0/f/false/F/False/FALSE)\n", writeErrorToFile, logFileStream);
        exit(1);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x1b806(%rip), %rsi     # 0x374f7
callq 0x30d0
movb $0x1, %r13b
testl %eax, %eax
je 0x1bef9
leaq 0x1bf39(%rip), %rsi     # 0x37c41
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1b7c1(%rip), %rsi     # 0x374e0
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1bf0e(%rip), %rsi     # 0x37c44
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1befd(%rip), %rsi     # 0x37c4a
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1beeb(%rip), %rsi     # 0x37c4f
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1beda(%rip), %rsi     # 0x37c55
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1bec8(%rip), %rsi     # 0x37c5a
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1c10d(%rip), %rsi     # 0x37eb6
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1bea0(%rip), %rsi     # 0x37c60
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1be8c(%rip), %rsi     # 0x37c63
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1be77(%rip), %rsi     # 0x37c65
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef9
leaq 0x1b6ee(%rip), %rsi     # 0x374f3
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1be4c(%rip), %rsi     # 0x37c68
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1b658(%rip), %rsi     # 0x3748b
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1be21(%rip), %rsi     # 0x37c6b
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1be11(%rip), %rsi     # 0x37c72
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1be00(%rip), %rsi     # 0x37c78
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1bdf4(%rip), %rsi     # 0x37c7f
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1bde7(%rip), %rsi     # 0x37c85
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1b422(%rip), %rsi     # 0x372d3
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1bdc8(%rip), %rsi     # 0x37c8c
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1bdb8(%rip), %rsi     # 0x37c8f
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bef6
leaq 0x1bda7(%rip), %rsi     # 0x37c91
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
jne 0x1bf0b
xorl %r13d, %r13d
movb %r13b, (%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1bd82(%rip), %rsi     # 0x37c94
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
callq 0xf984
leaq 0x1bd75(%rip), %rsi     # 0x37c9e
movq %rbx, %rdi
callq 0x35e0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1bf52
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x1bf5f
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movzbl %bpl, %esi
movq %r14, %rdx
callq 0x1db5c
leaq 0x8(%rsp), %rdi
callq 0x3150
leaq 0x28(%rsp), %rdi
callq 0x3150
movl $0x1, %edi
callq 0x33d0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1bfbc
callq 0x3310
jmp 0x1bfbc
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bfcf
callq 0x3310
movq %rbx, %rdi
callq 0x3580