// File: /workspace/github_c_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r9d, %ebp
movq %r8, %r14
movq %rdi, %rbx
xorl %eax, %eax
cmpl $0x2, %r9d
leaq 0x40da9(%rip), %rcx     # 0x530ca
leaq 0x40db2(%rip), %rsi     # 0x530da
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 0x2ee64
movq %rsp, %rdi
callq 0x12eee
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl $0x1, %eax
jne 0x123a8
movq %r14, %rdi
xorl %esi, %esi
callq 0x12670
movq %rax, %r14
cmpl %ebp, (%rax)
jne 0x124d6
movq 0x70(%rsp), %r12
movq 0x50(%r14), %rdi
movq (%r12), %rsi
callq 0xc110
testq %rax, %rax
je 0x1253b
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
jmp 0x125c2
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x40dc8(%rip), %rsi     # 0x5317f
movl $0xa, %edx
callq 0xc700
movq (%rsp), %rdi
addq $0x10, %rdi
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
callq 0xc700
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x414a1(%rip), %rsi     # 0x53888
movl $0x1, %edx
callq 0xc700
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x40d73(%rip), %rsi     # 0x53173
movl $0xa, %edx
callq 0xc700
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %esi # imm = 0xB6DB6DB7
movq (%rsp), %rdi
addq $0x10, %rdi
callq 0xcb70
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x40cb7(%rip), %rsi     # 0x530ee
movl $0x9, %edx
callq 0xc700
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
testl %eax, %eax
jle 0x124a5
xorl %ebp, %ebp
leaq 0x41429(%rip), %r15     # 0x53888
movq (%rsp), %rdi
addq $0x10, %rdi
movl $0x1, %edx
movq %r15, %rsi
callq 0xc700
movq %r14, %rdi
movl %ebp, %esi
callq 0x12670
movq (%rsp), %rdi
addq $0x10, %rdi
movq %rax, %rsi
callq 0x274d4
movq 0x8(%r14), %rax
subq (%r14), %rax
incl %ebp
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl %eax, %ebp
jl 0x1245f
leaq 0x10(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x28bba
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1324e
movq %r14, %rdi
jmp 0x125bb
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x40c91(%rip), %rsi     # 0x5317f
leaq 0x8(%rsp), %rdi
callq 0x28c8e
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x28d1e
leaq 0x4137c(%rip), %rsi     # 0x53888
movq %rax, %rdi
callq 0x28da4
leaq 0x40bdd(%rip), %rsi     # 0x530f8
movq %rax, %rdi
callq 0x28c8e
movq %rax, %rdi
movq %r14, %rsi
callq 0x28e34
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1324e
jmp 0x125b8
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x40c2c(%rip), %rsi     # 0x5317f
leaq 0x8(%rsp), %rdi
callq 0x28c8e
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x28d1e
leaq 0x40b92(%rip), %rsi     # 0x53103
movq %rax, %rdi
callq 0x28eb6
movq %rax, %rdi
movq %r12, %rsi
callq 0x28d1e
leaq 0x40b86(%rip), %rsi     # 0x53111
movq %rax, %rdi
callq 0x28f46
leaq 0x40b5e(%rip), %rsi     # 0x530f8
movq %rax, %rdi
callq 0x28c8e
movq %rax, %rdi
movq %r14, %rsi
callq 0x28e34
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1324e
movq %r15, %rdi
xorl %esi, %esi
callq 0x2c81c
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x125d9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x125f0
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x12613
movq %rax, %rbx
movq %r14, %rdi
jmp 0x12619
jmp 0x12624
movq %rax, %rbx
jmp 0x1263e
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x12627
jmp 0x12624
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1263e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x12655
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
nop