LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Value::resize(unsigned int)
void 
Value::resize( ArrayIndex newSize )
{
   JSON_ASSERT( type_ == nullValue  ||  type_ == arrayValue );
   if ( type_ == nullValue )
      *this = Value( arrayValue );
#ifndef JSON_VALUE_USE_INTERNAL_MAP
   ArrayIndex oldSize = size();
   if ( newSize == 0 )
      clear();
   else if ( newSize > oldSize )
      (*this)[ newSize - 1 ];
   else
   {
      for ( ArrayIndex index = newSize; index < oldSize; ++index )
      {
         value_.map_->erase( index );
      }
      assert( size() == newSize );
   }
#else
   value_.array_->resize( newSize );
#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %esi, %ebp
movq %rdi, %rbx
cmpb $0x0, 0x8(%rdi)
jne 0x6c86d
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movl $0x6, %esi
callq 0x6b93e
movq %rsp, %rdi
movq %r14, %rsi
callq 0x6bb74
movzwl 0x8(%rbx), %eax
movq %rsp, %rdi
movzwl 0x8(%rdi), %ecx
movl $0xfe00, %edx           # imm = 0xFE00
movl %eax, %esi
andl %edx, %esi
andl %ecx, %edx
movq (%rbx), %r8
movq (%rdi), %r9
movq %r9, (%rbx)
movq %r8, (%rdi)
movl $0x1ff, %r8d            # imm = 0x1FF
andl %r8d, %ecx
orl %esi, %ecx
movw %cx, 0x8(%rbx)
andl %r8d, %eax
orl %edx, %eax
movw %ax, 0x8(%rdi)
callq 0x6bce2
leaq 0x18(%rsp), %rdi
callq 0x6bce2
movq %rbx, %rdi
callq 0x6c724
testl %ebp, %ebp
je 0x6c88e
movl %eax, %r14d
cmpl %ebp, %eax
jae 0x6c898
decl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x6c906
jmp 0x6c8cf
movq %rbx, %rdi
callq 0x6c7b8
jmp 0x6c8cf
jbe 0x6c8cf
movq %rsp, %r15
movq (%rbx), %r12
movq %r15, %rdi
movl %ebp, %esi
callq 0x6b7a4
movq %r12, %rdi
movq %r15, %rsi
callq 0x6de74
movq %r12, %rdi
movq %rax, %rsi
callq 0x6df52
movq %r15, %rdi
callq 0x6b87c
incl %ebp
cmpl %ebp, %r14d
jne 0x6c89d
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6bce2
jmp 0x6c8f6
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b87c
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Value::operator[](unsigned int)
Value &
Value::operator[]( ArrayIndex index )
{
   JSON_ASSERT( type_ == nullValue  ||  type_ == arrayValue );
   if ( type_ == nullValue )
      *this = Value( arrayValue );
#ifndef JSON_VALUE_USE_INTERNAL_MAP
   CZString key( index );
   ObjectValues::iterator it = value_.map_->lower_bound( key );
   if ( it != value_.map_->end()  &&  (*it).first == key )
      return (*it).second;

   ObjectValues::value_type defaultValue( key, null );
   it = value_.map_->insert( it, defaultValue );
   return (*it).second;
#else
   return value_.array_->resolveReference( index );
#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %esi, %ebp
movq %rdi, %rbx
cmpb $0x0, 0x8(%rdi)
jne 0x6c987
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl $0x6, %esi
callq 0x6b93e
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x6bb74
movzwl 0x8(%rbx), %eax
leaq 0x20(%rsp), %rdi
movzwl 0x8(%rdi), %ecx
movl $0xfe00, %edx           # imm = 0xFE00
movl %eax, %esi
andl %edx, %esi
andl %ecx, %edx
movq (%rbx), %r8
movq (%rdi), %r9
movq %r9, (%rbx)
movq %r8, (%rdi)
movl $0x1ff, %r8d            # imm = 0x1FF
andl %r8d, %ecx
orl %esi, %ecx
movw %cx, 0x8(%rbx)
andl %r8d, %eax
orl %edx, %eax
movw %ax, 0x8(%rdi)
callq 0x6bce2
leaq 0x8(%rsp), %rdi
callq 0x6bce2
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl %ebp, %esi
callq 0x6b7a4
movq (%rbx), %rdi
movq 0x10(%rdi), %rsi
leaq 0x8(%rdi), %rdx
movq %r14, %rcx
callq 0x6dfd4
movq %rax, %r14
movq (%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r14
je 0x6c9e2
movq %r14, %r15
addq $0x20, %r15
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x6c9d8
movq 0x8(%rsp), %rsi
callq 0x27830
testl %eax, %eax
jne 0x6c9e2
jmp 0x6ca36
movl 0x28(%r14), %eax
cmpl 0x10(%rsp), %eax
je 0x6ca36
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6b808
leaq 0x30(%rsp), %r12
leaq 0x23cdb(%rip), %rsi     # 0x906d8
movq %r12, %rdi
callq 0x6bb74
movq (%rbx), %rdi
leaq 0x48(%rsp), %rcx
movq %rdi, (%rcx)
leaq 0x20(%rsp), %rdx
movq %r14, %rsi
callq 0x6e0a8
movq %rax, %r15
movq %r12, %rdi
callq 0x6bce2
leaq 0x20(%rsp), %rdi
callq 0x6b87c
addq $0x20, %r15
addq $0x10, %r15
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %r15, %rax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6b87c
jmp 0x6ca99
jmp 0x6caab
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6d8e6
jmp 0x6ca99
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6b87c
jmp 0x6ca99
jmp 0x6caab
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6bce2
jmp 0x6caa3
jmp 0x6ca96
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Value::operator[](unsigned int) const
const Value &
Value::operator[]( ArrayIndex index ) const
{
   JSON_ASSERT( type_ == nullValue  ||  type_ == arrayValue );
   if ( type_ == nullValue )
      return null;
#ifndef JSON_VALUE_USE_INTERNAL_MAP
   CZString key( index );
   ObjectValues::const_iterator it = value_.map_->find( key );
   if ( it == value_.map_->end() )
      return null;
   return (*it).second;
#else
   Value *value = value_.array_->find( index );
   return value ? *value : null;
#endif
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
cmpb $0x0, 0x8(%rdi)
je 0x6caf4
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x6b7a4
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x6e37e
movq %rax, %rbx
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %rbx
jne 0x6cafd
leaq 0x23be6(%rip), %rbx     # 0x906d8
jmp 0x6cb01
leaq 0x23bdd(%rip), %rbx     # 0x906d8
jmp 0x6cb0b
addq $0x30, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Value::resolveReference(char const*, bool)
Value &
Value::resolveReference( const char *key, 
                         bool isStatic )
{
   JSON_ASSERT( type_ == nullValue  ||  type_ == objectValue );
   if ( type_ == nullValue )
      *this = Value( objectValue );
#ifndef JSON_VALUE_USE_INTERNAL_MAP
   CZString actualKey( key, isStatic ? CZString::noDuplication 
                                     : CZString::duplicateOnCopy );
   ObjectValues::iterator it = value_.map_->lower_bound( actualKey );
   if ( it != value_.map_->end()  &&  (*it).first == actualKey )
      return (*it).second;

   ObjectValues::value_type defaultValue( actualKey, null );
   it = value_.map_->insert( it, defaultValue );
   Value &value = (*it).second;
   return value;
#else
   return value_.map_->resolveReference( key, isStatic );
#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x0, 0x8(%rdi)
jne 0x6cbc0
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movl $0x7, %esi
callq 0x6b93e
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x6bb74
movzwl 0x8(%rbx), %eax
leaq 0x20(%rsp), %rdi
movzwl 0x8(%rdi), %ecx
movl $0xfe00, %edx           # imm = 0xFE00
movl %eax, %esi
andl %edx, %esi
andl %ecx, %edx
movq (%rbx), %r8
movq (%rdi), %r9
movq %r9, (%rbx)
movq %r8, (%rdi)
movl $0x1ff, %r8d            # imm = 0x1FF
andl %r8d, %ecx
orl %esi, %ecx
movw %cx, 0x8(%rbx)
andl %r8d, %eax
orl %edx, %eax
movw %ax, 0x8(%rdi)
callq 0x6bce2
leaq 0x8(%rsp), %rdi
callq 0x6bce2
xorb $0x1, %bpl
movzbl %bpl, %edx
addl %edx, %edx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x6b7b0
movq (%rbx), %rdi
movq 0x10(%rdi), %rsi
leaq 0x8(%rdi), %rdx
movq %r15, %rcx
callq 0x6dfd4
movq %rax, %r14
movq (%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r14
je 0x6cc26
movq %r14, %r15
addq $0x20, %r15
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x6cc1c
movq 0x8(%rsp), %rsi
callq 0x27830
testl %eax, %eax
jne 0x6cc26
jmp 0x6cc7a
movl 0x28(%r14), %eax
cmpl 0x10(%rsp), %eax
je 0x6cc7a
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6b808
leaq 0x30(%rsp), %r12
leaq 0x23a97(%rip), %rsi     # 0x906d8
movq %r12, %rdi
callq 0x6bb74
movq (%rbx), %rdi
leaq 0x48(%rsp), %rcx
movq %rdi, (%rcx)
leaq 0x20(%rsp), %rdx
movq %r14, %rsi
callq 0x6e0a8
movq %rax, %r15
movq %r12, %rdi
callq 0x6bce2
leaq 0x20(%rsp), %rdi
callq 0x6b87c
addq $0x20, %r15
addq $0x10, %r15
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %r15, %rax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6b87c
jmp 0x6ccdd
jmp 0x6ccef
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6d8e6
jmp 0x6ccdd
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6b87c
jmp 0x6ccdd
jmp 0x6ccef
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6bce2
jmp 0x6cce7
jmp 0x6ccda
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Value::operator[](char const*) const
const Value &
Value::operator[]( const char *key ) const
{
   JSON_ASSERT( type_ == nullValue  ||  type_ == objectValue );
   if ( type_ == nullValue )
      return null;
#ifndef JSON_VALUE_USE_INTERNAL_MAP
   CZString actualKey( key, CZString::noDuplication );
   ObjectValues::const_iterator it = value_.map_->find( actualKey );
   if ( it == value_.map_->end() )
      return null;
   return (*it).second;
#else
   const Value *value = value_.map_->find( key );
   return value ? *value : null;
#endif
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
cmpb $0x0, 0x8(%rdi)
je 0x6cd80
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x6b7b0
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x6e37e
movq %rax, %rbx
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %rbx
jne 0x6cd89
leaq 0x2395a(%rip), %rbx     # 0x906d8
jmp 0x6cd8d
leaq 0x23951(%rip), %rbx     # 0x906d8
jmp 0x6cd97
addq $0x30, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6b87c
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Value::removeMember(char const*)
Value
Value::removeMember( const char* key )
{
   JSON_ASSERT( type_ == nullValue  ||  type_ == objectValue );
   if ( type_ == nullValue )
      return null;
#ifndef JSON_VALUE_USE_INTERNAL_MAP
   CZString actualKey( key, CZString::noDuplication );
   ObjectValues::iterator it = value_.map_->find( actualKey );
   if ( it == value_.map_->end() )
      return null;
   Value old(it->second);
   value_.map_->erase(it);
   return old;
#else
   Value *value = value_.map_->find( key );
   if (value){
      Value old(*value);
      value_.map_.remove( key );
      return old;
   } else {
      return null;
   }
#endif
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpb $0x0, 0x8(%rsi)
je 0x6cf37
movq %rsi, %r14
movq %rsp, %r15
movq %r15, %rdi
movq %rdx, %rsi
xorl %edx, %edx
callq 0x6b7b0
movq (%r14), %rdi
movq %r15, %rsi
callq 0x6e37e
movq %rax, %r15
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %r15
je 0x6cf48
leaq 0x30(%r15), %rsi
movq %rbx, %rdi
callq 0x6bb74
movq (%r14), %r14
leaq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0x27380
movq %r14, %rdi
movq %rax, %rsi
callq 0x6da64
decq 0x28(%r14)
jmp 0x6cf57
leaq 0x2379a(%rip), %rsi     # 0x906d8
movq %rbx, %rdi
callq 0x6bb74
jmp 0x6cf5f
leaq 0x23789(%rip), %rsi     # 0x906d8
movq %rbx, %rdi
callq 0x6bb74
movq %rsp, %rdi
callq 0x6b87c
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x6bce2
jmp 0x6cf7c
movq %rax, %r14
movq %rsp, %rdi
callq 0x6b87c
movq %r14, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Value::getMemberNames[abi:cxx11]() const
Value::Members 
Value::getMemberNames() const
{
   JSON_ASSERT( type_ == nullValue  ||  type_ == objectValue );
   if ( type_ == nullValue )
       return Value::Members();
   Members members;
   members.reserve( value_.map_->size() );
#ifndef JSON_VALUE_USE_INTERNAL_MAP
   ObjectValues::const_iterator it = value_.map_->begin();
   ObjectValues::const_iterator itEnd = value_.map_->end();
   for ( ; it != itEnd; ++it )
      members.push_back( std::string( (*it).first.c_str() ) );
#else
   ValueInternalMap::IteratorState it;
   ValueInternalMap::IteratorState itEnd;
   value_.map_->makeBeginIterator( it );
   value_.map_->makeEndIterator( itEnd );
   for ( ; !ValueInternalMap::equals( it, itEnd ); ValueInternalMap::increment(it) )
      members.push_back( std::string( ValueInternalMap::key( it ) ) );
#endif
   return members;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpb $0x0, 0x8(%rsi)
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
je 0x6d05d
movq %rsi, %r14
movq (%rsi), %rax
movq 0x28(%rax), %rsi
movq %rbx, %rdi
callq 0x42520
movq (%r14), %r13
movq 0x18(%r13), %r14
addq $0x8, %r13
cmpq %r13, %r14
je 0x6d05d
leaq 0x18(%rsp), %rbp
leaq 0x8(%rsp), %r15
leaq 0x7(%rsp), %r12
movq 0x20(%r14), %rsi
movq %r15, %rdi
movq %r12, %rdx
callq 0x272a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2e190
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6d04d
callq 0x27560
movq %r14, %rdi
callq 0x276c0
movq %rax, %r14
cmpq %r13, %rax
jne 0x6d024
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6d071
movq %rax, %r14
jmp 0x6d088
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6d088
callq 0x27560
movq %rbx, %rdi
callq 0x2f0c0
movq %r14, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Path::Path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&)
Path::Path( const std::string &path,
            const PathArgument &a1,
            const PathArgument &a2,
            const PathArgument &a3,
            const PathArgument &a4,
            const PathArgument &a5 )
{
   InArgs in;
   in.push_back( &a1 );
   in.push_back( &a2 );
   in.push_back( &a3 );
   in.push_back( &a4 );
   in.push_back( &a5 );
   makePath( path, in );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
leaq 0x10(%rsp), %rdi
movq %rax, 0x10(%rdi)
movaps %xmm0, (%rdi)
leaq 0x8(%rsp), %rax
movq %rdx, (%rax)
xorl %esi, %esi
movq %rax, %rdx
callq 0x6e3ce
movq 0x18(%rsp), %rsi
movq %r13, 0x8(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x6d47a
movq %r13, (%rsi)
movq 0x18(%rsp), %rsi
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x6d48e
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e3ce
movq 0x18(%rsp), %rsi
movq %r12, 0x8(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x6d4ad
movq %r12, (%rsi)
movq 0x18(%rsp), %rsi
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x6d4c1
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e3ce
movq 0x18(%rsp), %rsi
movq %r15, 0x8(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x6d4e0
movq %r15, (%rsi)
movq 0x18(%rsp), %rsi
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x6d4f4
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e3ce
movq 0x18(%rsp), %rsi
movq 0x60(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x6d510
movq %rax, (%rsi)
addq $0x8, 0x18(%rsp)
jmp 0x6d51f
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e3ce
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6d580
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6d53e
callq 0x27560
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x6d556
jmp 0x6d556
jmp 0x6d556
jmp 0x6d556
jmp 0x6d556
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6d568
callq 0x27560
movq %rbx, %rdi
callq 0x6d98c
movq %r14, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Path::resolve(Json::Value const&, Json::Value const&) const
Value 
Path::resolve( const Value &root, 
               const Value &defaultValue ) const
{
   const Value *node = &root;
   for ( Args::const_iterator it = args_.begin(); it != args_.end(); ++it )
   {
      const PathArgument &arg = *it;
      if ( arg.kind_ == PathArgument::kindIndex )
      {
         if ( !node->isArray()  ||  node->isValidIndex( arg.index_ ) )
            return defaultValue;
         node = &((*node)[arg.index_]);
      }
      else if ( arg.kind_ == PathArgument::kindKey )
      {
         if ( !node->isObject() )
            return defaultValue;
         node = &((*node)[arg.key_]);
         if ( node == &Value::null )
            return defaultValue;
      }
   }
   return *node;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq (%rsi), %r13
cmpq 0x8(%rsi), %r13
je 0x6d87a
movq %rsi, %r12
movq %rcx, (%rsp)
leaq 0x22ecc(%rip), %r15     # 0x906d8
movl 0x24(%r13), %eax
cmpl $0x2, %eax
je 0x6d847
cmpl $0x1, %eax
jne 0x6d869
movzbl 0x8(%r14), %eax
cmpl $0x6, %eax
je 0x6d828
testl %eax, %eax
jne 0x6d876
movl 0x20(%r13), %ebp
movq %r14, %rdi
callq 0x6c724
cmpl %ebp, %eax
ja 0x6d876
movq %r14, %rdi
movl %ebp, %esi
callq 0x6cab4
movq %rax, %r14
jmp 0x6d869
movzbl 0x8(%r14), %eax
cmpl $0x7, %eax
je 0x6d855
testl %eax, %eax
jne 0x6d876
movq (%r13), %rsi
movq %r14, %rdi
callq 0x6cd3e
movq %rax, %r14
cmpq %r15, %rax
je 0x6d876
addq $0x28, %r13
cmpq 0x8(%r12), %r13
jne 0x6d80c
jmp 0x6d87a
movq (%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6bb74
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_value.cpp
// Function: Json::Path::make(Json::Value&) const
Value &
Path::make( Value &root ) const
{
   Value *node = &root;
   for ( Args::const_iterator it = args_.begin(); it != args_.end(); ++it )
   {
      const PathArgument &arg = *it;
      if ( arg.kind_ == PathArgument::kindIndex )
      {
         if ( !node->isArray() )
         {
            // Error: node is not an array at position ...
         }
         node = &((*node)[arg.index_]);
      }
      else if ( arg.kind_ == PathArgument::kindKey )
      {
         if ( !node->isObject() )
         {
            // Error: node is not an object at position...
         }
         node = &((*node)[arg.key_]);
      }
   }
   return *node;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq (%rdi), %r14
cmpq 0x8(%rdi), %r14
je 0x6d8de
movq %rdi, %rbx
movl 0x24(%r14), %ecx
cmpl $0x2, %ecx
je 0x6d8c7
cmpl $0x1, %ecx
jne 0x6d8d4
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x6c906
jmp 0x6d8d4
movq (%r14), %rsi
movq %rax, %rdi
xorl %edx, %edx
callq 0x6cb3c
addq $0x28, %r14
cmpq 0x8(%rbx), %r14
jne 0x6d8ab
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::valueToString[abi:cxx11](long long)
std::string valueToString( Int value )
{
   UIntToStringBuffer buffer;
   char *current = buffer + sizeof(buffer);
   bool isNegative = value < 0;
   if ( isNegative )
      value = -value;
   uintToString( UInt(value), current );
   if ( isNegative )
      *--current = '-';
   assert( current >= buffer );
   return current;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rcx
movq %rsi, %r8
negq %r8
cmovsq %rsi, %r8
movq %rdi, %rbx
leaq 0x27(%rsp), %rsi
movb $0x0, 0x1(%rsi)
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movq %r8, %rax
mulq %rdi
shrq $0x3, %rdx
leal (%rdx,%rdx), %eax
leal (%rax,%rax,4), %eax
movl %r8d, %r9d
subl %eax, %r9d
orb $0x30, %r9b
movb %r9b, (%rsi)
decq %rsi
cmpq $0x9, %r8
movq %rdx, %r8
ja 0x6e7f4
testq %rcx, %rcx
js 0x6e827
incq %rsi
jmp 0x6e82a
movb $0x2d, (%rsi)
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
callq 0x272a0
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::valueToString[abi:cxx11](double)
std::string valueToString( double value )
{
   char buffer[32];
#if defined(_MSC_VER) && defined(__STDC_SECURE_LIB__) // Use secure version with visual studio 2005 to avoid warning. 
   sprintf_s(buffer, sizeof(buffer), "%#.16g", value); 
#else	
   sprintf(buffer, "%#.16g", value); 
#endif
   char* ch = buffer + strlen(buffer) - 1;
   if (*ch != '0') return buffer; // nothing to truncate, so save time
   while(ch > buffer && *ch == '0'){
     --ch;
   }
   char* last_nonzero = ch;
   while(ch >= buffer){
     switch(*ch){
     case '0':
     case '1':
     case '2':
     case '3':
     case '4':
     case '5':
     case '6':
     case '7':
     case '8':
     case '9':
       --ch;
       continue;
     case '.':
       // Truncate zeroes to save bytes in output, but keep one.
       *(last_nonzero+2) = '\0';
       return buffer;
     default:
       return buffer;
     }
   }
   return buffer;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x7f5b(%rip), %rsi      # 0x76809
movq %rsp, %r14
movq %r14, %rdi
movb $0x1, %al
callq 0x27100
movq %r14, %rdi
callq 0x272f0
cmpb $0x30, -0x1(%rsp,%rax)
jne 0x6e910
leaq (%rsp,%rax), %rcx
decq %rcx
cmpq %r14, %rcx
jbe 0x6e8f3
addq %r14, %rax
addq $-0x2, %rax
cmpq %r14, %rax
jbe 0x6e8f7
leaq -0x1(%rax), %rcx
cmpb $0x30, (%rax)
movq %rcx, %rax
je 0x6e8dd
incq %rcx
jmp 0x6e8fa
jae 0x6e8fa
jmp 0x6e910
movq %r14, %rcx
movq %rcx, %rax
movzbl (%rax), %edx
leal -0x30(%rdx), %esi
cmpl $0xa, %esi
jae 0x6e93c
decq %rax
cmpq %r14, %rax
jae 0x6e8fd
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %rsp, %r14
movq %r14, %rdi
callq 0x272f0
leaq (%rsp,%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2f1a0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
cmpl $0x2e, %edx
jne 0x6e910
movb $0x0, 0x2(%rcx)
jmp 0x6e910
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::FastWriter::write[abi:cxx11](Json::Value const&)
std::string 
FastWriter::write( const Value &root )
{
   document_ = "";
   writeValue( root );
   document_ += "\n";
   return document_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsi), %r12
movq 0x10(%rsi), %rdx
leaq 0x7b0d(%rip), %rcx      # 0x76817
movq %r12, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x278f0
movq %r15, %rdi
movq %r14, %rsi
callq 0x6ed5a
leaq 0x4311(%rip), %rsi      # 0x7303a
movq %r12, %rdi
callq 0x27c00
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2f10a
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::write[abi:cxx11](Json::Value const&)
std::string 
StyledWriter::write( const Value &root )
{
   document_ = "";
   addChildValues_ = false;
   indentString_ = "";
   writeCommentBeforeValue( root );
   writeValue( root );
   writeCommentAfterValueOnSameLine( root );
   document_ += "\n";
   return document_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsi), %r15
movq 0x28(%rsi), %rdx
leaq 0x772a(%rip), %r13      # 0x76817
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x278f0
movb $0x0, 0x68(%r14)
leaq 0x40(%r14), %rdi
movq 0x48(%r14), %rdx
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x278f0
movq %r14, %rdi
movq %r12, %rsi
callq 0x6f16e
movq %r14, %rdi
movq %r12, %rsi
callq 0x6f232
movq %r14, %rdi
movq %r12, %rsi
callq 0x6f61c
leaq 0x3efb(%rip), %rsi      # 0x7303a
movq %r15, %rdi
callq 0x27c00
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2f10a
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::writeCommentBeforeValue(Json::Value const&)
void 
StyledWriter::writeCommentBeforeValue( const Value &root )
{
   if ( !root.hasComment( commentBefore ) )
      return;
   document_ += normalizeEOL( root.getComment( commentBefore ) );
   document_ += "\n";
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
callq 0x6d1a6
testb %al, %al
je 0x6f1f2
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x6d1be
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6fcb2
addq $0x20, %rbx
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x27210
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f1d0
callq 0x27560
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f1e3
callq 0x27560
leaq 0x3e50(%rip), %rsi      # 0x7303a
movq %rbx, %rdi
callq 0x27c00
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f217
callq 0x27560
jmp 0x6f217
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f22a
callq 0x27560
movq %rbx, %rdi
callq 0x27b10
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::writeCommentAfterValueOnSameLine(Json::Value const&)
void 
StyledWriter::writeCommentAfterValueOnSameLine( const Value &root )
{
   if ( root.hasComment( commentAfterOnSameLine ) )
      document_ += " " + normalizeEOL( root.getComment( commentAfterOnSameLine ) );

   if ( root.hasComment( commentAfter ) )
   {
      document_ += "\n";
      document_ += normalizeEOL( root.getComment( commentAfter ) );
      document_ += "\n";
   }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
movl $0x1, %esi
callq 0x6d1a6
testb %al, %al
je 0x6f6c1
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x6d1be
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x6fcb2
leaq 0x5e8a(%rip), %rsi      # 0x754f3
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x40b3d
leaq 0x20(%rbx), %rdi
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x27210
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f69b
callq 0x27560
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f6ae
callq 0x27560
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f6c1
callq 0x27560
movq %r14, %rdi
movl $0x2, %esi
callq 0x6d1a6
testb %al, %al
je 0x6f74b
addq $0x20, %rbx
leaq 0x395d(%rip), %rsi      # 0x7303a
movq %rbx, %rdi
callq 0x27c00
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x6d1be
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6fcb2
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x27210
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f729
callq 0x27560
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f73c
callq 0x27560
leaq 0x38f7(%rip), %rsi      # 0x7303a
movq %rbx, %rdi
callq 0x27c00
addq $0x60, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f788
callq 0x27560
jmp 0x6f788
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f792
callq 0x27560
jmp 0x6f792
movq %rax, %rbx
leaq 0x30(%rsp), %rax
jmp 0x6f7af
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f7aa
callq 0x27560
jmp 0x6f7aa
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f7bd
callq 0x27560
movq %rbx, %rdi
callq 0x27b10
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::pushValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void 
StyledWriter::pushValue( const std::string &value )
{
   if ( addChildValues_ )
      childValues_.push_back( value );
   else
      document_ += value;
}

// Assembly:
cmpb $0x1, 0x68(%rdi)
jne 0x6f7d5
addq $0x8, %rdi
jmp 0x2e190
addq $0x20, %rdi
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
jmp 0x27210
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::isMultineArray(Json::Value const&)
bool 
StyledWriter::isMultineArray( const Value &value )
{
   int size = value.size();
   bool isMultiLine = size*3 >= rightMargin_ ;
   childValues_.clear();
   for ( int index =0; index < size  &&  !isMultiLine; ++index )
   {
      const Value &childValue = value[index];
      isMultiLine = isMultiLine  ||
                     ( (childValue.isArray()  ||  childValue.isObject())  &&  
                        childValue.size() > 0 );
   }
   if ( !isMultiLine ) // check if line length > max line length
   {
      childValues_.reserve( size );
      addChildValues_ = true;
      int lineLength = 4 + (size-1)*2; // '[ ' + ', '*n + ' ]'
      for ( int index =0; index < size  &&  !isMultiLine; ++index )
      {
         writeValue( value[index] );
         lineLength += int( childValues_[index].length() );
         isMultiLine = isMultiLine  &&  hasCommentForValue( value[index] );
      }
      addChildValues_ = false;
      isMultiLine = isMultiLine  ||  lineLength >= rightMargin_;
   }
   return isMultiLine;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x6c724
movl %eax, %r15d
leal (%r15,%r15,2), %eax
cmpl 0x60(%rbx), %eax
setge %r13b
leaq 0x8(%rbx), %r12
movq %r12, %rdi
callq 0x4adb8
testl %r15d, %r15d
setle %al
orb %r13b, %al
testb $0x1, %al
jne 0x6fbb8
movl $0x1, %ebp
leal -0x1(%rbp), %esi
movq %r14, %rdi
callq 0x6cab4
movq %rax, %r13
movq %rax, %rdi
callq 0x6c788
testb %al, %al
jne 0x6fb99
movq %r13, %rdi
callq 0x6c79c
testb %al, %al
je 0x6fba9
movq %r13, %rdi
callq 0x6c724
testl %eax, %eax
setne %r13b
jmp 0x6fbac
xorl %r13d, %r13d
cmpl %r15d, %ebp
jge 0x6fbb8
incl %ebp
testb %r13b, %r13b
je 0x6fb73
movb $0x1, %al
testb %r13b, %r13b
jne 0x6fc1b
movslq %r15d, %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x42520
movb $0x1, 0x68(%rbx)
leal 0x2(,%r15,2), %ebp
testl %r15d, %r15d
jle 0x6fc11
movl $0x8, %r12d
xorl %r15d, %r15d
movq %r14, %rdi
movl %r15d, %esi
callq 0x6cab4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f232
movq 0x8(%rbx), %rax
addl (%rax,%r12), %ebp
incq %r15
addq $0x20, %r12
cmpq %r13, %r15
jl 0x6fbe7
movb $0x0, 0x68(%rbx)
cmpl 0x60(%rbx), %ebp
setge %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::writeIndent()
void 
StyledWriter::writeIndent()
{
   if ( !document_.empty() )
   {
      char last = document_[document_.length()-1];
      if ( last == ' ' )     // already indented
         return;
      if ( last != '\n' )    // Comments may add new-line
         document_ += '\n';
   }
   document_ += indentString_;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x20(%rdi), %rbx
movq 0x28(%rdi), %rax
testq %rax, %rax
je 0x6fc65
movq (%rbx), %rcx
movzbl -0x1(%rcx,%rax), %eax
cmpl $0xa, %eax
je 0x6fc65
cmpl $0x20, %eax
jne 0x6fc58
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
movl $0xa, %esi
callq 0x274e0
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x27210
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::normalizeEOL(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string 
StyledWriter::normalizeEOL( const std::string &text )
{
   std::string normalized;
   normalized.reserve( text.length() );
   const char *begin = text.c_str();
   const char *end = begin + text.length();
   const char *current = begin;
   while ( current != end )
   {
      char c = *current++;
      if ( c == '\r' ) // mac or dos EOL
      {
         if ( *current == '\n' ) // convert dos EOL
            ++current;
         normalized += '\n';
      }
      else // handle unix EOL & other char
         normalized += c;
   }
   return normalized;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x8(%rsi), %rsi
callq 0x27960
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x6fd25
movq (%r14), %rax
addq %rax, %r12
leaq 0x1(%rax), %r14
movb (%rax), %cl
cmpb $0xd, %cl
jne 0x6fd12
cmpb $0xa, 0x1(%rax)
jne 0x6fd03
addq $0x2, %rax
movq %rax, %r14
movq %rbx, %rdi
movl $0xa, %esi
callq 0x274e0
jmp 0x6fd1d
movsbl %cl, %esi
movq %rbx, %rdi
callq 0x274e0
movq %r14, %rax
cmpq %r12, %r14
jne 0x6fceb
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x6fd36
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x6fd46
callq 0x27560
movq %r14, %rdi
callq 0x27b10
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledStreamWriter::write(std::ostream&, Json::Value const&)
void
StyledStreamWriter::write( std::ostream &out, const Value &root )
{
   document_ = &out;
   addChildValues_ = false;
   indentString_ = "";
   writeCommentBeforeValue( root );
   writeValue( root );
   writeCommentAfterValueOnSameLine( root );
   *document_ << "\n";
   document_ = NULL; // Forget the stream, for safety.
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rsi, 0x18(%rdi)
movb $0x0, 0x68(%rdi)
addq $0x20, %rdi
movq 0x28(%rbx), %rdx
leaq 0x6a2e(%rip), %rcx      # 0x76817
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x278f0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fe3a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ff0c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7033e
movq 0x18(%rbx), %rdi
leaq 0x321b(%rip), %rsi      # 0x7303a
movl $0x1, %edx
callq 0x276b0
movq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledStreamWriter::writeCommentBeforeValue(Json::Value const&)
void 
StyledStreamWriter::writeCommentBeforeValue( const Value &root )
{
   if ( !root.hasComment( commentBefore ) )
      return;
   *document_ << normalizeEOL( root.getComment( commentBefore ) );
   *document_ << "\n";
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
callq 0x6d1a6
testb %al, %al
je 0x6fec9
movq 0x18(%rbx), %r14
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x6d1be
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x7097e
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x276b0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fea1
callq 0x27560
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6feb4
callq 0x27560
movq 0x18(%rbx), %rdi
leaq 0x317b(%rip), %rsi      # 0x7303a
movl $0x1, %edx
callq 0x276b0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fef0
callq 0x27560
jmp 0x6fef0
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6ff03
callq 0x27560
movq %rbx, %rdi
callq 0x27b10
nop
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledStreamWriter::writeCommentAfterValueOnSameLine(Json::Value const&)
void 
StyledStreamWriter::writeCommentAfterValueOnSameLine( const Value &root )
{
   if ( root.hasComment( commentAfterOnSameLine ) )
      *document_ << " " + normalizeEOL( root.getComment( commentAfterOnSameLine ) );

   if ( root.hasComment( commentAfter ) )
   {
      *document_ << "\n";
      *document_ << normalizeEOL( root.getComment( commentAfter ) );
      *document_ << "\n";
   }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
movl $0x1, %esi
callq 0x6d1a6
testb %al, %al
je 0x703eb
movq 0x18(%rbx), %r15
leaq 0x48(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x6d1be
leaq 0x28(%rsp), %rdi
movq %r12, %rsi
callq 0x7097e
leaq 0x5162(%rip), %rsi      # 0x754f3
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x40b3d
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x276b0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x703c5
callq 0x27560
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x703d8
callq 0x27560
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x703eb
callq 0x27560
movq %r14, %rdi
movl $0x2, %esi
callq 0x6d1a6
testb %al, %al
je 0x70488
movq 0x18(%rbx), %rdi
leaq 0x2c2f(%rip), %rsi      # 0x7303a
movl $0x1, %edx
callq 0x276b0
movq 0x18(%rbx), %r15
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x6d1be
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x7097e
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x276b0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70460
callq 0x27560
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70473
callq 0x27560
movq 0x18(%rbx), %rdi
leaq 0x2bbc(%rip), %rsi      # 0x7303a
movl $0x1, %edx
callq 0x276b0
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x704c7
callq 0x27560
jmp 0x704c7
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x704d1
callq 0x27560
jmp 0x704d1
movq %rax, %rbx
leaq 0x38(%rsp), %rax
jmp 0x704ee
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x704e9
callq 0x27560
jmp 0x704e9
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x704fc
callq 0x27560
movq %rbx, %rdi
callq 0x27b10
// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledStreamWriter::pushValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void 
StyledStreamWriter::pushValue( const std::string &value )
{
   if ( addChildValues_ )
      childValues_.push_back( value );
   else
      *document_ << value;
}

// Assembly:
cmpb $0x1, 0x68(%rdi)
jne 0x7050f
jmp 0x2e190
movq 0x18(%rdi), %rdi
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
jmp 0x276b0
// File: /workspace/github_cpp_makefile_star2_O3/cassioneri[P]delayed_init/delayed_init.cpp
// Function: test_default_constructor(int)
void test_default_constructor(int line) {
  where(line, __func__);
  helper::mark_call_stack();
  const delayed_init<const helper> d;
  helper::check_call_stack({});
  assert(!d);
}

// Assembly:
pushq %rax
leaq 0x4b4a(%rip), %rsi      # 0x600e
callq 0x1414
callq 0x25d4
xorl %edi, %edi
xorl %esi, %esi
popq %rax
jmp 0x261a
// File: /workspace/github_cpp_makefile_star2_O3/cassioneri[P]delayed_init/delayed_init.cpp
// Function: test_conversion_to_bool(int, overload::delayed_init<helper const> const&, bool)
void test_conversion_to_bool(int line, const delayed_init<const helper>& d,
  bool is_init) {
  where(line, __func__);
  helper::mark_call_stack();
  assert(static_cast<bool>(d) == is_init);
  helper::check_call_stack({});
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
leaq 0x4b50(%rip), %rsi      # 0x6038
callq 0x1414
callq 0x25d4
cmpb %bl, (%r14)
jne 0x1507
xorl %edi, %edi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x261a
leaq 0x4b42(%rip), %rdi      # 0x6050
leaq 0x4b12(%rip), %rsi      # 0x6027
leaq 0x4b54(%rip), %rcx      # 0x6070
movl $0x122, %edx            # imm = 0x122
callq 0x10a0
// File: /workspace/github_cpp_makefile_star2_O3/cassioneri[P]delayed_init/delayed_init.cpp
// Function: test_init_initialised(int)
void test_init_initialised(int line) {
  where(line, __func__);
  delayed_init<const helper> d(helper(1));
  helper::mark_call_stack();
  try {
    d.init(1);
    assert(false);
  }
  catch(std::logic_error&) {
  }
  catch (...) {
    assert(false);
  }
  helper::check_call_stack({});
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
leaq 0x4b88(%rip), %rsi      # 0x60bc
callq 0x1414
leaq 0xc(%rsp), %r14
movq %r14, %rdi
movl $0x1, %esi
callq 0x26f4
leaq 0x14(%rsp), %rbx
movb $0x0, -0x4(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4a24
movb $0x1, -0x4(%rbx)
movq %r14, %rdi
callq 0x2744
callq 0x25d4
leaq 0xc(%rsp), %rsi
movl $0x1, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x2792
leaq 0x4b46(%rip), %rdi      # 0x60d2
leaq 0x4a94(%rip), %rsi      # 0x6027
leaq 0x4b3e(%rip), %rcx      # 0x60d8
movl $0x13f, %edx            # imm = 0x13F
callq 0x10a0
movq %rdx, %r14
movq %rax, %rdi
callq 0x1060
cmpl $0x2, %r14d
jne 0x15da
callq 0x1170
xorl %edi, %edi
xorl %esi, %esi
callq 0x261a
cmpb $0x1, 0x10(%rsp)
jne 0x15d2
movq %rbx, %rdi
callq 0x2744
addq $0x18, %rsp
popq %rbx
popq %r14
retq
callq 0x11d0
jmp 0x15e1
movq %rax, %r14
cmpb $0x1, 0x10(%rsp)
jne 0x15f3
movq %rbx, %rdi
callq 0x2744
movq %r14, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O3/cassioneri[P]delayed_init/delayed_init.cpp
// Function: helper::check_call_stack(std::initializer_list<helper::method>)
static void check_call_stack(std::initializer_list<method> methods) {
    for (auto f : methods) {
      assert(call_stack.top() == f);
      call_stack.pop();
    }
    assert(call_stack.top() == none);
    call_stack.pop();
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0x267a
movq %rsi, %rbx
movq %rdi, %r14
shlq $0x2, %rbx
xorl %r12d, %r12d
movl $0x200, %r13d           # imm = 0x200
leaq 0x8ace(%rip), %r15      # 0xb110
movq 0x8af7(%rip), %rax      # 0xb140
cmpq 0x8af8(%rip), %rax      # 0xb148
jne 0x2660
movq 0x8aff(%rip), %rax      # 0xb158
movq -0x8(%rax), %rax
addq %r13, %rax
movl (%r14,%r12), %ecx
cmpl %ecx, -0x4(%rax)
jne 0x26b5
movq %r15, %rdi
callq 0x467c
addq $0x4, %r12
cmpq %r12, %rbx
jne 0x2642
movq 0x8abf(%rip), %rax      # 0xb140
cmpq 0x8ac0(%rip), %rax      # 0xb148
jne 0x269a
movq 0x8ac7(%rip), %rcx      # 0xb158
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
cmpl $0x0, -0x4(%rax)
jne 0x26d4
leaq 0x8a69(%rip), %rdi      # 0xb110
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x467c
leaq 0x3a4e(%rip), %rdi      # 0x610a
leaq 0x3964(%rip), %rsi      # 0x6027
leaq 0x3a56(%rip), %rcx      # 0x6120
movl $0x46, %edx
callq 0x10a0
leaq 0x3a89(%rip), %rdi      # 0x6164
leaq 0x3945(%rip), %rsi      # 0x6027
leaq 0x3a37(%rip), %rcx      # 0x6120
movl $0x49, %edx
callq 0x10a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/cassioneri[P]delayed_init/delayed_init.cpp
// Function: void test_constructor<helper, overload::delayed_init<helper>&>(int, overload::delayed_init<helper>&, bool, std::initializer_list<helper::method>)
void test_constructor(int line, U&& src, bool is_init, method_list ml) {
  where(line, __func__);
  helper::mark_call_stack();
  const delayed_init<T> d(std::forward<U>(src));
  helper::check_call_stack(ml);
  assert(static_cast<bool>(d) == is_init);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebx
movq %rsi, %r12
leaq 0x3434(%rip), %rsi      # 0x61d1
callq 0x1414
callq 0x25d4
movb $0x0, 0x8(%rsp)
cmpb $0x1, (%r12)
jne 0x2dcc
addq $0x4, %r12
leaq 0xc(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x4a76
movb $0x1, -0x4(%r13)
movq %r15, %rdi
movq %r14, %rsi
callq 0x261a
movb 0x8(%rsp), %al
cmpb %bl, %al
jne 0x2dfb
testb %al, %al
je 0x2ded
leaq 0xc(%rsp), %rdi
callq 0x2744
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x324e(%rip), %rdi      # 0x6050
leaq 0x321e(%rip), %rsi      # 0x6027
leaq 0x3672(%rip), %rcx      # 0x6482
movl $0xba, %edx
callq 0x10a0
movq %rax, %rbx
cmpb $0x1, 0x8(%rsp)
jne 0x2e2e
leaq 0xc(%rsp), %rdi
callq 0x2744
movq %rbx, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O3/cassioneri[P]delayed_init/delayed_init.cpp
// Function: void test_destructor<overload::delayed_init<helper>>(int, overload::delayed_init<helper> const&, std::initializer_list<helper::method>)
void test_destructor(int line, const U& src, method_list ml) {
  where(line, __func__);
  {
    const delayed_init<const helper> d(src);
    helper::mark_call_stack();
  }
  helper::check_call_stack(ml);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
leaq 0x348c(%rip), %rsi      # 0x67e2
callq 0x1414
movb $0x0, (%rsp)
cmpb $0x1, (%r15)
jne 0x337f
addq $0x4, %r15
leaq 0x4(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4a76
movb $0x1, -0x4(%r12)
callq 0x25d4
cmpb $0x1, (%rsp)
jne 0x3394
leaq 0x4(%rsp), %rdi
callq 0x2744
movq %r14, %rdi
movq %rbx, %rsi
callq 0x261a
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
cmpb $0x1, (%rsp)
jne 0x33be
leaq 0x4(%rsp), %rdi
callq 0x2744
movq %rbx, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O3/cassioneri[P]delayed_init/delayed_init.cpp
// Function: void test_assignment<overload::delayed_init<helper>, overload::delayed_init<helper>&>(int, overload::delayed_init<helper>&, overload::delayed_init<helper> const&, bool, std::initializer_list<helper::method>)
void test_assignment(int line, U&& from, const T& to, bool is_init,
  method_list ml) {
  
  where(line, __func__);
  delayed_init<helper> d(to);
  helper::mark_call_stack();
  d = std::forward<U>(from);
  helper::check_call_stack(ml);
  assert(static_cast<bool>(d) == is_init);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movq %r8, %r15
movl %ecx, %ebx
movq %rdx, %r13
movq %rsi, %r12
leaq 0x30d0(%rip), %rsi      # 0x67f2
callq 0x1414
movb $0x0, (%rsp)
cmpb $0x1, (%r13)
jne 0x374a
addq $0x4, %r13
leaq 0x4(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x4a76
movb $0x1, -0x4(%rbp)
callq 0x25d4
movzbl (%r12), %esi
addq $0x4, %r12
xorl %edx, %edx
testl %esi, %esi
cmovneq %r12, %rdx
movq %rsp, %rdi
callq 0x4b6a
movq %r15, %rdi
movq %r14, %rsi
callq 0x261a
movb (%rsp), %al
cmpb %bl, %al
jne 0x3797
testb %al, %al
je 0x3788
leaq 0x4(%rsp), %rdi
callq 0x2744
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x28b2(%rip), %rdi      # 0x6050
leaq 0x2882(%rip), %rsi      # 0x6027
leaq 0x3222(%rip), %rcx      # 0x69ce
movl $0xd8, %edx
callq 0x10a0
movq %rax, %rbx
cmpb $0x1, (%rsp)
jne 0x37c9
leaq 0x4(%rsp), %rdi
callq 0x2744
movq %rbx, %rdi
callq 0x11b0