// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_value.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, nullSingleton());
  it = value_.map_->insert(it, defaultValue);
  return (*it).second;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
movl %esi, %ebx
movq %rdi, %r14
movzwl 0x8(%rdi), %r15d
testb %r15b, %r15b
je 0x14a10
movzbl %r15b, %eax
cmpl $0x6, %eax
je 0x14a88
leaq -0x1e0(%rbp), %rbx
movq %rbx, %rdi
callq 0x8860
leaq 0x553ea(%rip), %rsi     # 0x69dd4
movl $0x3b, %edx
movq %rbx, %rdi
callq 0x8720
leaq -0x1d8(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x89f0
leaq -0x40(%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 -0x68(%rbp), %rdi
movq %rdx, (%rdi)
movl %r15d, %eax
andl $0xfffffe00, %eax       # imm = 0xFFFFFE00
orl $0x6, %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 $0x0, -0x40(%rbp)
movl %ebx, -0x38(%rbp)
movq (%r14), %rax
movq 0x10(%rax), %r12
leaq 0x8(%rax), %rbx
testq %r12, %r12
je 0x14aca
leaq -0x40(%rbp), %r15
leaq 0x20(%r12), %rdi
movq %r15, %rsi
callq 0x12986
testb %al, %al
cmoveq %r12, %rbx
movzbl %al, %eax
movq 0x10(%r12,%rax,8), %r12
testq %r12, %r12
jne 0x14aa7
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %rbx
je 0x14ae4
leaq 0x20(%rbx), %rdi
leaq -0x40(%rbp), %rsi
callq 0x12a2a
testb %al, %al
jne 0x14b59
callq 0x1211c
leaq 0x7b3c8(%rip), %rdx     # 0x8feb8
leaq -0x1e0(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x1689a
movq (%r14), %rdi
leaq -0x1e0(%rbp), %rdx
movq %rbx, %rsi
callq 0x17260
movq %rax, %rbx
leaq -0x1d0(%rbp), %r14
movq %r14, %rdi
callq 0x1315e
movq -0x10(%r14), %rdi
testq %rdi, %rdi
je 0x14b40
movl -0x1d8(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x14b40
callq 0x87a0
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x14b59
movl -0x38(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x14b59
callq 0x87a0
addq $0x30, %rbx
movq %rbx, %rax
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14b8c
callq 0x85d0
jmp 0x14b8c
jmp 0x14b89
movq %rax, %rbx
movq 0x79435(%rip), %rsi     # 0x8dfc8
leaq -0x1e0(%rbp), %rdi
callq 0x8370
leaq -0x170(%rbp), %rdi
callq 0x8220
jmp 0x14be1
jmp 0x14bde
movq %rax, %rbx
leaq -0x1e0(%rbp), %rdi
callq 0x168f8
jmp 0x14bc3
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x14be1
movl -0x38(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x14be1
callq 0x87a0
jmp 0x14be1
movq %rax, %rbx
movq %rbx, %rdi
callq 0x8b30
nop