// File: /workspace/github_cpp_makefile_star2_O2/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::readObject(Json::Reader::Token&)
bool Reader::readObject(Token& token) {
  Token tokenName;
  JSONCPP_STRING name;
  Value init(objectValue);
  currentValue().swapPayload(init);
  currentValue().setOffsetStart(token.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.clear();
    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 = JSONCPP_STRING(numberName.asCString());
    } 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
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x68(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0xf0(%rbp), %rdi
pushq $0x7
popq %rsi
callq 0x116f6
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x99d4
movq 0x48(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x11dbc
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x99fb
movq 0x48(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
movq 0x8(%r14), %rsi
subq 0xc0(%rbx), %rsi
callq 0x141b8
leaq -0xc8(%rbp), %r14
leaq -0x90(%rbp), %r13
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa0b6
movl -0xc8(%rbp), %eax
cmpl $0xc, %eax
jne 0x9a40
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa0b6
jmp 0x9a28
cmpl $0x2, %eax
je 0x9bba
andq $0x0, -0x70(%rbp)
movq -0x78(%rbp), %rcx
movb $0x0, (%rcx)
cmpl $0x6, %eax
je 0x9a7f
cmpl $0x5, %eax
jne 0x9bcd
movq %rbx, %rdi
movq %r14, %rsi
leaq -0x78(%rbp), %rdx
callq 0xa688
testb %al, %al
jne 0x9b00
jmp 0x9c6e
cmpb $0x1, 0x10b(%rbx)
jne 0x9bcd
leaq -0x58(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x116f6
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0xa8c6
movl %eax, %r12d
testb %al, %al
je 0x9ae3
leaq -0x58(%rbp), %rdi
callq 0x12156
leaq -0xb0(%rbp), %r15
movq %r15, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x8260
leaq -0x78(%rbp), %rdi
movq %r15, %rsi
callq 0x87a0
movq %r15, %rdi
callq 0x82c0
jmp 0x9aee
movq %rbx, %rdi
pushq $0x2
popq %rsi
callq 0xa868
leaq -0x58(%rbp), %rdi
callq 0x11cce
testb %r12b, %r12b
je 0x9c03
movq %rbx, %rdi
leaq -0xb0(%rbp), %rsi
callq 0xa0b6
cmpl $0xb, -0xb0(%rbp)
jne 0x9c32
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x9b36
movq 0x48(%rbx), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x8(%rax), %rdi
leaq -0x78(%rbp), %rsi
callq 0x139a8
movq %rax, -0x58(%rbp)
movq %rbx, %rdi
leaq -0x58(%rbp), %rsi
callq 0xf994
movq %rbx, %rdi
callq 0x9432
movl %eax, %r12d
movq %rbx, %rdi
callq 0xf934
testb %r12b, %r12b
je 0x9c61
movq %rbx, %rdi
movq %r13, %rsi
callq 0xa0b6
movl -0x90(%rbp), %eax
cmpl $0xc, %eax
ja 0x9c7b
movl $0x1404, %ecx           # imm = 0x1404
btl %eax, %ecx
jae 0x9c7b
movl -0x90(%rbp), %eax
cmpl $0xc, %eax
jne 0x9baf
movq %rbx, %rdi
movq %r13, %rsi
callq 0xa0b6
jmp 0x9b97
cmpl $0x2, %eax
jne 0x9a1d
jmp 0x9c07
cmpq $0x0, -0x70(%rbp)
je 0x9c07
andq $0x0, -0x70(%rbp)
movq -0x78(%rbp), %rax
movb $0x0, (%rax)
leaq 0x5577e(%rip), %rsi     # 0x5f352
leaq -0x58(%rbp), %rdi
leaq -0xb0(%rbp), %rdx
callq 0x8260
leaq -0x58(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
callq 0xaa4a
leaq -0x58(%rbp), %rdi
callq 0x82c0
xorl %ebx, %ebx
jmp 0x9c09
movb $0x1, %bl
leaq -0xf0(%rbp), %rdi
callq 0x11cce
leaq -0x78(%rbp), %rdi
callq 0x82c0
movl %ebx, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x556cb(%rip), %rsi     # 0x5f304
leaq -0x58(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0x8260
leaq -0x58(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
callq 0xaa4a
jmp 0x9bfa
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0xa868
jmp 0x9c03
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0xa868
jmp 0x9c03
leaq 0x556a7(%rip), %rsi     # 0x5f329
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x8260
leaq -0x58(%rbp), %rsi
leaq -0x90(%rbp), %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
callq 0xaa4a
jmp 0x9bfa
jmp 0x9cbe
jmp 0x9cf1
jmp 0x9cf1
jmp 0x9cf1
jmp 0x9cbe
jmp 0x9cf1
jmp 0x9cce
jmp 0x9cce
jmp 0x9cf1
jmp 0x9cf1
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x82c0
jmp 0x9cf4
jmp 0x9cf1
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x11cce
jmp 0x9cf4
jmp 0x9cf1
jmp 0x9cf1
jmp 0x9cf1
jmp 0x9cf1
jmp 0x9cf1
movq %rax, %rbx
jmp 0x9d00
jmp 0x9cf1
jmp 0x9cf1
jmp 0x9cf1
movq %rax, %rbx
leaq -0xf0(%rbp), %rdi
callq 0x11cce
leaq -0x78(%rbp), %rdi
callq 0x82c0
movq %rbx, %rdi
callq 0x8b30
nop