// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/toolkit/bamtools_filter.cpp
// Function: BamTools::FilterTool::FilterToolPrivate::ParseFilterObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Json::Value const&)
bool FilterTool::FilterToolPrivate::ParseFilterObject(const string& filterName, const Json::Value& filterObject) {
  
    // filter object parsing variables
    Json::Value null(Json::nullValue);
    Json::Value propertyValue;
    
    // store results
    map<string, string> propertyTokens;
    
    // iterate over known properties
    vector<string>::const_iterator propertyNameIter = m_propertyNames.begin();
    vector<string>::const_iterator propertyNameEnd  = m_propertyNames.end();
    for ( ; propertyNameIter != propertyNameEnd; ++propertyNameIter ) {
        const string& propertyName = (*propertyNameIter);
        
        // if property defined in filter, add to token list
        propertyValue = filterObject.get(propertyName, null);
        if ( propertyValue != null ) 
            propertyTokens.insert( make_pair(propertyName, propertyValue.asString()) );
    }
  
    // add this filter to engin
    m_filterEngine.addFilter(filterName);
  
    // add token list to this filter
    return AddPropertyTokensToFilter(filterName, propertyTokens);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %rbx
leaq 0x38(%rsp), %rdi
xorl %esi, %esi
callq 0x6b93e
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
callq 0x6b93e
leaq 0xd0(%rsp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq (%rbx), %r12
movq %rbx, (%rsp)
movq 0x8(%rbx), %r14
cmpq %r14, %r12
je 0x33dae
leaq 0x88(%rsp), %r13
leaq 0x50(%rsp), %rbx
movq %r13, %rdi
movq 0x10(%rsp), %rsi
movq %r12, %rdx
leaq 0x38(%rsp), %rcx
callq 0x6ce92
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6bdc0
movq %r13, %rdi
callq 0x6bce2
movq %rbx, %rdi
leaq 0x38(%rsp), %rsi
callq 0x6bfdc
testb %al, %al
je 0x33da1
leaq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x2f10a
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6bfea
leaq 0xf8(%rsp), %rbp
movq %rbp, %rdi
leaq 0x18(%rsp), %rsi
movq %r15, %rdx
callq 0x42b24
movq %r13, %rdi
movq %rbp, %rsi
callq 0x39b94
leaq 0xc8(%rsp), %rdi
movq %r13, %rsi
callq 0x42b82
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x33d2b
callq 0x27560
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x33d45
callq 0x27560
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x33d5f
callq 0x27560
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x33d79
callq 0x27560
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x33d8d
callq 0x27560
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x33da1
callq 0x27560
addq $0x20, %r12
cmpq %r14, %r12
jne 0x33c71
movq (%rsp), %r14
leaq 0x20(%r14), %rdi
movq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x39a12
leaq 0xc8(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x31850
movl %eax, %ebx
leaq 0xc8(%rsp), %rdi
movq 0x10(%rdi), %rsi
callq 0x3a558
leaq 0x50(%rsp), %rdi
callq 0x6bce2
leaq 0x38(%rsp), %rdi
callq 0x6bce2
movl %ebx, %eax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x33ea3
jmp 0x33e8f
movq %rax, %rbx
jmp 0x33ead
movq %rax, %rbx
jmp 0x33e65
movq %rax, %rbx
jmp 0x33e44
jmp 0x33e8f
movq %rax, %rbx
jmp 0x33e51
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x39bf0
leaq 0xf8(%rsp), %rdi
callq 0x39c1a
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x33e65
callq 0x27560
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x33e92
callq 0x27560
jmp 0x33e92
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x6bce2
jmp 0x33e92
jmp 0x33e8f
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
movq 0x10(%rdi), %rsi
callq 0x3a558
leaq 0x50(%rsp), %rdi
callq 0x6bce2
leaq 0x38(%rsp), %rdi
callq 0x6bce2
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
nop