// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::readObject(Json::Reader::Token&)
bool Reader::readObject(Token& tokenStart) {
  Token tokenName;
  std::string name;
  Value init(objectValue);
  currentValue().swapPayload(init);
  currentValue().setOffsetStart(tokenStart.start_ - begin_);
  while (readToken(tokenName)) {
    bool initialTokenOk = true;
    while (tokenName.type_ == tokenComment && initialTokenOk)
      initialTokenOk = readToken(tokenName);
    if (!initialTokenOk)
      break;
    if (tokenName.type_ == tokenObjectEnd && name.empty()) // empty object
      return true;
    name = "";
    if (tokenName.type_ == tokenString) {
      if (!decodeString(tokenName, name))
        return recoverFromError(tokenObjectEnd);
    } else if (tokenName.type_ == tokenNumber && features_.allowNumericKeys_) {
      Value numberName;
      if (!decodeNumber(tokenName, numberName))
        return recoverFromError(tokenObjectEnd);
      name = numberName.asString();
    } else {
      break;
    }

    Token colon;
    if (!readToken(colon) || colon.type_ != tokenMemberSeparator) {
      return addErrorAndRecover(
          "Missing ':' after object member name", colon, tokenObjectEnd);
    }
    Value& value = currentValue()[name];
    nodes_.push(&value);
    bool ok = readValue();
    nodes_.pop();
    if (!ok) // error already set
      return recoverFromError(tokenObjectEnd);

    Token comma;
    if (!readToken(comma) ||
        (comma.type_ != tokenObjectEnd && comma.type_ != tokenArraySeparator &&
         comma.type_ != tokenComment)) {
      return addErrorAndRecover(
          "Missing ',' or '}' in object declaration", comma, tokenObjectEnd);
    }
    bool finalizeTokenOk = true;
    while (comma.type_ == tokenComment && finalizeTokenOk)
      finalizeTokenOk = readToken(comma);
    if (comma.type_ == tokenObjectEnd)
      return true;
  }
  return addErrorAndRecover(
      "Missing '}' or object member name", tokenName, tokenObjectEnd);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
xorl %r15d, %r15d
movq %r15, -0x8(%rax)
movb $0x0, (%rax)
movq %r15, 0xa8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x98(%rsp)
movl $0x30, %edi
callq 0x115b0
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq %r15, 0x28(%rax)
movq 0x30(%rbx), %rcx
cmpq 0x38(%rbx), %rcx
jne 0x78ac0
movq 0x48(%rbx), %rdx
movl $0x200, %ecx            # imm = 0x200
addq -0x8(%rdx), %rcx
movq -0x8(%rcx), %rcx
movzwl 0x8(%rcx), %edx
movq (%rcx), %rsi
movq %rax, (%rcx)
movq %rsi, 0x88(%rsp)
movl %edx, %eax
andl $0xfe00, %eax           # imm = 0xFE00
orl $0x7, %eax
movw %ax, 0x8(%rcx)
andl $0x1ff, %edx            # imm = 0x1FF
movw %dx, 0x90(%rsp)
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x78b09
movq 0x48(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rax
movq 0x8(%r14), %rcx
subq 0xc0(%rbx), %rcx
movq %rcx, 0x18(%rax)
leaq 0xb0(%rsp), %r14
leaq 0x30(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x70(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x793c0
movl 0xb0(%rsp), %ebp
cmpl $0xc, %ebp
jne 0x78b57
movq %rbx, %rdi
movq %r14, %rsi
callq 0x793c0
jmp 0x78b3e
cmpl $0x2, %ebp
jne 0x78b6b
movq 0x38(%rsp), %rdx
testq %rdx, %rdx
jne 0x78b70
jmp 0x78ce4
movq 0x38(%rsp), %rdx
movq %r12, %rdi
xorl %esi, %esi
leaq 0x43ab8(%rip), %rcx     # 0xbc634
xorl %r8d, %r8d
callq 0x11910
cmpl $0x6, %ebp
je 0x78bad
cmpl $0x5, %ebp
jne 0x78ceb
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x79a5a
testb %al, %al
jne 0x78c2c
jmp 0x78d89
cmpb $0x1, 0x10b(%rbx)
jne 0x78ceb
andw $0xfe00, 0x10(%rsp)     # imm = 0xFE00
leaq 0x18(%rsp), %rax
xorl %ecx, %ecx
movq %rcx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq %rcx, 0x8(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x79d64
testb %al, %al
je 0x78d98
leaq 0x50(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x79efc
movq %r12, %rdi
movq %rbp, %rsi
callq 0x11740
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x78c24
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %r13, %rdi
callq 0x80736
movq %rbx, %rdi
leaq 0x50(%rsp), %rsi
callq 0x793c0
cmpl $0xb, 0x50(%rsp)
jne 0x78d34
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x78c5e
movq 0x48(%rbx), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x8(%rax), %rdi
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
callq 0x82012
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x88d68
movq %rbx, %rdi
callq 0x784de
movl %eax, %ebp
movq %rbx, %rdi
callq 0x88d1c
testb %bpl, %bpl
je 0x78d77
movq %rbx, %rdi
movq %r15, %rsi
callq 0x793c0
movl 0x70(%rsp), %eax
cmpl $0xc, %eax
ja 0x78db1
movl $0x1404, %ecx           # imm = 0x1404
btl %eax, %ecx
jae 0x78db1
movl 0x70(%rsp), %eax
cmpl $0xc, %eax
jne 0x78cdb
movq %rbx, %rdi
movq %r15, %rsi
callq 0x793c0
jmp 0x78cc5
cmpl $0x2, %eax
jne 0x78b33
movb $0x1, %bl
jmp 0x78e10
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x4649c(%rip), %rsi     # 0xbf19b
leaq 0x464b6(%rip), %rdx     # 0xbf1bc
callq 0x1a88c
leaq 0x8(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x7894e
movq %rbx, %rdi
movl $0x2, %esi
callq 0x79cb2
jmp 0x78df2
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x46405(%rip), %rsi     # 0xbf14d
leaq 0x46422(%rip), %rdx     # 0xbf171
callq 0x1a88c
leaq 0x8(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x7894e
movq %rbx, %rdi
movl $0x2, %esi
callq 0x79cb2
jmp 0x78df2
movq %rbx, %rdi
movl $0x2, %esi
callq 0x79cb2
jmp 0x78e0e
movq %rbx, %rdi
movl $0x2, %esi
callq 0x79cb2
jmp 0x78e0e
movq %rbx, %rdi
movl $0x2, %esi
callq 0x79cb2
leaq 0x8(%rsp), %rdi
callq 0x80736
jmp 0x78e0e
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x463ad(%rip), %rsi     # 0xbf172
leaq 0x463ce(%rip), %rdx     # 0xbf19a
callq 0x1a88c
leaq 0x8(%rsp), %rsi
leaq 0x70(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x7894e
movq %rbx, %rdi
movl $0x2, %esi
callq 0x79cb2
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x78e0e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
xorl %ebx, %ebx
leaq 0x88(%rsp), %rdi
callq 0x80736
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x78e39
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x115c0
movl %ebx, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x78e9f
jmp 0x78e80
jmp 0x78e9f
jmp 0x78e5d
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e5d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x78ea2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x78ea2
jmp 0x78e80
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x80736
jmp 0x78ea2
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e9f
jmp 0x78e9f
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x80736
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x78ecb
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a60
nop