// File: /workspace/github_cpp_makefile_star2_O1/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 0x6bf78
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
callq 0x6bf78
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 0x33de8
leaq 0x88(%rsp), %r13
leaq 0x50(%rsp), %rbx
movq %r13, %rdi
movq 0x10(%rsp), %rsi
movq %r12, %rdx
leaq 0x38(%rsp), %rcx
callq 0x6d43a
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6c3fa
movq %r13, %rdi
callq 0x6c31c
movq %rbx, %rdi
leaq 0x38(%rsp), %rsi
callq 0x6c642
testb %al, %al
je 0x33ddb
leaq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x2f122
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6c650
leaq 0xf8(%rsp), %rbp
movq %rbp, %rdi
leaq 0x18(%rsp), %rsi
movq %r15, %rdx
callq 0x42bda
movq %r13, %rdi
movq %rbp, %rsi
callq 0x39c0c
leaq 0xc8(%rsp), %rdi
movq %r13, %rsi
callq 0x42c38
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x33d65
callq 0x27560
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x33d7f
callq 0x27560
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x33d99
callq 0x27560
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x33db3
callq 0x27560
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x33dc7
callq 0x27560
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x33ddb
callq 0x27560
addq $0x20, %r12
cmpq %r14, %r12
jne 0x33cab
movq (%rsp), %r14
leaq 0x20(%r14), %rdi
movq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x39a84
leaq 0xc8(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x31868
movl %eax, %ebx
leaq 0xc8(%rsp), %rdi
movq 0x10(%rdi), %rsi
callq 0x3a5d0
leaq 0x50(%rsp), %rdi
callq 0x6c31c
leaq 0x38(%rsp), %rdi
callq 0x6c31c
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 0x33edd
jmp 0x33ec9
movq %rax, %rbx
jmp 0x33ee7
movq %rax, %rbx
jmp 0x33e9f
movq %rax, %rbx
jmp 0x33e7e
jmp 0x33ec9
movq %rax, %rbx
jmp 0x33e8b
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x39c68
leaq 0xf8(%rsp), %rdi
callq 0x39c92
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x33e9f
callq 0x27560
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x33ecc
callq 0x27560
jmp 0x33ecc
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x6c31c
jmp 0x33ecc
jmp 0x33ec9
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
movq 0x10(%rdi), %rsi
callq 0x3a5d0
leaq 0x50(%rsp), %rdi
callq 0x6c31c
leaq 0x38(%rsp), %rdi
callq 0x6c31c
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
nop