// File: /workspace/github_c_makefile_star2_O3/giannisdravilas[P]Disease-Monitor/tests/../include/acutest.h
// Function: test_check__
int
test_check__(int cond, const char* file, int line, const char* fmt, ...)
{
    const char *result_str;
    int result_color;
    int verbose_level;

    if(cond) {
        result_str = "ok";
        result_color = TEST_COLOR_GREEN__;
        verbose_level = 3;
    } else {
        if(!test_current_already_logged__  &&  test_current_unit__ != NULL)
            test_finish_test_line__(-1);

        result_str = "failed";
        result_color = TEST_COLOR_RED__;
        verbose_level = 2;
        test_current_failures__++;
        test_current_already_logged__++;
    }

    if(test_verbose_level__ >= verbose_level) {
        va_list args;

        if(!test_case_current_already_logged__  &&  test_case_name__[0]) {
            test_line_indent__(1);
            test_print_in_color__(TEST_COLOR_DEFAULT_INTENSIVE__, "Case %s:\n", test_case_name__);
            test_current_already_logged__++;
            test_case_current_already_logged__++;
        }

        test_line_indent__(test_case_name__[0] ? 2 : 1);
        if(file != NULL) {
#ifdef ACUTEST_WIN__
            const char* lastsep1 = strrchr(file, '\\');
            const char* lastsep2 = strrchr(file, '/');
            if(lastsep1 == NULL)
                lastsep1 = file-1;
            if(lastsep2 == NULL)
                lastsep2 = file-1;
            file = (lastsep1 > lastsep2 ? lastsep1 : lastsep2) + 1;
#else
            const char* lastsep = strrchr(file, '/');
            if(lastsep != NULL)
                file = lastsep+1;
#endif
            printf("%s:%d: Check ", file, line);
        }

        va_start(args, fmt);
        vprintf(fmt, args);
        va_end(args);

        printf("... ");
        test_print_in_color__(result_color, result_str);
        printf("\n");
        test_current_already_logged__++;
    }

    test_cond_failed__ = (cond == 0);
    return !test_cond_failed__;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movl %edi, %ebx
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
testb %al, %al
je 0x265c
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
testl %edi, %edi
je 0x2674
movl $0x3, %eax
movl $0x1, %r12d
leaq 0x6fe4(%rip), %r13      # 0x9656
jmp 0x26b8
movl 0xbee6(%rip), %eax      # 0xe560
testl %eax, %eax
jne 0x2698
cmpq $0x0, 0xbee2(%rip)      # 0xe568
je 0x2698
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x27ce
movl 0xbec8(%rip), %eax      # 0xe560
incl 0xbed2(%rip)            # 0xe570
incl %eax
movl %eax, 0xbeba(%rip)      # 0xe560
movl $0x2, %r12d
leaq 0x6abd(%rip), %r13      # 0x9170
movl $0x2, %eax
cmpl %eax, 0xbad2(%rip)      # 0xe190
jl 0x27aa
cmpl $0x0, 0xbea9(%rip)      # 0xe574
sete %cl
movb 0xbeac(%rip), %al       # 0xe580
testb %al, %al
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2716
movl $0x1, %edi
callq 0x28a3
leaq 0x6a86(%rip), %rsi      # 0x9177
leaq 0xbe88(%rip), %rdx      # 0xe580
movl $0x3, %edi
xorl %eax, %eax
callq 0x2909
incl 0xbe56(%rip)            # 0xe560
incl 0xbe64(%rip)            # 0xe574
movb 0xbe6a(%rip), %al       # 0xe580
cmpb $0x1, %al
movl $0x2, %edi
sbbl $0x0, %edi
callq 0x28a3
testq %r15, %r15
je 0x2752
movq %r15, %rdi
movl $0x2f, %esi
callq 0x2110
leaq 0x1(%rax), %rsi
testq %rax, %rax
cmoveq %r15, %rsi
leaq 0x6a38(%rip), %rdi      # 0x9181
movl %ebp, %edx
xorl %eax, %eax
callq 0x2100
leaq 0x20(%rsp), %rax
movq %rsp, %rsi
movq %rax, 0x10(%rsi)
leaq 0x110(%rsp), %rax
movq %rax, 0x8(%rsi)
movabsq $0x3000000020, %rax     # imm = 0x3000000020
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x21e0
leaq 0x728b(%rip), %rdi      # 0x9a11
xorl %eax, %eax
callq 0x2100
movl %r12d, %edi
movq %r13, %rsi
xorl %eax, %eax
callq 0x2909
movl $0xa, %edi
callq 0x2030
incl 0xbdb6(%rip)            # 0xe560
xorl %eax, %eax
xorl %ecx, %ecx
testl %ebx, %ebx
setne %al
sete %cl
movl %ecx, 0xbe04(%rip)      # 0xe5c0
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq