// File: /workspace/github_c_makefile_star2_O1/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, %r13
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, %r15d
leaq 0x6fe4(%rip), %r12      # 0x9656
jmp 0x26af
cmpl $0x0, 0xbee5(%rip)      # 0xe560
jne 0x2691
cmpq $0x0, 0xbee3(%rip)      # 0xe568
je 0x2691
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x27ba
incl 0xbed9(%rip)            # 0xe570
incl 0xbec3(%rip)            # 0xe560
movl $0x2, %r15d
leaq 0x6ac6(%rip), %r12      # 0x9170
movl $0x2, %eax
cmpl %eax, 0xbadb(%rip)      # 0xe190
jl 0x2796
cmpl $0x0, 0xbeb2(%rip)      # 0xe574
jne 0x26fd
cmpb $0x0, 0xbeb5(%rip)      # 0xe580
je 0x26fd
movl $0x1, %edi
callq 0x288f
leaq 0x6a99(%rip), %rsi      # 0x9177
leaq 0xbe9b(%rip), %rdx      # 0xe580
movl $0x3, %edi
xorl %eax, %eax
callq 0x28f5
incl 0xbe69(%rip)            # 0xe560
incl 0xbe77(%rip)            # 0xe574
cmpb $0x1, 0xbe7c(%rip)      # 0xe580
movl $0x2, %edi
sbbl $0x0, %edi
callq 0x288f
testq %r13, %r13
je 0x273e
movq %r13, %rdi
movl $0x2f, %esi
callq 0x2110
leaq 0x1(%rax), %rsi
testq %rax, %rax
cmoveq %r13, %rsi
leaq 0x6a4c(%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 0x72a2(%rip), %rdi      # 0x9a14
xorl %eax, %eax
callq 0x2100
movl %r15d, %edi
movq %r12, %rsi
xorl %eax, %eax
callq 0x28f5
movl $0xa, %edi
callq 0x2030
incl 0xbdca(%rip)            # 0xe560
xorl %eax, %eax
xorl %ecx, %ecx
testl %ebx, %ebx
setne %al
sete %cl
movl %ecx, 0xbe18(%rip)      # 0xe5c0
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq