// File: /workspace/github_c_makefile_star2_O3/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 0x3fe73(%rip), %rcx     # 0x520fa
leaq 0x3fe7c(%rip), %rsi     # 0x5210a
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 0x2e9c2
movq %rsp, %rdi
callq 0x12e46
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl $0x1, %eax
jne 0x1230e
movq %r14, %rdi
xorl %esi, %esi
callq 0x125ae
movq %rax, %r14
cmpl %ebp, (%rax)
jne 0x12425
movq 0x70(%rsp), %r12
movq 0x50(%r14), %rdi
movq (%r12), %rsi
callq 0xc110
testq %rax, %rax
je 0x1248a
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
jmp 0x12511
movq (%rsp), %r15
leaq 0x10(%r15), %r12
leaq 0x3fe92(%rip), %rsi     # 0x521af
movl $0xa, %edx
movq %r12, %rdi
callq 0xc700
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %r12, %rdi
callq 0xc700
leaq 0x40575(%rip), %rsi     # 0x528b8
movl $0x1, %edx
movq %r12, %rdi
callq 0xc700
leaq 0x3fe4c(%rip), %rsi     # 0x521a3
movl $0xa, %edx
movq %r12, %rdi
callq 0xc700
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %esi # imm = 0xB6DB6DB7
movq %r12, %rdi
callq 0xcb70
leaq 0x3fd9a(%rip), %rsi     # 0x5211e
movl $0x9, %edx
movq %r12, %rdi
callq 0xc700
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
testl %eax, %eax
jle 0x123f4
xorl %ebp, %ebp
leaq 0x40509(%rip), %r12     # 0x528b8
addq $0x10, %r15
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0xc700
movq %r14, %rdi
movl %ebp, %esi
callq 0x125ae
movq (%rsp), %r15
leaq 0x10(%r15), %rdi
movq %rax, %rsi
callq 0x2712a
movq 0x8(%r14), %rax
subq (%r14), %rax
incl %ebp
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
cmpl %eax, %ebp
jl 0x123af
leaq 0x10(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x287fa
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1319a
movq %r14, %rdi
jmp 0x1250a
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x3fd72(%rip), %rsi     # 0x521af
leaq 0x8(%rsp), %rdi
callq 0x288bc
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x2893a
leaq 0x4045d(%rip), %rsi     # 0x528b8
movq %rax, %rdi
callq 0x289ae
leaq 0x3fcbe(%rip), %rsi     # 0x52128
movq %rax, %rdi
callq 0x288bc
movq %rax, %rdi
movq %r14, %rsi
callq 0x28a2c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1319a
jmp 0x12507
leaq 0x10(%rsp), %r15
movb $0x0, -0x8(%r15)
movq $0x0, (%r15)
leaq 0x3fd0d(%rip), %rsi     # 0x521af
leaq 0x8(%rsp), %rdi
callq 0x288bc
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x2893a
leaq 0x3fc73(%rip), %rsi     # 0x52133
movq %rax, %rdi
callq 0x28a9c
movq %rax, %rdi
movq %r12, %rsi
callq 0x2893a
leaq 0x3fc67(%rip), %rsi     # 0x52141
movq %rax, %rdi
callq 0x28b1a
leaq 0x3fc3f(%rip), %rsi     # 0x52128
movq %rax, %rdi
callq 0x288bc
movq %rax, %rdi
movq %r14, %rsi
callq 0x28a2c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1319a
movq %r15, %rdi
xorl %esi, %esi
callq 0x2c37a
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x12520
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x12537
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 0x1255a
movq %rax, %rbx
movq %r14, %rdi
jmp 0x12560
jmp 0x1256b
movq %rax, %rbx
jmp 0x1257d
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
callq 0x2c37a
jmp 0x1256e
jmp 0x1256b
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1257d
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x12594
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0