// File: /workspace/github_c_makefile_star2_O1/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 0x47a2
movq %rbx, 0x10(%rsp)
movq 0x8(%rbx), %rcx
movq %rax, %rbx
movq %rcx, 0x8(%rsp)
testq %rcx, %rcx
movq %r14, (%rsp)
je 0x49b0
movq 0x8(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x49b0
movq 0x10(%r14), %r12
testq %r12, %r12
je 0x4979
movq (%r12), %rbp
testq %rbp, %rbp
sete %r15b
je 0x4989
addq $0x8, %r12
movq 0x20(%rsp), %r14
movq %rbx, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x3060
testl %eax, %eax
jne 0x4962
movq %rbx, %r13
movq 0x8(%rsp), %rax
movq (%rax), %rbx
addq %r14, %rbp
movq %rbp, %rdi
callq 0x30d0
movq %rbx, %rdi
movq %r13, %rbx
movq %rbp, %rsi
movq %rax, %rdx
callq 0x3060
testl %eax, %eax
jne 0x4962
movq (%rsp), %r14
movq %r14, %rdi
movq 0x8(%rsp), %rsi
movq %rbx, %rdx
callq 0x4a22
cmpb $0x1, 0x5b(%r14)
jne 0x4962
movq (%rsp), %rax
cmpl $0x0, 0x40(%rax)
jne 0x49a8
movq (%rsp), %rax
cmpl $0x0, 0x44(%rax)
jne 0x49a8
movq (%r12), %rbp
addq $0x8, %r12
testq %rbp, %rbp
sete %r15b
jne 0x48f1
jmp 0x4989
movq %r14, %rdi
movq 0x8(%rsp), %rsi
movq %rbx, %rdx
callq 0x4a22
movq 0x8(%rsp), %rax
cmpq $0x0, 0x38(%rax)
leaq 0x30(%rax), %r13
movq %r13, 0x8(%rsp)
movq (%rsp), %r14
jne 0x48cf
jmp 0x49b0
testb $0x1, %r15b
jne 0x4989
jmp 0x49fa
cmpb $0x1, 0x5b(%r14)
jne 0x49cb
movq (%rsp), %rax
cmpl $0x0, 0x40(%rax)
jne 0x49fa
movq (%rsp), %rax
cmpl $0x0, 0x44(%rax)
jne 0x49fa
movq 0x10(%rsp), %rax
movq 0x10(%rax), %r13
testq %r13, %r13
je 0x49fa
cmpq $0x0, (%r13)
je 0x49fa
movq (%rsp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x4875
cmpq $0x0, 0x20(%r13)
leaq 0x20(%r13), %r13
jne 0x49e0
cmpq 0x18(%rsp), %rbx
je 0x4a13
movq 0x10(%rsp), %rax
cmpq %rbx, (%rax)
je 0x4a13
movq %rbx, %rdi
callq 0x3030
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq