// File: /workspace/github_cpp_makefile_star2_O1/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), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movzwl 0x58(%rsp), %r15d
andl $0xfe00, %r15d          # imm = 0xFE00
leal 0x7(%r15), %ecx
movw %cx, 0x58(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%rsp)
movq %rax, 0x70(%rsp)
movl $0x30, %edi
callq 0x115b0
movq %rax, %rcx
addq $0x8, %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, 0x20(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq $0x0, 0x28(%rax)
movq %rax, 0x50(%rsp)
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x79d05
movq 0x48(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rax
movzwl 0x8(%rax), %ecx
movzbl %cl, %edx
movl %ecx, %esi
andl $0xff00, %esi           # imm = 0xFF00
orl $0x7, %esi
movw %si, 0x8(%rax)
orl %edx, %r15d
movw %r15w, 0x58(%rsp)
movq (%rax), %rdx
movq 0x50(%rsp), %rdi
movq %rdi, (%rax)
movq %rdx, 0x50(%rsp)
andl $0xfe07, %esi           # imm = 0xFE07
movw %si, 0x8(%rax)
andl $0x100, %ecx            # imm = 0x100
orl %r15d, %ecx
movw %cx, 0x58(%rsp)
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x79d67
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
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7a768
movl 0xb0(%rsp), %r13d
cmpl $0xc, %r13d
jne 0x79dad
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7a768
jmp 0x79d92
cmpl $0x2, %r13d
jne 0x79dbf
cmpq $0x0, 0x38(%rsp)
je 0x7a001
movq 0x38(%rsp), %rdx
movq %r12, %rdi
xorl %esi, %esi
leaq 0x44867(%rip), %rcx     # 0xbe637
xorl %r8d, %r8d
callq 0x11920
movl $0x3, %eax
cmpl $0x6, %r13d
je 0x79e15
cmpl $0x5, %r13d
jne 0x7a009
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x7ae4e
testb %al, %al
jne 0x79ebe
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7b0a6
jmp 0x79ff3
cmpb $0x1, 0x10b(%rbx)
jne 0x7a009
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
leaq 0x8(%rsp), %rdx
callq 0x7b158
movl %eax, %r13d
testb %al, %al
je 0x79e97
leaq 0x78(%rsp), %r15
movq %r15, %rdi
leaq 0x8(%rsp), %rsi
callq 0x7b3a0
movq %r12, %rdi
movq %r15, %rsi
callq 0x11750
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x79ea6
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x79ea6
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7b0a6
xorl %ebp, %ebp
leaq 0x8(%rsp), %rdi
callq 0x82500
movl $0x1, %eax
testb %r13b, %r13b
je 0x7a009
movq %rbx, %rdi
leaq 0x78(%rsp), %rsi
callq 0x7a768
cmpl $0xb, 0x78(%rsp)
jne 0x79f84
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x79ef0
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 0x83ef4
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0x8af44
movq %rbx, %rdi
callq 0x7962e
movl %eax, %r13d
movq %rbx, %rdi
callq 0x8aef8
testb %r13b, %r13b
je 0x79fe6
movq %rbx, %rdi
leaq 0x98(%rsp), %rsi
callq 0x7a768
movl 0x98(%rsp), %eax
cmpl $0xc, %eax
ja 0x7a017
movl $0x1404, %ecx           # imm = 0x1404
btl %eax, %ecx
jae 0x7a017
movl 0x98(%rsp), %eax
cmpl $0xc, %eax
jne 0x79ffc
movq %rbx, %rdi
leaq 0x98(%rsp), %rsi
callq 0x7a768
jmp 0x79f62
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
leaq 0x471a0(%rip), %rsi     # 0xc113d
leaq 0x471bd(%rip), %rdx     # 0xc1161
callq 0x1ab58
movq %rbx, %rdi
movq %r13, %rsi
leaq 0x78(%rsp), %rdx
xorl %ecx, %ecx
callq 0x79b74
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7b0a6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x79ff3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x79ff3
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7b0a6
movl $0x1, %eax
xorl %ebp, %ebp
jmp 0x7a009
cmpl $0x2, %eax
jne 0x7a013
movb $0x1, %bpl
movl $0x1, %eax
testl %eax, %eax
je 0x79d87
jmp 0x7a063
xorl %eax, %eax
jmp 0x7a009
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
leaq 0x47132(%rip), %rsi     # 0xc1162
leaq 0x47153(%rip), %rdx     # 0xc118a
callq 0x1ab58
movq %rbx, %rdi
movq %r13, %rsi
leaq 0x98(%rsp), %rdx
xorl %ecx, %ecx
callq 0x79b74
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7b0a6
jmp 0x79fc8
cmpl $0x3, %eax
jne 0x7a0ca
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x4710f(%rip), %rsi     # 0xc118b
leaq 0x47129(%rip), %rdx     # 0xc11ac
callq 0x1ab58
leaq 0x8(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x79b74
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7b0a6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7a0c8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
xorl %ebp, %ebp
leaq 0x50(%rsp), %rdi
callq 0x82500
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x7a0f0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x115c0
andb $0x1, %bpl
movl %ebp, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7a159
jmp 0x7a121
jmp 0x7a159
jmp 0x7a159
jmp 0x7a121
movq %rax, %rbx
jmp 0x7a166
jmp 0x7a144
jmp 0x7a159
jmp 0x7a159
jmp 0x7a159
jmp 0x7a159
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7a15c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x7a15c
jmp 0x7a159
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x82500
jmp 0x7a15c
jmp 0x7a159
jmp 0x7a159
jmp 0x7a159
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x82500
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x7a182
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a70