// File: /workspace/github_cpp_makefile_star2_O1/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 0x1efa8(%rip), %rcx     # 0x28373
leaq 0x1efb1(%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 0x247da
movq %rsp, %rdi
callq 0x9de4
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl $0x1, %eax
jne 0x9452
movq %r14, %rdi
xorl %esi, %esi
callq 0x971a
movq %rax, %r14
cmpl %ebp, (%rax)
jne 0x9580
movq 0x70(%rsp), %r12
movq 0x50(%r14), %rdi
movq (%r12), %rsi
callq 0x60d0
testq %rax, %rax
je 0x95e5
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
jmp 0x966c
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x1ef71(%rip), %rsi     # 0x283d2
movl $0xa, %edx
callq 0x6510
movq (%rsp), %rdi
addq $0x10, %rdi
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
callq 0x6510
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x1f643(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
callq 0x6510
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x1ef1c(%rip), %rsi     # 0x283c6
movl $0xa, %edx
callq 0x6510
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %esi # imm = 0xB6DB6DB7
movq (%rsp), %rdi
addq $0x10, %rdi
callq 0x68a0
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x1eeb6(%rip), %rsi     # 0x28397
movl $0x9, %edx
callq 0x6510
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
testl %eax, %eax
jle 0x954f
xorl %ebp, %ebp
leaq 0x1f5cb(%rip), %r15     # 0x28ad4
movq (%rsp), %rdi
addq $0x10, %rdi
movl $0x1, %edx
movq %r15, %rsi
callq 0x6510
movq %r14, %rdi
movl %ebp, %esi
callq 0x971a
movq (%rsp), %rdi
addq $0x10, %rdi
movq %rax, %rsi
callq 0x1cbca
movq 0x8(%r14), %rax
subq (%r14), %rax
incl %ebp
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl %eax, %ebp
jl 0x9509
leaq 0x10(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x1e14a
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa144
movq %r14, %rdi
jmp 0x9665
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x1ee3a(%rip), %rsi     # 0x283d2
leaq 0x8(%rsp), %rdi
callq 0x1e21e
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x1e2ae
leaq 0x1f51e(%rip), %rsi     # 0x28ad4
movq %rax, %rdi
callq 0x1e334
leaq 0x1eddc(%rip), %rsi     # 0x283a1
movq %rax, %rdi
callq 0x1e21e
movq %rax, %rdi
movq %r14, %rsi
callq 0x1e3c4
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa144
jmp 0x9662
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x1edd5(%rip), %rsi     # 0x283d2
leaq 0x8(%rsp), %rdi
callq 0x1e21e
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x1e2ae
leaq 0x1ed91(%rip), %rsi     # 0x283ac
movq %rax, %rdi
callq 0x1e446
movq %rax, %rdi
movq %r12, %rsi
callq 0x1e2ae
leaq 0x1f558(%rip), %rsi     # 0x28b8d
movq %rax, %rdi
callq 0x1e4d6
leaq 0x1ed5d(%rip), %rsi     # 0x283a1
movq %rax, %rdi
callq 0x1e21e
movq %rax, %rdi
movq %r14, %rsi
callq 0x1e3c4
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa144
movq %r15, %rdi
xorl %esi, %esi
callq 0x7608
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x9683
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x969a
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 0x96bd
movq %rax, %rbx
movq %r14, %rdi
jmp 0x96c3
jmp 0x96ce
movq %rax, %rbx
jmp 0x96e8
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
callq 0x7608
jmp 0x96d1
jmp 0x96ce
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x96e8
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x96ff
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
nop