// File: /workspace/github_c_makefile_star2_O1/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 0x2eef4
leaq 0x41177(%rip), %rsi     # 0x53046
movq %r14, %rdi
callq 0xcca0
movq (%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0xcca0
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11f0c
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x11f14
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 0x11f43
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x617c6(%rip), %rbx     # 0x73710
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), %r13
movq %r13, -0x10(%r13)
movq %rax, -0x8(%r13)
movb %al, (%r13)
testq %r14, %r14
je 0x12038
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2ee64
leaq 0x8(%rsp), %rbx
leaq 0x68(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc7d0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x11fc7
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 0x2ee64
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %r14
movq %r14, %rsi
callq 0xc7d0
movq (%r14), %rdi
cmpq %r13, %rdi
leaq 0x38(%rsp), %r12
je 0x1201a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x10(%rsp), %rdx
testq %rdx, %rdx
leaq 0x58(%rsp), %r13
jne 0x12071
movl $0x1, %r8d
leaq 0x401aa(%rip), %rcx     # 0x521e0
jmp 0x12067
movq %rbx, %rdi
callq 0xc260
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
movq %rax, %r8
callq 0xca50
leaq 0x46df8(%rip), %rcx     # 0x58e53
leaq 0x48(%rsp), %rbx
movq 0x8(%rbx), %rdx
xorl %r8d, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xca50
movq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x11e34
testb %al, %al
je 0x1209a
movq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x11e34
movl %eax, %ebx
xorb $0x1, %bl
jmp 0x1209c
xorl %ebx, %ebx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x120b3
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x120ca
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x120e1
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 0x120f9
jmp 0x120f9
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x12118
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1212f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x12161
movq 0x38(%rsp), %rsi
jmp 0x12159
jmp 0x12147
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x12161
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
nop