// File: /workspace/github_c_makefile_star2_O0/giannisdravilas[P]Disease-Monitor/tests/../include/acutest.h
// Function: test_print_in_color__
static int
test_print_in_color__(int color, const char* fmt, ...)
{
    va_list args;
    char buffer[256];
    int n;

    va_start(args, fmt);
    vsnprintf(buffer, sizeof(buffer), fmt, args);
    va_end(args);
    buffer[sizeof(buffer)-1] = '\0';

    if(!test_colorize__) {
        return printf("%s", buffer);
    }

#if defined ACUTEST_UNIX__
    {
        const char* col_str;
        switch(color) {
            case TEST_COLOR_GREEN__:             col_str = "\033[0;32m"; break;
            case TEST_COLOR_RED__:               col_str = "\033[0;31m"; break;
            case TEST_COLOR_GREEN_INTENSIVE__:   col_str = "\033[1;32m"; break;
            case TEST_COLOR_RED_INTENSIVE__:     col_str = "\033[1;31m"; break;
            case TEST_COLOR_DEFAULT_INTENSIVE__: col_str = "\033[1m"; break;
            default:                             col_str = "\033[0m"; break;
        }
        printf("%s", col_str);
        n = printf("%s", buffer);
        printf("\033[0m");
        return n;
    }
#elif defined ACUTEST_WIN__
    {
        HANDLE h;
        CONSOLE_SCREEN_BUFFER_INFO info;
        WORD attr;

        h = GetStdHandle(STD_OUTPUT_HANDLE);
        GetConsoleScreenBufferInfo(h, &info);

        switch(color) {
            case TEST_COLOR_GREEN__:             attr = FOREGROUND_GREEN; break;
            case TEST_COLOR_RED__:               attr = FOREGROUND_RED; break;
            case TEST_COLOR_GREEN_INTENSIVE__:   attr = FOREGROUND_GREEN | FOREGROUND_INTENSITY; break;
            case TEST_COLOR_RED_INTENSIVE__:     attr = FOREGROUND_RED | FOREGROUND_INTENSITY; break;
            case TEST_COLOR_DEFAULT_INTENSIVE__: attr = FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY; break;
            default:                             attr = 0; break;
        }
        if(attr != 0)
            SetConsoleTextAttribute(h, attr);
        n = printf("%s", buffer);
        SetConsoleTextAttribute(h, info.wAttributes);
        return n;
    }
#else
    n = printf("%s", buffer);
    return n;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp            # imm = 0x200
testb %al, %al
je 0x27b7
movaps %xmm0, -0x1c0(%rbp)
movaps %xmm1, -0x1b0(%rbp)
movaps %xmm2, -0x1a0(%rbp)
movaps %xmm3, -0x190(%rbp)
movaps %xmm4, -0x180(%rbp)
movaps %xmm5, -0x170(%rbp)
movaps %xmm6, -0x160(%rbp)
movaps %xmm7, -0x150(%rbp)
movq %r9, -0x1c8(%rbp)
movq %r8, -0x1d0(%rbp)
movq %rcx, -0x1d8(%rbp)
movq %rdx, -0x1e0(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x30(%rbp), %rax
leaq -0x1f0(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq 0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl $0x30, 0x4(%rax)
movl $0x10, (%rax)
leaq -0x130(%rbp), %rdi
movq -0x10(%rbp), %rdx
leaq -0x30(%rbp), %rcx
movl $0x100, %esi            # imm = 0x100
callq 0x2080
leaq -0x30(%rbp), %rax
movb $0x0, -0x31(%rbp)
cmpl $0x0, 0xce5a(%rip)      # 0xf680
jne 0x2845
leaq -0x130(%rbp), %rsi
leaq 0x8e46(%rip), %rdi      # 0xb67c
movb $0x0, %al
callq 0x20e0
movl %eax, -0x4(%rbp)
jmp 0x2914
movl -0x8(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x1f8(%rbp)
subl $0x4, %eax
ja 0x28bf
movq -0x1f8(%rbp), %rax
leaq 0x87aa(%rip), %rcx      # 0xb010
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x8dd7(%rip), %rax      # 0xb64d
movq %rax, -0x140(%rbp)
jmp 0x28cd
leaq 0x8dcf(%rip), %rax      # 0xb655
movq %rax, -0x140(%rbp)
jmp 0x28cd
leaq 0x8dc7(%rip), %rax      # 0xb65d
movq %rax, -0x140(%rbp)
jmp 0x28cd
leaq 0x8dbf(%rip), %rax      # 0xb665
movq %rax, -0x140(%rbp)
jmp 0x28cd
leaq 0x8db7(%rip), %rax      # 0xb66d
movq %rax, -0x140(%rbp)
jmp 0x28cd
leaq 0x8dac(%rip), %rax      # 0xb672
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rsi
leaq 0x8da1(%rip), %rdi      # 0xb67c
movb $0x0, %al
callq 0x20e0
leaq -0x130(%rbp), %rsi
leaq 0x8d8c(%rip), %rdi      # 0xb67c
movb $0x0, %al
callq 0x20e0
movl %eax, -0x134(%rbp)
leaq 0x8d6e(%rip), %rdi      # 0xb672
movb $0x0, %al
callq 0x20e0
movl -0x134(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq