// File: /workspace/github_cpp_makefile_star2_O3/ncbi[P]amr/common.cpp
// Function: Common_sp::Json::Json(Common_sp::JsonContainer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Json::Json (JsonContainer* parent,
            const string& name)
{ 
  ASSERT (parent);
  
  if (const JsonArray* jArray = parent->asJsonArray ())
  {
    ASSERT (name. empty ());  
    var_cast (jArray) -> data << this;
  }
  else if (const JsonMap* jMap = parent->asJsonMap ())
  {
    ASSERT (! name. empty ());  
    if (contains (jMap->data, name))
      throw runtime_error (FUNC "Duplicate name in JSON map: " + strQuote (name));
    var_cast (jMap) -> data [name] = this;
  }
  // throw() in a child constructor will invoke terminate() if an ancestor is JsonArray or JsonMap
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
leaq 0x608f1(%rip), %rax     # 0xaebb0
movq %rax, (%rdi)
callq 0xa070
movl $0x0, (%rax)
testq %r12, %r12
je 0x4e370
movq %rax, %r15
movq (%r12), %rax
movq %r12, %rdi
callq *0x70(%rax)
testq %rax, %rax
je 0x4e310
movl $0x0, (%r15)
cmpq $0x0, 0x8(%rbx)
jne 0x4e40f
addq $0x8, %rax
leaq 0x28(%rsp), %rsi
movq %r14, (%rsi)
movq %rax, %rdi
callq 0x7443c
jmp 0x4e35e
movq (%r12), %rax
movq %r12, %rdi
callq *0x78(%rax)
testq %rax, %rax
je 0x4e35e
movl $0x0, (%r15)
cmpq $0x0, 0x8(%rbx)
je 0x4e4ae
movq %rax, %r12
leaq 0x8(%rax), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x745bc
addq $0x10, %r12
cmpq %r12, %rax
jne 0x4e557
movq %r15, %rdi
movq %rbx, %rsi
callq 0x65360
movq %r14, (%rax)
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xa6b0
testl %eax, %eax
jne 0x4e54d
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3e5a6(%rip), %rsi     # 0x8c936
leaq 0x3e5b2(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fa1a
leaq 0xe8(%rsp), %rdi
movl $0xbe3, %esi            # imm = 0xBE3
callq 0x2d1fa
leaq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d152
leaq 0x3c80b(%rip), %rsi     # 0x8abe5
leaq 0x88(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e632
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x4e63f
callq 0xa6b0
testl %eax, %eax
jne 0x4e54d
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3e507(%rip), %rsi     # 0x8c936
leaq 0x3e513(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fa1a
leaq 0xe8(%rsp), %rdi
movl $0xbe7, %esi            # imm = 0xBE7
callq 0x2d1fa
leaq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d152
leaq 0x3c76c(%rip), %rsi     # 0x8abe5
leaq 0x88(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e6bc
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x4e6c9
callq 0xa6b0
testl %eax, %eax
jne 0x4e54d
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3e468(%rip), %rsi     # 0x8c936
leaq 0x3e474(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fa1a
leaq 0xe8(%rsp), %rdi
movl $0xbec, %esi            # imm = 0xBEC
callq 0x2d1fa
leaq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d152
leaq 0x3c6cd(%rip), %rsi     # 0x8abe5
leaq 0x88(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e7b7
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x4e7c4
movl $0x1, %edi
callq 0xa6c0
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r14
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x3f713(%rip), %rsi     # 0x8dc87
leaq 0x3f742(%rip), %rdx     # 0x8dcbd
leaq 0x8(%rsp), %rdi
callq 0x2fa1a
leaq 0x3f739(%rip), %rsi     # 0x8dcc5
leaq 0x8(%rsp), %rdi
callq 0xaac0
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e5b9
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x4e5c6
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x88(%rsp), %rdi
movq %rbx, %rsi
movl $0x22, %edx
callq 0x38a3a
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x2d152
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x619c5(%rip), %rsi     # 0xaffe8
movq 0x61936(%rip), %rdx     # 0xaff60
movq %r14, %rdi
callq 0xa9b0
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x3f61c(%rip), %rsi     # 0x8dc87
leaq 0x3f64b(%rip), %rdx     # 0x8dcbd
leaq 0xa8(%rsp), %rdi
callq 0x2fa1a
leaq 0x3e2ad(%rip), %rsi     # 0x8c933
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e746
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x4e753
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x3f592(%rip), %rsi     # 0x8dc87
leaq 0x3f5c1(%rip), %rdx     # 0x8dcbd
leaq 0xa8(%rsp), %rdi
callq 0x2fa1a
leaq 0x3e223(%rip), %rsi     # 0x8c933
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e841
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x4e84e
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rsi
leaq 0x68(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2d152
leaq 0x3f539(%rip), %rsi     # 0x8dcbe
leaq 0x48(%rsp), %rdi
callq 0xaac0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e8b2
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x4e8bf
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x3f497(%rip), %rsi     # 0x8dc87
leaq 0x3f4c6(%rip), %rdx     # 0x8dcbd
leaq 0xa8(%rsp), %rdi
callq 0x2fa1a
leaq 0x3e128(%rip), %rsi     # 0x8c933
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e8e0
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x4e8ed
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rsi
leaq 0x68(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2d152
leaq 0x3eedf(%rip), %rsi     # 0x8d75f
leaq 0x48(%rsp), %rdi
callq 0xaac0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e94a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x4e957
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x34fa2
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rsi
leaq 0x68(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2d152
leaq 0x3ee3e(%rip), %rsi     # 0x8d75d
leaq 0x48(%rsp), %rdi
callq 0xaac0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x4e978
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x4e985
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x34fa2
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x34fa2
jmp 0x4e9b2
jmp 0x4e9ce
jmp 0x4e9f5
jmp 0x4e9b2
jmp 0x4e9ce
jmp 0x4ea18
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4e9d1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4e9d1
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e9f8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4e9f8
jmp 0x4e9f5
jmp 0x4ea8a
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ea1b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ea1b
jmp 0x4ea18
jmp 0x4eae8
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4ea8d
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ea8d
jmp 0x4ea8a
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ea62
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ea62
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4eaae
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eaae
jmp 0x4eb2e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4eaeb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eaeb
jmp 0x4eae8
movq %rax, %rbx
movb $0x1, %bpl
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x4eac5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4eadc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %bpl, %bpl
jne 0x4eb59
jmp 0x4eb8a
jmp 0x4eb63
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4eb31
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eb31
jmp 0x4eb2e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4eb59
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eb59
jmp 0x4eb87
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4eb66
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eb66
jmp 0x4eb63
movq %rax, %rbx
movq %r14, %rdi
callq 0xa440
jmp 0x4eb8a
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4eb8a
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eb8a
jmp 0x4eb87
movq %rax, %rbx
movq %rbx, %rdi
callq 0xaa10