// File: /workspace/github_c_makefile_star2_O3/chatziko-k08[P]lecture-code/tests/../include/acutest.h
// Function: acutest_check_
acutest_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 = ACUTEST_COLOR_GREEN_;
        verbose_level = 3;
    } else {
        if(!acutest_test_already_logged_  &&  acutest_current_test_ != NULL)
            acutest_finish_test_line_(-1);

        result_str = "failed";
        result_color = ACUTEST_COLOR_RED_;
        verbose_level = 2;
        acutest_test_failures_++;
        acutest_test_already_logged_++;
    }

    if(acutest_verbose_level_ >= verbose_level) {
        va_list args;

        if(!acutest_case_already_logged_  &&  acutest_case_name_[0]) {
            acutest_line_indent_(1);
            acutest_colored_printf_(ACUTEST_COLOR_DEFAULT_INTENSIVE_, "Case %s:\n", acutest_case_name_);
            acutest_test_already_logged_++;
            acutest_case_already_logged_++;
        }

        acutest_line_indent_(acutest_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("... ");
        acutest_colored_printf_(result_color, "%s", result_str);
        printf("\n");
        acutest_test_already_logged_++;
    }

    acutest_cond_failed_ = (cond == 0);
    return !acutest_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 0x263c
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 0x2654
movl $0x3, %eax
movl $0x1, %r13d
leaq 0x3fd1(%rip), %r12      # 0x6623
jmp 0x2698
movl 0x7b26(%rip), %eax      # 0xa180
testl %eax, %eax
jne 0x2678
cmpq $0x0, 0x7b22(%rip)      # 0xa188
je 0x2678
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x27b5
movl 0x7b08(%rip), %eax      # 0xa180
incl 0x7b12(%rip)            # 0xa190
incl %eax
movl %eax, 0x7afa(%rip)      # 0xa180
movl $0x2, %r13d
leaq 0x3a6d(%rip), %r12      # 0x6100
movl $0x2, %eax
cmpl %eax, 0x7aca(%rip)      # 0xa168
jl 0x2791
cmpl $0x0, 0x7ae9(%rip)      # 0xa194
sete %cl
movb 0x7aec(%rip), %al       # 0xa1a0
testb %al, %al
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x26f6
movl $0x1, %edi
callq 0x2895
leaq 0x3a36(%rip), %rsi      # 0x6107
leaq 0x7ac8(%rip), %rdx      # 0xa1a0
movl $0x3, %edi
xorl %eax, %eax
callq 0x28fb
incl 0x7a96(%rip)            # 0xa180
incl 0x7aa4(%rip)            # 0xa194
movb 0x7aaa(%rip), %al       # 0xa1a0
cmpb $0x1, %al
movl $0x2, %edi
sbbl $0x0, %edi
callq 0x2895
testq %r15, %r15
je 0x2732
movq %r15, %rdi
movl $0x2f, %esi
callq 0x2100
leaq 0x1(%rax), %rsi
testq %rax, %rax
cmoveq %r15, %rsi
leaq 0x39e8(%rip), %rdi      # 0x6111
movl %ebp, %edx
xorl %eax, %eax
callq 0x20f0
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 0x21c0
leaq 0x4278(%rip), %rdi      # 0x69de
xorl %eax, %eax
callq 0x20f0
leaq 0x3f17(%rip), %rsi      # 0x668b
movl %r13d, %edi
movq %r12, %rdx
xorl %eax, %eax
callq 0x28fb
movl $0xa, %edi
callq 0x2030
incl 0x79ef(%rip)            # 0xa180
xorl %eax, %eax
xorl %ecx, %ecx
testl %ebx, %ebx
setne %al
sete %cl
movl %ecx, 0x7a3d(%rip)      # 0xa1e0
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq