// File: /workspace/github_cpp_makefile_star2_O3/nilnilnil[P]autocomplete/./include/sparsetable.hpp
// Function: sparsetable::test()
pui_t
    naive_query_max(vui_t const& v, int i, int j) {
        uint_t mv = v[i];
        uint_t mi = i;
        while (i <= j) {
            if (v[i] > mv) {
                mv = v[i];
                mi = i;
            }
            ++i;
        }
        return pui_t(mv, mi);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x20(%rsp), %rdx
movl $0x2d, (%rdx)
xorl %esi, %esi
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x4, 0x20(%rsp)
cmpq %rax, %rsi
je 0x61fd
movl $0x4, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6214
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x5, 0x20(%rsp)
cmpq %rax, %rsi
je 0x6232
movl $0x5, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6249
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x2, 0x20(%rsp)
cmpq %rax, %rsi
je 0x6267
movl $0x2, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x627e
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x63, 0x20(%rsp)
cmpq %rax, %rsi
je 0x629c
movl $0x63, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x62b3
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x29, 0x20(%rsp)
cmpq %rax, %rsi
je 0x62d1
movl $0x29, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x62e8
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x2d, 0x20(%rsp)
cmpq %rax, %rsi
je 0x6306
movl $0x2d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x631d
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x2d, 0x20(%rsp)
cmpq %rax, %rsi
je 0x633b
movl $0x2d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6352
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x33, 0x20(%rsp)
cmpq %rax, %rsi
je 0x6370
movl $0x33, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6387
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x59, 0x20(%rsp)
cmpq %rax, %rsi
je 0x63a5
movl $0x59, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x63bc
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x1, 0x20(%rsp)
cmpq %rax, %rsi
je 0x63da
movl $0x1, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x63f1
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x3, 0x20(%rsp)
cmpq %rax, %rsi
je 0x640f
movl $0x3, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6426
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x5, 0x20(%rsp)
cmpq %rax, %rsi
je 0x6444
movl $0x5, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x645b
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
movl $0x62, 0x20(%rsp)
cmpq %rax, %rsi
je 0x6479
movl $0x62, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6486
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdf54
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rsp, %rsi
callq 0xbc72
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
cmpq %rax, %rcx
je 0x654d
leaq 0xeb84(%rip), %r14      # 0x1503e
xorl %r15d, %r15d
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %rdx, %r15
jae 0x6541
movslq %r15d, %r13
shlq $0x2, %r13
movslq %r15d, %rbp
movl $0x1, %ebx
movq %r15, %r12
leaq 0x20(%rsp), %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0xbe82
movq (%rsp), %rcx
movl (%rcx,%rbp,4), %r8d
cmpl %r12d, %r15d
jg 0x6511
addq %r13, %rcx
xorl %edx, %edx
movl (%rcx,%rdx,4), %esi
cmpl %r8d, %esi
cmoval %esi, %r8d
incq %rdx
cmpl %edx, %ebx
jne 0x6500
movq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x5070
incq %r12
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x2, %rdx
incq %rbx
cmpq %rdx, %r12
jb 0x64de
incq %r15
cmpq %rdx, %r15
jb 0x64bd
leaq 0x20(%rsp), %rdi
callq 0xcb16
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x656d
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x54c0
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659a
jmp 0x659f
movq %rax, %rbx
jmp 0x65ac
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0xcb16
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x65c2
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x54c0
movq %rbx, %rdi
callq 0x58e0