// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(bool, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
AssertionResult IsSubstringImpl(bool expected_to_be_substring,
                                const char* needle_expr,
                                const char* haystack_expr,
                                const StringType& needle,
                                const StringType& haystack) {
  if (IsSubstringPred(needle, haystack) == expected_to_be_substring)
    return AssertionSuccess();

  const bool is_wide_string = sizeof(needle[0]) > 1;
  const char* const begin_string_quote = is_wide_string ? "L\"" : "\"";
  return AssertionFailure()
         << "Value of: " << needle_expr << "\n"
         << "  Actual: " << begin_string_quote << needle << "\"\n"
         << "Expected: " << (expected_to_be_substring ? "" : "not ")
         << "a substring of " << haystack_expr << "\n"
         << "Which is: " << begin_string_quote << haystack << "\"";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq (%r8), %rsi
movq 0x8(%r8), %rcx
movq %r9, %rdi
xorl %edx, %edx
callq 0xda40
cmpq $-0x1, %rax
setne %al
xorb %bpl, %al
je 0x505b3
leaq 0x241d5(%rip), %rax     # 0x74660
movq %rax, (%rsp)
leaq 0x10(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
leaq 0x23659(%rip), %rsi     # 0x73b00
leaq 0x8(%rsp), %rdi
callq 0x680dc
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x64122
leaq 0x20c22(%rip), %rsi     # 0x710e7
movq %rax, %rdi
callq 0x64710
leaq 0x1f2ec(%rip), %rsi     # 0x6f7c0
movq %rax, %rdi
callq 0x680dc
movq %rsp, %rsi
movq %rax, %rdi
callq 0x64122
movq %rax, %rdi
movq %r12, %rsi
callq 0x6326c
leaq 0x2417a(%rip), %rsi     # 0x74673
movq %rax, %rdi
callq 0x6441c
leaq 0x23604(%rip), %rsi     # 0x73b0c
movq %rax, %rdi
callq 0x680dc
leaq 0x20ae1(%rip), %rcx     # 0x70ff8
leaq 0x250d4(%rip), %rdx     # 0x755f2
testb %bpl, %bpl
cmovneq %rcx, %rdx
leaq 0x28(%rsp), %rsi
movq %rdx, (%rsi)
movq %rax, %rdi
callq 0x64122
leaq 0x250bb(%rip), %rsi     # 0x755f7
movq %rax, %rdi
callq 0x6bc70
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x64122
leaq 0x20b8f(%rip), %rsi     # 0x710e7
movq %rax, %rdi
callq 0x64710
leaq 0x23572(%rip), %rsi     # 0x73ad9
movq %rax, %rdi
callq 0x680dc
movq %rsp, %rsi
movq %rax, %rdi
callq 0x64122
movq %rax, %rdi
movq %r15, %rsi
callq 0x6326c
leaq 0x240d4(%rip), %rsi     # 0x74660
movq %rax, %rdi
callq 0x64710
movq %rbx, %rdi
movq %rax, %rsi
callq 0x40140
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x505be
movq %r14, %rdi
callq 0x156d0
jmp 0x505be
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x505d0
movq %rax, %rbx
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x505e5
movq %r14, %rdi
callq 0x156d0
movq %rbx, %rdi
callq 0xda70