// File: /workspace/github_cpp_makefile_star2_O3/AutomataLab[P]JSONSki/src/QueryProcessor.cpp
// Function: QueryProcessor::goToObjElem(long&, bitmap&)
__attribute__((always_inline)) int QueryProcessor::goToObjElem(long& pos, bitmap& bm) {
    do {
        if (mRecord[pos] != '{' || mRecord[pos] != '[') {
        int result = goOverPriElems(pos, bm);
        if (result == ARRAY_END) {
            return result;
        }
        }
        int element_type = getElementType(pos);
        if (element_type == OBJECT) {
            return SUCCESS;
        }
        goOverAry(pos, bm);
    } while (hasMoreElements(pos));
    return OBJECT_END;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x2c8(%rdi), %r8
leaq 0x30(%rdx), %rax
movq %rax, -0x8(%rsp)
movq (%rsi), %rcx
leaq 0x20(%r8), %rax
movq %rax, -0x10(%rsp)
vpcmpeqd %xmm0, %xmm0, %xmm0
movq %r8, -0x18(%rsp)
leaq 0x3f(%rcx), %rbx
testq %rcx, %rcx
cmovnsq %rcx, %rbx
movq %rbx, %r14
sarq $0x6, %r14
movq 0x250(%rdi), %r15
movq 0x258(%rdi), %rax
movq %rax, -0x20(%rsp)
movq 0x270(%rdi), %rbp
andq $-0x40, %rbx
addq -0x10(%rsp), %rbx
leaq (%r14,%r14), %r13
xorl %ecx, %ecx
movq -0x8(%rsp), %r8
cmpq %rbp, %r14
jle 0x18619
movw $0x0, 0x4(%r8)
movl $0x0, (%r8)
movq %r13, 0x88(%rdi)
movq %r14, 0x270(%rdi)
vmovdqu -0x20(%rbx), %ymm1
vmovdqa %ymm1, 0xa0(%rdi)
vmovdqa 0x140(%rdi), %ymm2
vmovdqa 0x180(%rdi), %ymm3
vpcmpeqb %ymm1, %ymm2, %ymm4
vpmovmskb %ymm4, %r9d
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r11d
leaq 0x1(%r13), %rax
movq %rax, 0x88(%rdi)
vmovdqu (%rbx), %ymm1
vmovdqa %ymm1, 0xc0(%rdi)
vpcmpeqb %ymm1, %ymm2, %ymm2
vpmovmskb %ymm2, %eax
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r10d
shlq $0x20, %rax
orq %r9, %rax
shlq $0x20, %r10
orq %r11, %r10
leaq (%r10,%r10), %r9
notq %r9
andq %r10, %r9
movq 0x240(%rdi), %r12
movq %r12, %r11
xorq %r15, %r11
movq %r9, %rbp
andq %r11, %rbp
notq %r11
andq %r9, %r11
addq %r10, %rbp
xorl %r9d, %r9d
addq %r10, %r11
setb %r9b
orq %r12, %r11
movq %r9, 0x240(%rdi)
andq -0x20(%rsp), %rbp
andq %r15, %r11
orq %rbp, %r11
notq %r11
orq %r10, %r11
andq %rax, %r11
movq %r11, 0xe0(%rdi)
vmovq %r11, %xmm1
vpclmulqdq $0x0, %xmm0, %xmm1, %xmm1
vmovq %xmm1, %rax
xorq 0x248(%rdi), %rax
movq %rax, (%rdi)
sarq $0x3f, %rax
movq %rax, 0x248(%rdi)
movq %r14, %rbp
cmpb $0x0, 0x32(%rdx)
jne 0x18657
vmovdqa 0x1a0(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %eax
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r9d
shlq $0x20, %r9
orq %rax, %r9
movq (%rdi), %rax
notq %rax
andq %r9, %rax
movq %rax, 0x10(%rdx)
movb $0x1, 0x32(%rdx)
cmpb $0x0, 0x34(%rdx)
je 0x18663
movq 0x20(%rdx), %r11
jmp 0x1869b
vmovdqa 0x200(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %eax
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r9d
shlq $0x20, %r9
orq %rax, %r9
movq (%rdi), %r11
notq %r11
andq %r9, %r11
movq %r11, 0x20(%rdx)
movb $0x1, 0x34(%rdx)
orq 0x10(%rdx), %r11
testb $0x1, %cl
je 0x186b9
movq %r11, %rcx
negq %rcx
setb %al
andq %r11, %rcx
leaq -0x1(%rcx), %r10
orq %rcx, %r10
jmp 0x1870b
movq (%rsi), %rcx
leal 0x3f(%rcx), %eax
testq %rcx, %rcx
cmovnsl %ecx, %eax
andl $0xc0, %eax
subl %eax, %ecx
movl $0x1, %r12d
shlq %cl, %r12
movq %r12, %r10
negq %r10
movq %r10, %r9
btcq %rcx, %r9
andq %r9, %r11
setne %al
je 0x186fb
movq %r11, %rcx
negq %rcx
andq %r11, %rcx
movq %rcx, %r10
subq %r12, %r10
jmp 0x18705
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
orq %rcx, %r10
andq %r9, %r10
cmpb $0x0, 0x35(%rdx)
je 0x18717
movq 0x28(%rdx), %rcx
jmp 0x1874f
vmovdqa 0x220(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r9d
shlq $0x20, %r9
orq %rcx, %r9
movq (%rdi), %rcx
notq %rcx
andq %r9, %rcx
movq %rcx, 0x28(%rdx)
movb $0x1, 0x35(%rdx)
andq %r10, %rcx
jne 0x18b59
incq %r14
addq $0x40, %rbx
addq $0x2, %r13
movb $0x1, %cl
testb %al, %al
je 0x18515
shlq $0x6, %rbp
bsrq %r10, %rax
xorq $0x3f, %rax
orq %rbp, %rax
xorq $0x3f, %rax
movq -0x18(%rsp), %r8
movq %rax, (%rsi)
movzbl (%r8,%rax), %ecx
cmpl $0x20, %ecx
jne 0x18797
incq %rax
jmp 0x18785
cmpl $0x7b, %ecx
je 0x18b6e
movq %rsi, -0x20(%rsp)
leaq 0x3f(%rax), %rbx
testq %rax, %rax
cmovnsq %rax, %rbx
sarq $0x6, %rbx
movl $0x1, %eax
movb $0x1, %r13b
xorl %esi, %esi
xorl %ecx, %ecx
movq 0x2e0(%rdi), %r9
cmpq %r9, %rbx
jge 0x187c7
leaq (%rbx,%rbx), %r15
movq %rbx, %r12
shlq $0x6, %r12
addq -0x10(%rsp), %r12
movl %eax, %r14d
cmpq 0x270(%rdi), %rbx
jle 0x188f8
movq -0x8(%rsp), %rax
movw $0x0, 0x4(%rax)
movl $0x0, (%rax)
movq %r15, 0x88(%rdi)
movq %rbx, 0x270(%rdi)
vmovdqu -0x20(%r12), %ymm1
vmovdqa %ymm1, 0xa0(%rdi)
vmovdqa 0x140(%rdi), %ymm2
vmovdqa 0x180(%rdi), %ymm3
vpcmpeqb %ymm1, %ymm2, %ymm4
vpmovmskb %ymm4, %r9d
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r11d
leaq 0x1(%r15), %rax
movq %rax, 0x88(%rdi)
vmovdqu (%r12), %ymm1
vmovdqa %ymm1, 0xc0(%rdi)
vpcmpeqb %ymm1, %ymm2, %ymm2
vpmovmskb %ymm2, %eax
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r10d
shlq $0x20, %rax
orq %r9, %rax
shlq $0x20, %r10
orq %r11, %r10
leaq (%r10,%r10), %r9
notq %r9
andq %r10, %r9
movq 0x250(%rdi), %r13
movq 0x240(%rdi), %r8
movq %r8, %r11
xorq %r13, %r11
movq %r9, %rbp
andq %r11, %rbp
notq %r11
andq %r9, %r11
addq %r10, %rbp
xorl %r9d, %r9d
addq %r10, %r11
setb %r9b
movq %r9, 0x240(%rdi)
andq 0x258(%rdi), %rbp
orq %r8, %r11
andq %r13, %r11
orq %rbp, %r11
notq %r11
orq %r10, %r11
andq %rax, %r11
movq %r11, 0xe0(%rdi)
vmovq %r11, %xmm1
vpclmulqdq $0x0, %xmm0, %xmm1, %xmm1
vmovq %xmm1, %rax
xorq 0x248(%rdi), %rax
movq %rax, (%rdi)
sarq $0x3f, %rax
movq %rax, 0x248(%rdi)
movb 0x34(%rdx), %r13b
testb %r13b, %r13b
jne 0x18938
vmovdqa 0x200(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %eax
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r8d
shlq $0x20, %r8
orq %rax, %r8
movq (%rdi), %rax
notq %rax
andq %r8, %rax
movq %rax, 0x20(%rdx)
movb $0x1, 0x34(%rdx)
movb $0x1, %r13b
testb $0x1, %cl
jne 0x18960
testb $0x1, %sil
je 0x18991
movq 0x20(%rdx), %rax
movq %rax, %rcx
negq %rcx
setb %r10b
andq %rax, %rcx
leaq -0x1(%rcx), %rax
orq %rcx, %rax
jmp 0x18a0c
movq 0x20(%rdx), %r8
movq %r8, %r9
negq %r9
andq %r8, %r9
leaq -0x1(%r8), %rax
andq %r8, %rax
movq %rax, 0x20(%rdx)
je 0x189e4
movq %rax, %r8
negq %r8
andq %rax, %r8
movq %r8, %rax
subq %r9, %rax
orq %r8, %rax
movb $0x1, %r10b
jmp 0x18a0e
movq -0x20(%rsp), %rax
movq (%rax), %rcx
leal 0x3f(%rcx), %eax
testq %rcx, %rcx
cmovnsl %ecx, %eax
andl $0xc0, %eax
subl %eax, %ecx
movl $0x1, %r9d
shlq %cl, %r9
movq %r9, %rax
negq %rax
movq %rax, %r11
btcq %rcx, %r11
movq 0x20(%rdx), %rcx
andq %r11, %rcx
movq %rcx, 0x20(%rdx)
setne %r10b
je 0x189fc
movq %rcx, %r8
negq %r8
andq %rcx, %r8
movq %r8, %rax
subq %r9, %rax
orq %r8, %rax
jmp 0x18a09
negq %r9
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
orq %rax, %r9
xorl %r10d, %r10d
movq %r9, %rax
jmp 0x18a0e
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
orq %rcx, %rax
andq %r11, %rax
movb $0x1, %cl
cmpb $0x0, 0x35(%rdx)
je 0x18a1a
movq 0x28(%rdx), %r11
jmp 0x18a52
vmovdqa 0x220(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %r8d
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r9d
shlq $0x20, %r9
orq %r8, %r9
movq (%rdi), %r11
notq %r11
andq %r9, %r11
movq %r11, 0x28(%rdx)
movb $0x1, 0x35(%rdx)
andq %rax, %r11
popcntq %r11, %r9
movl %r14d, %eax
subl %r9d, %eax
jle 0x18a9a
testb %r10b, %r10b
jne 0x18a8c
incq %rbx
addq $0x2, %r15
addq $0x40, %r12
movb $0x1, %sil
xorl %ecx, %ecx
movl %eax, %r14d
cmpq 0x2e0(%rdi), %rbx
jl 0x187df
jmp 0x187c0
subl %r9d, %r14d
incl %r14d
movl %r14d, %eax
jmp 0x187c0
cmpl $0x2, %r14d
jl 0x18ac4
incl %r14d
movq -0x18(%rsp), %r8
movabsq $0x100002400, %r10      # imm = 0x100002400
leaq -0x1(%r11), %rax
andq %rax, %r11
decl %r14d
cmpl $0x2, %r14d
ja 0x18ab2
jmp 0x18ad3
movq -0x18(%rsp), %r8
movabsq $0x100002400, %r10      # imm = 0x100002400
movq 0x270(%rdi), %rax
shlq $0x6, %rax
bsfq %r11, %rsi
leaq (%rsi,%rax), %rcx
incq %rcx
orq %rsi, %rax
movq -0x20(%rsp), %rsi
movq %rax, (%rsi)
movzbl (%r8,%rax), %r9d
cmpq $0x20, %r9
ja 0x18b15
btq %r9, %r10
jae 0x18b15
incq %rax
incq %rcx
jmp 0x18af1
cmpl $0x20, %eax
jne 0x18b2e
incq %rcx
movq %rcx, (%rsi)
movzbl (%r8,%rcx), %eax
cmpl $0x1f, %eax
jg 0x18b0d
cmpl $0xa, %eax
je 0x18b12
cmpl $0xd, %eax
je 0x18b12
jmp 0x18b38
cmpl $0x2c, %eax
je 0x18b51
cmpl $0x5d, %eax
je 0x18b75
movzbl (%r8,%rcx), %eax
cmpq $0x20, %rax
ja 0x184d5
btq %rax, %r10
jae 0x184d5
incq %rcx
movq %rcx, (%rsi)
jmp 0x18b38
shlq $0x6, %rbp
bsfq %rcx, %rax
orq %rbp, %rax
movq %rax, (%rsi)
movl $0x3ea, %eax            # imm = 0x3EA
jmp 0x18b7a
movl $0x3e9, %eax            # imm = 0x3E9
jmp 0x18b7a
movl $0x3eb, %eax            # imm = 0x3EB
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq