// File: /workspace/github_c_makefile_star2_O2/samtools[P]htslib/bcf_sr_sort.c
// Function: bcf_sr_sort_next
int bcf_sr_sort_next(bcf_srs_t *readers, sr_sort_t *srt, const char *chr, hts_pos_t min_pos)
{
    int i,j;
    assert( srt->nactive>0 );

    if ( srt->nsr != readers->nreaders )
    {
        srt->sr = readers;
        if ( srt->nsr < readers->nreaders )
        {
            srt->vcf_buf = (vcf_buf_t*) realloc(srt->vcf_buf,readers->nreaders*sizeof(vcf_buf_t));
            memset(srt->vcf_buf + srt->nsr, 0, sizeof(vcf_buf_t)*(readers->nreaders - srt->nsr));
            if ( srt->msr < srt->nsr ) srt->msr = srt->nsr;
        }
        srt->nsr = readers->nreaders;
        srt->chr = NULL;
    }
    if ( srt->nactive == 1 )
    {
        if ( readers->nreaders>1 )
            memset(readers->has_line, 0, readers->nreaders*sizeof(*readers->has_line));
        bcf_sr_t *reader = &readers->readers[srt->active[0]];
        assert( reader->buffer[1]->pos==min_pos );
        bcf1_t *tmp = reader->buffer[0];
        for (j=1; j<=reader->nbuffer; j++) reader->buffer[j-1] = reader->buffer[j];
        reader->buffer[ reader->nbuffer ] = tmp;
        reader->nbuffer--;
        readers->has_line[srt->active[0]] = 1;
        return 1;
    }
    if ( !srt->chr || srt->pos!=min_pos || strcmp(srt->chr,chr) ) bcf_sr_sort_set(readers, srt, chr, min_pos);

    if ( !srt->vcf_buf[0].nrec ) return 0;

#if DEBUG_VBUF
    debug_vbuf(srt);
#endif

    int nret = 0;
    for (i=0; i<srt->sr->nreaders; i++)
    {
        vcf_buf_t *buf = &srt->vcf_buf[i];

        if ( buf->rec[0] )
        {
            bcf_sr_t *reader = &srt->sr->readers[i];
            for (j=1; j<=reader->nbuffer; j++)
                if ( reader->buffer[j] == buf->rec[0] ) break;

            assert( j<=reader->nbuffer );

            bcf1_t *tmp = reader->buffer[0];
            reader->buffer[0] = reader->buffer[j++];
            for (; j<=reader->nbuffer; j++) reader->buffer[j-1] = reader->buffer[j];
            reader->buffer[ reader->nbuffer ] = tmp;
            reader->nbuffer--;

            nret++;
            srt->sr->has_line[i] = 1;
        }
        else
            srt->sr->has_line[i] = 0;

        buf->nrec--;
        if ( buf->nrec > 0 )
            memmove(buf->rec, &buf->rec[1], buf->nrec*sizeof(bcf1_t*));
    }
    return nret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rcx, 0x98(%rsp)
movq %rdx, 0xa0(%rsp)
movl 0x1c4(%rsi), %ecx
testl %ecx, %ecx
jle 0x6fc66
movq %rsi, %r13
movq %rdi, %r12
movl 0x1b8(%rsi), %eax
movl 0x30(%rdi), %ebx
cmpl %ebx, %eax
je 0x6e4ab
movq %r12, 0x158(%r13)
jge 0x6e493
movslq %ebx, %rsi
movq 0x150(%r13), %rdi
shlq $0x4, %rsi
callq 0x4870
movq %rax, 0x150(%r13)
movslq 0x1b8(%r13), %r14
movq %r14, %rdi
shlq $0x4, %rdi
addq %rax, %rdi
movl 0x30(%r12), %ebx
movl %ebx, %eax
subl %r14d, %eax
movslq %eax, %rdx
shlq $0x4, %rdx
xorl %esi, %esi
callq 0x4250
cmpl %r14d, 0x1bc(%r13)
jge 0x6e493
movl %r14d, 0x1bc(%r13)
movl %ebx, 0x1b8(%r13)
andq $0x0, 0x1a8(%r13)
movl 0x1c4(%r13), %ecx
movl %ebx, %eax
cmpl $0x1, %ecx
jne 0x6e525
cmpl $0x2, %eax
jl 0x6e4c7
movq 0x18(%r12), %rdi
movl %eax, %edx
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x4250
movq 0x28(%r12), %rax
movq 0x1d0(%r13), %rcx
movslq (%rcx), %rcx
imulq $0x60, %rcx, %rdx
movq 0x30(%rax,%rdx), %rcx
movq 0x8(%rcx), %rsi
movq 0x98(%rsp), %rdi
cmpq %rdi, (%rsi)
jne 0x6fc85
addq %rdx, %rax
movq (%rcx), %rdx
movslq 0x38(%rax), %rcx
xorl %esi, %esi
testl %ecx, %ecx
movl $0x0, %edi
cmovgl %ecx, %edi
movq 0x30(%rax), %r8
cmpq %rsi, %rdi
je 0x6e641
movq 0x8(%r8,%rsi,8), %r9
movq %r9, (%r8,%rsi,8)
incq %rsi
jmp 0x6e50a
movq 0x1a8(%r13), %rdi
testq %rdi, %rdi
je 0x6e557
movq 0x98(%rsp), %rax
cmpq %rax, 0x1b0(%r13)
jne 0x6e557
movq 0xa0(%rsp), %rsi
callq 0x46f0
testl %eax, %eax
je 0x6fa9e
movq 0x160(%r13), %r14
testq %r14, %r14
jne 0x6e683
movl 0x1c0(%r13), %eax
testl %eax, %eax
jne 0x6e599
movl (%r12), %edx
testl %edx, %edx
jne 0x6e585
movl $0x40, (%r12)
pushq $0x40
popq %rdx
pushq $0x1
popq %rsi
movq %r12, %rdi
xorl %eax, %eax
callq 0x20cfd
movl 0x1c0(%r13), %eax
testb $0x4, %al
je 0x6e5a7
orl $0x33, %eax
movl %eax, 0x1c0(%r13)
testb $0x1, %al
je 0x6e5b0
movb $0x3, 0x22(%r13)
testb $0x2, %al
je 0x6e5b9
movb $0x3, 0x44(%r13)
testb $0x10, %al
je 0x6e5c7
movb $0x2, %cl
movb %cl, 0x21(%r13)
movb %cl, 0x12(%r13)
testb $0x20, %al
je 0x6e5d5
movb $0x2, %cl
movb %cl, 0x41(%r13)
movb %cl, 0x14(%r13)
testb $0x4, %al
jne 0x6fbae
xorl %edx, %edx
pushq $0x10
popq %rsi
pushq $0x1
popq %rdi
cmpq $0x100, %rdx            # imm = 0x100
je 0x6e668
cmpb $0x0, (%r13,%rdx)
jne 0x6e63c
xorl %r8d, %r8d
xorl %eax, %eax
cmpl $0x4, %eax
je 0x6e637
movl %esi, %r9d
movl %eax, %ecx
shll %cl, %r9d
testl %edx, %r9d
je 0x6e633
xorl %ecx, %ecx
cmpl $0x4, %ecx
je 0x6e633
movl %edi, %r10d
shll %cl, %r10d
btl %ecx, %edx
jae 0x6e62f
orl %r9d, %r10d
movzbl (%r13,%r10), %r10d
cmpl %r10d, %r8d
cmovlel %r10d, %r8d
incl %ecx
jmp 0x6e60f
incl %eax
jmp 0x6e5fb
movb %r8b, (%r13,%rdx)
incq %rdx
jmp 0x6e5e5
movq %rdx, (%r8,%rcx,8)
decl %ecx
movl %ecx, 0x38(%rax)
movq 0x18(%r12), %rax
movq 0x1d0(%r13), %rcx
movslq (%rcx), %rcx
movl $0x1, (%rax,%rcx,4)
pushq $0x1
popq %rbp
jmp 0x6fb9a
callq 0x6ff4c
movq %rax, %r14
movq %rax, 0x160(%r13)
callq 0x6ff4c
movq %rax, 0x168(%r13)
xorl %ebx, %ebx
xorl %r15d, %r15d
movl (%r14), %eax
cmpq %rax, %r15
jae 0x6e6bf
movq 0x10(%r14), %rax
movq %r15, %rcx
shrq $0x4, %rcx
movl (%rax,%rcx,4), %eax
movl %ebx, %ecx
andb $0x1e, %cl
shrl %cl, %eax
testb $0x3, %al
jne 0x6e6b6
movq 0x18(%r14), %rax
movq (%rax,%rbx,4), %rdi
callq 0x45d0
incq %r15
addq $0x2, %rbx
jmp 0x6e688
movq 0x168(%r13), %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
movl (%rbx), %eax
cmpq %rax, %r15
jae 0x6e703
movq 0x10(%rbx), %rax
movq %r15, %rcx
shrq $0x4, %rcx
movl (%rax,%rcx,4), %eax
movl %r14d, %ecx
andb $0x1e, %cl
shrl %cl, %eax
testb $0x3, %al
jne 0x6e6fa
movq 0x18(%rbx), %rax
movq (%rax,%r14,4), %rdi
callq 0x45d0
incq %r15
addq $0x2, %r14
jmp 0x6e6cc
movq 0x160(%r13), %rdi
callq 0x6ff57
movq 0x168(%r13), %rdi
callq 0x6ff57
andl $0x0, 0x110(%r13)
andl $0x0, 0x100(%r13)
andl $0x0, 0x128(%r13)
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movaps %xmm0, 0xc0(%rsp)
movl 0x30(%r12), %eax
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
shlq $0x4, %rax
cmpq %rcx, %rax
je 0x6e76c
movq 0x150(%r13), %rdx
andl $0x0, (%rdx,%rcx)
addq $0x10, %rcx
jmp 0x6e756
movq %r12, 0x78(%rsp)
leaq 0x190(%r13), %rax
movq %rax, 0xa8(%rsp)
leaq 0x170(%r13), %rbp
leaq 0x108(%r13), %rax
movq %rax, 0x28(%rsp)
leaq 0x1a0(%r13), %rax
movq %rax, 0x50(%rsp)
leaq 0x140(%r13), %rax
movq %rax, 0x80(%rsp)
pushq $0x2c
popq %r12
xorl %ecx, %ecx
movq %r13, 0x18(%rsp)
movslq 0x1c4(%r13), %rax
cmpq %rax, %rcx
jge 0x6eed0
movq 0x1d0(%r13), %rax
movq %rcx, 0x48(%rsp)
movslq (%rax,%rcx,4), %rcx
movq 0x78(%rsp), %rax
movq 0x28(%rax), %r14
movq %rcx, 0x88(%rsp)
imulq $0x60, %rcx, %rbx
movq 0x18(%r14,%rbx), %rdi
pushq $0x1
popq %rsi
movq 0xa0(%rsp), %rdx
callq 0x29398
andl $0x0, 0xc8(%rsp)
movl %eax, 0xb0(%rsp)
movq %r14, 0x58(%rsp)
movl 0x38(%r14,%rbx), %edi
movslq 0x188(%r13), %rsi
cmpl %esi, %edi
jle 0x6e858
cmpl $0x2, %edi
pushq $0x1
popq %rax
cmovll %eax, %edi
leaq 0x26e0a(%rip), %rax     # 0x95641
movq %rax, (%rsp)
pushq $0x4
popq %rcx
movq %rcx, %rdx
xorl %r8d, %r8d
movq 0xa8(%rsp), %r9
callq 0xf517
movl %eax, 0x188(%r13)
addq %rbx, 0x58(%rsp)
andl $0x0, 0x18c(%r13)
andq $0x0, 0x170(%r13)
pushq $0x1
popq %rsi
pushq $0x3e
popq %rbx
movq 0x58(%rsp), %rax
movslq 0x38(%rax), %rax
cmpq %rax, %rsi
jg 0x6ec7c
movq 0x58(%rsp), %rax
movq 0x30(%rax), %rax
movq (%rax,%rsi,8), %r14
movl 0xb0(%rsp), %eax
cmpl %eax, 0x10(%r14)
jne 0x6ec7c
movq 0x98(%rsp), %rax
cmpq %rax, (%r14)
jne 0x6ec7c
movq %rsi, 0x68(%rsp)
cmpq $0x0, (%rbp)
je 0x6e8d1
pushq $0x3b
popq %rdi
movq %rbp, %rsi
callq 0x6ff8d
movq (%rbp), %rsi
jmp 0x6e8d3
xorl %esi, %esi
movq 0x190(%r13), %rax
movslq 0x18c(%r13), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x18c(%r13)
movq %rsi, 0x30(%rsp)
movl %esi, (%rax,%rcx,4)
testb $-0x80, 0x1c0(%r13)
je 0x6e914
movq 0x78(%r14), %rdi
movq %rbp, %rsi
callq 0x6ffcc
pushq $0x3a
popq %rdi
movq %rbp, %rsi
callq 0x6ff8d
pushq $0x1
popq %rax
pushq $-0x1
popq %r15
movl %eax, 0x14(%rsp)
movl 0x18(%r14), %ecx
shrl $0x10, %ecx
cmpl %ecx, %eax
jge 0x6e9d9
cmpl $0x2, %eax
jl 0x6e93e
movl %r12d, %edi
movq %rbp, %rsi
callq 0x6ff8d
movq 0x88(%r14), %rax
movq (%rax), %rdi
movq %rbp, %rsi
callq 0x6ffcc
movl %ebx, %edi
movq %rbp, %rsi
callq 0x6ff8d
movq 0x88(%r14), %rax
movslq 0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
movq %rbp, %rsi
callq 0x6ffcc
movq 0x88(%r14), %rax
movslq 0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rax
cmpb $0x3c, (%rax)
jne 0x6e9ce
cmpl $-0x1, %r15d
jne 0x6e9ae
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rdi
movq %r14, %rsi
leaq 0x1e164(%rip), %rdx     # 0x8cb04
callq 0x3487d
testq %rax, %rax
je 0x6e9cb
movl 0x8(%rax), %r15d
testl %r15d, %r15d
je 0x6e9cb
pushq $0x2f
popq %rdi
movq %rbp, %rsi
callq 0x6ff8d
movl %r15d, %edi
movq %rbp, %rsi
callq 0x70008
jmp 0x6e9ce
xorl %r15d, %r15d
movl 0x14(%rsp), %eax
incl %eax
jmp 0x6e91b
cmpl $0x1, %ecx
jne 0x6ea02
movq 0x88(%r14), %rax
movq (%rax), %rdi
movq %rbp, %rsi
callq 0x6ffcc
leaq 0x26c5a(%rip), %rdi     # 0x95651
pushq $0x2
popq %rsi
movq %rbp, %rdx
callq 0x70121
movslq (%rbp), %rax
movq %rax, 0x40(%rsp)
xorl %ebx, %ebx
movq 0x180(%r13), %r15
addq 0x30(%rsp), %r15
movq 0x168(%r13), %r13
movq %r13, %rdi
movq %r15, %rsi
leaq 0x14(%rsp), %rdx
callq 0x70185
movl %eax, %r12d
cmpl $-0x1, %eax
je 0x6ea81
movq 0x28(%rsp), %rax
movq (%rax), %r13
movslq 0x14(%rsp), %rax
imulq $0x30, %rax, %rcx
movq 0x18(%r13,%rcx), %rdx
movslq 0x10(%r13,%rcx), %rcx
movq 0x88(%rsp), %rsi
cmpl %esi, -0x4(%rdx,%rcx,4)
jne 0x6eb21
movq 0x40(%rsp), %rax
movq %rax, (%rbp)
movl %ebx, %edi
movq %rbp, %rsi
callq 0x70008
incl %ebx
movq 0x18(%rsp), %r13
jmp 0x6ea0d
movq 0x18(%rsp), %rbx
movl 0x100(%rbx), %eax
leal 0x1(%rax), %edi
movl %edi, 0x100(%rbx)
movl %eax, 0x14(%rsp)
movslq 0x104(%rbx), %rsi
cmpl %esi, %eax
jl 0x6eada
testl %eax, %eax
pushq $0x1
popq %r8
cmovsl %r8d, %edi
leaq 0x26b8c(%rip), %rax     # 0x95641
movq %rax, (%rsp)
pushq $0x4
popq %rdx
pushq $0x30
popq %rcx
movq 0x28(%rsp), %r9
callq 0xf517
movl %eax, 0x104(%rbx)
movl 0x14(%rsp), %eax
movq 0x168(%rbx), %r13
movq 0x28(%rsp), %rbx
movq (%rbx), %rcx
cltq
imulq $0x30, %rax, %rax
andl $0x0, 0x10(%rcx,%rax)
movq %r15, %rdi
callq 0x4950
movl 0x14(%rsp), %edx
movq %r13, %rdi
movq %rax, %rsi
callq 0x70278
movq (%rbx), %rax
movslq 0x14(%rsp), %rcx
imulq $0x30, %rcx, %rcx
movq (%rax,%rcx), %rdi
callq 0x45d0
movq (%rbx), %r13
movslq 0x14(%rsp), %rax
imulq $0x30, %rax, %rbx
leaq (%rbx,%r13), %rax
movq %rax, 0x30(%rsp)
movzwl 0x1a(%r14), %eax
decl %eax
movl %eax, 0xc(%r13,%rbx)
movq %r14, %rdi
callq 0x32ee7
movl %eax, 0x8(%r13,%rbx)
movq 0x18(%rsp), %r13
movq 0x180(%r13), %rax
movq 0x40(%rsp), %rcx
movb $0x0, (%rax,%rcx)
cmpl $-0x1, %r12d
movq 0x30(%rsp), %r12
jne 0x6eb73
movq %r15, %rdi
callq 0x4950
movq %rax, (%r12)
movslq 0x14(%r12), %r15
movl 0x10(%r12), %eax
leal 0x1(%rax), %edi
movl %edi, 0x10(%r12)
cmpl %r15d, %eax
pushq $0x3e
popq %rbx
jl 0x6ebbf
testl %eax, %eax
pushq $0x1
popq %r8
cmovsl %r8d, %edi
leaq 0x18(%r12), %r9
leaq 0x26a9e(%rip), %rax     # 0x95641
movq %rax, (%rsp)
movq %r15, %rsi
pushq $0x4
popq %rdx
pushq $0x8
popq %rcx
callq 0xf517
movl %eax, 0x14(%r12)
cmpl %eax, %r15d
jne 0x6ebc9
movq %r12, %rcx
movq 0x20(%r12), %rax
jmp 0x6ebe2
movq 0x20(%r12), %rdi
movslq %eax, %rsi
shlq $0x3, %rsi
callq 0x4870
movq %r12, %rcx
movq %rax, 0x20(%r12)
pushq $0x2c
popq %r12
movq %rcx, %rdi
movq 0x18(%rcx), %rcx
movslq 0x10(%rdi), %rdx
movq 0x88(%rsp), %rsi
movl %esi, -0x4(%rcx,%rdx,4)
movslq 0x10(%rdi), %rcx
movq %r14, -0x8(%rax,%rcx,8)
movl 0xc8(%rsp), %ecx
leal 0x1(%rcx), %eax
movl %eax, 0xc8(%rsp)
movslq 0xcc(%rsp), %rsi
cmpl %esi, %ecx
jl 0x6ec5d
testl %ecx, %ecx
pushq $0x1
popq %rcx
cmovsl %ecx, %eax
movslq %eax, %rdi
leaq 0x26a0c(%rip), %rax     # 0x95641
movq %rax, (%rsp)
pushq $0x4
popq %rdx
pushq $0x30
popq %rcx
xorl %r8d, %r8d
leaq 0xd0(%rsp), %r9
callq 0xf517
movl %eax, 0xcc(%rsp)
movl 0xc8(%rsp), %eax
movq 0x68(%rsp), %rsi
movl 0x14(%rsp), %ecx
movq 0xd0(%rsp), %rdx
cltq
movl %ecx, -0x4(%rdx,%rax,4)
incq %rsi
jmp 0x6e873
cmpq $0x0, (%rbp)
je 0x6edb3
movl 0x18c(%r13), %edi
movslq 0x198(%r13), %rsi
cmpl %esi, %edi
jle 0x6ecc7
cmpl $0x2, %edi
pushq $0x1
popq %rax
cmovll %eax, %edi
leaq 0x269c9(%rip), %rax     # 0x95672
movq %rax, (%rsp)
pushq $0x4
popq %rdx
pushq $0x8
popq %rcx
xorl %r8d, %r8d
movq 0x50(%rsp), %r9
callq 0xf517
movl %eax, 0x198(%r13)
xorl %eax, %eax
movslq 0x18c(%r13), %rsi
cmpq %rsi, %rax
jge 0x6ed0c
movq 0x190(%r13), %rcx
movq 0x1a0(%r13), %rdx
movslq (%rcx,%rax,4), %rcx
addq 0x180(%r13), %rcx
movq %rcx, (%rdx,%rax,8)
testq %rax, %rax
je 0x6ed07
movq 0x50(%rsp), %rcx
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rcx
movb $0x0, -0x1(%rcx)
incq %rax
jmp 0x6ecc9
movq 0x1a0(%r13), %rdi
pushq $0x8
popq %rdx
leaq 0x1ae1(%rip), %rcx      # 0x707fe
callq 0x49b0
movq 0x170(%r13), %rdi
incq %rdi
callq 0x46b0
movl 0x18c(%r13), %r14d
testl %r14d, %r14d
movl $0x0, %ecx
cmovgl %r14d, %ecx
movq %rcx, 0x30(%rsp)
movq %rax, %rbx
decq %r14
xorl %r13d, %r13d
movq %rax, 0x40(%rsp)
cmpq %r13, 0x30(%rsp)
je 0x6eda3
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq (%rax,%r13,8), %r15
movq %r15, %rdi
callq 0x41c0
movslq %eax, %r12
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x43c0
incl %r12d
movslq %r12d, %rax
cmpq %r13, %r14
pushq $0x3b
popq %rcx
movl $0x0, %edx
cmovel %edx, %ecx
movb %cl, -0x1(%rbx,%rax)
addq %rax, %rbx
incq %r13
jmp 0x6ed57
movq 0x18(%rsp), %r13
pushq $0x2c
popq %r12
movq 0x40(%rsp), %rbx
jmp 0x6edc2
leaq 0x18e6c(%rip), %rdi     # 0x87c26
callq 0x4950
movq %rax, %rbx
movq 0x160(%r13), %rdi
movq %rbx, %rsi
leaq 0x24(%rsp), %rdx
callq 0x70185
cmpl $-0x1, %eax
je 0x6ede8
movq %rbx, %rdi
callq 0x45d0
jmp 0x6eeab
movl 0x128(%r13), %eax
leal 0x1(%rax), %edi
movl %edi, 0x128(%r13)
movl %eax, 0x24(%rsp)
movslq 0x12c(%r13), %rsi
cmpl %esi, %eax
jl 0x6ee3b
testl %eax, %eax
pushq $0x1
popq %r8
cmovsl %r8d, %edi
leaq 0x26828(%rip), %rax     # 0x95641
movq %rax, (%rsp)
pushq $0x4
popq %rdx
pushq $0x20
popq %rcx
movq 0x80(%rsp), %r9
callq 0xf517
movl %eax, 0x12c(%r13)
movl 0x24(%rsp), %eax
movq 0x140(%r13), %rcx
cltq
shlq $0x5, %rax
movq 0x10(%rcx,%rax), %rdi
callq 0x45d0
movq 0x140(%r13), %rax
movslq 0x24(%rsp), %rdx
movq %rdx, %rcx
shlq $0x5, %rcx
movaps 0xc0(%rsp), %xmm0
movaps 0xd0(%rsp), %xmm1
movups %xmm1, 0x10(%rax,%rcx)
movups %xmm0, (%rax,%rcx)
movq 0x140(%r13), %rax
movq %rbx, (%rax,%rcx)
movq 0x160(%r13), %rdi
movq %rbx, %rsi
callq 0x70278
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movaps %xmm0, 0xc0(%rsp)
movq 0x80(%rsp), %rax
movq (%rax), %rax
movslq 0x24(%rsp), %rcx
shlq $0x5, %rcx
incl 0x18(%rax,%rcx)
movq 0x48(%rsp), %rcx
incq %rcx
jmp 0x6e7b9
movq 0xd0(%rsp), %rdi
callq 0x45d0
xorl %ecx, %ecx
movq 0x28(%rsp), %rbp
movl %ecx, 0x14(%rsp)
movl 0x100(%r13), %eax
cmpl %eax, %ecx
jge 0x6ef46
movq 0x108(%r13), %rax
movslq %ecx, %rcx
imulq $0x30, %rcx, %rcx
leaq (%rax,%rcx), %rdi
addq $0x28, %rdi
movslq 0x128(%r13), %rsi
callq 0x70449
testl %eax, %eax
js 0x6fbee
movq (%rbp), %rax
movslq 0x14(%rsp), %rbx
imulq $0x30, %rbx, %rcx
movq 0x28(%rax,%rcx), %rdi
movq (%rdi), %rdx
addq $0x10, %rdi
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x4250
leal 0x1(%rbx), %ecx
jmp 0x6eee4
movl 0x128(%r13), %edx
xorl %ecx, %ecx
testl %edx, %edx
cmovlel %ecx, %edx
pushq $0x1
popq %r14
movl %ecx, 0x24(%rsp)
cmpq %rdx, %rcx
je 0x6efb5
movq %rcx, %rsi
shlq $0x5, %rsi
movq 0x80(%rsp), %rdi
addq (%rdi), %rsi
movq %r14, %rdi
shlq %cl, %rdi
movq %rcx, %r8
shrq $0x6, %r8
xorl %r9d, %r9d
movl %r9d, 0x14(%rsp)
movslq 0x8(%rsi), %r10
cmpq %r10, %r9
jge 0x6efb0
movq 0x10(%rsi), %r10
movslq (%r10,%r9,4), %r10
movq (%rbp), %r11
imulq $0x30, %r10, %r10
movq 0x28(%r11,%r10), %r10
orq %rdi, 0x10(%r10,%r8,8)
incq %r9
jmp 0x6ef83
incq %rcx
jmp 0x6ef58
leaq 0x148(%r13), %rcx
movq %rcx, 0x70(%rsp)
xorl %ecx, %ecx
pushq $0x4
popq %r15
pushq $0x1
popq %r13
movl %ecx, 0x14(%rsp)
cmpl %eax, %ecx
jge 0x6f119
movq 0x18(%rsp), %rax
movslq 0x110(%rax), %rbp
leal 0x1(%rbp), %edi
movl %edi, 0x110(%rax)
movslq 0x114(%rax), %rsi
cmpl %esi, %ebp
jl 0x6f026
testl %ebp, %ebp
cmovsl %r13d, %edi
leaq 0x2663d(%rip), %rax     # 0x95641
movq %rax, (%rsp)
movq %r15, %rdx
pushq $0x20
popq %rcx
movl %r13d, %r8d
movq 0x70(%rsp), %r9
callq 0xf517
movq 0x18(%rsp), %rcx
movl %eax, 0x114(%rcx)
movq 0x70(%rsp), %rax
movq (%rax), %rax
shlq $0x5, %rbp
leaq (%rax,%rbp), %r12
movl $0x1, (%rax,%rbp)
movslq 0x4(%rax,%rbp), %rsi
movq %r14, %rax
testq %rsi, %rsi
jg 0x6f074
leaq 0x8(%r12), %r9
leaq 0x265eb(%rip), %rax     # 0x95641
movq %rax, (%rsp)
movq %r14, %rdi
movq %r15, %rdx
pushq $0x30
popq %rcx
movl %r13d, %r8d
callq 0xf517
movl %eax, 0x4(%r12)
movslq (%r12), %rax
movslq 0x14(%rsp), %rcx
movq 0x8(%r12), %rdx
movl %ecx, -0x4(%rdx,%rax,4)
movq 0x18(%rsp), %rdx
movq 0x108(%rdx), %rbp
imulq $0x30, %rcx, %rbx
movl 0x10(%rbp,%rbx), %eax
movl %eax, 0x10(%r12)
addq $0x18, %r12
movslq 0x128(%rdx), %rsi
movq %r12, %rdi
callq 0x70449
testl %eax, %eax
js 0x6fc14
addq %rbx, %rbp
movq (%r12), %rdi
movq (%rdi), %rdx
addq $0x10, %rdi
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x4250
movq (%r12), %rdi
movq 0x28(%rbp), %rsi
callq 0x704f3
movl 0x8(%rbp), %eax
movl %r13d, %ecx
testl %eax, %eax
je 0x6f0fb
leal (%rax,%rax), %ecx
andl $0x2, %ecx
testb $0x2, %al
pushq $0x2
popq %rdx
cmovnel %edx, %ecx
andl $0xc, %eax
orl %ecx, %eax
movl %eax, %ecx
movl %ecx, 0x8(%rbp)
movl 0x14(%rsp), %ecx
incl %ecx
movq 0x18(%rsp), %rax
movl 0x100(%rax), %eax
movq 0x28(%rsp), %rbp
jmp 0x6efcb
movq 0x18(%rsp), %r13
movl 0x110(%r13), %eax
movl 0x128(%r13), %ecx
imull %eax, %ecx
movslq 0x118(%r13), %rsi
cmpl %esi, %ecx
jle 0x6f171
cmpl $0x2, %ecx
pushq $0x1
popq %rdi
cmovgel %ecx, %edi
leaq 0x120(%r13), %r9
leaq 0x264f0(%rip), %rax     # 0x95641
movq %rax, (%rsp)
pushq $0x4
popq %rcx
movq %rcx, %rdx
xorl %r8d, %r8d
callq 0xf517
movl %eax, 0x118(%r13)
movl 0x110(%r13), %eax
movslq 0x130(%r13), %rsi
cmpl %esi, %eax
jle 0x6f1b3
cmpl $0x2, %eax
pushq $0x1
popq %rdi
cmovgel %eax, %edi
leaq 0x138(%r13), %r9
leaq 0x264ae(%rip), %rax     # 0x95641
movq %rax, (%rsp)
pushq $0x4
popq %rcx
movq %rcx, %rdx
xorl %r8d, %r8d
callq 0xf517
movl %eax, 0x130(%r13)
movl 0x110(%r13), %eax
movq 0x120(%r13), %rdi
movslq 0x128(%r13), %rcx
movslq %eax, %rdx
imulq %rcx, %rdx
shlq $0x2, %rdx
xorl %ebx, %ebx
xorl %esi, %esi
callq 0x4250
movslq 0x110(%r13), %rdx
cmpq %rdx, %rbx
jge 0x6fa78
movq 0x70(%rsp), %rax
movq (%rax), %rax
xorl %ecx, %ecx
movl %ecx, 0x24(%rsp)
movl 0x128(%r13), %edx
cmpl %edx, %ecx
jge 0x6f219
movq 0x120(%r13), %rsi
imull %ebx, %edx
addl %ecx, %edx
movslq %edx, %rcx
andl $0x0, (%rsi,%rcx,4)
movl 0x24(%rsp), %ecx
incl %ecx
jmp 0x6f1ef
movq %rbx, %rcx
shlq $0x5, %rcx
movl 0x10(%rax,%rcx), %eax
movq 0x138(%r13), %rcx
movl %eax, (%rcx,%rbx,4)
incq %rbx
jmp 0x6f1d5
movq %rdx, %r8
movslq %edx, %rax
xorl %r9d, %r9d
pushq $0x1
popq %rcx
movslq %r9d, %r11
cmpq %rax, %rcx
jge 0x6f264
movq 0x138(%r13), %rsi
movl (%rsi,%r11,4), %edi
movl %ecx, %edx
cmpl (%rsi,%rcx,4), %edi
jl 0x6f25c
movl %r9d, %edx
incq %rcx
movl %edx, %r9d
jmp 0x6f23f
movl %r9d, 0x90(%rsp)
xorl %r15d, %r15d
testl %r8d, %r8d
cmovlel %r15d, %r8d
movq %r8, 0xf8(%rsp)
pushq $-0x1
popq %rax
movl %eax, 0x3c(%rsp)
movl $0x0, 0x94(%rsp)
movq %r11, 0x60(%rsp)
cmpq 0xf8(%rsp), %r15
je 0x6f746
movq 0x70(%rsp), %rax
movq (%rax), %rax
movq %r11, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rdx
movq %r15, %rsi
shlq $0x5, %rsi
movq %rsi, 0x50(%rsp)
movq 0x18(%rax,%rsi), %rsi
movl (%rdx), %edi
testl %edi, %edi
movl $0x0, %r8d
cmovlel %r8d, %edi
xorl %r8d, %r8d
cmpq %r8, %rdi
je 0x6f2f6
movq 0x10(%rsi,%r8,8), %r9
leaq 0x1(%r8), %r10
testq %r9, 0x10(%rdx,%r8,8)
movq %r10, %r8
je 0x6f2d9
jmp 0x6f680
leaq (%rax,%rcx), %rdx
movq %rdx, 0xe8(%rsp)
addq %rax, 0x50(%rsp)
movl (%rax,%rcx), %r12d
testl %r12d, %r12d
movl $0x0, %eax
cmovlel %eax, %r12d
pushq $-0x1
popq %rax
movl %eax, 0x78(%rsp)
xorl %eax, %eax
movq %r15, 0x48(%rsp)
movq %r12, 0x88(%rsp)
cmpq %r12, %rax
je 0x6f6a4
movq (%rbp), %rdx
movq %rax, %rcx
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rcx, 0xf0(%rsp)
movslq (%rax,%rcx,4), %rax
imulq $0x30, %rax, %rax
movq %rdx, 0x80(%rsp)
addq %rdx, %rax
movq %rax, 0x58(%rsp)
movq 0x50(%rsp), %rax
movl (%rax), %ecx
testl %ecx, %ecx
movl $0x0, %eax
cmovlel %eax, %ecx
movq %rcx, 0xb0(%rsp)
xorl %ebx, %ebx
cmpq 0xb0(%rsp), %rbx
je 0x6f644
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movslq (%rax,%rbx,4), %rax
imulq $0x30, %rax, %rax
movq 0x80(%rsp), %rcx
leaq (%rcx,%rax), %rdx
movq %rdx, 0x40(%rsp)
testb $0x40, 0x1c0(%r13)
movq 0x58(%rsp), %rdx
movl 0x8(%rdx), %r14d
movl 0x8(%rcx,%rax), %eax
jne 0x6f4c7
cmpl %eax, %r14d
jne 0x6f3fc
movl %eax, %r15d
movq 0x58(%rsp), %rax
movq (%rax), %rdi
movq 0x40(%rsp), %rax
movq (%rax), %rsi
callq 0x46f0
testl %eax, %eax
movl %r15d, %eax
movq 0x48(%rsp), %r15
je 0x6f69f
movq %rbx, 0x68(%rsp)
movl %r14d, 0xa8(%rsp)
movl %eax, 0xbc(%rsp)
testl %r14d, %eax
movq 0x58(%rsp), %rax
je 0x6f5c2
movq (%rax), %rbx
movb (%rbx), %dl
testb %dl, %dl
je 0x6f5c2
xorl %r12d, %r12d
movq 0x40(%rsp), %rcx
testb %dl, %dl
je 0x6f449
movzbl %dl, %eax
cmpl $0x2c, %eax
je 0x6f449
movb 0x1(%rbx,%r12), %dl
incq %r12
jmp 0x6f433
movb %dl, 0x30(%rsp)
movq (%rcx), %r13
movb (%r13), %r15b
testb %r15b, %r15b
je 0x6f49b
xorl %r14d, %r14d
movl %r15d, %ebp
testb %bpl, %bpl
je 0x6f477
movzbl %bpl, %eax
cmpl $0x2c, %eax
je 0x6f477
movb 0x1(%r13,%r14), %bpl
incq %r14
jmp 0x6f45f
cmpq %r14, %r12
jne 0x6f48e
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x4680
testl %eax, %eax
je 0x6f4a7
cmpb $0x1, %bpl
sbbq $-0x1, %r13
addq %r14, %r13
jmp 0x6f450
cmpb $0x1, 0x30(%rsp)
sbbq $-0x1, %rbx
addq %r12, %rbx
testb %r15b, %r15b
movq 0x18(%rsp), %r13
movq 0x28(%rsp), %rbp
movq 0x88(%rsp), %r12
je 0x6f421
jmp 0x6f654
cmpl %eax, %r14d
jne 0x6f63c
movq %r15, %rbp
movq %rbx, 0x68(%rsp)
movq 0x58(%rsp), %r14
movq (%r14), %r13
movq 0x40(%rsp), %r15
movq (%r15), %rbx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x46f0
testl %eax, %eax
je 0x6f688
movl 0xc(%r14), %eax
cmpl 0xc(%r15), %eax
jne 0x6f5fb
movq %r13, %rdi
callq 0x41c0
movq %rax, %r15
movq %rbx, %rdi
callq 0x41c0
cmpl %eax, %r15d
jne 0x6f60a
movq %rbx, 0x30(%rsp)
movq 0x48(%rsp), %r15
movq 0x28(%rsp), %rbp
movb (%r13), %bl
testb %bl, %bl
je 0x6f73c
xorl %r12d, %r12d
testb %bl, %bl
je 0x6f559
movzbl %bl, %eax
cmpl $0x2c, %eax
je 0x6f559
movb 0x1(%r13,%r12), %bl
incq %r12
jmp 0x6f543
movq 0x30(%rsp), %r15
movb (%r15), %bpl
testb %bpl, %bpl
je 0x6f620
xorl %r14d, %r14d
testb %bpl, %bpl
je 0x6f585
movzbl %bpl, %eax
cmpl $0x2c, %eax
je 0x6f585
movb 0x1(%r15,%r14), %bpl
incq %r14
jmp 0x6f56d
cmpq %r14, %r12
jne 0x6f59c
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x4680
testl %eax, %eax
je 0x6f5a9
cmpb $0x1, %bpl
sbbq $-0x1, %r15
addq %r14, %r15
jmp 0x6f55e
cmpb $0x1, %bl
sbbq $-0x1, %r13
addq %r12, %r13
movq 0x28(%rsp), %rbp
movq 0x48(%rsp), %r15
jmp 0x6f534
movl 0xa8(%rsp), %eax
shll $0x4, %eax
orl 0xbc(%rsp), %eax
cltq
movzbl (%r13,%rax), %eax
movl 0x78(%rsp), %ecx
cmpl %eax, %ecx
cmovael %eax, %ecx
movl %ecx, 0x78(%rsp)
testl %eax, %eax
movq 0x48(%rsp), %r15
movq 0x68(%rsp), %rbx
jne 0x6f63c
jmp 0x6f6e3
movq 0x18(%rsp), %r13
movq 0x68(%rsp), %rbx
movq %rbp, %r15
jmp 0x6f619
movq 0x18(%rsp), %r13
movq 0x48(%rsp), %r15
movq 0x68(%rsp), %rbx
movq 0x28(%rsp), %rbp
jmp 0x6f63c
movq 0x18(%rsp), %r13
movq 0x28(%rsp), %rbp
movq 0x48(%rsp), %r15
movq 0x88(%rsp), %r12
movq 0x68(%rsp), %rbx
incq %rbx
jmp 0x6f384
movq 0xf0(%rsp), %rax
incq %rax
jmp 0x6f32d
pushq $-0x1
popq %rax
movq 0x60(%rsp), %r11
movq 0x48(%rsp), %r15
movl 0x94(%rsp), %edx
cmpl %eax, %edx
movl 0x3c(%rsp), %ecx
cmovbl %r15d, %ecx
movl %ecx, 0x3c(%rsp)
cmovbel %eax, %edx
movl %edx, 0x94(%rsp)
incq %r15
jmp 0x6f295
pushq $-0x1
popq %rax
movq 0x18(%rsp), %r13
movq 0x60(%rsp), %r11
movq %rbp, %r15
movq 0x28(%rsp), %rbp
jmp 0x6f661
pushq $-0x1
popq %rax
jmp 0x6f6e5
testb $0x40, 0x1c0(%r13)
jne 0x6f6e3
cmpl $-0x1, 0x78(%rsp)
je 0x6fc47
xorl %ecx, %ecx
xorl %eax, %eax
cmpq %rcx, %r12
je 0x6f6ef
movq (%rbp), %rdx
movq 0xe8(%rsp), %rsi
movq 0x8(%rsi), %rsi
movslq (%rsi,%rcx,4), %rsi
imulq $0x30, %rsi, %rsi
addl 0x10(%rdx,%rsi), %eax
incq %rcx
jmp 0x6f6bd
xorl %eax, %eax
movq 0x60(%rsp), %r11
jmp 0x6f661
movq 0x50(%rsp), %rcx
movl (%rcx), %ecx
testl %ecx, %ecx
movl $0x0, %edx
cmovlel %edx, %ecx
xorl %edx, %edx
movq 0x60(%rsp), %r11
cmpq %rdx, %rcx
je 0x6f72a
movq (%rbp), %rsi
movq 0x50(%rsp), %rdi
movq 0x8(%rdi), %rdi
movslq (%rdi,%rdx,4), %rdi
imulq $0x30, %rdi, %rdi
addl 0x10(%rsi,%rdi), %eax
incq %rdx
jmp 0x6f707
movl $0x10000000, %edx       # imm = 0x10000000
movl 0x78(%rsp), %ecx
shll %cl, %edx
addl %edx, %eax
jmp 0x6f661
pushq $-0x1
popq %rax
movq 0x18(%rsp), %r13
jmp 0x6f6e5
movl 0x3c(%rsp), %ecx
cmpl $-0x1, %ecx
movl 0x90(%rsp), %eax
je 0x6f813
cmpl %eax, %ecx
je 0x6f813
movl %ecx, %ebx
cmovll %eax, %ebx
cmovgl %eax, %ecx
movq 0x70(%rsp), %rax
movq (%rax), %r12
movl %ecx, 0x3c(%rsp)
movslq %ecx, %r14
movq %r14, 0x30(%rsp)
shlq $0x5, %r14
leaq (%r12,%r14), %r13
movslq %ebx, %r15
movq %r15, 0x40(%rsp)
shlq $0x5, %r15
movq 0x18(%r12,%r14), %rdi
movq 0x18(%r12,%r15), %rsi
callq 0x704f3
movslq (%r12,%r14), %rbp
movl (%r12,%r15), %edi
addl %ebp, %edi
movl %edi, (%r12,%r14)
movslq 0x4(%r12,%r14), %rsi
cmpl %esi, %edi
jle 0x6f7e2
cmpl $0x2, %edi
pushq $0x1
popq %rax
cmovll %eax, %edi
leaq 0x8(%r13), %r9
leaq 0x25ef3(%rip), %rax     # 0x956bf
movq %rax, (%rsp)
pushq $0x4
popq %rcx
movq %rcx, %rdx
xorl %r8d, %r8d
callq 0xf517
movl %eax, 0x4(%r13)
addq %r15, %r12
shlq $0x2, %rbp
xorl %eax, %eax
movl 0x3c(%rsp), %esi
movslq (%r12), %rcx
cmpq %rcx, %rax
jge 0x6f922
movq 0x8(%r12), %rcx
movl (%rcx,%rax,4), %ecx
movq 0x8(%r13), %rdx
addq %rbp, %rdx
movl %ecx, (%rdx,%rax,4)
incq %rax
jmp 0x6f7ef
movq 0x70(%rsp), %rax
movq (%rax), %rbx
pushq $0x8
popq %r14
xorl %r15d, %r15d
movq 0x158(%r13), %rax
movslq 0x30(%rax), %rax
cmpq %rax, %r15
jge 0x6f894
movq 0x150(%r13), %r12
movl -0x8(%r12,%r14), %eax
leal 0x1(%rax), %edi
movl %edi, -0x8(%r12,%r14)
movslq -0x4(%r12,%r14), %rsi
cmpl %esi, %eax
jl 0x6f87e
testl %eax, %eax
pushq $0x1
popq %rax
cmovsl %eax, %edi
leaq (%r12,%r14), %r9
leaq 0x25e69(%rip), %rax     # 0x956cb
movq %rax, (%rsp)
pushq $0x4
popq %rdx
pushq $0x8
popq %rcx
xorl %r8d, %r8d
callq 0xf517
movl %eax, -0x4(%r12,%r14)
movl -0x8(%r12,%r14), %edi
movq (%r12,%r14), %rax
movslq %edi, %rcx
andq $0x0, -0x8(%rax,%rcx,8)
incq %r15
addq $0x10, %r14
jmp 0x6f822
movq 0x60(%rsp), %rcx
shlq $0x5, %rcx
leaq (%rbx,%rcx), %rax
movl (%rbx,%rcx), %ecx
testl %ecx, %ecx
movl $0x0, %edx
cmovlel %edx, %ecx
xorl %edx, %edx
movl 0x90(%rsp), %r14d
cmpq %rcx, %rdx
je 0x6f91d
movq (%rbp), %rdi
movq 0x8(%rax), %rsi
movslq (%rsi,%rdx,4), %rsi
imulq $0x30, %rsi, %r8
leaq (%rdi,%r8), %rsi
movl 0x10(%rdi,%r8), %edi
testl %edi, %edi
movl $0x0, %r8d
cmovlel %r8d, %edi
xorl %r8d, %r8d
cmpq %r8, %rdi
je 0x6f918
movq 0x18(%rsi), %r9
movq 0x20(%rsi), %r10
movslq (%r9,%r8,4), %r9
movq 0x150(%r13), %r11
shlq $0x4, %r9
movq (%r10,%r8,8), %r10
movq 0x8(%r11,%r9), %rbx
movslq (%r11,%r9), %r9
movq %r10, -0x8(%rbx,%r9,8)
incq %r8
jmp 0x6f8e5
incq %rdx
jmp 0x6f8b8
movl %r14d, %ebx
jmp 0x6f983
movq 0x18(%rsp), %r13
movq 0x120(%r13), %rcx
movl 0x128(%r13), %edx
imull %edx, %esi
movslq %esi, %rax
leaq (%rcx,%rax,4), %rax
movl %edx, %esi
imull %ebx, %esi
movslq %esi, %rsi
leaq (%rcx,%rsi,4), %rcx
xorl %esi, %esi
movq 0x28(%rsp), %rbp
movslq %edx, %rdx
cmpq %rdx, %rsi
jge 0x6f96c
movl (%rcx,%rsi,4), %edx
addl %edx, (%rax,%rsi,4)
incq %rsi
movl 0x128(%r13), %edx
jmp 0x6f952
movq 0x138(%r13), %rax
movq 0x40(%rsp), %rcx
movl (%rax,%rcx,4), %ecx
movq 0x30(%rsp), %rdx
addl %ecx, (%rax,%rdx,4)
leal 0x1(%rbx), %eax
movl 0x110(%r13), %edx
cmpl %edx, %eax
jge 0x6fa6f
movq 0x148(%r13), %rcx
movq %rdx, %r8
movslq %ebx, %r14
movq %r14, %rdx
shlq $0x5, %rdx
leaq (%rcx,%rdx), %rdi
movups (%rcx,%rdx), %xmm0
movups 0x10(%rcx,%rdx), %xmm1
movaps %xmm1, 0x110(%rsp)
movaps %xmm0, 0x100(%rsp)
movslq %eax, %r15
movq %r15, %rsi
shlq $0x5, %rsi
addq %rcx, %rsi
notl %ebx
addl %ebx, %r8d
movslq %r8d, %rdx
shlq $0x5, %rdx
callq 0x4860
movq 0x148(%r13), %rax
movslq 0x110(%r13), %rcx
shlq $0x5, %rcx
movaps 0x100(%rsp), %xmm0
movaps 0x110(%rsp), %xmm1
movups %xmm1, -0x10(%rax,%rcx)
movups %xmm0, -0x20(%rax,%rcx)
movslq 0x128(%r13), %rax
movq %rax, %rdi
imulq %r14, %rdi
shlq $0x2, %rdi
addq 0x120(%r13), %rdi
leaq (%rdi,%rax,4), %rsi
movl 0x110(%r13), %ecx
addl %ebx, %ecx
movslq %ecx, %rdx
imulq %rax, %rdx
shlq $0x2, %rdx
callq 0x4860
movq 0x138(%r13), %rax
leaq (%rax,%r14,4), %rdi
leaq (%rax,%r15,4), %rsi
addl 0x110(%r13), %ebx
movslq %ebx, %rdx
shlq $0x2, %rdx
callq 0x4860
movl 0x110(%r13), %edx
decl %edx
movl %edx, 0x110(%r13)
testl %edx, %edx
jne 0x6f233
movq 0xa0(%rsp), %rax
movq %rax, 0x1a8(%r13)
movq 0x98(%rsp), %rax
movq %rax, 0x1b0(%r13)
movq 0x150(%r13), %rax
cmpl $0x0, (%rax)
je 0x6fb98
pushq $0x1
popq %rbx
pushq $0x1
popq %r14
xorl %r15d, %r15d
xorl %ebp, %ebp
movq 0x158(%r13), %rdx
movslq 0x30(%rdx), %rax
cmpq %rax, %r15
jge 0x6fb9a
movq 0x150(%r13), %rax
movq %r15, %rcx
shlq $0x4, %rcx
movq 0x8(%rax,%rcx), %rsi
movq (%rsi), %r8
testq %r8, %r8
je 0x6fb64
movq 0x28(%rdx), %rsi
imulq $0x60, %r15, %rdi
leaq (%rsi,%rdi), %rdx
movslq 0x38(%rsi,%rdi), %rsi
testl %esi, %esi
movl $0x0, %r9d
cmovgl %esi, %r9d
negq %r9
movq %r14, %rdi
leaq (%r9,%rdi), %r10
cmpq $0x1, %r10
je 0x6fbcf
movq 0x30(%rdx), %r10
cmpq %r8, (%r10,%rdi,8)
je 0x6fb29
incq %rdi
jmp 0x6fb0c
movq (%r10), %r8
movq (%r10,%rdi,8), %r9
movq %r9, (%r10)
cmpq %rsi, %rdi
jge 0x6fb4a
movq 0x30(%rdx), %r9
movq 0x8(%r9,%rdi,8), %r10
movq %r10, (%r9,%rdi,8)
incq %rdi
jmp 0x6fb33
movq 0x30(%rdx), %rdi
movq %r8, (%rdi,%rsi,8)
decl %esi
movl %esi, 0x38(%rdx)
incl %ebp
movq 0x158(%r13), %rdx
movl %ebx, %esi
jmp 0x6fb66
xorl %esi, %esi
addq %rcx, %rax
movq 0x18(%rdx), %rcx
movl %esi, (%rcx,%r15,4)
movl (%rax), %edx
leal -0x1(%rdx), %ecx
movl %ecx, (%rax)
cmpl $0x2, %edx
jl 0x6fb90
movq 0x8(%rax), %rdi
leaq 0x8(%rdi), %rsi
movl %ecx, %edx
shlq $0x3, %rdx
callq 0x4860
incq %r15
jmp 0x6faba
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
cmpq $0x100, %rax            # imm = 0x100
je 0x6e5dd
cmpb $0x0, (%r13,%rax)
jne 0x6fbca
movb $0x1, (%r13,%rax)
incq %rax
jmp 0x6fbb0
leaq 0x25a58(%rip), %rdi     # 0x9562e
leaq 0x259db(%rip), %rsi     # 0x955b8
leaq 0x259e2(%rip), %rcx     # 0x955c6
movl $0x282, %edx            # imm = 0x282
callq 0x42e0
movq 0x463e3(%rip), %rax     # 0xb5fd8
movq (%rax), %rdi
leaq 0x25a55(%rip), %rsi     # 0x95654
leaq 0x259b2(%rip), %rdx     # 0x955b8
leaq 0x25a34(%rip), %r8      # 0x95641
movl $0x1ef, %ecx            # imm = 0x1EF
jmp 0x6fc38
movq 0x463bd(%rip), %rax     # 0xb5fd8
movq (%rax), %rdi
leaq 0x25a2f(%rip), %rsi     # 0x95654
leaq 0x2598c(%rip), %rdx     # 0x955b8
leaq 0x25a0e(%rip), %r8      # 0x95641
movl $0x20b, %ecx            # imm = 0x20B
xorl %eax, %eax
callq 0x4730
pushq $0x1
popq %rdi
callq 0x4600
leaq 0x25a33(%rip), %rdi     # 0x95681
leaq 0x25963(%rip), %rsi     # 0x955b8
leaq 0x25a35(%rip), %rcx     # 0x95691
movl $0xb9, %edx
callq 0x42e0
leaq 0x2593c(%rip), %rdi     # 0x955a9
leaq 0x25944(%rip), %rsi     # 0x955b8
leaq 0x2594b(%rip), %rcx     # 0x955c6
movl $0x254, %edx            # imm = 0x254
callq 0x42e0
leaq 0x25982(%rip), %rdi     # 0x9560e
leaq 0x25925(%rip), %rsi     # 0x955b8
leaq 0x2592c(%rip), %rcx     # 0x955c6
movl $0x267, %edx            # imm = 0x267
callq 0x42e0