// File: /workspace/github_cpp_makefile_star2_O1/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), %r9
leaq 0x30(%rdx), %rax
movq %rax, -0x8(%rsp)
vpcmpeqd %xmm0, %xmm0, %xmm0
movabsq $0x100002400, %r11      # imm = 0x100002400
movq (%rsi), %rcx
leaq 0x3f(%rcx), %rax
testq %rcx, %rcx
cmovnsq %rcx, %rax
sarq $0x6, %rax
xorl %ebp, %ebp
cmpq 0x270(%rdi), %rax
jle 0x185b7
leaq (%rax,%rax), %rcx
movq -0x8(%rsp), %r8
movw $0x0, 0x4(%r8)
movl $0x0, (%r8)
movq %rcx, 0x88(%rdi)
movq %rax, 0x270(%rdi)
movq %rax, %rcx
shlq $0x6, %rcx
vmovdqu (%r9,%rcx), %ymm1
vmovdqa %ymm1, 0xa0(%rdi)
vmovdqa 0x140(%rdi), %ymm2
vmovdqa 0x180(%rdi), %ymm3
vpcmpeqb %ymm1, %ymm2, %ymm4
vpmovmskb %ymm4, %r8d
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r12d
leaq 0x1(,%rax,2), %rcx
movq %rcx, 0x88(%rdi)
shlq $0x5, %rcx
vmovdqu (%r9,%rcx), %ymm1
vmovdqa %ymm1, 0xc0(%rdi)
vpcmpeqb %ymm1, %ymm2, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r15d
shlq $0x20, %rcx
orq %r8, %rcx
shlq $0x20, %r15
orq %r12, %r15
leaq (%r15,%r15), %r8
notq %r8
andq %r15, %r8
movq 0x250(%rdi), %r13
movq 0x240(%rdi), %rbx
movq %rbx, %r12
xorq %r13, %r12
movq %r8, %r10
andq %r12, %r10
notq %r12
andq %r8, %r12
addq %r15, %r10
xorl %r8d, %r8d
addq %r15, %r12
setb %r8b
movq %r8, 0x240(%rdi)
andq 0x258(%rdi), %r10
orq %rbx, %r12
andq %r13, %r12
orq %r10, %r12
notq %r12
orq %r15, %r12
andq %rcx, %r12
movq %r12, 0xe0(%rdi)
vmovq %r12, %xmm1
vpclmulqdq $0x0, %xmm0, %xmm1, %xmm1
vmovq %xmm1, %rcx
xorq 0x248(%rdi), %rcx
movq %rcx, (%rdi)
sarq $0x3f, %rcx
movq %rcx, 0x248(%rdi)
cmpb $0x0, 0x32(%rdx)
jne 0x185f9
vmovdqa 0x1a0(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r8d
shlq $0x20, %r8
orq %rcx, %r8
movq %r8, 0x10(%rdx)
movq (%rdi), %rcx
notq %rcx
andq %r8, %rcx
movq %rcx, 0x10(%rdx)
movb $0x1, 0x32(%rdx)
cmpb $0x0, 0x34(%rdx)
jne 0x1863b
vmovdqa 0x200(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r8d
shlq $0x20, %r8
orq %rcx, %r8
movq %r8, 0x20(%rdx)
movq (%rdi), %rcx
notq %rcx
andq %r8, %rcx
movq %rcx, 0x20(%rdx)
movb $0x1, 0x34(%rdx)
movq 0x20(%rdx), %r12
orq 0x10(%rdx), %r12
testb $0x1, %bpl
je 0x1865e
movq %r12, %r8
negq %r8
setb %cl
andq %r12, %r8
leaq -0x1(%r8), %r15
orq %r8, %r15
jmp 0x186b8
movq (%rsi), %rcx
leal 0x3f(%rcx), %r8d
testq %rcx, %rcx
cmovnsl %ecx, %r8d
andl $0xc0, %r8d
subl %r8d, %ecx
movl $0x1, %r8d
shlq %cl, %r8
movq %r8, %r15
negq %r15
movq %r15, %r13
btcq %rcx, %r13
andq %r13, %r12
setne %cl
je 0x186a8
movq %r12, %r10
negq %r10
andq %r12, %r10
movq %r10, %r15
subq %r8, %r15
orq %r10, %r15
jmp 0x186b5
movabsq $-0x8000000000000000, %r8 # imm = 0x8000000000000000
orq %r8, %r15
andq %r13, %r15
cmpb $0x0, 0x35(%rdx)
jne 0x186fa
vmovdqa 0x220(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %r8d
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r10d
shlq $0x20, %r10
orq %r8, %r10
movq %r10, 0x28(%rdx)
movq (%rdi), %r8
notq %r8
andq %r10, %r8
movq %r8, 0x28(%rdx)
movb $0x1, 0x35(%rdx)
movq 0x28(%rdx), %r8
andq %r15, %r8
je 0x18720
movq 0x270(%rdi), %rcx
shlq $0x6, %rcx
bsfq %r8, %r8
orq %rcx, %r8
movq %r8, (%rsi)
movl $0x3ea, %r14d           # imm = 0x3EA
jmp 0x18747
testb %cl, %cl
je 0x18753
movq 0x270(%rdi), %rcx
shlq $0x6, %rcx
bsrq %r15, %r8
xorq $0x3f, %r8
orq %rcx, %r8
xorq $0x3f, %r8
movq %r8, (%rsi)
movl $0x3e9, %r14d           # imm = 0x3E9
xorl %ecx, %ecx
testb %cl, %cl
jne 0x1848e
jmp 0x1875d
incq %rax
movb $0x1, %bpl
movb $0x1, %cl
jmp 0x18749
movl -0x14(%rsp), %eax
cmpl $0x3ea, %r14d           # imm = 0x3EA
cmovel %r14d, %eax
je 0x18b5e
movq (%rsi), %rcx
movzbl (%r9,%rcx), %r8d
cmpl $0x20, %r8d
jne 0x18788
incq %rcx
movq %rcx, (%rsi)
jmp 0x18775
cmpl $0x7b, %r8d
jne 0x18793
movb $0x1, %r8b
jmp 0x18796
xorl %r8d, %r8d
movl $0x3e9, %r10d           # imm = 0x3E9
testb %r8b, %r8b
jne 0x18ad7
movl %r8d, -0x10(%rsp)
movl %eax, -0xc(%rsp)
leaq 0x3f(%rcx), %rbx
testq %rcx, %rcx
cmovnsq %rcx, %rbx
sarq $0x6, %rbx
movl $0x1, %r15d
movl $0x0, -0x14(%rsp)
xorl %ecx, %ecx
cmpq 0x2e0(%rdi), %rbx
jge 0x187cd
cmpq 0x270(%rdi), %rbx
jle 0x18901
leaq (%rbx,%rbx), %r8
movq -0x8(%rsp), %rax
movw $0x0, 0x4(%rax)
movl $0x0, (%rax)
movq %r8, 0x88(%rdi)
movq %rbx, 0x270(%rdi)
movq %rbx, %r8
shlq $0x6, %r8
vmovdqu (%r9,%r8), %ymm1
vmovdqa %ymm1, 0xa0(%rdi)
vmovdqa 0x140(%rdi), %ymm2
vmovdqa 0x180(%rdi), %ymm3
vpcmpeqb %ymm1, %ymm2, %ymm4
vpmovmskb %ymm4, %r8d
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r10d
leaq 0x1(,%rbx,2), %r12
movq %r12, 0x88(%rdi)
shlq $0x5, %r12
vmovdqu (%r9,%r12), %ymm1
vmovdqa %ymm1, 0xc0(%rdi)
vpcmpeqb %ymm1, %ymm2, %ymm2
vpmovmskb %ymm2, %r12d
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r13d
shlq $0x20, %r12
orq %r8, %r12
shlq $0x20, %r13
orq %r10, %r13
leaq (,%r13,2), %r8
notq %r8
andq %r13, %r8
movq 0x250(%rdi), %r10
movq 0x240(%rdi), %r14
movq %r14, %rbp
xorq %r10, %rbp
movq %r8, %rax
andq %rbp, %rax
notq %rbp
andq %r8, %rbp
addq %r13, %rax
xorl %r8d, %r8d
addq %r13, %rbp
setb %r8b
movq %r8, 0x240(%rdi)
andq 0x258(%rdi), %rax
orq %r14, %rbp
andq %r10, %rbp
orq %rax, %rbp
notq %rbp
orq %r13, %rbp
andq %r12, %rbp
movq %rbp, 0xe0(%rdi)
vmovq %rbp, %xmm1
vpclmulqdq $0x0, %xmm0, %xmm1, %xmm1
vmovq %xmm1, %rax
xorq 0x248(%rdi), %rax
movq %rax, (%rdi)
sarq $0x3f, %rax
movq %rax, 0x248(%rdi)
cmpb $0x0, 0x34(%rdx)
jne 0x18943
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 %r8, 0x20(%rdx)
movq (%rdi), %rax
notq %rax
andq %r8, %rax
movq %rax, 0x20(%rdx)
movb $0x1, 0x34(%rdx)
testb $0x1, %cl
jne 0x1896c
testb $0x1, -0x14(%rsp)
je 0x1899e
movq 0x20(%rdx), %rax
movq %rax, %rcx
negq %rcx
setb %r13b
andq %rax, %rcx
leaq -0x1(%rcx), %r12
orq %rcx, %r12
jmp 0x18a0e
movq 0x20(%rdx), %rax
movq %rax, %rbp
negq %rbp
andq %rax, %rbp
leaq -0x1(%rax), %r8
andq %rax, %r8
movq %r8, 0x20(%rdx)
setne %r13b
je 0x189e9
movq %r8, %rax
negq %rax
andq %r8, %rax
movq %rax, %r12
subq %rbp, %r12
orq %rax, %r12
jmp 0x18a10
movq (%rsi), %rcx
leal 0x3f(%rcx), %eax
testq %rcx, %rcx
cmovnsl %ecx, %eax
andl $0xc0, %eax
subl %eax, %ecx
movl $0x1, %r8d
shlq %cl, %r8
movq %r8, %r12
negq %r12
movq %r12, %rbp
btcq %rcx, %rbp
movq 0x20(%rdx), %rcx
andq %rbp, %rcx
movq %rcx, 0x20(%rdx)
setne %r13b
je 0x189fe
movq %rcx, %rax
negq %rax
andq %rcx, %rax
movq %rax, %r12
subq %r8, %r12
jmp 0x18a08
negq %rbp
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
orq %rax, %rbp
movq %rbp, %r12
jmp 0x18a10
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
orq %rax, %r12
andq %rbp, %r12
movb $0x1, %cl
cmpb $0x0, 0x35(%rdx)
jne 0x18a52
vmovdqa 0x220(%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 %r8, 0x28(%rdx)
movq (%rdi), %rax
notq %rax
andq %r8, %rax
movq %rax, 0x28(%rdx)
movb $0x1, 0x35(%rdx)
andq 0x28(%rdx), %r12
popcntq %r12, %rbp
movl %r15d, %r8d
subl %ebp, %r8d
jle 0x18a75
testb %r13b, %r13b
je 0x18aac
subl %ebp, %r15d
incl %r15d
movl $0x5, %ebp
jmp 0x18abc
cmpl $0x2, %r15d
jl 0x18a90
leal 0x1(%r15), %r8d
leaq -0x1(%r12), %rax
andq %rax, %r12
decl %r8d
cmpl $0x2, %r8d
jg 0x18a7f
movq 0x270(%rdi), %rax
shlq $0x6, %rax
bsfq %r12, %r8
orq %rax, %r8
movq %r8, (%rsi)
movl $0x1, %ebp
jmp 0x18abc
incq %rbx
xorl %ecx, %ecx
movb $0x1, %al
movl %eax, -0x14(%rsp)
movl %r8d, %r15d
xorl %ebp, %ebp
testl %ebp, %ebp
je 0x187cd
cmpl $0x5, %ebp
je 0x187cd
movl -0xc(%rsp), %r10d
movl -0x10(%rsp), %r8d
testb %r8b, %r8b
jne 0x18b5b
movq (%rsi), %rax
leaq 0x1(%rax), %rcx
movzbl (%r9,%rax), %r8d
cmpq $0x20, %r8
ja 0x18b02
btq %r8, %r11
jae 0x18b02
incq %rax
movq %rax, (%rsi)
incq %rcx
jmp 0x18ae3
incq %rcx
movq %rcx, (%rsi)
movzbl (%r9,%rcx), %r14d
cmpq $0x20, %r14
ja 0x18b16
btq %r14, %r11
jb 0x18aff
movl $0x3eb, %eax            # imm = 0x3EB
cmpb $0x5d, %r14b
je 0x18b5e
cmpb $0x2c, %r14b
jne 0x18b2d
incq %rcx
movq %rcx, (%rsi)
movq (%rsi), %rcx
incq %rcx
movzbl -0x1(%r9,%rcx), %r8d
cmpq $0x20, %r8
ja 0x18b4a
btq %r8, %r11
jae 0x18b4a
movq %rcx, (%rsi)
jmp 0x18b30
movl %r10d, -0x14(%rsp)
cmpb $0x5d, %r14b
jne 0x1847a
jmp 0x18b5e
movl %r10d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq