// File: /workspace/github_cpp_makefile_star2_O1/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
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x2d, 0x20(%rsp)
movq 0x8(%rsp), %rsi
testq %rsi, %rsi
je 0x61df
movl $0x2d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x61ec
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x4, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6211
movl $0x4, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x621e
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x5, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6243
movl $0x5, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6250
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x2, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6275
movl $0x2, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6282
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x63, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x62a7
movl $0x63, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x62b4
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x29, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x62d9
movl $0x29, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x62e6
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x2d, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x630b
movl $0x2d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6318
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x2d, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x633d
movl $0x2d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x634a
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x33, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x636f
movl $0x33, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x637c
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x59, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x63a1
movl $0x59, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x63ae
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x1, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x63d3
movl $0x1, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x63e0
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x3, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6405
movl $0x3, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6412
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x5, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6437
movl $0x5, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6444
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
movl $0x62, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6469
movl $0x62, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x6476
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xdfc6
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rsp, %rsi
callq 0xbc56
movq 0x8(%rsp), %rax
cmpq (%rsp), %rax
je 0x6544
leaq 0xeb97(%rip), %r14      # 0x1503e
xorl %r15d, %r15d
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x2, %rax
cmpq %rax, %r15
jae 0x652b
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 0xbe80
movq (%rsp), %rcx
movl (%rcx,%rbp,4), %r8d
cmpl %r12d, %r15d
jg 0x6501
addq %r13, %rcx
xorl %edx, %edx
movl (%rcx,%rdx,4), %esi
cmpl %r8d, %esi
cmoval %esi, %r8d
incq %rdx
cmpl %edx, %ebx
jne 0x64f0
movq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x5070
movq 0x8(%rsp), %rax
subq (%rsp), %rax
incq %r12
sarq $0x2, %rax
incq %rbx
cmpq %rax, %r12
jb 0x64ce
incq %r15
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x2, %rax
cmpq %rax, %r15
jb 0x64aa
leaq 0x20(%rsp), %rdi
callq 0xcb5e
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x6564
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 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
jmp 0x658f
movq %rax, %rbx
jmp 0x65a3
jmp 0x6596
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0xcb5e
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x65b9
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x54c0
movq %rbx, %rdi
callq 0x58e0