// File: /workspace/github_c_makefile_star2_O2/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 $0xe8, %rsp
movq %rcx, %r14
movq %rsi, %r15
movl %edi, %ebx
movq %r8, 0x50(%rsp)
movq %r9, 0x58(%rsp)
testb %al, %al
je 0x23fd
movaps %xmm0, 0x60(%rsp)
movaps %xmm1, 0x70(%rsp)
movaps %xmm2, 0x80(%rsp)
movaps %xmm3, 0x90(%rsp)
movaps %xmm4, 0xa0(%rsp)
movaps %xmm5, 0xb0(%rsp)
movaps %xmm6, 0xc0(%rsp)
movaps %xmm7, 0xd0(%rsp)
pushq $0x2
popq %r13
testl %edi, %edi
je 0x2414
pushq $0x3
popq %rax
pushq $0x1
popq %rbp
leaq 0x4211(%rip), %r12      # 0x6623
jmp 0x2455
movl 0x7d66(%rip), %eax      # 0xa180
testl %eax, %eax
jne 0x243a
cmpq $0x0, 0x7d62(%rip)      # 0xa188
je 0x243a
pushq $-0x1
popq %rdi
movl %edx, %ebp
callq 0x2570
movl %ebp, %edx
movl 0x7d46(%rip), %eax      # 0xa180
incl 0x7d50(%rip)            # 0xa190
incl %eax
movl %eax, 0x7d38(%rip)      # 0xa180
leaq 0x3cb1(%rip), %r12      # 0x6100
movl %r13d, %ebp
movl %r13d, %eax
cmpl %eax, 0x7d05(%rip)      # 0xa160
jl 0x254c
movl %edx, 0xc(%rsp)
cmpl $0x0, 0x7d28(%rip)      # 0xa194
sete %cl
movb 0x7d2b(%rip), %al       # 0xa1a0
testb %al, %al
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x24b3
pushq $0x1
popq %rdi
callq 0x264e
leaq 0x3c77(%rip), %rsi      # 0x6107
leaq 0x7d09(%rip), %rdx      # 0xa1a0
pushq $0x3
popq %rdi
xorl %eax, %eax
callq 0x26ab
incl 0x7cd9(%rip)            # 0xa180
incl 0x7ce7(%rip)            # 0xa194
movb 0x7ced(%rip), %al       # 0xa1a0
cmpb $0x1, %al
sbbl $0x0, %r13d
movl %r13d, %edi
callq 0x264e
testq %r15, %r15
je 0x24ee
pushq $0x2f
popq %rsi
movq %r15, %rdi
callq 0x2100
leaq 0x1(%rax), %rsi
testq %rax, %rax
cmoveq %r15, %rsi
leaq 0x3c2e(%rip), %rdi      # 0x6111
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x20f0
leaq 0x30(%rsp), %rax
leaq 0x10(%rsp), %rsi
movq %rax, 0x10(%rsi)
leaq 0x120(%rsp), %rax
movq %rax, 0x8(%rsi)
movabsq $0x3000000020, %rax     # imm = 0x3000000020
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x21c0
leaq 0x44ba(%rip), %rdi      # 0x69de
xorl %eax, %eax
callq 0x20f0
leaq 0x4159(%rip), %rsi      # 0x668b
movl %ebp, %edi
movq %r12, %rdx
xorl %eax, %eax
callq 0x26ab
pushq $0xa
popq %rdi
callq 0x2030
incl 0x7c34(%rip)            # 0xa180
xorl %eax, %eax
xorl %ecx, %ecx
testl %ebx, %ebx
setne %al
sete %cl
movl %ecx, 0x7c82(%rip)      # 0xa1e0
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq