// File: /workspace/github_c_makefile_star2_O2/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest.cc
// Function: testing::internal::HasOneFailure(char const*, char const*, char const*, testing::TestPartResultArray const&, testing::TestPartResult::Type, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
AssertionResult HasOneFailure(const char* /* results_expr */,
                              const char* /* type_expr */,
                              const char* /* substr_expr */,
                              const TestPartResultArray& results,
                              TestPartResult::Type type,
                              const std::string& substr) {
  const std::string expected(type == TestPartResult::kFatalFailure ?
                        "1 fatal failure" :
                        "1 non-fatal failure");
  Message msg;
  if (results.size() != 1) {
    msg << "Expected: " << expected << "\n"
        << "  Actual: " << results.size() << " failures";
    for (int i = 0; i < results.size(); i++) {
      msg << "\n" << results.GetTestPartResult(i);
    }
    return AssertionFailure() << msg;
  }

  const TestPartResult& r = results.GetTestPartResult(0);
  if (r.type() != type) {
    return AssertionFailure() << "Expected: " << expected << "\n"
                              << "  Actual:\n"
                              << r;
  }

  if (strstr(r.message(), substr.c_str()) == NULL) {
    return AssertionFailure() << "Expected: " << expected << " containing \""
                              << substr << "\"\n"
                              << "  Actual:\n"
                              << r;
  }

  return AssertionSuccess();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movl %r9d, %ebp
movq %r8, %r14
movq %rdi, %rbx
cmpl $0x2, %r9d
leaq 0x32c51(%rip), %rax     # 0x440ca
leaq 0x32c5a(%rip), %rsi     # 0x440da
cmoveq %rax, %rsi
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x1f4d6
leaq 0x8(%rsp), %rdi
callq 0x11c8e
movq 0x8(%r14), %rax
subq (%r14), %rax
pushq $0x70
popq %r12
cqto
idivq %r12
cmpl $0x1, %eax
jne 0x114ef
movq %r14, %rdi
xorl %esi, %esi
callq 0x11742
movq %rax, %r14
cmpl %ebp, (%rax)
jne 0x115eb
movq 0x70(%rsp), %r12
movq 0x50(%r14), %rdi
movq (%r12), %rsi
callq 0xd110
testq %rax, %rax
je 0x1164d
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
jmp 0x116cf
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
leaq 0x32c80(%rip), %rsi     # 0x4417f
callq 0xd5e0
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
leaq 0x20(%rsp), %rsi
callq 0xd520
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
leaq 0x33361(%rip), %rsi     # 0x44888
callq 0xd5e0
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
leaq 0x32c37(%rip), %rsi     # 0x44173
callq 0xd5e0
movq 0x8(%r14), %rax
subq (%r14), %rax
cqto
idivq %r12
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
movl %eax, %esi
callq 0xdbd0
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
leaq 0x32b81(%rip), %rsi     # 0x440ee
callq 0xd5e0
xorl %ebp, %ebp
leaq 0x3330d(%rip), %r15     # 0x44888
movq 0x8(%r14), %rax
subq (%r14), %rax
cqto
idivq %r12
cmpl %eax, %ebp
jge 0x115bb
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
movq %r15, %rsi
callq 0xd5e0
movq %r14, %rdi
movl %ebp, %esi
callq 0x11742
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
movq %rax, %rsi
callq 0x1e816
incl %ebp
jmp 0x1157b
leaq 0x18(%rsp), %r14
movb $0x0, -0x8(%r14)
andq $0x0, (%r14)
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1f5dc
movq %rbx, %rdi
movq %rax, %rsi
callq 0x11f10
movq %r14, %rdi
jmp 0x116ca
leaq 0x18(%rsp), %r15
movb $0x0, -0x8(%r15)
andq $0x0, (%r15)
leaq 0x32b7f(%rip), %rsi     # 0x4417f
leaq 0x10(%rsp), %rdi
callq 0x1f640
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x1f6a4
leaq 0x3326a(%rip), %rsi     # 0x44888
movq %rax, %rdi
callq 0x1f708
leaq 0x32acb(%rip), %rsi     # 0x440f8
movq %rax, %rdi
callq 0x1f640
movq %rax, %rdi
movq %r14, %rsi
callq 0x1f76c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x11f10
jmp 0x116c7
leaq 0x18(%rsp), %r15
movb $0x0, -0x8(%r15)
andq $0x0, (%r15)
leaq 0x32b1d(%rip), %rsi     # 0x4417f
leaq 0x10(%rsp), %rdi
callq 0x1f640
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x1f6a4
leaq 0x32a83(%rip), %rsi     # 0x44103
movq %rax, %rdi
callq 0x1f7d0
movq %rax, %rdi
movq %r12, %rsi
callq 0x1f6a4
leaq 0x32a77(%rip), %rsi     # 0x44111
movq %rax, %rdi
callq 0x1f834
leaq 0x32a4f(%rip), %rsi     # 0x440f8
movq %rax, %rdi
callq 0x1f640
movq %rax, %rdi
movq %r14, %rsi
callq 0x1f76c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x11f10
movq %r15, %rdi
callq 0x2295e
leaq 0x8(%rsp), %rdi
callq 0x1f8e0
leaq 0x20(%rsp), %rdi
callq 0xdd68
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11704
movq %rax, %rbx
movq %r14, %rdi
jmp 0x1170a
jmp 0x11713
movq %rax, %rbx
jmp 0x11720
movq %rax, %rbx
movq %r15, %rdi
callq 0x2295e
jmp 0x11716
jmp 0x11713
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x1f8e0
leaq 0x20(%rsp), %rdi
callq 0xdd68
movq %rbx, %rdi
callq 0xdbf0