// File: /workspace/github_cpp_makefile_star2_O1/AutomataLab[P]JSONSki/src/QueryProcessor.cpp
// Function: QueryProcessor::goToAryElem(long&, bitmap&)
__attribute__((always_inline)) int QueryProcessor::goToAryElem(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 == ARRAY) {
            return SUCCESS;
        }
        goOverObj(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 0x18d87
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 0x18dc9
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 0x18e0b
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 0x18e2e
movq %r12, %r8
negq %r8
setb %cl
andq %r12, %r8
leaq -0x1(%r8), %r15
orq %r8, %r15
jmp 0x18e88
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 0x18e78
movq %r12, %r10
negq %r10
andq %r12, %r10
movq %r10, %r15
subq %r8, %r15
orq %r10, %r15
jmp 0x18e85
movabsq $-0x8000000000000000, %r8 # imm = 0x8000000000000000
orq %r8, %r15
andq %r13, %r15
cmpb $0x0, 0x35(%rdx)
jne 0x18eca
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 0x18ef0
movq 0x270(%rdi), %rcx
shlq $0x6, %rcx
bsfq %r8, %r8
orq %rcx, %r8
movq %r8, (%rsi)
movl $0x3ea, %r14d           # imm = 0x3EA
jmp 0x18f17
testb %cl, %cl
je 0x18f23
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 0x18c5e
jmp 0x18f2d
incq %rax
movb $0x1, %bpl
movb $0x1, %cl
jmp 0x18f19
movl -0x14(%rsp), %eax
cmpl $0x3ea, %r14d           # imm = 0x3EA
cmovel %r14d, %eax
je 0x1932e
movq (%rsi), %rcx
movzbl (%r9,%rcx), %r8d
cmpl $0x20, %r8d
jne 0x18f58
incq %rcx
movq %rcx, (%rsi)
jmp 0x18f45
cmpl $0x5b, %r8d
jne 0x18f63
movb $0x1, %r8b
jmp 0x18f66
xorl %r8d, %r8d
movl $0x3e9, %r10d           # imm = 0x3E9
testb %r8b, %r8b
jne 0x192a7
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 0x18f9d
cmpq 0x270(%rdi), %rbx
jle 0x190d1
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, 0x32(%rdx)
jne 0x19113
vmovdqa 0x1a0(%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, 0x10(%rdx)
movq (%rdi), %rax
notq %rax
andq %r8, %rax
movq %rax, 0x10(%rdx)
movb $0x1, 0x32(%rdx)
testb $0x1, %cl
jne 0x1913c
testb $0x1, -0x14(%rsp)
je 0x1916e
movq 0x10(%rdx), %rax
movq %rax, %rcx
negq %rcx
setb %r13b
andq %rax, %rcx
leaq -0x1(%rcx), %r12
orq %rcx, %r12
jmp 0x191de
movq 0x10(%rdx), %rax
movq %rax, %rbp
negq %rbp
andq %rax, %rbp
leaq -0x1(%rax), %r8
andq %rax, %r8
movq %r8, 0x10(%rdx)
setne %r13b
je 0x191b9
movq %r8, %rax
negq %rax
andq %r8, %rax
movq %rax, %r12
subq %rbp, %r12
orq %rax, %r12
jmp 0x191e0
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 0x10(%rdx), %rcx
andq %rbp, %rcx
movq %rcx, 0x10(%rdx)
setne %r13b
je 0x191ce
movq %rcx, %rax
negq %rax
andq %rcx, %rax
movq %rax, %r12
subq %r8, %r12
jmp 0x191d8
negq %rbp
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
orq %rax, %rbp
movq %rbp, %r12
jmp 0x191e0
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
orq %rax, %r12
andq %rbp, %r12
movb $0x1, %cl
cmpb $0x0, 0x33(%rdx)
jne 0x19222
vmovdqa 0x1c0(%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, 0x18(%rdx)
movq (%rdi), %rax
notq %rax
andq %r8, %rax
movq %rax, 0x18(%rdx)
movb $0x1, 0x33(%rdx)
andq 0x18(%rdx), %r12
popcntq %r12, %rbp
movl %r15d, %r8d
subl %ebp, %r8d
jle 0x19245
testb %r13b, %r13b
je 0x1927c
subl %ebp, %r15d
incl %r15d
movl $0x5, %ebp
jmp 0x1928c
cmpl $0x2, %r15d
jl 0x19260
leal 0x1(%r15), %r8d
leaq -0x1(%r12), %rax
andq %rax, %r12
decl %r8d
cmpl $0x2, %r8d
jg 0x1924f
movq 0x270(%rdi), %rax
shlq $0x6, %rax
bsfq %r12, %r8
orq %rax, %r8
movq %r8, (%rsi)
movl $0x1, %ebp
jmp 0x1928c
incq %rbx
xorl %ecx, %ecx
movb $0x1, %al
movl %eax, -0x14(%rsp)
movl %r8d, %r15d
xorl %ebp, %ebp
testl %ebp, %ebp
je 0x18f9d
cmpl $0x5, %ebp
je 0x18f9d
movl -0xc(%rsp), %r10d
movl -0x10(%rsp), %r8d
testb %r8b, %r8b
jne 0x1932b
movq (%rsi), %rax
leaq 0x1(%rax), %rcx
movzbl (%r9,%rax), %r8d
cmpq $0x20, %r8
ja 0x192d2
btq %r8, %r11
jae 0x192d2
incq %rax
movq %rax, (%rsi)
incq %rcx
jmp 0x192b3
incq %rcx
movq %rcx, (%rsi)
movzbl (%r9,%rcx), %r14d
cmpq $0x20, %r14
ja 0x192e6
btq %r14, %r11
jb 0x192cf
movl $0x3eb, %eax            # imm = 0x3EB
cmpb $0x5d, %r14b
je 0x1932e
cmpb $0x2c, %r14b
jne 0x192fd
incq %rcx
movq %rcx, (%rsi)
movq (%rsi), %rcx
incq %rcx
movzbl -0x1(%r9,%rcx), %r8d
cmpq $0x20, %r8
ja 0x1931a
btq %r8, %r11
jae 0x1931a
movq %rcx, (%rsi)
jmp 0x19300
movl %r10d, -0x14(%rsp)
cmpb $0x5d, %r14b
jne 0x18c4a
jmp 0x1932e
movl %r10d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq