// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::operator[](unsigned int)
Value& Value::operator[](ArrayIndex index) {
  JSON_ASSERT_MESSAGE(
      type_ == nullValue || type_ == arrayValue,
      "in Json::Value::operator[](ArrayIndex): requires arrayValue");
  if (type_ == nullValue)
    *this = Value(arrayValue);
  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, nullRef);
  it = value_.map_->insert(it, defaultValue);
  return (*it).second;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movl %esi, %ebp
movq %rdi, %rbx
movzwl 0x8(%rdi), %r15d
testb %r15b, %r15b
je 0x8388b
movzbl %r15b, %eax
cmpl $0x6, %eax
je 0x8394d
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x3df63(%rip), %rsi     # 0xc17c8
movl $0x3b, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x58(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
movzbl %r15b, %eax
movl %eax, 0x4(%rsp)
movl $0xfffffe00, %r12d      # imm = 0xFFFFFE00
leaq 0x28(%rsp), %r14
andl 0x8(%r14), %r12d
leal 0x6(%r12), %eax
movw %ax, 0x8(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
xorl %r13d, %r13d
movq %r13, 0x20(%r14)
movl $0x30, %edi
callq 0x115b0
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)
movq %r13, 0x28(%rax)
movq %rax, (%r14)
movl %r15d, %eax
andl $0xffffff00, %eax       # imm = 0xFFFFFF00
orl $0x6, %eax
movw %ax, 0x8(%rbx)
addl 0x4(%rsp), %r12d
movw %r12w, 0x8(%r14)
movq (%rbx), %rcx
movq (%r14), %rdx
movq %rdx, (%rbx)
movq %rcx, (%r14)
andl $0xfe06, %eax           # imm = 0xFE06
movw %ax, 0x8(%rbx)
andl $0x100, %r15d           # imm = 0x100
orl %r12d, %r15d
movw %r15w, 0x8(%r14)
movq 0x10(%rbx), %rax
movq 0x10(%r14), %rcx
movq %rcx, 0x10(%rbx)
movq %rax, 0x10(%r14)
movups 0x18(%rbx), %xmm0
movups 0x18(%r14), %xmm1
movups %xmm1, 0x18(%rbx)
movups %xmm0, 0x18(%r14)
movq %r14, %rdi
callq 0x82500
movq $0x0, 0x8(%rsp)
movl %ebp, 0x10(%rsp)
movq (%rbx), %r12
movq 0x10(%r12), %r13
addq $0x8, %r12
movq %r12, %r14
testq %r13, %r13
je 0x83995
leaq 0x8(%rsp), %r15
movq %r12, %r14
leaq 0x20(%r13), %rdi
movq %r15, %rsi
callq 0x81f3c
testb %al, %al
cmoveq %r13, %r14
movzbl %al, %eax
movq 0x10(%r13,%rax,8), %r13
testq %r13, %r13
jne 0x83976
cmpq %r12, %r14
je 0x839ac
leaq 0x20(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x81f86
testb %al, %al
jne 0x839fc
leaq 0x3d58d(%rip), %rdx     # 0xc0f40
leaq 0x50(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x89d9e
movq (%rbx), %rdi
leaq 0x50(%rsp), %rdx
movq %r14, %rsi
callq 0x8c464
movq %rax, %r14
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x82500
movq -0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x839fc
movl 0x58(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x839fc
callq 0x11720
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x83a17
movl 0x10(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x83a17
callq 0x11720
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 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x83a55
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x83a55
jmp 0x83a52
movq %rax, %rbx
movq 0x82544(%rip), %rsi     # 0x105fa0
leaq 0x50(%rsp), %rdi
callq 0x112f0
leaq 0xc0(%rsp), %rdi
callq 0x111f0
jmp 0x83aa2
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x89de4
jmp 0x83a87
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x83aa2
movl 0x10(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x83aa2
callq 0x11720
movq %rbx, %rdi
callq 0x11a70