// File: /workspace/github_cpp_makefile_star2_O3/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 -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 0xcab5
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 0xcadc
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 -0xa8(%rbp), %r14
leaq -0x90(%rbp), %r12
leaq -0x70(%rbp), %r13
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd3ce
movl -0xa8(%rbp), %eax
cmpl $0xf, %eax
jne 0xcb25
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd3ce
jmp 0xcb0d
cmpl $0x2, %eax
je 0xcce1
movq $0x0, -0x68(%rbp)
movq -0x70(%rbp), %rcx
movb $0x0, (%rcx)
cmpl $0x6, %eax
je 0xcb62
cmpl $0x5, %eax
jne 0xccf7
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0xdc9c
testb %al, %al
jne 0xcbc8
jmp 0xcdd6
cmpb $0x1, 0x10b(%rbx)
jne 0xccf7
leaq -0x50(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x12ab8
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0xdf8e
testb %al, %al
je 0xcde8
movq %r12, %rdi
leaq -0x50(%rbp), %rsi
callq 0x13766
movq %r13, %rdi
movq %r12, %rsi
callq 0x87c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xcbbf
callq 0x85d0
leaq -0x50(%rbp), %rdi
callq 0x1315e
movq %rbx, %rdi
leaq -0xc0(%rbp), %rsi
callq 0xd3ce
cmpl $0xe, -0xc0(%rbp)
jne 0xcd7e
cmpq $0x40000000, -0x68(%rbp) # imm = 0x40000000
jae 0xcef1
cmpb $0x1, 0x10e(%rbx)
jne 0xcc29
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0xcc15
movq 0x48(%rbx), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x8(%rax), %rdi
movq %r13, %rsi
callq 0x15d22
testb %al, %al
jne 0xce03
movq 0x30(%rbx), %rax
cmpq 0x38(%rbx), %rax
jne 0xcc43
movq 0x48(%rbx), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x8(%rax), %rdi
movq %r13, %rsi
callq 0x15526
movq %rax, -0x50(%rbp)
movq 0x30(%rbx), %rcx
movq 0x40(%rbx), %rdx
addq $-0x8, %rdx
cmpq %rdx, %rcx
je 0xcc6e
movq %rax, (%rcx)
addq $0x8, 0x30(%rbx)
jmp 0xcc7a
movq %rbx, %rdi
leaq -0x50(%rbp), %rsi
callq 0x10e00
movq %rbx, %rdi
callq 0xc2fc
movl %eax, %r15d
movq %rbx, %rdi
callq 0x10dae
testb %r15b, %r15b
je 0xcdc4
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd3ce
movl -0x90(%rbp), %eax
cmpl $0xf, %eax
ja 0xce51
movl $0xa004, %ecx           # imm = 0xA004
btl %eax, %ecx
jae 0xce51
movl -0x90(%rbp), %eax
cmpl $0xf, %eax
jne 0xccd6
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd3ce
jmp 0xccbe
cmpl $0x2, %eax
jne 0xcb02
jmp 0xcd4a
cmpq $0x0, -0x68(%rbp)
je 0xcd4a
movq $0x0, -0x68(%rbp)
movq -0x70(%rbp), %rax
movb $0x0, (%rax)
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x5c64c(%rip), %rsi     # 0x69352
leaq 0x5c666(%rip), %rdx     # 0x69373
leaq -0x50(%rbp), %rdi
callq 0x1100a
leaq -0x50(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xc9b6
movq %rbx, %rdi
movl $0x2, %esi
callq 0xded6
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xcd46
callq 0x85d0
xorl %ebx, %ebx
jmp 0xcd4c
movb $0x1, %bl
leaq -0xe8(%rbp), %rdi
callq 0x1315e
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xcd6a
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 0x5c577(%rip), %rsi     # 0x69304
leaq 0x5c594(%rip), %rdx     # 0x69328
leaq -0x50(%rbp), %rdi
callq 0x1100a
leaq -0x50(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xc9b6
movq %rbx, %rdi
movl $0x2, %esi
callq 0xded6
jmp 0xcd38
movq %rbx, %rdi
movl $0x2, %esi
callq 0xded6
jmp 0xcd46
movq %rbx, %rdi
movl $0x2, %esi
callq 0xded6
jmp 0xcd46
movq %rbx, %rdi
movl $0x2, %esi
callq 0xded6
leaq -0x50(%rbp), %rdi
callq 0x1315e
jmp 0xcd46
leaq 0x5c7a0(%rip), %rsi     # 0x695aa
leaq -0x90(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0xfe20
leaq 0x5c798(%rip), %rsi     # 0x695b9
leaq -0x90(%rbp), %rdi
callq 0x8c10
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xce97
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0xce9e
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x5c4c9(%rip), %rsi     # 0x69329
leaq 0x5c4ea(%rip), %rdx     # 0x69351
leaq -0x50(%rbp), %rdi
callq 0x1100a
leaq -0x50(%rbp), %rsi
leaq -0x90(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xc9b6
movq %rbx, %rdi
movl $0x2, %esi
callq 0xded6
jmp 0xcd38
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xceca
callq 0x85d0
leaq -0x50(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xc9b6
movq %rbx, %rdi
movl $0x2, %esi
callq 0xded6
jmp 0xcd38
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x5c698(%rip), %rsi     # 0x69598
leaq 0x5c6a2(%rip), %rdx     # 0x695a9
leaq -0x50(%rbp), %rdi
callq 0x1100a
leaq -0x50(%rbp), %rdi
callq 0x124b2
jmp 0xcf82
movq %rax, %rbx
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
jne 0xcf6e
jmp 0xcf85
jmp 0xcf82
jmp 0xcf48
jmp 0xcf82
jmp 0xcf62
jmp 0xcf82
jmp 0xcf62
jmp 0xcf82
jmp 0xcf62
jmp 0xcf82
jmp 0xcf62
jmp 0xcf82
jmp 0xcf48
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x1315e
jmp 0xcf85
jmp 0xcf82
jmp 0xcf82
jmp 0xcf82
jmp 0xcf82
jmp 0xcf82
jmp 0xcf82
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xcf85
callq 0x85d0
jmp 0xcf85
jmp 0xcf82
movq %rax, %rbx
jmp 0xcf91
jmp 0xcf82
jmp 0xcf82
jmp 0xcf82
movq %rax, %rbx
leaq -0xe8(%rbp), %rdi
callq 0x1315e
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xcfa3
callq 0x85d0
movq %rbx, %rdi
callq 0x8b30
nop