// File: /workspace/github_c_makefile_star2_O1/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
movq %rdi, %rbx
movb $0x0, 0x9e10(%rip)      # 0xe714
movq %rdi, 0x9c5d(%rip)      # 0xe568
movl %esi, 0x9dd7(%rip)      # 0xe6e8
xorl %eax, %eax
movl %eax, 0x9c57(%rip)      # 0xe570
movl %eax, 0x9c41(%rip)      # 0xe560
movl %eax, 0x9c9b(%rip)      # 0xe5c0
cmpb $0x0, 0x9d94(%rip)      # 0xe6c0
jne 0x49b3
movl 0x9858(%rip), %eax      # 0xe190
cmpl $0x3, %eax
jl 0x495b
movq (%rbx), %rdx
leaq 0x50bc(%rip), %rsi      # 0x9a03
xorl %eax, %eax
movl $0x3, %edi
callq 0x28f5
incl 0x9c07(%rip)            # 0xe560
jmp 0x49b3
testl %eax, %eax
jle 0x49a9
movq (%rbx), %rdx
leaq 0x50a4(%rip), %rsi      # 0x9a0d
xorl %eax, %eax
movl $0x3, %edi
callq 0x28f5
movaps 0x47d4(%rip), %xmm0     # 0x9150
movaps %xmm0, (%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, 0x20(%rsp)
cmpl $0x2f, %eax
jg 0x49b3
movl $0x30, %esi
subl %eax, %esi
leaq 0x4cf0(%rip), %rdi      # 0x968d
xorl %eax, %eax
movq %rsp, %rdx
callq 0x2100
jmp 0x49b3
movl $0x1, 0x9bad(%rip)      # 0xe560
movq 0x961e(%rip), %rax      # 0xdfd8
movq (%rax), %rdi
callq 0x21d0
movq 0x962f(%rip), %rax      # 0xdff8
movq (%rax), %rdi
callq 0x21d0
cmpb $0x0, 0x9cf0(%rip)      # 0xe6c8
jne 0x49fa
movb $0x1, 0x9be3(%rip)      # 0xe5c4
leaq 0x9be8(%rip), %rdi      # 0xe5d0
callq 0x2170
testl %eax, %eax
je 0x49fa
movb $0x1, 0x9d1c(%rip)      # 0xe714
jmp 0x4a0f
movl 0x9d10(%rip), %edi      # 0xe710
leaq 0x9ce9(%rip), %rsi      # 0xe6f0
callq 0x20b0
callq *0x8(%rbx)
movb $0x0, 0x9bae(%rip)      # 0xe5c4
movl 0x9cf4(%rip), %edi      # 0xe710
leaq 0x9cdd(%rip), %rsi      # 0xe700
callq 0x20b0
movl 0x9762(%rip), %eax      # 0xe190
cmpl $0x3, %eax
jl 0x4a77
movl $0x1, %edi
callq 0x288f
cmpl $0x0, 0x9b2c(%rip)      # 0xe570
je 0x4a98
leaq 0x4f92(%rip), %rsi      # 0x99df
xorl %eax, %eax
movl $0x5, %edi
callq 0x28f5
cmpb $0x0, 0x9cb4(%rip)      # 0xe714
je 0x4ae9
leaq 0x55bf(%rip), %rdi      # 0xa02c
callq 0x2080
jmp 0x4b24
testl %eax, %eax
jle 0x4b2e
cmpl $0x0, 0x9aea(%rip)      # 0xe570
jne 0x4b2e
xorl %edi, %edi
callq 0x27ba
jmp 0x4b2e
leaq 0x4f36(%rip), %rsi      # 0x99d5
xorl %eax, %eax
movl $0x4, %edi
callq 0x28f5
leaq 0x5583(%rip), %rdi      # 0xa035
callq 0x2080
cmpl $0x0, 0x9c2e(%rip)      # 0xe6ec
je 0x4b24
movl $0x1, %edi
callq 0x288f
leaq 0x4b96(%rip), %rdi      # 0x9667
xorl %eax, %eax
callq 0x2100
callq 0x45fe
movl $0xa, %edi
callq 0x2030
jmp 0x4b24
movl 0x9a81(%rip), %esi      # 0xe570
cmpl $0x1, %esi
leaq 0x4d28(%rip), %rax      # 0x9821
leaq 0x4bc2(%rip), %rdx      # 0x96c2
cmoveq %rax, %rdx
leaq 0x47a3(%rip), %rax      # 0x92ae
leaq 0x47a0(%rip), %rcx      # 0x92b2
cmoveq %rax, %rcx
leaq 0x4ecb(%rip), %rdi      # 0x99e8
xorl %eax, %eax
callq 0x2100
movl $0xa, %edi
callq 0x2030
cmpl $0x2, 0x965b(%rip)      # 0xe190
jl 0x4b51
cmpb $0x0, 0x9a42(%rip)      # 0xe580
je 0x4b51
movl $0x0, 0x9a2a(%rip)      # 0xe574
movb $0x0, 0x9a2f(%rip)      # 0xe580
movq $0x0, 0x9a0c(%rip) # 0xe568
xorl %eax, %eax
cmpl 0x9a0c(%rip), %eax      # 0xe570
sbbl %eax, %eax
addq $0x30, %rsp
popq %rbx
retq