// File: /workspace/github_cpp_makefile_star2_O3/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 -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0xe8(%rbp), %rdi
movl $0x7, %esi
callq 0x12ab8
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x9cff
movq 0x48(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x13288
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x9d26
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 0x16076
leaq -0xc0(%rbp), %r14
leaq -0x50(%rbp), %r15
leaq -0xa8(%rbp), %r13
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa4f6
movl -0xc0(%rbp), %eax
cmpl $0xc, %eax
jne 0x9d6f
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa4f6
jmp 0x9d57
cmpl $0x2, %eax
je 0x9ef4
movq $0x0, -0x68(%rbp)
movq -0x70(%rbp), %rcx
movb $0x0, (%rcx)
cmpl $0x6, %eax
je 0x9dad
cmpl $0x5, %eax
jne 0x9f0a
movq %rbx, %rdi
movq %r14, %rsi
leaq -0x70(%rbp), %rdx
callq 0xac02
testb %al, %al
jne 0x9e20
jmp 0x9fe9
cmpb $0x1, 0x10b(%rbx)
jne 0x9f0a
movq %r15, %rdi
xorl %esi, %esi
callq 0x12ab8
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0xaef4
testb %al, %al
je 0x9ffb
movq %r15, %rdi
callq 0x1365a
leaq -0x90(%rbp), %r12
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x8260
leaq -0x70(%rbp), %rdi
movq %r12, %rsi
callq 0x87c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x9e18
callq 0x85d0
movq %r15, %rdi
callq 0x1315e
movq %rbx, %rdi
leaq -0x90(%rbp), %rsi
callq 0xa4f6
cmpl $0xb, -0x90(%rbp)
jne 0x9f91
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x9e56
movq 0x48(%rbx), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x8(%rax), %rdi
leaq -0x70(%rbp), %rsi
callq 0x15526
movq %rax, -0x50(%rbp)
movq 0x30(%rbx), %rcx
movq 0x40(%rbx), %rdx
addq $-0x8, %rdx
cmpq %rdx, %rcx
je 0x9e82
movq %rax, (%rcx)
addq $0x8, 0x30(%rbx)
jmp 0x9e8d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10e00
movq %rbx, %rdi
callq 0x96f2
movl %eax, %r12d
movq %rbx, %rdi
callq 0x10dae
testb %r12b, %r12b
je 0x9fd7
movq %rbx, %rdi
movq %r13, %rsi
callq 0xa4f6
movl -0xa8(%rbp), %eax
cmpl $0xc, %eax
ja 0xa016
movl $0x1404, %ecx           # imm = 0x1404
btl %eax, %ecx
jae 0xa016
movl -0xa8(%rbp), %eax
cmpl $0xc, %eax
jne 0x9ee9
movq %rbx, %rdi
movq %r13, %rsi
callq 0xa4f6
jmp 0x9ed1
cmpl $0x2, %eax
jne 0x9d4c
jmp 0x9f5d
cmpq $0x0, -0x68(%rbp)
je 0x9f5d
movq $0x0, -0x68(%rbp)
movq -0x70(%rbp), %rax
movb $0x0, (%rax)
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x5f439(%rip), %rsi     # 0x69352
leaq 0x5f453(%rip), %rdx     # 0x69373
leaq -0x50(%rbp), %rdi
callq 0x1100a
leaq -0x50(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x9c00
movq %rbx, %rdi
movl $0x2, %esi
callq 0xae3c
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x9f59
callq 0x85d0
xorl %ebx, %ebx
jmp 0x9f5f
movb $0x1, %bl
leaq -0xe8(%rbp), %rdi
callq 0x1315e
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x9f7d
callq 0x85d0
movl %ebx, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x5f364(%rip), %rsi     # 0x69304
leaq 0x5f381(%rip), %rdx     # 0x69328
leaq -0x50(%rbp), %rdi
callq 0x1100a
leaq -0x50(%rbp), %rsi
leaq -0x90(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x9c00
movq %rbx, %rdi
movl $0x2, %esi
callq 0xae3c
jmp 0x9f4b
movq %rbx, %rdi
movl $0x2, %esi
callq 0xae3c
jmp 0x9f59
movq %rbx, %rdi
movl $0x2, %esi
callq 0xae3c
jmp 0x9f59
movq %rbx, %rdi
movl $0x2, %esi
callq 0xae3c
leaq -0x50(%rbp), %rdi
callq 0x1315e
jmp 0x9f59
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x5f304(%rip), %rsi     # 0x69329
leaq 0x5f325(%rip), %rdx     # 0x69351
leaq -0x50(%rbp), %rdi
callq 0x1100a
leaq -0x50(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x9c00
movq %rbx, %rdi
movl $0x2, %esi
callq 0xae3c
jmp 0x9f4b
jmp 0xa0aa
jmp 0xa070
jmp 0xa0aa
jmp 0xa08c
jmp 0xa0aa
jmp 0xa0aa
jmp 0xa08c
jmp 0xa0aa
jmp 0xa070
jmp 0xa070
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x1315e
jmp 0xa0ad
jmp 0xa0aa
jmp 0xa0aa
jmp 0xa0aa
jmp 0xa0aa
jmp 0xa0aa
jmp 0xa0aa
jmp 0xa0aa
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xa0ad
callq 0x85d0
jmp 0xa0ad
movq %rax, %rbx
jmp 0xa0b9
jmp 0xa0aa
jmp 0xa0aa
jmp 0xa0aa
movq %rax, %rbx
leaq -0xe8(%rbp), %rdi
callq 0x1315e
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xa0cb
callq 0x85d0
movq %rbx, %rdi
callq 0x8b30
nop