// File: /workspace/github_cpp_makefile_star2_O3/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, %rbx
movq %rdi, %r14
movzwl 0x8(%rdi), %r15d
testb %r15b, %r15b
je 0x14ecd
movzbl %r15b, %eax
cmpl $0x7, %eax
je 0x14f45
leaq -0x1e8(%rbp), %rbx
movq %rbx, %rdi
callq 0x8860
leaq 0x5507f(%rip), %rsi     # 0x69f26
movl $0x38, %edx
movq %rbx, %rdi
callq 0x8720
leaq -0x1e0(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x89f0
leaq -0x48(%rbp), %rdi
callq 0x125d5
movl $0x30, %edi
callq 0x8640
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
xorl %ecx, %ecx
movq %rcx, 0x28(%rax)
movq (%r14), %rdx
movq %rax, (%r14)
leaq -0x70(%rbp), %rdi
movq %rdx, (%rdi)
movl %r15d, %eax
andl $0xfffffe00, %eax       # imm = 0xFFFFFE00
orl $0x7, %eax
movw %ax, 0x8(%r14)
andl $0x1ff, %r15d           # imm = 0x1FF
movw %r15w, 0x8(%rdi)
movq 0x10(%r14), %rax
movq %rcx, 0x10(%r14)
movq %rax, 0x10(%rdi)
movq 0x18(%r14), %rax
movq %rcx, 0x18(%r14)
movq %rax, 0x18(%rdi)
movq 0x20(%r14), %rax
movq %rcx, 0x20(%r14)
movq %rax, 0x20(%rdi)
callq 0x1315e
movq %rbx, %rdi
callq 0x8290
movq %rbx, -0x48(%rbp)
shll $0x2, %eax
movl %eax, -0x40(%rbp)
movq (%r14), %rax
movq 0x10(%rax), %r13
leaq 0x8(%rax), %r15
testq %r13, %r13
je 0x14f8d
leaq -0x48(%rbp), %r12
leaq 0x20(%r13), %rdi
movq %r12, %rsi
callq 0x12986
testb %al, %al
cmoveq %r13, %r15
movzbl %al, %eax
movq 0x10(%r13,%rax,8), %r13
testq %r13, %r13
jne 0x14f6b
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %r15
je 0x14fa7
leaq 0x20(%r15), %rdi
leaq -0x48(%rbp), %rsi
callq 0x12a2a
testb %al, %al
jne 0x15007
callq 0x1211c
leaq 0x7af05(%rip), %rdx     # 0x8feb8
leaq -0x1e8(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x1689a
movq (%r14), %rdi
leaq -0x1e8(%rbp), %rdx
movq %r15, %rsi
callq 0x17260
movq %rax, %r15
leaq -0x1d8(%rbp), %rbx
movq %rbx, %rdi
callq 0x1315e
movq -0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x15003
movl -0x1e0(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x15003
callq 0x87a0
movq -0x48(%rbp), %rbx
testq %rbx, %rbx
je 0x1501f
movl -0x40(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x1501f
movq %rbx, %rdi
callq 0x87a0
addq $0x30, %r15
movq %r15, %rax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15054
callq 0x85d0
jmp 0x15054
jmp 0x15051
movq %rax, %r14
movq 0x78f6d(%rip), %rsi     # 0x8dfc8
leaq -0x1e8(%rbp), %rdi
callq 0x8370
leaq -0x178(%rbp), %rdi
callq 0x8220
jmp 0x150ac
jmp 0x15091
movq %rax, %r14
leaq -0x1e8(%rbp), %rdi
callq 0x168f8
jmp 0x1508b
movq %rax, %r14
movq -0x48(%rbp), %rbx
jmp 0x15094
movq %rax, %r14
testq %rbx, %rbx
je 0x150ac
movl -0x40(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x150ac
movq %rbx, %rdi
callq 0x87a0
movq %r14, %rdi
callq 0x8b30