// File: /workspace/github_cpp_makefile_star2_O2/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::OurReader::readObject(Json::OurReader::Token&)
bool OurReader::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 = numberName.asString();
    } else {
      break;
    }

    Token colon;
    if (!readToken(colon) || colon.type_ != tokenMemberSeparator) {
      return addErrorAndRecover("Missing ':' after object member name", colon,
                                tokenObjectEnd);
    }
    if (name.length() >= (1U << 30))
      throwRuntimeError("keylength >= 2^30");
    if (features_.rejectDupKeys_ && currentValue().isMember(name)) {
      JSONCPP_STRING msg = "Duplicate key: '" + name + "'";
      return addErrorAndRecover(msg, tokenName, 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 0xbfd2
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 0xbff9
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 -0xb0(%rbp), %r14
leaq -0x58(%rbp), %r15
leaq -0x98(%rbp), %r12
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc768
movl -0xb0(%rbp), %eax
cmpl $0xf, %eax
jne 0xc042
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc768
jmp 0xc02a
cmpl $0x2, %eax
je 0xc1e5
andq $0x0, -0x70(%rbp)
movq -0x78(%rbp), %rcx
movb $0x0, (%rcx)
cmpl $0x6, %eax
je 0xc07d
cmpl $0x5, %eax
jne 0xc1f8
movq %rbx, %rdi
movq %r14, %rsi
leaq -0x78(%rbp), %rdx
callq 0xce58
testb %al, %al
jne 0xc0e6
jmp 0xc299
cmpb $0x1, 0x10b(%rbx)
jne 0xc1f8
movq %r15, %rdi
xorl %esi, %esi
callq 0x116f6
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0xd096
movl %eax, %r13d
testb %al, %al
je 0xc0ca
movq %r12, %rdi
movq %r15, %rsi
callq 0x12242
leaq -0x78(%rbp), %rdi
movq %r12, %rsi
callq 0x87a0
movq %r12, %rdi
callq 0x82c0
jmp 0xc0d5
movq %rbx, %rdi
pushq $0x2
popq %rsi
callq 0xd038
movq %r15, %rdi
callq 0x11cce
testb %r13b, %r13b
je 0xc22e
movq %rbx, %rdi
leaq -0xc8(%rbp), %rsi
callq 0xc768
cmpl $0xe, -0xc8(%rbp)
jne 0xc25d
cmpq $0x40000000, -0x70(%rbp) # imm = 0x40000000
jae 0xc32a
cmpb $0x1, 0x10e(%rbx)
jne 0xc148
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0xc133
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 0x13eb0
testb %al, %al
jne 0xc2a6
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0xc162
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
movq %r15, %rsi
callq 0xf994
movq %rbx, %rdi
callq 0xb87c
movl %eax, %r13d
movq %rbx, %rdi
callq 0xf934
testb %r13b, %r13b
je 0xc28c
movq %rbx, %rdi
movq %r12, %rsi
callq 0xc768
movl -0x98(%rbp), %eax
cmpl $0xf, %eax
ja 0xc2fb
movl $0xa004, %ecx           # imm = 0xA004
btl %eax, %ecx
jae 0xc2fb
movl -0x98(%rbp), %eax
cmpl $0xf, %eax
jne 0xc1da
movq %rbx, %rdi
movq %r12, %rsi
callq 0xc768
jmp 0xc1c2
cmpl $0x2, %eax
jne 0xc01f
jmp 0xc232
cmpq $0x0, -0x70(%rbp)
je 0xc232
andq $0x0, -0x70(%rbp)
movq -0x78(%rbp), %rax
movb $0x0, (%rax)
leaq 0x53153(%rip), %rsi     # 0x5f352
leaq -0x58(%rbp), %rdi
leaq -0x98(%rbp), %rdx
callq 0x8260
leaq -0x58(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
callq 0xd1d2
leaq -0x58(%rbp), %rdi
callq 0x82c0
xorl %ebx, %ebx
jmp 0xc234
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 0x530a0(%rip), %rsi     # 0x5f304
leaq -0x58(%rbp), %rdi
leaq -0x98(%rbp), %rdx
callq 0x8260
leaq -0x58(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
callq 0xd1d2
jmp 0xc225
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0xd038
jmp 0xc22e
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0xd038
jmp 0xc22e
leaq 0x532fd(%rip), %rsi     # 0x5f5aa
leaq -0x98(%rbp), %rdi
leaq -0x78(%rbp), %rdx
callq 0xe989
leaq 0x532f5(%rip), %rdx     # 0x5f5b9
leaq -0x58(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0xe884
leaq -0x98(%rbp), %rdi
callq 0x82c0
leaq -0x58(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
callq 0xd1d2
jmp 0xc225
leaq 0x53027(%rip), %rsi     # 0x5f329
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x8260
leaq -0x58(%rbp), %rsi
leaq -0x98(%rbp), %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
callq 0xd1d2
jmp 0xc225
leaq 0x53267(%rip), %rsi     # 0x5f598
leaq -0x58(%rbp), %rdi
leaq -0x98(%rbp), %rdx
callq 0x8260
leaq -0x58(%rbp), %rdi
callq 0x111da
jmp 0xc370
jmp 0xc3a3
jmp 0xc370
movq %rax, %rbx
leaq -0x98(%rbp), %rdi
jmp 0xc377
jmp 0xc3a3
jmp 0xc3a3
jmp 0xc3a3
jmp 0xc370
jmp 0xc3a3
jmp 0xc380
jmp 0xc370
jmp 0xc3a3
jmp 0xc3a3
jmp 0xc3a3
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x82c0
jmp 0xc3a6
jmp 0xc3a3
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x11cce
jmp 0xc3a6
jmp 0xc3a3
jmp 0xc3a3
jmp 0xc3a3
jmp 0xc3a3
jmp 0xc3a3
movq %rax, %rbx
jmp 0xc3b2
jmp 0xc3a3
jmp 0xc3a3
jmp 0xc3a3
movq %rax, %rbx
leaq -0xf0(%rbp), %rdi
callq 0x11cce
leaq -0x78(%rbp), %rdi
callq 0x82c0
movq %rbx, %rdi
callq 0x8b30
nop