// File: 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:
subq $0xf8, %rsp
movq %rdi, 0xe8(%rsp)
movl %esi, 0xe4(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x50(%rsp)
movw 0x8(%rax), %ax
andw $0xff, %ax
movzwl %ax, %eax
cmpl $0x0, %eax
jne 0x123632
leaq 0xc8(%rsp), %rdi
movq %rdi, 0x48(%rsp)
movl $0x6, %esi
callq 0x1212e0
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x121b00
jmp 0x1235fb
leaq 0xc8(%rsp), %rdi
callq 0x121950
jmp 0x123632
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x121950
jmp 0x12362d
jmp 0x12382b
movl 0xe4(%rsp), %esi
leaq 0xa8(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x120fd0
movq 0x50(%rsp), %rax
movq 0x38(%rsp), %rsi
movq (%rax), %rdi
callq 0x125b40
movq %rax, 0x40(%rsp)
jmp 0x123664
movq 0x50(%rsp), %rax
movq 0x40(%rsp), %rcx
movq %rcx, 0xa0(%rsp)
movq (%rax), %rdi
callq 0x125a60
movq %rax, 0x30(%rsp)
jmp 0x123685
movq 0x30(%rsp), %rax
movq %rax, 0x98(%rsp)
leaq 0xa0(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x125840
movb %al, 0x2f(%rsp)
jmp 0x1236ad
movb 0x2f(%rsp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x2e(%rsp)
jne 0x1236be
jmp 0x1236e8
leaq 0xa0(%rsp), %rdi
callq 0x125880
movq %rax, 0x20(%rsp)
jmp 0x1236d2
movq 0x20(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x121270
movb %al, 0x2e(%rsp)
movb 0x2e(%rsp), %al
testb $0x1, %al
jne 0x1236f2
jmp 0x123740
leaq 0xa0(%rsp), %rdi
callq 0x125880
movq %rax, 0x18(%rsp)
jmp 0x123706
movq 0x18(%rsp), %rax
addq $0x10, %rax
movq %rax, 0xf0(%rsp)
movl $0x1, 0x94(%rsp)
jmp 0x1237fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
jmp 0x12381a
leaq 0x43121(%rip), %rdx     # 0x166868
leaq 0x68(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x125b70
jmp 0x12375b
movq 0x50(%rsp), %rax
movq (%rax), %rdi
movq 0xa0(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x125be0
movq %rax, 0x10(%rsp)
jmp 0x123786
movq 0x10(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x125880
movq %rax, 0x8(%rsp)
jmp 0x1237b1
movq 0x8(%rsp), %rax
addq $0x10, %rax
movq %rax, 0xf0(%rsp)
movl $0x1, 0x94(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x125c30
jmp 0x1237f9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x125c30
jmp 0x1237fb
jmp 0x1237fd
jmp 0x12381a
leaq 0xa8(%rsp), %rdi
callq 0x121100
movq 0xf0(%rsp), %rax
addq $0xf8, %rsp
retq
leaq 0xa8(%rsp), %rdi
callq 0x121100
jmp 0x123829
jmp 0x12382b
movq 0xc0(%rsp), %rdi
callq 0x86d80
movq %rax, %rdi
callq 0x91290