// File: /workspace/github_cpp_makefile_star2_O2/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 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x6c604
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x6c604
leaq 0x70(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
movq (%rbx), %r12
movq %rbx, (%rsp)
movq 0x8(%rbx), %r14
leaq 0xf8(%rsp), %r13
leaq 0x30(%rsp), %rbx
cmpq %r14, %r12
je 0x3e979
movq %r13, %rdi
movq 0x10(%rsp), %rsi
movq %r12, %rdx
leaq 0x18(%rsp), %rcx
callq 0x6d75a
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6c95e
movq %r13, %rdi
callq 0x6c88a
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6cb28
testb %al, %al
je 0x3e970
leaq 0x48(%rsp), %rdi
movq %r12, %rsi
callq 0x35810
leaq 0x98(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6cb36
leaq 0xb8(%rsp), %rbp
movq %rbp, %rdi
leaq 0x48(%rsp), %rsi
movq %r15, %rdx
callq 0x4b7e8
movq %r13, %rdi
movq %rbp, %rsi
callq 0x4345c
leaq 0x68(%rsp), %rdi
movq %r13, %rsi
callq 0x4b826
movq %r13, %rdi
callq 0x4349e
leaq 0xb8(%rsp), %rdi
callq 0x434d8
leaq 0x98(%rsp), %rdi
callq 0x35730
leaq 0x48(%rsp), %rdi
callq 0x35730
addq $0x20, %r12
jmp 0x3e8b2
movq (%rsp), %r14
leaq 0x20(%r14), %rdi
movq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x4336c
leaq 0x68(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3ced8
movl %eax, %ebx
leaq 0x68(%rsp), %rdi
callq 0x43c88
leaq 0x30(%rsp), %rdi
callq 0x6c88a
leaq 0x18(%rsp), %rdi
callq 0x6c88a
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 0x3ea46
jmp 0x3ea39
movq %rax, %rbx
jmp 0x3ea50
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x4349e
jmp 0x3e9f3
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0x434d8
jmp 0x3ea05
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x35730
jmp 0x3ea17
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x35730
jmp 0x3ea3c
jmp 0x3ea39
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x6c88a
jmp 0x3ea3c
jmp 0x3ea39
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x43c88
leaq 0x30(%rsp), %rdi
callq 0x6c88a
leaq 0x18(%rsp), %rdi
callq 0x6c88a
movq %rbx, %rdi
callq 0x35b50
movq %rax, %rdi
callq 0x3a198