// File: /workspace/github_c_makefile_star2_O3/nemequ[P]safe-math/munit/munit.c
// Function: munit_test_runner_run_suite
static void
munit_test_runner_run_suite(MunitTestRunner* runner,
                            const MunitSuite* suite,
                            const char* prefix) {
  size_t pre_l;
  char* pre = munit_maybe_concat(&pre_l, (char*) prefix, (char*) suite->prefix);

  /* Run the tests. */
  for (const MunitTest* test = suite->tests ; test != NULL && test->test != NULL ; test++) {
    if (runner->tests != NULL) { /* Specific tests were requested on the CLI */
      for (const char** test_name = runner->tests ; test_name != NULL && *test_name != NULL ; test_name++) {
        if (strncmp(pre, *test_name, pre_l) == 0 &&
            strncmp(test->name, *test_name + pre_l, strlen(*test_name + pre_l)) == 0) {
          munit_test_runner_run_test(runner, test, pre);
          if (runner->fatal_failures && (runner->report.failed != 0 || runner->report.errored != 0))
            goto cleanup;
        }
      }
    } else { /* Run all tests */
      munit_test_runner_run_test(runner, test, pre);
    }
  }

  if (runner->fatal_failures && (runner->report.failed != 0 || runner->report.errored != 0))
    goto cleanup;

  /* Run any child suites. */
  for (const MunitSuite* child_suite = suite->suites ; child_suite != NULL && child_suite->prefix != NULL ; child_suite++) {
    munit_test_runner_run_suite(runner, child_suite, pre);
  }

 cleanup:

  munit_maybe_free_concat(pre, prefix, suite->prefix);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdx
leaq 0x20(%rsp), %rdi
movq %rax, 0x18(%rsp)
movq %rax, %rsi
callq 0x4679
movq %rax, %r15
movq %rbx, 0x10(%rsp)
movq 0x8(%rbx), %rax
movq %r14, %rbx
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x4865
movq 0x8(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x4865
movq 0x10(%rbx), %r12
testq %r12, %r12
je 0x483c
movq (%r12), %rbp
testq %rbp, %rbp
je 0x484c
addq $0x8, %r12
movq 0x20(%rsp), %r14
movq %r15, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x3060
testl %eax, %eax
jne 0x482d
movq %r15, %r13
movq %rbx, %r15
movq 0x8(%rsp), %rax
movq (%rax), %rbx
addq %r14, %rbp
movq %rbp, %rdi
callq 0x30d0
movq %rbx, %rdi
movq %r15, %rbx
movq %r13, %r15
movq %rbp, %rsi
movq %rax, %rdx
callq 0x3060
testl %eax, %eax
jne 0x482d
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x48cd
cmpb $0x1, 0x5b(%rbx)
jne 0x482d
cmpl $0x0, 0x40(%rbx)
jne 0x48a5
cmpl $0x0, 0x44(%rbx)
jne 0x48a5
movq (%r12), %rbp
addq $0x8, %r12
testq %rbp, %rbp
jne 0x47c3
jmp 0x484c
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x48cd
movq 0x8(%rsp), %rax
cmpq $0x0, 0x38(%rax)
leaq 0x30(%rax), %r13
movq %r13, 0x8(%rsp)
jne 0x47a5
cmpb $0x1, 0x5b(%rbx)
jne 0x4877
cmpl $0x0, 0x40(%rbx)
jne 0x48a5
cmpl $0x0, 0x44(%rbx)
jne 0x48a5
movq 0x10(%rsp), %rax
movq 0x10(%rax), %r13
testq %r13, %r13
je 0x48a5
cmpq $0x0, (%r13)
je 0x48a5
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x474c
cmpq $0x0, 0x20(%r13)
leaq 0x20(%r13), %r13
jne 0x488c
cmpq 0x18(%rsp), %r15
je 0x48be
movq 0x10(%rsp), %rax
cmpq %r15, (%rax)
je 0x48be
movq %r15, %rdi
callq 0x3030
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq