// File: /workspace/github_cpp_makefile_star2_O1/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.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 0x2486a
leaq 0x1f376(%rip), %rsi     # 0x282ef
movq %r14, %rdi
callq 0x69a0
movq (%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0x69a0
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8fb6
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x8fbe
movups (%rcx), %xmm0
movups %xmm0, (%r12)
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 0x8fed
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x2e574(%rip), %rbx     # 0x37568
movq %rbx, %rdi
movl $0x2d, %esi
callq 0x61a0
movq %rax, %r14
movq %rbp, 0x8(%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movb %al, 0x18(%rsp)
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rax, -0x8(%r13)
movb %al, (%r13)
testq %r14, %r14
je 0x90e2
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x247da
leaq 0x8(%rsp), %rbx
leaq 0x68(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x65d0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x9071
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x1(%r14), %r15
leaq 0x68(%rsp), %r12
movq %r13, (%r12)
movq %r15, %rdi
callq 0x61c0
leaq (%r14,%rax), %rdx
incq %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x247da
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %r14
movq %r14, %rsi
callq 0x65d0
movq (%r14), %rdi
cmpq %r13, %rdi
leaq 0x38(%rsp), %r12
je 0x90c4
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x10(%rsp), %rdx
testq %rdx, %rdx
leaq 0x58(%rsp), %r13
jne 0x911b
movl $0x1, %r8d
leaq 0x1e3c0(%rip), %rcx     # 0x274a0
jmp 0x9111
movq %rbx, %rdi
callq 0x61c0
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
movq %rax, %r8
callq 0x67d0
leaq 0x1f9d0(%rip), %rcx     # 0x28ad5
leaq 0x48(%rsp), %rbx
movq 0x8(%rbx), %rdx
xorl %r8d, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x67d0
movq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x8ede
testb %al, %al
je 0x9144
movq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x8ede
movl %eax, %ebx
xorb $0x1, %bl
jmp 0x9146
xorl %ebx, %ebx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x915d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9174
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x918b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x91a3
jmp 0x91a3
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x91c2
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x91d9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x920b
movq 0x38(%rsp), %rsi
jmp 0x9203
jmp 0x91f1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x920b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
nop