LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
subq $0x48, %rsp
movl %esi, %ebp
movq %rdi, %rbx
cmpb $0x0, 0x8(%rdi)
jne 0x6cfda
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movl $0x6, %esi
callq 0x6bf78
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6c3fa
leaq 0x18(%rsp), %rdi
callq 0x6c31c
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl %ebp, %esi
callq 0x6bde2
movq (%rbx), %rdi
movq 0x10(%rdi), %rsi
leaq 0x8(%rdi), %rdx
movq %r14, %rcx
callq 0x6e5d4
movq %rax, %r14
movq (%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r14
je 0x6d031
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x6d022
movq 0x8(%rsp), %rsi
callq 0x27840
testl %eax, %eax
jmp 0x6d02a
movl 0x28(%r14), %eax
cmpl 0x10(%rsp), %eax
sete %al
testb %al, %al
jne 0x6d081
leaq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6be46
leaq 0x28(%rsp), %r15
leaq 0x24694(%rip), %rsi     # 0x916e0
movq %r15, %rdi
callq 0x6c1ae
movq (%rbx), %rdi
leaq 0x40(%rsp), %rcx
movq %rdi, (%rcx)
leaq 0x18(%rsp), %rdx
movq %r14, %rsi
callq 0x6e682
movq %rax, %r14
movq %r15, %rdi
callq 0x6c31c
leaq 0x18(%rsp), %rdi
callq 0x6beb6
addq $0x30, %r14
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6c31c
jmp 0x6d0ec
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6beb6
jmp 0x6d0e2
jmp 0x6d0f4
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6defc
jmp 0x6d0e2
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6beb6
jmp 0x6d0e2
jmp 0x6d0f4
jmp 0x6d0df
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d13c
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x6bde2
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x6e96a
movq %rax, %rbx
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %rbx
jne 0x6d145
leaq 0x245a6(%rip), %rbx     # 0x916e0
jmp 0x6d149
leaq 0x2459d(%rip), %rbx     # 0x916e0
jmp 0x6d153
addq $0x30, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
subq $0x48, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x0, 0x8(%rdi)
jne 0x6d1c3
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movl $0x7, %esi
callq 0x6bf78
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6c3fa
leaq 0x18(%rsp), %rdi
callq 0x6c31c
xorb $0x1, %bpl
movzbl %bpl, %edx
addl %edx, %edx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x6bdee
movq (%rbx), %rdi
movq 0x10(%rdi), %rsi
leaq 0x8(%rdi), %rdx
movq %r15, %rcx
callq 0x6e5d4
movq %rax, %r14
movq (%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r14
je 0x6d225
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x6d216
movq 0x8(%rsp), %rsi
callq 0x27840
testl %eax, %eax
jmp 0x6d21e
movl 0x28(%r14), %eax
cmpl 0x10(%rsp), %eax
sete %al
testb %al, %al
jne 0x6d275
leaq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6be46
leaq 0x28(%rsp), %r15
leaq 0x244a0(%rip), %rsi     # 0x916e0
movq %r15, %rdi
callq 0x6c1ae
movq (%rbx), %rdi
leaq 0x40(%rsp), %rcx
movq %rdi, (%rcx)
leaq 0x18(%rsp), %rdx
movq %r14, %rsi
callq 0x6e682
movq %rax, %r14
movq %r15, %rdi
callq 0x6c31c
leaq 0x18(%rsp), %rdi
callq 0x6beb6
addq $0x30, %r14
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6c31c
jmp 0x6d2e0
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6beb6
jmp 0x6d2d6
jmp 0x6d2e8
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6defc
jmp 0x6d2d6
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6beb6
jmp 0x6d2d6
jmp 0x6d2e8
jmp 0x6d2d3
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d378
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x6bdee
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x6e96a
movq %rax, %rbx
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %rbx
jne 0x6d381
leaq 0x2436a(%rip), %rbx     # 0x916e0
jmp 0x6d385
leaq 0x24361(%rip), %rbx     # 0x916e0
jmp 0x6d38f
addq $0x30, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6beb6
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d4df
movq %rsi, %r14
movq %rsp, %r15
movq %r15, %rdi
movq %rdx, %rsi
xorl %edx, %edx
callq 0x6bdee
movq (%r14), %rdi
movq %r15, %rsi
callq 0x6e96a
movq %rax, %r15
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %r15
je 0x6d4f0
leaq 0x30(%r15), %rsi
movq %rbx, %rdi
callq 0x6c1ae
movq (%r14), %r14
leaq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0x27380
movq %r14, %rdi
movq %rax, %rsi
callq 0x6e074
decq 0x28(%r14)
jmp 0x6d4ff
leaq 0x241fa(%rip), %rsi     # 0x916e0
movq %rbx, %rdi
callq 0x6c1ae
jmp 0x6d507
leaq 0x241e9(%rip), %rsi     # 0x916e0
movq %rbx, %rdi
callq 0x6c1ae
movq %rsp, %rdi
callq 0x6beb6
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x6c31c
jmp 0x6d524
movq %rax, %r14
movq %rsp, %rdi
callq 0x6beb6
movq %r14, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d605
movq %rsi, %r14
movq (%rsi), %rax
movq 0x28(%rax), %rsi
movq %rbx, %rdi
callq 0x425d8
movq (%r14), %r13
movq 0x18(%r13), %r14
addq $0x8, %r13
cmpq %r13, %r14
je 0x6d605
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 0x2e1b0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6d5f5
callq 0x27560
movq %r14, %rdi
callq 0x276d0
movq %rax, %r14
cmpq %r13, %rax
jne 0x6d5cc
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6d619
movq %rax, %r14
jmp 0x6d630
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6d630
callq 0x27560
movq %rbx, %rdi
callq 0x2f0de
movq %r14, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
// File: /workspace/github_cpp_makefile_star2_O1/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)
movq %rax, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq 0x18(%rsp), %rsi
testq %rsi, %rsi
je 0x6da0c
movq %rdx, (%rsi)
addq $0x8, 0x18(%rsp)
jmp 0x6da1b
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e9be
movq %r13, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x6da37
movq %r13, (%rsi)
addq $0x8, 0x18(%rsp)
jmp 0x6da46
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e9be
movq %r12, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x6da62
movq %r12, (%rsi)
addq $0x8, 0x18(%rsp)
jmp 0x6da71
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e9be
movq %r15, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x6da8d
movq %r15, (%rsi)
addq $0x8, 0x18(%rsp)
jmp 0x6da9c
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e9be
movq 0x60(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x6dabd
movq %rax, (%rsi)
addq $0x8, 0x18(%rsp)
jmp 0x6dacc
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6e9be
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6db2e
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6daeb
callq 0x27560
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x6db03
jmp 0x6db03
jmp 0x6db03
jmp 0x6db03
jmp 0x6db03
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6db15
callq 0x27560
movq %rbx, %rdi
callq 0x6dfa2
movq %r14, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
nop
// File: /workspace/github_cpp_makefile_star2_O1/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
subq $0x18, %rsp
movq %rcx, 0x10(%rsp)
movq %rdx, %r15
movq %rdi, 0x8(%rsp)
movq (%rsi), %r14
cmpq 0x8(%rsi), %r14
sete %r13b
je 0x6de7f
movq %rsi, %r12
movl 0x24(%r14), %eax
movb $0x1, %bl
cmpl $0x2, %eax
je 0x6de18
cmpl $0x1, %eax
jne 0x6de68
movzbl 0x8(%r15), %eax
cmpl $0x6, %eax
je 0x6ddf9
testl %eax, %eax
jne 0x6de57
movl 0x20(%r14), %ebp
movq %r15, %rdi
callq 0x6cdf6
cmpl %ebp, %eax
ja 0x6de57
movq %r15, %rdi
movl %ebp, %esi
callq 0x6d0fc
movq %rax, %r15
jmp 0x6de68
movzbl 0x8(%r15), %eax
testl %eax, %eax
je 0x6de26
cmpl $0x7, %eax
jne 0x6de57
movq (%r14), %rsi
movq %r15, %rdi
callq 0x6d336
movq %rax, %r15
cmpq 0x22125(%rip), %rax     # 0x8ff60
jne 0x6de68
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x6c1ae
xorl %ebx, %ebx
leaq 0x2388b(%rip), %r15     # 0x916e0
jmp 0x6de68
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x6c1ae
xorl %ebx, %ebx
testb %bl, %bl
je 0x6de7f
addq $0x28, %r14
cmpq 0x8(%r12), %r14
sete %r13b
jne 0x6dddb
testb $0x1, %r13b
je 0x6de9a
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6c1ae
movq %rbx, %rax
jmp 0x6de9f
movq 0x8(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6def4
movq %rdi, %rbx
movl 0x24(%r14), %ecx
cmpl $0x2, %ecx
je 0x6dedd
cmpl $0x1, %ecx
jne 0x6deea
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x6cf9e
jmp 0x6deea
movq (%r14), %rsi
movq %rax, %rdi
xorl %edx, %edx
callq 0x6d184
addq $0x28, %r14
cmpq 0x8(%rbx), %r14
jne 0x6dec1
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6ede8
testq %rcx, %rcx
js 0x6ee1b
incq %rsi
jmp 0x6ee1e
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_O1/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 0x896b(%rip), %rsi      # 0x7780d
movq %rsp, %r14
movq %r14, %rdi
movb $0x1, %al
callq 0x27100
movq %r14, %rdi
callq 0x272f0
cmpb $0x30, -0x1(%rsp,%rax)
jne 0x6eef4
addq %rsp, %rax
decq %rax
cmpq %r14, %rax
jbe 0x6eed9
cmpb $0x30, (%rax)
jne 0x6eed9
decq %rax
cmpq %r14, %rax
ja 0x6eec9
movq %r14, %rax
cmpq %r14, %rax
jb 0x6eef4
movq %rax, %rcx
movzbl (%rcx), %edx
leal -0x30(%rdx), %esi
cmpl $0xa, %esi
jae 0x6ef20
decq %rcx
cmpq %r14, %rcx
jae 0x6eee1
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 0x2f1b2
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
cmpl $0x2e, %edx
jne 0x6eef4
movb $0x0, 0x2(%rax)
jmp 0x6eef4
// File: /workspace/github_cpp_makefile_star2_O1/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 0x8527(%rip), %rcx      # 0x7781b
movq %r12, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x27900
movq %r15, %rdi
movq %r14, %rsi
callq 0x6f344
leaq 0x4d0f(%rip), %rsi      # 0x74022
movq %r12, %rdi
callq 0x27c10
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2f122
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x8144(%rip), %r13      # 0x7781b
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x27900
movb $0x0, 0x68(%r14)
leaq 0x40(%r14), %rdi
movq 0x48(%r14), %rdx
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x27900
movq %r14, %rdi
movq %r12, %rsi
callq 0x6f758
movq %r14, %rdi
movq %r12, %rsi
callq 0x6f81c
movq %r14, %rdi
movq %r12, %rsi
callq 0x6fbfa
leaq 0x48f9(%rip), %rsi      # 0x74022
movq %r15, %rdi
callq 0x27c10
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2f122
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d754
testb %al, %al
je 0x6f7dc
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x6d76c
movq %rsp, %rdi
movq %r15, %rsi
callq 0x702e2
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 0x6f7ba
callq 0x27560
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f7cd
callq 0x27560
leaq 0x484e(%rip), %rsi      # 0x74022
movq %rbx, %rdi
callq 0x27c10
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 0x6f801
callq 0x27560
jmp 0x6f801
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f814
callq 0x27560
movq %rbx, %rdi
callq 0x27b20
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d754
testb %al, %al
je 0x6fc9f
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x6d76c
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x702e2
leaq 0x68ac(%rip), %rsi      # 0x764f3
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x40c12
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 0x6fc79
callq 0x27560
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fc8c
callq 0x27560
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fc9f
callq 0x27560
movq %r14, %rdi
movl $0x2, %esi
callq 0x6d754
testb %al, %al
je 0x6fd29
addq $0x20, %rbx
leaq 0x4367(%rip), %rsi      # 0x74022
movq %rbx, %rdi
callq 0x27c10
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x6d76c
movq %rsp, %rdi
movq %r15, %rsi
callq 0x702e2
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x27210
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fd07
callq 0x27560
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fd1a
callq 0x27560
leaq 0x4301(%rip), %rsi      # 0x74022
movq %rbx, %rdi
callq 0x27c10
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 0x6fd66
callq 0x27560
jmp 0x6fd66
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fd70
callq 0x27560
jmp 0x6fd70
movq %rax, %rbx
leaq 0x30(%rsp), %rax
jmp 0x6fd8d
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fd88
callq 0x27560
jmp 0x6fd88
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fd9b
callq 0x27560
movq %rbx, %rdi
callq 0x27b20
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6fdb3
addq $0x8, %rdi
jmp 0x2e1b0
addq $0x20, %rdi
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
jmp 0x27210
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6cdf6
movl %eax, %r15d
leal (%r15,%r15,2), %eax
cmpl 0x60(%rbx), %eax
setge %bpl
leaq 0x8(%rbx), %rdi
movq %rdi, (%rsp)
callq 0x4ae86
testl %r15d, %r15d
setle %al
orb %bpl, %al
testb $0x1, %al
jne 0x701ad
movl $0x1, %r12d
leal -0x1(%r12), %esi
movq %r14, %rdi
callq 0x6d0fc
testb $0x1, %bpl
movb $0x1, %bpl
jne 0x701a0
movq %rax, %r13
movq %rax, %rdi
callq 0x6ce5a
testb %al, %al
jne 0x7018e
movq %r13, %rdi
callq 0x6ce6e
testb %al, %al
je 0x7019e
movq %r13, %rdi
callq 0x6cdf6
testl %eax, %eax
setne %bpl
jmp 0x701a0
xorl %ebp, %ebp
cmpl %r15d, %r12d
jge 0x701ad
incl %r12d
testb %bpl, %bpl
je 0x7015d
testb %bpl, %bpl
jne 0x70248
movslq %r15d, %rsi
movq (%rsp), %rdi
callq 0x425d8
movb $0x1, 0x68(%rbx)
leal 0x2(,%r15,2), %r12d
testl %r15d, %r15d
setle %al
orb %bpl, %al
jne 0x70238
movl %r15d, %eax
movq %rax, (%rsp)
movl $0x8, %r13d
xorl %r15d, %r15d
movq %r14, %rdi
movl %r15d, %esi
callq 0x6d0fc
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f81c
movq 0x8(%rbx), %rax
addl (%rax,%r13), %r12d
testb $0x1, %bpl
je 0x70224
movq %r14, %rdi
movl %r15d, %esi
callq 0x6d0fc
movq %rax, %rsi
callq 0x702ac
movl %eax, %ebp
jmp 0x70226
xorl %ebp, %ebp
incq %r15
cmpq (%rsp), %r15
jae 0x70238
addq $0x20, %r13
testb %bpl, %bpl
je 0x701e9
movb $0x0, 0x68(%rbx)
cmpl 0x60(%rbx), %r12d
setge %al
orb %bpl, %al
movl %eax, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x70295
movq (%rbx), %rcx
movzbl -0x1(%rcx,%rax), %eax
cmpl $0xa, %eax
je 0x70295
cmpl $0x20, %eax
jne 0x70288
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_O1/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 0x27970
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x70355
movq (%r14), %rax
addq %rax, %r12
leaq 0x1(%rax), %r14
movb (%rax), %cl
cmpb $0xd, %cl
jne 0x70342
cmpb $0xa, 0x1(%rax)
jne 0x70333
addq $0x2, %rax
movq %rax, %r14
movq %rbx, %rdi
movl $0xa, %esi
callq 0x274e0
jmp 0x7034d
movsbl %cl, %esi
movq %rbx, %rdi
callq 0x274e0
movq %r14, %rax
cmpq %r12, %r14
jne 0x7031b
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x70366
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x70376
callq 0x27560
movq %r14, %rdi
callq 0x27b20
// File: /workspace/github_cpp_makefile_star2_O1/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 0x7402(%rip), %rcx      # 0x7781b
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x27900
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7046a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7053c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x70958
movq 0x18(%rbx), %rdi
leaq 0x3bd3(%rip), %rsi      # 0x74022
movl $0x1, %edx
callq 0x276c0
movq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d754
testb %al, %al
je 0x704f9
movq 0x18(%rbx), %r14
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x6d76c
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x70fd2
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x276c0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x704d1
callq 0x27560
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x704e4
callq 0x27560
movq 0x18(%rbx), %rdi
leaq 0x3b33(%rip), %rsi      # 0x74022
movl $0x1, %edx
callq 0x276c0
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 0x70520
callq 0x27560
jmp 0x70520
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70533
callq 0x27560
movq %rbx, %rdi
callq 0x27b20
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6d754
testb %al, %al
je 0x70a05
movq 0x18(%rbx), %r15
leaq 0x48(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x6d76c
leaq 0x28(%rsp), %rdi
movq %r12, %rsi
callq 0x70fd2
leaq 0x5b48(%rip), %rsi      # 0x764f3
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x40c12
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x276c0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x709df
callq 0x27560
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x709f2
callq 0x27560
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70a05
callq 0x27560
movq %r14, %rdi
movl $0x2, %esi
callq 0x6d754
testb %al, %al
je 0x70aa2
movq 0x18(%rbx), %rdi
leaq 0x35fd(%rip), %rsi      # 0x74022
movl $0x1, %edx
callq 0x276c0
movq 0x18(%rbx), %r15
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x6d76c
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x70fd2
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x276c0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70a7a
callq 0x27560
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70a8d
callq 0x27560
movq 0x18(%rbx), %rdi
leaq 0x358a(%rip), %rsi      # 0x74022
movl $0x1, %edx
callq 0x276c0
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 0x70ae1
callq 0x27560
jmp 0x70ae1
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70aeb
callq 0x27560
jmp 0x70aeb
movq %rax, %rbx
leaq 0x38(%rsp), %rax
jmp 0x70b08
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70b03
callq 0x27560
jmp 0x70b03
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70b16
callq 0x27560
movq %rbx, %rdi
callq 0x27b20
// File: /workspace/github_cpp_makefile_star2_O1/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 0x70b29
jmp 0x2e1b0
movq 0x18(%rdi), %rdi
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
jmp 0x276c0
// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
subq $0x10, %rsp
leaq 0x4b46(%rip), %rsi      # 0x600e
callq 0x1414
callq 0x2624
movb $0x0, 0x8(%rsp)
xorl %edi, %edi
xorl %esi, %esi
callq 0x266a
cmpb $0x1, 0x8(%rsp)
je 0x14ed
addq $0x10, %rsp
popq %rbx
retq
leaq 0x4b33(%rip), %rdi      # 0x6027
leaq 0x4b2f(%rip), %rsi      # 0x602a
leaq 0x4b39(%rip), %rcx      # 0x603b
movl $0xad, %edx
callq 0x10a0
movq %rax, %rbx
cmpb $0x1, 0x8(%rsp)
jne 0x1520
leaq 0xc(%rsp), %rdi
callq 0x2794
movq %rbx, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x4b26(%rip), %rsi      # 0x605e
callq 0x1414
callq 0x2624
cmpb %bl, (%r14)
jne 0x1557
xorl %edi, %edi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x266a
leaq 0x4b18(%rip), %rdi      # 0x6076
leaq 0x4ac5(%rip), %rsi      # 0x602a
leaq 0x4b2a(%rip), %rcx      # 0x6096
movl $0x122, %edx            # imm = 0x122
callq 0x10a0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x4b5e(%rip), %rsi      # 0x60e2
callq 0x1414
leaq 0xc(%rsp), %r14
movq %r14, %rdi
movl $0x1, %esi
callq 0x2744
leaq 0x14(%rsp), %rbx
movb $0x0, -0x4(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4a46
movb $0x1, -0x4(%rbx)
movq %r14, %rdi
callq 0x2794
callq 0x2624
leaq 0xc(%rsp), %rsi
movl $0x1, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x27e2
leaq 0x4b1c(%rip), %rdi      # 0x60f8
leaq 0x4a47(%rip), %rsi      # 0x602a
leaq 0x4b14(%rip), %rcx      # 0x60fe
movl $0x13f, %edx            # imm = 0x13F
callq 0x10a0
movq %rdx, %r14
movq %rax, %rdi
callq 0x1060
cmpl $0x2, %r14d
jne 0x162a
callq 0x1170
xorl %edi, %edi
xorl %esi, %esi
callq 0x266a
cmpb $0x1, 0x10(%rsp)
jne 0x1622
movq %rbx, %rdi
callq 0x2794
addq $0x18, %rsp
popq %rbx
popq %r14
retq
callq 0x11d0
jmp 0x1631
movq %rax, %r14
cmpb $0x1, 0x10(%rsp)
jne 0x1643
movq %rbx, %rdi
callq 0x2794
movq %r14, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x26ca
movq %rsi, %rbx
movq %rdi, %r14
shlq $0x2, %rbx
xorl %r12d, %r12d
movl $0x200, %r13d           # imm = 0x200
leaq 0x8a7e(%rip), %r15      # 0xb110
movq 0x8aa7(%rip), %rax      # 0xb140
cmpq 0x8aa8(%rip), %rax      # 0xb148
jne 0x26b0
movq 0x8aaf(%rip), %rax      # 0xb158
movq -0x8(%rax), %rax
addq %r13, %rax
movl (%r14,%r12), %ecx
cmpl %ecx, -0x4(%rax)
jne 0x2705
movq %r15, %rdi
callq 0x469e
addq $0x4, %r12
cmpq %r12, %rbx
jne 0x2692
movq 0x8a6f(%rip), %rax      # 0xb140
cmpq 0x8a70(%rip), %rax      # 0xb148
jne 0x26ea
movq 0x8a77(%rip), %rcx      # 0xb158
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
cmpl $0x0, -0x4(%rax)
jne 0x2724
leaq 0x8a19(%rip), %rdi      # 0xb110
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x469e
leaq 0x3a24(%rip), %rdi      # 0x6130
leaq 0x3917(%rip), %rsi      # 0x602a
leaq 0x3a2c(%rip), %rcx      # 0x6146
movl $0x46, %edx
callq 0x10a0
leaq 0x3a5f(%rip), %rdi      # 0x618a
leaq 0x38f8(%rip), %rsi      # 0x602a
leaq 0x3a0d(%rip), %rcx      # 0x6146
movl $0x49, %edx
callq 0x10a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x340a(%rip), %rsi      # 0x61f7
callq 0x1414
callq 0x2624
movb $0x0, 0x8(%rsp)
cmpb $0x1, (%r12)
jne 0x2e1c
addq $0x4, %r12
leaq 0xc(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x4a98
movb $0x1, -0x4(%r13)
movq %r15, %rdi
movq %r14, %rsi
callq 0x266a
movb 0x8(%rsp), %al
cmpb %bl, %al
jne 0x2e4b
testb %al, %al
je 0x2e3d
leaq 0xc(%rsp), %rdi
callq 0x2794
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x3224(%rip), %rdi      # 0x6076
leaq 0x31d1(%rip), %rsi      # 0x602a
leaq 0x3648(%rip), %rcx      # 0x64a8
movl $0xba, %edx
callq 0x10a0
movq %rax, %rbx
cmpb $0x1, 0x8(%rsp)
jne 0x2e7e
leaq 0xc(%rsp), %rdi
callq 0x2794
movq %rbx, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x3462(%rip), %rsi      # 0x6808
callq 0x1414
movb $0x0, (%rsp)
cmpb $0x1, (%r15)
jne 0x33cf
addq $0x4, %r15
leaq 0x4(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x4a98
movb $0x1, -0x4(%r12)
callq 0x2624
cmpb $0x1, (%rsp)
jne 0x33e4
leaq 0x4(%rsp), %rdi
callq 0x2794
movq %r14, %rdi
movq %rbx, %rsi
callq 0x266a
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
cmpb $0x1, (%rsp)
jne 0x340e
leaq 0x4(%rsp), %rdi
callq 0x2794
movq %rbx, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x30a6(%rip), %rsi      # 0x6818
callq 0x1414
movb $0x0, (%rsp)
cmpb $0x1, (%r13)
jne 0x379a
addq $0x4, %r13
leaq 0x4(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x4a98
movb $0x1, -0x4(%rbp)
callq 0x2624
movzbl (%r12), %esi
addq $0x4, %r12
xorl %edx, %edx
testl %esi, %esi
cmovneq %r12, %rdx
movq %rsp, %rdi
callq 0x4b8c
movq %r15, %rdi
movq %r14, %rsi
callq 0x266a
movb (%rsp), %al
cmpb %bl, %al
jne 0x37e7
testb %al, %al
je 0x37d8
leaq 0x4(%rsp), %rdi
callq 0x2794
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2888(%rip), %rdi      # 0x6076
leaq 0x2835(%rip), %rsi      # 0x602a
leaq 0x31f8(%rip), %rcx      # 0x69f4
movl $0xd8, %edx
callq 0x10a0
movq %rax, %rbx
cmpb $0x1, (%rsp)
jne 0x3819
leaq 0x4(%rsp), %rdi
callq 0x2794
movq %rbx, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O1/cassioneri[P]delayed_init/delayed_init.cpp
// Function: void test_indirection_uninitialised<overload::delayed_init<helper>>(int)
void test_indirection_uninitialised(int line) {

  where(line, __func__);
  D d;
  helper::mark_call_stack();
  try {
    (*d).get();
    assert(false);
  }
  catch (std::logic_error&) {
  }
  catch (...) {
    assert(false);
  }
  helper::check_call_stack({});
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0x3186(%rip), %rsi      # 0x6c20
callq 0x1414
movb $0x0, 0x8(%rsp)
callq 0x2624
leaq 0x8(%rsp), %rdi
callq 0x4ca6
movq %rax, %rdi
callq 0x4d04
leaq 0x2636(%rip), %rdi      # 0x60f8
leaq 0x2561(%rip), %rsi      # 0x602a
leaq 0x316f(%rip), %rcx      # 0x6c3f
movl $0xe7, %edx
callq 0x10a0
movq %rdx, %rbx
movq %rax, %rdi
callq 0x1060
cmpl $0x2, %ebx
jne 0x3b0f
callq 0x1170
xorl %edi, %edi
xorl %esi, %esi
callq 0x266a
cmpb $0x1, 0x8(%rsp)
jne 0x3b09
leaq 0xc(%rsp), %rdi
callq 0x2794
addq $0x10, %rsp
popq %rbx
retq
callq 0x11f0
jmp 0x3b16
movq %rax, %rbx
cmpb $0x1, 0x8(%rsp)
jne 0x3b2a
leaq 0xc(%rsp), %rdi
callq 0x2794
movq %rbx, %rdi
callq 0x11b0
// File: /workspace/github_cpp_makefile_star2_O1/cassioneri[P]delayed_init/delayed_init.cpp
// Function: void test_indirection_initialised<overload::delayed_init<helper>>(int, std::initializer_list<helper::method>)
void test_indirection_initialised(int line, method_list ml) {
  where(line, __func__);
  D d(helper(1));
  helper::mark_call_stack();
  (*d).get();
  helper::check_call_stack(ml);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
leaq 0x3117(%rip), %rsi      # 0x6d05
callq 0x1414
leaq 0x14(%rsp), %r12
movq %r12, %rdi
movl $0x1, %esi
callq 0x2744
leaq 0x10(%rsp), %rbx
movb $0x0, -0x4(%rbx)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4a46
movb $0x1, -0x4(%rbx)
movq %r12, %rdi
callq 0x2794
callq 0x2624
leaq 0xc(%rsp), %rdi
callq 0x4ca6
movq %rax, %rdi
callq 0x4d04
movq %r15, %rdi
movq %r14, %rsi
callq 0x266a
cmpb $0x1, 0xc(%rsp)
jne 0x3c56
movq %rbx, %rdi
callq 0x2794
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
cmpb $0x1, 0xc(%rsp)
jne 0x3c74
movq %rbx, %rdi
callq 0x2794
movq %r14, %rdi
callq 0x11b0