// File: /workspace/github_c_makefile_star2_O3/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestOptions::FilterMatchesTest(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&)
bool UnitTestOptions::FilterMatchesTest(const std::string &test_case_name,
                                        const std::string &test_name) {
  const std::string& full_name = test_case_name + "." + test_name.c_str();

  // Split --gtest_filter at '-', if there is one, to separate into
  // positive filter and negative filter portions
  const char* const p = GTEST_FLAG(filter).c_str();
  const char* const dash = strchr(p, '-');
  std::string positive;
  std::string negative;
  if (dash == NULL) {
    positive = GTEST_FLAG(filter).c_str();  // Whole string is a positive filter
    negative = "";
  } else {
    positive = std::string(p, dash);   // Everything up to the dash
    negative = std::string(dash + 1);  // Everything after the dash
    if (positive.empty()) {
      // Treat '-test1' as the same as '*-test1'
      positive = kUniversalFilter;
    }
  }

  // A filter is a colon-separated list of patterns.  It matches a
  // test if any pattern in it matches the test.
  return (MatchesFilter(full_name, positive.c_str()) &&
          !MatchesFilter(full_name, negative.c_str()));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x2ea58
leaq 0x40245(%rip), %rsi     # 0x52076
movq %r14, %rdi
callq 0xcca0
movq (%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0xcca0
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11e6d
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x11e75
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x11ea4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x60865(%rip), %rbx     # 0x72710
movq %rbx, %rdi
movl $0x2d, %esi
callq 0xc240
movq %rax, %r14
movq %rbp, 0x8(%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movb %al, 0x18(%rsp)
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
testq %r14, %r14
je 0x11f92
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2e9c2
leaq 0x8(%rsp), %rbx
leaq 0x68(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc7d0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x11f26
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x1(%r14), %r15
leaq 0x68(%rsp), %r12
movq %r13, (%r12)
movq %r15, %rdi
callq 0xc260
leaq (%r14,%rax), %rdx
incq %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x2e9c2
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %r14
movq %r14, %rsi
callq 0xc7d0
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x11f74
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
cmpq $0x0, 0x10(%rsp)
leaq 0x38(%rsp), %r13
jne 0x11fcb
movl $0x1, %r8d
leaq 0x3f282(%rip), %rcx     # 0x51210
xorl %edx, %edx
jmp 0x11fc1
movq %rbx, %rdi
callq 0xc260
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
movq %rax, %r8
callq 0xca50
leaq 0x45f12(%rip), %rcx     # 0x57ec7
leaq 0x48(%rsp), %rbx
movq 0x8(%rbx), %rdx
xorl %r8d, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xca50
movq 0x8(%rsp), %r14
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x11daa
movq 0x48(%rsp), %r15
testb %al, %al
je 0x11ffa
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0x11daa
movl %eax, %ebx
xorb $0x1, %bl
jmp 0x11ffc
xorl %ebx, %ebx
leaq 0x58(%rsp), %rax
cmpq %rax, %r15
je 0x1201b
movq 0x58(%rsp), %rsi
incq %rsi
movq %r15, %rdi
callq 0xc600
movq 0x8(%rsp), %r14
cmpq %rbp, %r14
je 0x12030
movq 0x18(%rsp), %rsi
incq %rsi
movq %r14, %rdi
callq 0xc600
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x12047
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1205f
jmp 0x1205f
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1207e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x12095
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x120c7
movq 0x38(%rsp), %rsi
jmp 0x120bf
jmp 0x120ad
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x120c7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
nop