// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x0, 0xa0fb(%rip)      # 0xf6f4
movq -0x8(%rbp), %rax
movq %rax, 0x9f44(%rip)      # 0xf548
movl -0xc(%rbp), %eax
movl %eax, 0xa0bb(%rip)      # 0xf6c8
movl $0x0, 0x9f39(%rip)      # 0xf550
movl $0x0, 0x9f1f(%rip)      # 0xf540
movl $0x0, 0x9f75(%rip)      # 0xf5a0
movq -0x8(%rbp), %rdi
callq 0x5870
movq 0x999d(%rip), %rax      # 0xefd8
movq (%rax), %rdi
callq 0x21b0
movq 0x99ae(%rip), %rax      # 0xeff8
movq (%rax), %rdi
callq 0x21b0
cmpl $0x0, 0xa04f(%rip)      # 0xf6a8
jne 0x5684
movl $0x1, 0x9f3f(%rip)      # 0xf5a4
leaq 0x9f44(%rip), %rdi      # 0xf5b0
callq 0x2140
cmpl $0x0, %eax
je 0x5682
movl $0x1, 0xa074(%rip)      # 0xf6f4
jmp 0x5697
jmp 0x5684
leaq 0xa045(%rip), %rdi      # 0xf6d0
callq 0x54b0
movq -0x8(%rbp), %rax
callq *0x8(%rax)
movl $0x0, 0x9f03(%rip)      # 0xf5a4
leaq 0xa038(%rip), %rdi      # 0xf6e0
callq 0x54b0
cmpl $0x3, 0x9abc(%rip)      # 0xf170
jl 0x57ac
movl $0x1, %edi
callq 0x26f0
cmpl $0x0, 0x9e85(%rip)      # 0xf550
jne 0x5724
movl $0x4, %edi
leaq 0x68dc(%rip), %rsi      # 0xbfb5
movb $0x0, %al
callq 0x2770
leaq 0x68d8(%rip), %rdi      # 0xbfbf
movb $0x0, %al
callq 0x20e0
cmpl $0x0, 0x9fd7(%rip)      # 0xf6cc
je 0x5722
movl $0x1, %edi
callq 0x26f0
leaq 0x5f18(%rip), %rdi      # 0xb620
movb $0x0, %al
callq 0x20e0
callq 0x4e60
leaq 0x60d4(%rip), %rdi      # 0xb7ef
movb $0x0, %al
callq 0x20e0
jmp 0x579c
movl $0x5, %edi
leaq 0x68ac(%rip), %rsi      # 0xbfdc
movb $0x0, %al
callq 0x2770
cmpl $0x0, 0x9fb6(%rip)      # 0xf6f4
jne 0x578c
movl 0x9e0a(%rip), %esi      # 0xf550
movl 0x9e04(%rip), %ecx      # 0xf550
leaq 0x5f2a(%rip), %rdx      # 0xb67d
leaq 0x6096(%rip), %rax      # 0xb7f0
cmpl $0x1, %ecx
cmoveq %rax, %rdx
movl 0x9de9(%rip), %edi      # 0xf550
leaq 0x5afd(%rip), %rcx      # 0xb26b
leaq 0x5af2(%rip), %rax      # 0xb267
cmpl $0x1, %edi
cmoveq %rax, %rcx
leaq 0x6862(%rip), %rdi      # 0xbfe5
movb $0x0, %al
callq 0x20e0
jmp 0x579a
leaq 0x686d(%rip), %rdi      # 0xc000
movb $0x0, %al
callq 0x20e0
jmp 0x579c
leaq 0x604c(%rip), %rdi      # 0xb7ef
movb $0x0, %al
callq 0x20e0
jmp 0x57c7
cmpl $0x1, 0x99bd(%rip)      # 0xf170
jl 0x57c5
cmpl $0x0, 0x9d94(%rip)      # 0xf550
jne 0x57c5
xorl %edi, %edi
callq 0x25d0
jmp 0x57c7
xorl %eax, %eax
movl %eax, %edi
movb $0x0, %al
callq 0x2920
movq $0x0, 0x9d6b(%rip) # 0xf548
movl 0x9d6d(%rip), %edx      # 0xf550
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
cmpl $0x0, %edx
cmovel %ecx, %eax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)