// File: /workspace/github_cpp_makefile_star2_O1/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 0x12d6c
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x9cfb
movq 0x48(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x13540
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x9d22
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 0x1662c
leaq -0xc0(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa538
movl -0xc0(%rbp), %ecx
cmpl $0xc, %ecx
jne 0x9d60
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa538
jmp 0x9d48
cmpl $0x2, %ecx
jne 0x9d70
cmpq $0x0, -0x68(%rbp)
je 0x9f8f
movq $0x0, -0x68(%rbp)
movq -0x70(%rbp), %rax
movb $0x0, (%rax)
movl $0x3, %eax
cmpl $0x6, %ecx
je 0x9dbb
cmpl $0x5, %ecx
jne 0x9f97
movq %rbx, %rdi
movq %r14, %rsi
leaq -0x70(%rbp), %rdx
callq 0xac9c
testb %al, %al
jne 0x9e5a
movq %rbx, %rdi
movl $0x2, %esi
callq 0xaedc
jmp 0x9f80
cmpb $0x1, 0x10b(%rbx)
jne 0x9f97
leaq -0x50(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x12d6c
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0xaf94
movl %eax, %r13d
testb %al, %al
je 0x9e33
leaq -0x50(%rbp), %rdi
callq 0x139c4
leaq -0xa8(%rbp), %r15
movq %r15, %rdi
movq %rax, %rsi
leaq -0x88(%rbp), %rdx
callq 0x8260
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
callq 0x87d0
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x9e43
callq 0x85d0
jmp 0x9e43
movq %rbx, %rdi
movl $0x2, %esi
callq 0xaedc
xorl %r12d, %r12d
leaq -0x50(%rbp), %rdi
callq 0x13416
movl $0x1, %eax
testb %r13b, %r13b
je 0x9f97
movq %rbx, %rdi
leaq -0xa8(%rbp), %rsi
callq 0xa538
cmpl $0xb, -0xa8(%rbp)
jne 0x9eb8
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0x9e8c
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 0x15a02
movq %rax, -0x50(%rbp)
movq 0x30(%rbx), %rcx
movq 0x40(%rbx), %rdx
addq $-0x8, %rdx
cmpq %rdx, %rcx
je 0x9f0f
movq %rax, (%rcx)
addq $0x8, 0x30(%rbx)
jmp 0x9f1b
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r15
movq %r15, %rdi
leaq 0x5f436(%rip), %rsi     # 0x69304
leaq 0x5f453(%rip), %rdx     # 0x69328
callq 0x1126a
movq %rbx, %rdi
movq %r15, %rsi
leaq -0xa8(%rbp), %rdx
xorl %ecx, %ecx
callq 0x9bfc
movq %rbx, %rdi
movl $0x2, %esi
callq 0xaedc
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x9f80
callq 0x85d0
jmp 0x9f80
movq %rbx, %rdi
leaq -0x50(%rbp), %rsi
callq 0x11060
movq %rbx, %rdi
callq 0x96ee
movl %eax, %r13d
movq %rbx, %rdi
callq 0x1100e
testb %r13b, %r13b
je 0x9f73
movq %rbx, %rdi
leaq -0x88(%rbp), %rsi
callq 0xa538
movl -0x88(%rbp), %eax
cmpl $0xc, %eax
ja 0x9fa5
movl $0x1404, %ecx           # imm = 0x1404
btl %eax, %ecx
jae 0x9fa5
movl -0x88(%rbp), %eax
cmpl $0xc, %eax
jne 0x9f8a
movq %rbx, %rdi
leaq -0x88(%rbp), %rsi
callq 0xa538
jmp 0x9f57
movq %rbx, %rdi
movl $0x2, %esi
callq 0xaedc
movl $0x1, %eax
xorl %r12d, %r12d
jmp 0x9f97
cmpl $0x2, %eax
jne 0x9fa1
movb $0x1, %r12b
movl $0x1, %eax
testl %eax, %eax
je 0x9d3d
jmp 0x9fed
xorl %eax, %eax
jmp 0x9f97
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r15
movq %r15, %rdi
leaq 0x5f36e(%rip), %rsi     # 0x69329
leaq 0x5f38f(%rip), %rdx     # 0x69351
callq 0x1126a
movq %rbx, %rdi
movq %r15, %rsi
leaq -0x88(%rbp), %rdx
xorl %ecx, %ecx
callq 0x9bfc
movq %rbx, %rdi
movl $0x2, %esi
callq 0xaedc
jmp 0x9efb
cmpl $0x3, %eax
jne 0xa047
leaq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
movq %rax, (%rdi)
leaq 0x5f34e(%rip), %rsi     # 0x69352
leaq 0x5f368(%rip), %rdx     # 0x69373
callq 0x1126a
leaq -0x50(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x9bfc
movq %rbx, %rdi
movl $0x2, %esi
callq 0xaedc
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xa044
callq 0x85d0
xorl %r12d, %r12d
leaq -0xe8(%rbp), %rdi
callq 0x13416
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xa065
callq 0x85d0
andb $0x1, %r12b
movl %r12d, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa0ca
jmp 0xa09d
jmp 0xa0ca
jmp 0xa0ca
jmp 0xa0ca
jmp 0xa09d
movq %rax, %rbx
jmp 0xa0d9
jmp 0xa0b6
jmp 0xa0b6
jmp 0xa0ca
jmp 0xa0ca
jmp 0xa0ca
jmp 0xa0ca
jmp 0xa0ca
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xa0cd
callq 0x85d0
jmp 0xa0cd
jmp 0xa0ca
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x13416
jmp 0xa0cd
jmp 0xa0ca
jmp 0xa0ca
jmp 0xa0ca
movq %rax, %rbx
leaq -0xe8(%rbp), %rdi
callq 0x13416
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xa0eb
callq 0x85d0
movq %rbx, %rdi
callq 0x8b40
nop