// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.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 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 %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r9d, %ebp
movq %r8, %r14
movq %rdi, %rbx
xorl %eax, %eax
cmpl $0x2, %r9d
leaq 0x1f052(%rip), %rcx     # 0x28373
leaq 0x1f05b(%rip), %rsi     # 0x28383
cmoveq %rcx, %rsi
setne %al
leaq 0x28(%rsp), %r13
movq %r13, -0x10(%r13)
leaq (%rsi,%rax,4), %rdx
addq $0xf, %rdx
leaq 0x18(%rsp), %rdi
callq 0x24240
movq %rsp, %rdi
callq 0x9d20
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl $0x1, %eax
jne 0x93a8
movq %r14, %rdi
xorl %esi, %esi
callq 0x9648
movq %rax, %r14
cmpl %ebp, (%rax)
jne 0x94bf
movq 0x70(%rsp), %r12
movq 0x50(%r14), %rdi
movq (%r12), %rsi
callq 0x60d0
testq %rax, %rax
je 0x9524
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
jmp 0x95ab
movq (%rsp), %r15
leaq 0x10(%r15), %r12
leaq 0x1f01b(%rip), %rsi     # 0x283d2
movl $0xa, %edx
movq %r12, %rdi
callq 0x6510
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %r12, %rdi
callq 0x6510
leaq 0x1f6f7(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
movq %r12, %rdi
callq 0x6510
leaq 0x1efd5(%rip), %rsi     # 0x283c6
movl $0xa, %edx
movq %r12, %rdi
callq 0x6510
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %esi # imm = 0xB6DB6DB7
movq %r12, %rdi
callq 0x68a0
leaq 0x1ef79(%rip), %rsi     # 0x28397
movl $0x9, %edx
movq %r12, %rdi
callq 0x6510
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
testl %eax, %eax
jle 0x948e
xorl %ebp, %ebp
leaq 0x1f68b(%rip), %r12     # 0x28ad4
addq $0x10, %r15
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x6510
movq %r14, %rdi
movl %ebp, %esi
callq 0x9648
movq (%rsp), %r15
leaq 0x10(%r15), %rdi
movq %rax, %rsi
callq 0x1c738
movq 0x8(%r14), %rax
subq (%r14), %rax
incl %ebp
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl %eax, %ebp
jl 0x9449
leaq 0x10(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x1dcbe
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa074
movq %r14, %rdi
jmp 0x95a4
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x1eefb(%rip), %rsi     # 0x283d2
leaq 0x8(%rsp), %rdi
callq 0x1dd80
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x1ddfe
leaq 0x1f5df(%rip), %rsi     # 0x28ad4
movq %rax, %rdi
callq 0x1de72
leaq 0x1ee9d(%rip), %rsi     # 0x283a1
movq %rax, %rdi
callq 0x1dd80
movq %rax, %rdi
movq %r14, %rsi
callq 0x1def0
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa074
jmp 0x95a1
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x1ee96(%rip), %rsi     # 0x283d2
leaq 0x8(%rsp), %rdi
callq 0x1dd80
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x1ddfe
leaq 0x1ee52(%rip), %rsi     # 0x283ac
movq %rax, %rdi
callq 0x1df60
movq %rax, %rdi
movq %r12, %rsi
callq 0x1ddfe
leaq 0x1f619(%rip), %rsi     # 0x28b8d
movq %rax, %rdi
callq 0x1dfde
leaq 0x1ee1e(%rip), %rsi     # 0x283a1
movq %rax, %rdi
callq 0x1dd80
movq %rax, %rdi
movq %r14, %rsi
callq 0x1def0
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa074
movq %r15, %rdi
xorl %esi, %esi
callq 0x75d8
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x95ba
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x95d1
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x95f4
movq %rax, %rbx
movq %r14, %rdi
jmp 0x95fa
jmp 0x9605
movq %rax, %rbx
jmp 0x9617
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
callq 0x75d8
jmp 0x9608
jmp 0x9605
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x9617
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x962e
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0