// File: /workspace/github_cpp_makefile_star2_O2/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 0x11981(%rip), %rsi     # 0x2747f
callq 0x1687c
movb $0x1, %r13b
testb %al, %al
jne 0x15d06
leaq 0x120bc(%rip), %rsi     # 0x27bd1
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x1193c(%rip), %rsi     # 0x27468
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x12091(%rip), %rsi     # 0x27bd4
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x12080(%rip), %rsi     # 0x27bda
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x1206e(%rip), %rsi     # 0x27bdf
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x1205d(%rip), %rsi     # 0x27be5
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x1204b(%rip), %rsi     # 0x27bea
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x122b0(%rip), %rsi     # 0x27e66
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x12023(%rip), %rsi     # 0x27bf0
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x1200f(%rip), %rsi     # 0x27bf3
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x11ffa(%rip), %rsi     # 0x27bf5
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d06
leaq 0x11869(%rip), %rsi     # 0x2747b
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11fcf(%rip), %rsi     # 0x27bf8
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x117d3(%rip), %rsi     # 0x27413
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11fa4(%rip), %rsi     # 0x27bfb
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11f94(%rip), %rsi     # 0x27c02
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11f83(%rip), %rsi     # 0x27c08
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11f77(%rip), %rsi     # 0x27c0f
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11f6a(%rip), %rsi     # 0x27c15
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x1159d(%rip), %rsi     # 0x2725b
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11f4b(%rip), %rsi     # 0x27c1c
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11f3b(%rip), %rsi     # 0x27c1f
movq %r12, %rdi
callq 0x1687c
testb %al, %al
jne 0x15d03
leaq 0x11f2a(%rip), %rsi     # 0x27c21
movq %r12, %rdi
callq 0x1687c
testb %al, %al
je 0x15d18
xorl %r13d, %r13d
movb %r13b, (%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x11f05(%rip), %rsi     # 0x27c24
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
callq 0xcf4d
leaq 0x11ef8(%rip), %rdx     # 0x27c2e
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0xcf2e
movzbl %bpl, %esi
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x176c7
leaq 0x8(%rsp), %rdi
callq 0x3170
leaq 0x28(%rsp), %rdi
callq 0x3170
pushq $0x1
popq %rdi
callq 0x33e0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3170
jmp 0x15d82
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x3170
movq %rbx, %rdi
callq 0x35a0