// File: /workspace/github_cpp_makefile_star2_O1/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 0x603bb(%rip), %rax     # 0xaeb70
movq %rax, (%rdi)
callq 0xa070
movl $0x0, (%rax)
testq %r12, %r12
je 0x4e866
movq %rax, %r15
movq (%r12), %rax
movq %r12, %rdi
callq *0x70(%rax)
testq %rax, %rax
je 0x4e806
movl $0x0, (%r15)
cmpq $0x0, 0x8(%rbx)
jne 0x4e905
addq $0x8, %rax
leaq 0x28(%rsp), %rsi
movq %r14, (%rsi)
movq %rax, %rdi
callq 0x747c8
jmp 0x4e854
movq (%r12), %rax
movq %r12, %rdi
callq *0x78(%rax)
testq %rax, %rax
je 0x4e854
movl $0x0, (%r15)
cmpq $0x0, 0x8(%rbx)
je 0x4e9a4
movq %rax, %r12
leaq 0x8(%rax), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x74940
addq $0x10, %r12
cmpq %r12, %rax
jne 0x4ea4d
movq %r15, %rdi
movq %rbx, %rsi
callq 0x657b0
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 0x4ea43
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3e0b0(%rip), %rsi     # 0x8c936
leaq 0x3e0bc(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fdd8
leaq 0xe8(%rsp), %rdi
movl $0xbe3, %esi            # imm = 0xBE3
callq 0x2d60a
leaq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d562
leaq 0x3c315(%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 0x4eb28
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x4eb35
callq 0xa6b0
testl %eax, %eax
jne 0x4ea43
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3e011(%rip), %rsi     # 0x8c936
leaq 0x3e01d(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fdd8
leaq 0xe8(%rsp), %rdi
movl $0xbe7, %esi            # imm = 0xBE7
callq 0x2d60a
leaq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d562
leaq 0x3c276(%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 0x4ebb2
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x4ebbf
callq 0xa6b0
testl %eax, %eax
jne 0x4ea43
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3df72(%rip), %rsi     # 0x8c936
leaq 0x3df7e(%rip), %rdx     # 0x8c949
leaq 0xc8(%rsp), %rdi
callq 0x2fdd8
leaq 0xe8(%rsp), %rdi
movl $0xbec, %esi            # imm = 0xBEC
callq 0x2d60a
leaq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d562
leaq 0x3c1d7(%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 0x4ecad
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x4ecba
movl $0x1, %edi
callq 0xa6c0
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r14
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x3f233(%rip), %rsi     # 0x8dc9d
leaq 0x3f262(%rip), %rdx     # 0x8dcd3
leaq 0x8(%rsp), %rdi
callq 0x2fdd8
leaq 0x3f259(%rip), %rsi     # 0x8dcdb
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 0x4eaaf
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x4eabc
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 0x38d2b
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x2d562
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x614cf(%rip), %rsi     # 0xaffe8
movq 0x61440(%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 0x3f13c(%rip), %rsi     # 0x8dc9d
leaq 0x3f16b(%rip), %rdx     # 0x8dcd3
leaq 0xa8(%rsp), %rdi
callq 0x2fdd8
leaq 0x3ddb7(%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 0x4ec3c
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x4ec49
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 0x3f0b2(%rip), %rsi     # 0x8dc9d
leaq 0x3f0e1(%rip), %rdx     # 0x8dcd3
leaq 0xa8(%rsp), %rdi
callq 0x2fdd8
leaq 0x3dd2d(%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 0x4ed37
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x4ed44
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 0x2d562
leaq 0x3f059(%rip), %rsi     # 0x8dcd4
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 0x4eda8
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x4edb5
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 0x3efb7(%rip), %rsi     # 0x8dc9d
leaq 0x3efe6(%rip), %rdx     # 0x8dcd3
leaq 0xa8(%rsp), %rdi
callq 0x2fdd8
leaq 0x3dc32(%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 0x4edd6
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x4ede3
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 0x2d562
leaq 0x3e9ff(%rip), %rsi     # 0x8d775
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 0x4ee40
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x4ee4d
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 0x3523b
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 0x2d562
leaq 0x3e95e(%rip), %rsi     # 0x8d773
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 0x4ee6e
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x4ee7b
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 0x3523b
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 0x3523b
jmp 0x4eea8
jmp 0x4eec4
jmp 0x4eeeb
jmp 0x4eea8
jmp 0x4eec4
jmp 0x4ef0e
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4eec7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eec7
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4eeee
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eeee
jmp 0x4eeeb
jmp 0x4ef80
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ef11
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ef11
jmp 0x4ef0e
jmp 0x4efc2
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4ef83
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ef83
jmp 0x4ef80
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ef58
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4ef58
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4efa4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4efa4
jmp 0x4f00b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4efc5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4efc5
jmp 0x4efc2
movq %rax, %rbx
movb $0x1, %bpl
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x4eff0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4eff0
jmp 0x4f048
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4f00e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4f00e
jmp 0x4f00b
movq %rax, %rbx
movb $0x1, %bpl
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4f039
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4f039
jmp 0x4f06c
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4f04b
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4f04b
jmp 0x4f048
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x4f06f
movq %r14, %rdi
callq 0xa440
jmp 0x4f06f
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f06f
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x4f06f
jmp 0x4f06c
movq %rax, %rbx
movq %rbx, %rdi
callq 0xaa10
nop