// File: /workspace/github_cpp_makefile_star2_O3/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 0x1ab32(%rip), %rsi     # 0x364f7
callq 0x30d0
movb $0x1, %r13b
testl %eax, %eax
je 0x1bbcd
leaq 0x1b265(%rip), %rsi     # 0x36c41
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1aaed(%rip), %rsi     # 0x364e0
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b23a(%rip), %rsi     # 0x36c44
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b229(%rip), %rsi     # 0x36c4a
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b217(%rip), %rsi     # 0x36c4f
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b206(%rip), %rsi     # 0x36c55
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b1f4(%rip), %rsi     # 0x36c5a
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b439(%rip), %rsi     # 0x36eb6
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b1cc(%rip), %rsi     # 0x36c60
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b1b8(%rip), %rsi     # 0x36c63
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1b1a3(%rip), %rsi     # 0x36c65
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbcd
leaq 0x1aa1a(%rip), %rsi     # 0x364f3
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b178(%rip), %rsi     # 0x36c68
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1a984(%rip), %rsi     # 0x3648b
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b14d(%rip), %rsi     # 0x36c6b
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b13d(%rip), %rsi     # 0x36c72
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b12c(%rip), %rsi     # 0x36c78
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b120(%rip), %rsi     # 0x36c7f
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b113(%rip), %rsi     # 0x36c85
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1a74e(%rip), %rsi     # 0x362d3
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b0f4(%rip), %rsi     # 0x36c8c
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b0e4(%rip), %rsi     # 0x36c8f
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
je 0x1bbca
leaq 0x1b0d3(%rip), %rsi     # 0x36c91
movq %r12, %rdi
callq 0x30d0
testl %eax, %eax
jne 0x1bbdf
xorl %r13d, %r13d
movb %r13b, (%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b0ae(%rip), %rsi     # 0x36c94
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
callq 0xf5f6
leaq 0x1b0a1(%rip), %rsi     # 0x36c9e
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 0x1bc26
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x1bc33
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 0x1d808
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 0x1bc90
callq 0x3310
jmp 0x1bc90
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bca3
callq 0x3310
movq %rbx, %rdi
callq 0x3580