// File: /workspace/github_cpp_makefile_star2_O3/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), %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 0x18da5
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 0x18de3
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 0x18def
movq 0x20(%rdx), %r11
jmp 0x18e27
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 0x18e45
movq %r11, %rcx
negq %rcx
setb %al
andq %r11, %rcx
leaq -0x1(%rcx), %r10
orq %rcx, %r10
jmp 0x18e97
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 0x18e87
movq %r11, %rcx
negq %rcx
andq %r11, %rcx
movq %rcx, %r10
subq %r12, %r10
jmp 0x18e91
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
orq %rcx, %r10
andq %r9, %r10
cmpb $0x0, 0x35(%rdx)
je 0x18ea3
movq 0x28(%rdx), %rcx
jmp 0x18edb
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 0x192e5
incq %r14
addq $0x40, %rbx
addq $0x2, %r13
movb $0x1, %cl
testb %al, %al
je 0x18ca1
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 0x18f23
incq %rax
jmp 0x18f11
cmpl $0x5b, %ecx
je 0x192fa
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 0x18f53
leaq (%rbx,%rbx), %r15
movq %rbx, %r12
shlq $0x6, %r12
addq -0x10(%rsp), %r12
movl %eax, %r14d
cmpq 0x270(%rdi), %rbx
jle 0x19084
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 0x32(%rdx), %r13b
testb %r13b, %r13b
jne 0x190c4
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 (%rdi), %rax
notq %rax
andq %r8, %rax
movq %rax, 0x10(%rdx)
movb $0x1, 0x32(%rdx)
movb $0x1, %r13b
testb $0x1, %cl
jne 0x190ec
testb $0x1, %sil
je 0x1911d
movq 0x10(%rdx), %rax
movq %rax, %rcx
negq %rcx
setb %r10b
andq %rax, %rcx
leaq -0x1(%rcx), %rax
orq %rcx, %rax
jmp 0x19198
movq 0x10(%rdx), %r8
movq %r8, %r9
negq %r9
andq %r8, %r9
leaq -0x1(%r8), %rax
andq %r8, %rax
movq %rax, 0x10(%rdx)
je 0x19170
movq %rax, %r8
negq %r8
andq %rax, %r8
movq %r8, %rax
subq %r9, %rax
orq %r8, %rax
movb $0x1, %r10b
jmp 0x1919a
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 0x10(%rdx), %rcx
andq %r11, %rcx
movq %rcx, 0x10(%rdx)
setne %r10b
je 0x19188
movq %rcx, %r8
negq %r8
andq %rcx, %r8
movq %r8, %rax
subq %r9, %rax
orq %r8, %rax
jmp 0x19195
negq %r9
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
orq %rax, %r9
xorl %r10d, %r10d
movq %r9, %rax
jmp 0x1919a
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
orq %rcx, %rax
andq %r11, %rax
movb $0x1, %cl
cmpb $0x0, 0x33(%rdx)
je 0x191a6
movq 0x18(%rdx), %r11
jmp 0x191de
vmovdqa 0x1c0(%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, 0x18(%rdx)
movb $0x1, 0x33(%rdx)
andq %rax, %r11
popcntq %r11, %r9
movl %r14d, %eax
subl %r9d, %eax
jle 0x19226
testb %r10b, %r10b
jne 0x19218
incq %rbx
addq $0x2, %r15
addq $0x40, %r12
movb $0x1, %sil
xorl %ecx, %ecx
movl %eax, %r14d
cmpq 0x2e0(%rdi), %rbx
jl 0x18f6b
jmp 0x18f4c
subl %r9d, %r14d
incl %r14d
movl %r14d, %eax
jmp 0x18f4c
cmpl $0x2, %r14d
jl 0x19250
incl %r14d
movq -0x18(%rsp), %r8
movabsq $0x100002400, %r10      # imm = 0x100002400
leaq -0x1(%r11), %rax
andq %rax, %r11
decl %r14d
cmpl $0x2, %r14d
ja 0x1923e
jmp 0x1925f
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 0x192a1
btq %r9, %r10
jae 0x192a1
incq %rax
incq %rcx
jmp 0x1927d
cmpl $0x20, %eax
jne 0x192ba
incq %rcx
movq %rcx, (%rsi)
movzbl (%r8,%rcx), %eax
cmpl $0x1f, %eax
jg 0x19299
cmpl $0xa, %eax
je 0x1929e
cmpl $0xd, %eax
je 0x1929e
jmp 0x192c4
cmpl $0x2c, %eax
je 0x192dd
cmpl $0x5d, %eax
je 0x19301
movzbl (%r8,%rcx), %eax
cmpq $0x20, %rax
ja 0x18c61
btq %rax, %r10
jae 0x18c61
incq %rcx
movq %rcx, (%rsi)
jmp 0x192c4
shlq $0x6, %rbp
bsfq %rcx, %rax
orq %rbp, %rax
movq %rax, (%rsi)
movl $0x3ea, %eax            # imm = 0x3EA
jmp 0x19306
movl $0x3e9, %eax            # imm = 0x3E9
jmp 0x19306
movl $0x3eb, %eax            # imm = 0x3EB
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq