// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Json/json_value.cpp
// Function: Json::Value::resolveReference(char const*)
Value& Value::resolveReference(const char* key) {
  JSON_ASSERT_MESSAGE(
      type_ == nullValue || type_ == objectValue,
      "in Json::Value::resolveReference(): requires objectValue");
  if (type_ == nullValue)
    *this = Value(objectValue);
  CZString actualKey(key, static_cast<unsigned>(strlen(key)),
                     CZString::noDuplication); // NOTE!
  ObjectValues::iterator it = value_.map_->lower_bound(actualKey);
  if (it != value_.map_->end() && (*it).first == actualKey)
    return (*it).second;

  ObjectValues::value_type defaultValue(actualKey, nullSingleton());
  it = value_.map_->insert(it, defaultValue);
  Value& value = (*it).second;
  return value;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rsi, %r14
movq %rdi, %rbx
movzwl 0x8(%rdi), %r12d
testb %r12b, %r12b
je 0x152fb
movzbl %r12b, %eax
cmpl $0x7, %eax
je 0x153c8
leaq -0x1f0(%rbp), %rbx
movq %rbx, %rdi
callq 0x8870
leaq 0x54c51(%rip), %rsi     # 0x69f26
movl $0x38, %edx
movq %rbx, %rdi
callq 0x8730
leaq -0x1e8(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x8a00
leaq -0x50(%rbp), %rdi
callq 0x1288d
movzbl %r12b, %eax
movl %eax, -0x2c(%rbp)
movl $0xfffffe00, %r13d      # imm = 0xFFFFFE00
leaq -0x78(%rbp), %r15
andl 0x8(%r15), %r13d
leal 0x7(%r13), %eax
movw %ax, 0x8(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
xorl %eax, %eax
movq %rax, 0x20(%r15)
movl $0x30, %edi
callq 0x8640
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, 0x20(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
xorl %ecx, %ecx
movq %rcx, 0x28(%rax)
movq %rax, (%r15)
movl %r12d, %eax
andl $0xffffff00, %eax       # imm = 0xFFFFFF00
orl $0x7, %eax
movw %ax, 0x8(%rbx)
addl -0x2c(%rbp), %r13d
movw %r13w, 0x8(%r15)
movq (%rbx), %rcx
movq (%r15), %rdx
movq %rdx, (%rbx)
movq %rcx, (%r15)
andl $0xfe07, %eax           # imm = 0xFE07
movw %ax, 0x8(%rbx)
andl $0x100, %r12d           # imm = 0x100
orl %r13d, %r12d
movw %r12w, 0x8(%r15)
movq 0x10(%rbx), %rax
movq 0x10(%r15), %rcx
movq %rcx, 0x10(%rbx)
movq %rax, 0x10(%r15)
movq 0x18(%rbx), %rax
movq 0x18(%r15), %rcx
movq %rcx, 0x18(%rbx)
movq %rax, 0x18(%r15)
movq 0x20(%rbx), %rax
movq 0x20(%r15), %rcx
movq %rcx, 0x20(%rbx)
movq %rax, 0x20(%r15)
movq %r15, %rdi
callq 0x13416
movq %r14, %rdi
callq 0x8290
movq %r14, -0x50(%rbp)
shll $0x2, %eax
movl %eax, -0x48(%rbp)
movq (%rbx), %r14
movq 0x10(%r14), %r12
addq $0x8, %r14
testq %r12, %r12
je 0x1540e
leaq -0x50(%rbp), %r15
leaq 0x20(%r12), %rdi
movq %r15, %rsi
callq 0x12c3a
testb %al, %al
cmoveq %r12, %r14
movzbl %al, %eax
movq 0x10(%r12,%rax,8), %r12
testq %r12, %r12
jne 0x153ee
movq (%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r14
je 0x1542b
leaq 0x20(%r14), %rdi
leaq -0x50(%rbp), %rsi
callq 0x12cde
testb %al, %al
jne 0x15487
callq 0x123c0
leaq 0x7aa81(%rip), %rdx     # 0x8feb8
leaq -0x1f0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x16ed6
movq (%rbx), %rdi
leaq -0x1f0(%rbp), %rdx
movq %r14, %rsi
callq 0x17894
movq %rax, %r14
leaq -0x1e0(%rbp), %rbx
movq %rbx, %rdi
callq 0x13416
movq -0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x15487
movl -0x1e8(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x15487
callq 0x87b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x154a0
movl -0x48(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x154a0
callq 0x87b0
addq $0x30, %r14
movq %r14, %rax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x154d5
callq 0x85d0
jmp 0x154d5
jmp 0x154d2
movq %rax, %rbx
movq 0x78ae4(%rip), %rsi     # 0x8dfc0
leaq -0x1f0(%rbp), %rdi
callq 0x8370
leaq -0x180(%rbp), %rdi
callq 0x8220
jmp 0x15527
jmp 0x1550b
movq %rax, %rbx
leaq -0x1f0(%rbp), %rdi
callq 0x16f34
jmp 0x1550e
jmp 0x1550b
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x15527
movl -0x48(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x15527
callq 0x87b0
movq %rbx, %rdi
callq 0x8b40
nop