// File: /workspace/github_cpp_makefile_star2_O2/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 %rdx, %r8
movq 0x2c8(%rdi), %r11
leaq 0x30(%rdx), %rax
movq %rax, -0x28(%rsp)
movq (%rsi), %rax
leaq 0x20(%r11), %rcx
movq %rcx, -0x20(%rsp)
vpcmpeqd %xmm0, %xmm0, %xmm0
cqto
movabsq $0x40, %rcx
idivq %rcx
movq %rax, %r9
movq 0x250(%rdi), %r10
movq 0x258(%rdi), %rax
movq %rax, -0x30(%rsp)
movq 0x270(%rdi), %rbp
movq %r9, %r15
shlq $0x6, %r15
addq -0x20(%rsp), %r15
movq %r9, %r12
addq %r9, %r12
xorl %eax, %eax
cmpq %rbp, %r9
jle 0x18cc3
movq -0x28(%rsp), %rcx
andw $0x0, 0x4(%rcx)
andl $0x0, (%rcx)
movq %r12, 0x88(%rdi)
movq %r9, 0x270(%rdi)
vmovdqu -0x20(%r15), %ymm1
vmovdqa %ymm1, 0xa0(%rdi)
vmovdqa 0x140(%rdi), %ymm2
vmovdqa 0x180(%rdi), %ymm3
vpcmpeqb %ymm1, %ymm2, %ymm4
vpmovmskb %ymm4, %r14d
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %r13d
leaq 0x1(%r12), %rcx
movq %rcx, 0x88(%rdi)
vmovdqu (%r15), %ymm1
vmovdqa %ymm1, 0xc0(%rdi)
vpcmpeqb %ymm1, %ymm2, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %edx
shlq $0x20, %rcx
orq %r14, %rcx
shlq $0x20, %rdx
orq %r13, %rdx
leaq (%rdx,%rdx), %r14
notq %r14
andq %rdx, %r14
movq 0x240(%rdi), %rbp
movq %rbp, %r13
xorq %r10, %r13
movq %r14, %rbx
andq %r13, %rbx
notq %r13
andq %r14, %r13
addq %rdx, %rbx
xorl %r14d, %r14d
addq %rdx, %r13
setb %r14b
orq %rbp, %r13
movq %r14, 0x240(%rdi)
andq -0x30(%rsp), %rbx
andq %r10, %r13
orq %rbx, %r13
notq %r13
orq %rdx, %r13
andq %rcx, %r13
movq %r13, 0xe0(%rdi)
vmovq %r13, %xmm1
vpclmulqdq $0x0, %xmm0, %xmm1, %xmm1
vmovq %xmm1, %rcx
xorq 0x248(%rdi), %rcx
movq %rcx, (%rdi)
sarq $0x3f, %rcx
movq %rcx, 0x248(%rdi)
movq %r9, %rbp
cmpb $0x0, 0x32(%r8)
jne 0x18d03
vmovdqa 0x1a0(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %edx
shlq $0x20, %rdx
orq %rcx, %rdx
movq (%rdi), %rcx
notq %rcx
andq %rdx, %rcx
movq %rcx, 0x10(%r8)
movb $0x1, 0x32(%r8)
cmpb $0x0, 0x34(%r8)
je 0x18d10
movq 0x20(%r8), %r13
jmp 0x18d49
vmovdqa 0x200(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %edx
shlq $0x20, %rdx
orq %rcx, %rdx
movq (%rdi), %r13
notq %r13
andq %rdx, %r13
movq %r13, 0x20(%r8)
movb $0x1, 0x34(%r8)
orq 0x10(%r8), %r13
testb $0x1, %al
je 0x18d66
movq %r13, %rax
negq %rax
setb %cl
andq %r13, %rax
leaq -0x1(%rax), %rdx
orq %rax, %rdx
jmp 0x18dbe
movq (%rsi), %rax
cqto
movabsq $0x40, %rcx
idivq %rcx
movq %rdx, %rcx
movabsq $0x1, %r14
shlq %cl, %r14
movq %r14, %rdx
negq %rdx
movq %rdx, %rax
btcq %rcx, %rax
andq %rax, %r13
setne %cl
je 0x18dae
movq %r13, %rbx
negq %rbx
andq %r13, %rbx
movq %rbx, %rdx
subq %r14, %rdx
jmp 0x18db8
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
orq %rbx, %rdx
andq %rax, %rdx
cmpb $0x0, 0x35(%r8)
je 0x18dcb
movq 0x28(%r8), %rax
jmp 0x18e04
vmovdqa 0x220(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %eax
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %ebx
shlq $0x20, %rbx
orq %rax, %rbx
movq (%rdi), %rax
notq %rax
andq %rbx, %rax
movq %rax, 0x28(%r8)
movb $0x1, 0x35(%r8)
andq %rdx, %rax
jne 0x191e0
incq %r9
addq $0x40, %r15
addq $0x2, %r12
movb $0x1, %al
testb %cl, %cl
je 0x18bbd
shlq $0x6, %rbp
bsrq %rdx, %rax
xorq $0x3f, %rax
orq %rbp, %rax
xorq $0x3f, %rax
movq %rax, (%rsi)
movzbl (%r11,%rax), %ecx
cmpl $0x20, %ecx
jne 0x18e47
incq %rax
jmp 0x18e35
cmpl $0x5b, %ecx
je 0x191f5
cqto
movabsq $0x40, %rcx
idivq %rcx
movq %rax, %r9
movb $0x1, %r10b
movl $0x0, -0x30(%rsp)
movl $0x1, %edx
leaq (%r9,%r9), %rax
movq %rax, -0x8(%rsp)
movq %r9, %rax
shlq $0x6, %rax
movq %rax, -0x10(%rsp)
leaq 0x1(,%r9,2), %r15
movq %r15, -0x18(%rsp)
shlq $0x5, %r15
xorl %eax, %eax
movl %edx, %r14d
movq 0x2e0(%rdi), %rcx
cmpq %rcx, %r9
jge 0x18ea4
cmpq 0x270(%rdi), %r9
jle 0x18fc6
movq -0x28(%rsp), %rcx
andw $0x0, 0x4(%rcx)
andl $0x0, (%rcx)
movq -0x8(%rsp), %rcx
movq %rcx, 0x88(%rdi)
movq %r9, 0x270(%rdi)
movq -0x10(%rsp), %rcx
vmovdqu (%r11,%rcx), %ymm1
vmovdqa %ymm1, 0xa0(%rdi)
vmovdqa 0x140(%rdi), %ymm2
vmovdqa 0x180(%rdi), %ymm3
vpcmpeqb %ymm1, %ymm2, %ymm4
vpmovmskb %ymm4, %r10d
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %ebx
movq -0x18(%rsp), %rcx
movq %rcx, 0x88(%rdi)
vmovdqu (%r11,%r15), %ymm1
vmovdqa %ymm1, 0xc0(%rdi)
vpcmpeqb %ymm1, %ymm2, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb %ymm1, %ymm3, %ymm1
vpmovmskb %ymm1, %edx
shlq $0x20, %rcx
orq %r10, %rcx
shlq $0x20, %rdx
orq %rbx, %rdx
leaq (%rdx,%rdx), %rbx
notq %rbx
andq %rdx, %rbx
movq 0x250(%rdi), %r13
movq 0x240(%rdi), %rbp
movq %rbp, %r10
xorq %r13, %r10
movq %rbx, %r12
andq %r10, %r12
notq %r10
andq %rbx, %r10
addq %rdx, %r12
xorl %ebx, %ebx
addq %rdx, %r10
setb %bl
orq %rbp, %r10
movq %rbx, 0x240(%rdi)
andq %r13, %r10
andq 0x258(%rdi), %r12
orq %r12, %r10
notq %r10
orq %rdx, %r10
andq %rcx, %r10
movq %r10, 0xe0(%rdi)
vmovq %r10, %xmm1
vpclmulqdq $0x0, %xmm0, %xmm1, %xmm1
vmovq %xmm1, %rcx
xorq 0x248(%rdi), %rcx
movq %rcx, (%rdi)
sarq $0x3f, %rcx
movq %rcx, 0x248(%rdi)
movb 0x32(%r8), %r10b
testb %r10b, %r10b
jne 0x19007
vmovdqa 0x1a0(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %ecx
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %edx
shlq $0x20, %rdx
orq %rcx, %rdx
movq (%rdi), %rcx
notq %rcx
andq %rdx, %rcx
movq %rcx, 0x10(%r8)
movb $0x1, 0x32(%r8)
movb $0x1, %r10b
testb $0x1, %al
jne 0x1902e
testb $0x1, -0x30(%rsp)
je 0x1905e
movq 0x10(%r8), %rax
movq %rax, %rbx
negq %rbx
setb %cl
andq %rax, %rbx
leaq -0x1(%rbx), %rdx
orq %rbx, %rdx
jmp 0x190d5
movq 0x10(%r8), %rdx
movq %rdx, %r13
negq %r13
andq %rdx, %r13
leaq -0x1(%rdx), %rcx
andq %rdx, %rcx
movq %rcx, 0x10(%r8)
je 0x190ae
movq %rcx, %rbx
negq %rbx
andq %rcx, %rbx
movq %rbx, %rdx
subq %r13, %rdx
orq %rbx, %rdx
movb $0x1, %cl
jmp 0x190d7
movq (%rsi), %rax
cqto
movabsq $0x40, %rcx
idivq %rcx
movq %rdx, %rcx
movabsq $0x1, %r13
shlq %cl, %r13
movq %r13, %rdx
negq %rdx
movq %rdx, %rax
btcq %rcx, %rax
movq 0x10(%r8), %rbp
andq %rax, %rbp
movq %rbp, 0x10(%r8)
setne %cl
je 0x190c5
movq %rbp, %rbx
negq %rbx
andq %rbp, %rbx
movq %rbx, %rdx
subq %r13, %rdx
jmp 0x190cf
negq %r13
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
orq %rcx, %r13
xorl %ecx, %ecx
movq %r13, %rdx
jmp 0x190d7
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
orq %rbx, %rdx
andq %rax, %rdx
movb $0x1, %al
cmpb $0x0, 0x33(%r8)
je 0x190e4
movq 0x18(%r8), %r13
jmp 0x1911d
vmovdqa 0x1c0(%rdi), %ymm1
vpcmpeqb 0xa0(%rdi), %ymm1, %ymm2
vpmovmskb %ymm2, %ebx
vpcmpeqb 0xc0(%rdi), %ymm1, %ymm1
vpmovmskb %ymm1, %r12d
shlq $0x20, %r12
orq %rbx, %r12
movq (%rdi), %r13
notq %r13
andq %r12, %r13
movq %r13, 0x18(%r8)
movb $0x1, 0x33(%r8)
andq %rdx, %r13
popcntq %r13, %rbp
movl %r14d, %edx
subl %ebp, %edx
jle 0x19149
testb %cl, %cl
je 0x1913b
subl %ebp, %r14d
incl %r14d
jmp 0x18e9d
incq %r9
movb $0x1, %al
movl %eax, -0x30(%rsp)
jmp 0x18e72
movabsq $0x100002400, %r9       # imm = 0x100002400
cmpl $0x2, %r14d
jl 0x19165
leaq -0x1(%r13), %rax
andq %rax, %r13
decl %r14d
jmp 0x19153
movq 0x270(%rdi), %rcx
shlq $0x6, %rcx
bsfq %r13, %rdx
leaq (%rdx,%rcx), %rax
incq %rax
orq %rdx, %rcx
movq %rcx, (%rsi)
movzbl (%r11,%rcx), %edx
cmpq $0x20, %rdx
ja 0x1919d
btq %rdx, %r9
jae 0x1919d
incq %rcx
incq %rax
jmp 0x1917e
incq %rax
movq %rax, (%rsi)
movzbl (%r11,%rax), %ecx
cmpl $0xa, %ecx
je 0x1919a
cmpl $0xd, %ecx
je 0x1919a
cmpl $0x20, %ecx
je 0x1919a
cmpl $0x2c, %ecx
je 0x191c0
cmpl $0x5d, %ecx
jne 0x191c6
jmp 0x191fc
incq %rax
movq %rax, (%rsi)
movzbl (%r11,%rax), %ecx
cmpq $0x20, %rcx
ja 0x18b7d
btq %rcx, %r9
jb 0x191c0
jmp 0x18b7d
shlq $0x6, %rbp
bsfq %rax, %rax
orq %rbp, %rax
movq %rax, (%rsi)
movl $0x3ea, %eax            # imm = 0x3EA
jmp 0x19201
movl $0x3e9, %eax            # imm = 0x3E9
jmp 0x19201
movl $0x3eb, %eax            # imm = 0x3EB
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq
nop