// File: /workspace/github_c_makefile_star2_O2/giannisdravilas[P]Disease-Monitor/tests/../include/acutest.h
// Function: test_do_run__
static int
test_do_run__(const struct test__* test, int index)
{
    test_was_aborted__ = 0;
    test_current_unit__ = test;
    test_current_index__ = index;
    test_current_failures__ = 0;
    test_current_already_logged__ = 0;
    test_cond_failed__ = 0;

    test_begin_test_line__(test);

#ifdef __cplusplus
    try {
#endif

        /* This is good to do for case the test unit e.g. crashes. */
        fflush(stdout);
        fflush(stderr);

        if(!test_worker__) {
            test_abort_has_jmp_buf__ = 1;
            if(setjmp(test_abort_jmp_buf__) != 0) {
                test_was_aborted__ = 1;
                goto aborted;
            }
        }

        test_timer_get_time__(&test_timer_start__);
        test->func();
aborted:
        test_abort_has_jmp_buf__ = 0;
        test_timer_get_time__(&test_timer_end__);

        if(test_verbose_level__ >= 3) {
            test_line_indent__(1);
            if(test_current_failures__ == 0) {
                test_print_in_color__(TEST_COLOR_GREEN_INTENSIVE__, "SUCCESS: ");
                printf("All conditions have passed.\n");

                if(test_timer__) {
                    test_line_indent__(1);
                    printf("Duration: ");
                    test_timer_print_diff__();
                    printf("\n");
                }
            } else {
                test_print_in_color__(TEST_COLOR_RED_INTENSIVE__, "FAILED: ");
                if(!test_was_aborted__) {
                    printf("%d condition%s %s failed.\n",
                            test_current_failures__,
                            (test_current_failures__ == 1) ? "" : "s",
                            (test_current_failures__ == 1) ? "has" : "have");
                } else {
                    printf("Aborted.\n");
                }
            }
            printf("\n");
        } else if(test_verbose_level__ >= 1 && test_current_failures__ == 0) {
            test_finish_test_line__(0);
        }

        test_case__(NULL);
        test_current_unit__ = NULL;
        return (test_current_failures__ == 0) ? 0 : -1;

#ifdef __cplusplus
    } catch(std::exception& e) {
        const char* what = e.what();
        test_check__(0, NULL, 0, "Threw std::exception");
        if(what != NULL)
            test_message__("std::exception::what(): %s", what);

        if(test_verbose_level__ >= 3) {
            test_line_indent__(1);
            test_print_in_color__(TEST_COLOR_RED_INTENSIVE__, "FAILED: ");
            printf("C++ exception.\n\n");
        }

        return -1;
    } catch(...) {
        test_check__(0, NULL, 0, "Threw an exception");

        if(test_verbose_level__ >= 3) {
            test_line_indent__(1);
            test_print_in_color__(TEST_COLOR_RED_INTENSIVE__, "FAILED: ");
            printf("C++ exception.\n\n");
        }

        return -1;
    }
#endif
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
andl $0x0, 0x9fdb(%rip)      # 0xe550
movq %rdi, %rbx
andl $0x0, 0x9fc1(%rip)      # 0xe540
movb $0x0, 0xa16e(%rip)      # 0xe6f4
andl $0x0, 0xa013(%rip)      # 0xe5a0
movq %rdi, 0x9fb4(%rip)      # 0xe548
movl %esi, 0xa12e(%rip)      # 0xe6c8
cmpb $0x0, 0xa0ff(%rip)      # 0xe6a0
jne 0x461e
movl 0x9bc7(%rip), %eax      # 0xe170
cmpl $0x3, %eax
jl 0x45ca
movq (%rbx), %rdx
leaq 0x5448(%rip), %rsi      # 0x9a00
xorl %eax, %eax
pushq $0x3
popq %rdi
callq 0x26b9
incl 0x9f78(%rip)            # 0xe540
jmp 0x461e
testl %eax, %eax
jle 0x4614
movq (%rbx), %rdx
leaq 0x5432(%rip), %rsi      # 0x9a0a
xorl %eax, %eax
pushq $0x3
popq %rdi
callq 0x26b9
movaps 0x4b67(%rip), %xmm0     # 0x9150
movaps %xmm0, (%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, 0x20(%rsp)
cmpl $0x2f, %eax
jg 0x461e
pushq $0x30
popq %rsi
subl %eax, %esi
leaq 0x5085(%rip), %rdi      # 0x968d
xorl %eax, %eax
movq %rsp, %rdx
callq 0x2100
jmp 0x461e
movl $0x1, 0x9f22(%rip)      # 0xe540
movq 0x99b3(%rip), %rax      # 0xdfd8
movq (%rax), %rdi
callq 0x21c0
movq 0x99c4(%rip), %rax      # 0xdff8
movq (%rax), %rdi
callq 0x21c0
cmpb $0x0, 0xa065(%rip)      # 0xe6a8
jne 0x4665
movb $0x1, 0x9f58(%rip)      # 0xe5a4
leaq 0x9f5d(%rip), %rdi      # 0xe5b0
callq 0x2160
testl %eax, %eax
je 0x4665
movb $0x1, 0xa091(%rip)      # 0xe6f4
jmp 0x4674
leaq 0xa064(%rip), %rdi      # 0xe6d0
callq 0x4482
callq *0x8(%rbx)
movb $0x0, 0x9f29(%rip)      # 0xe5a4
leaq 0xa05e(%rip), %rdi      # 0xe6e0
callq 0x4482
movl 0x9ae3(%rip), %eax      # 0xe170
cmpl $0x3, %eax
jl 0x46ce
pushq $0x1
popq %rdi
callq 0x265c
cmpl $0x0, 0x9eaf(%rip)      # 0xe550
je 0x46ef
leaq 0x5332(%rip), %rsi      # 0x99dc
xorl %eax, %eax
pushq $0x5
popq %rdi
callq 0x26b9
cmpb $0x0, 0xa039(%rip)      # 0xe6f4
je 0x473a
leaq 0x5965(%rip), %rdi      # 0xa029
callq 0x2080
jmp 0x4775
testl %eax, %eax
jle 0x477d
cmpl $0x0, 0x9e73(%rip)      # 0xe550
jne 0x477d
xorl %edi, %edi
callq 0x2589
jmp 0x477d
leaq 0x52dc(%rip), %rsi      # 0x99d2
xorl %eax, %eax
pushq $0x4
popq %rdi
callq 0x26b9
leaq 0x592b(%rip), %rdi      # 0xa032
callq 0x2080
cmpl $0x0, 0x9fb9(%rip)      # 0xe6cc
je 0x4775
pushq $0x1
popq %rdi
callq 0x265c
leaq 0x4f43(%rip), %rdi      # 0x9667
xorl %eax, %eax
callq 0x2100
callq 0x426c
pushq $0xa
popq %rdi
callq 0x2030
jmp 0x4775
movl 0x9e10(%rip), %esi      # 0xe550
cmpl $0x1, %esi
leaq 0x50d4(%rip), %rax      # 0x981e
leaq 0x4f6e(%rip), %rdx      # 0x96bf
cmoveq %rax, %rdx
leaq 0x4b52(%rip), %rax      # 0x92ae
leaq 0x4b4f(%rip), %rcx      # 0x92b2
cmoveq %rax, %rcx
leaq 0x5277(%rip), %rdi      # 0x99e5
xorl %eax, %eax
callq 0x2100
pushq $0xa
popq %rdi
callq 0x2030
xorl %ebx, %ebx
movl %ebx, %edi
movl %ebx, %eax
callq 0x27d0
andq $0x0, 0x9db8(%rip)      # 0xe548
cmpl 0x9dba(%rip), %ebx      # 0xe550
movl %ebx, %eax
sbbl %ebx, %eax
addq $0x30, %rsp
popq %rbx
retq