// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: ava_pass_unique_bridge_tips(usg_t*, asg64_v*, unsigned long, unsigned long, unsigned long*, unsigned char*, unsigned long, double, unsigned long)
uint32_t ava_pass_unique_bridge_tips(usg_t *g, asg64_v *b64, uint64_t g_s, uint64_t g_e, uint64_t *integer_seq, uint8_t *f, uint64_t max_ext, double max_ext_rate, uint64_t ext_up)
{
    uint64_t i, k, z, s, e, v, nv, bn = b64->n, kv, kv_t, n_ext = 0, nkeep = 0, ncut = 0, is_telo; usg_arc_t *av;
    for (i = g_s; i < g_e; i++) {///available intervals within the same cluster
        s = b64->a[((uint32_t)b64->a[i])]>>32; e = ((uint32_t)b64->a[((uint32_t)b64->a[i])]); assert(s < e);
        for (k = s + 1; k < e; k++) {///note: here is [s, e]
            f[integer_seq[k]] = f[integer_seq[k]^1] = 1; 
            nkeep += g->a[integer_seq[k]>>1].occ;
        }
        f[integer_seq[s]] = f[integer_seq[e]^1] = 1;
    }
    nkeep = nkeep*max_ext_rate;

    ///collect nodes within raw unitig graph that are linked by the clusters but not in the cluster
    for (i = g_s; i < g_e; i++) {
        s = b64->a[((uint32_t)b64->a[i])]>>32; e = ((uint32_t)b64->a[((uint32_t)b64->a[i])]); assert(s < e);
        for (k = s + 1; k < e; k++) {///note: here is [s, e]
            v = integer_seq[k]; av = usg_arc_a(g, v); nv = usg_arc_n(g, v);
            for (z = 0; z < nv; z++) {
                if(av[z].del || f[av[z].v^1]) continue;
                kv_push(uint64_t, *b64, av[z].v);
            }

            v = integer_seq[k]^1; av = usg_arc_a(g, v); nv = usg_arc_n(g, v);
            for (z = 0; z < nv; z++) {
                if(av[z].del || f[av[z].v^1]) continue;
                kv_push(uint64_t, *b64, av[z].v);
            }
        }

        v = integer_seq[s]; av = usg_arc_a(g, v); nv = usg_arc_n(g, v);
        for (z = 0; z < nv; z++) {
            if(av[z].del || f[av[z].v^1]) continue;
            kv_push(uint64_t, *b64, av[z].v);
        }

        v = integer_seq[e]^1; av = usg_arc_a(g, v); nv = usg_arc_n(g, v);
        for (z = 0; z < nv; z++) {
            if(av[z].del || f[av[z].v^1]) continue;
            kv_push(uint64_t, *b64, av[z].v);
        }
    }

    ncut = MAX(nkeep, max_ext); is_telo = 0;
    if(ncut > ext_up) ncut = ext_up;
    if(ncut < max_ext) ncut = max_ext;
    while ((b64->n > bn) && (n_ext < ncut) && (!is_telo)) {
        v = b64->a[--b64->n]; if(f[v]) continue;
        av = usg_arc_a(g, v^1); nv = usg_arc_n(g, v^1);
        for (i = kv = 0; i < nv && kv < 1; i++) {
            if (av[i].del || f[av[i].v^1]) continue;
            kv++; 
        }
        if(kv > 0) continue;
        n_ext += g->a[v>>1].occ; f[v] = f[v^1] = 1;

        av = usg_arc_a(g, v); nv = usg_arc_n(g, v);
        for (i = kv_t = 0; i < nv; i++) {
            if(av[i].del) continue;
            kv_t++;
            if (f[av[i].v^1]) continue;
            kv_push(uint64_t, *b64, av[i].v);
        }
        if((!kv_t) && (g->a[v>>1].telo)) is_telo = 1;     
    }

    ///reset f[] to 0
    for (i = g_s; i < g_e; i++) { 
        s = b64->a[((uint32_t)b64->a[i])]>>32; e = ((uint32_t)b64->a[((uint32_t)b64->a[i])]); assert(s < e);
        for (k = s + 1; k < e; k++) {///note: here is [s, e]
            kv_push(uint64_t, *b64, integer_seq[k]); 
            kv_push(uint64_t, *b64, (integer_seq[k]^1));
            f[integer_seq[k]] = f[integer_seq[k]^1] = 0; 
        }
        kv_push(uint64_t, *b64, integer_seq[s]); 
        kv_push(uint64_t, *b64, (integer_seq[e]^1));
        f[integer_seq[s]] = f[integer_seq[e]^1] = 0;
    }

    while (b64->n > bn) {
        v = b64->a[--b64->n]; 
        f[v] = f[v^1] = 0;

        av = usg_arc_a(g, v); nv = usg_arc_n(g, v);
        for (i = 0; i < nv; i++) {
            if (av[i].del) continue;
            if(f[av[i].v] || f[av[i].v^1]) {
                kv_push(uint64_t, *b64, av[i].v);
            }
        }

        av = usg_arc_a(g, v^1); nv = usg_arc_n(g, v^1);
        for (i = 0; i < nv; i++) {
            if (av[i].del) continue;
            if(f[av[i].v] || f[av[i].v^1]) {
                kv_push(uint64_t, *b64, av[i].v);
            }
        }
    }
    if((n_ext < ncut) && (n_ext > max_ext - 1)) n_ext = max_ext - 1;
    if(is_telo) n_ext = max_ext + 1;
    return n_ext;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %rbx
movq %r8, %r12
movq %rcx, 0x30(%rsp)
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, 0x8(%rsp)
movq (%rsi), %rax
movq %rax, 0x40(%rsp)
xorl %eax, %eax
movb $0x1, %cl
cmpq 0x30(%rsp), %rdx
jae 0x1ca99c
movq 0x10(%r14), %rsi
movl (%rsi,%rdx,8), %edi
movq (%rsi,%rdi,8), %rsi
movl %esi, %edi
shrq $0x20, %rsi
cmpq %rdi, %rsi
jae 0x1cb196
leaq 0x1(%rsi), %r8
cmpq %rdi, %r8
jae 0x1ca985
movq (%r12,%r8,8), %r9
xorq $0x1, %r9
movb %cl, (%rbx,%r9)
movq (%r12,%r8,8), %r9
movb %cl, (%rbx,%r9)
movq 0x8(%rsp), %r9
movq (%r9), %r9
movq (%r12,%r8,8), %r10
shrq %r10
imulq $0x78, %r10, %r10
movl 0x4(%r9,%r10), %r9d
addq %r9, %rax
incq %r8
jmp 0x1ca94c
movq (%r12,%rdi,8), %rdi
xorq $0x1, %rdi
movb %cl, (%rbx,%rdi)
movq (%r12,%rsi,8), %rsi
movb %cl, (%rbx,%rsi)
incq %rdx
jmp 0x1ca927
movq %rax, %xmm1
punpckldq 0x188c7(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x188cf(%rip), %xmm1    # 0x1e3280
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
mulsd %xmm0, %xmm2
cvttsd2si %xmm2, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x188c3(%rip), %xmm2    # 0x1e3298
cvttsd2si %xmm2, %rdx
andq %rcx, %rdx
orq %rax, %rdx
movq %rdx, 0x28(%rsp)
movq %r13, %rcx
movq %r13, 0x20(%rsp)
cmpq 0x30(%rsp), %rcx
jae 0x1cac87
movq 0x10(%r14), %rax
movq %rcx, 0x10(%rsp)
movl (%rax,%rcx,8), %ecx
movq (%rax,%rcx,8), %rcx
movl %ecx, %edx
movq %rcx, %rsi
shrq $0x20, %rsi
movq %rsi, %r15
movq %rdx, (%rsp)
movq %rsi, 0x18(%rsp)
cmpq %rdx, %rsi
jae 0x1cb1b5
incq %r15
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
cmpq (%rsp), %r15
jae 0x1cab54
movq (%r12,%r15,8), %rdx
movq %rdx, %rsi
shrq %rsi
andl $0x1, %edx
imulq $0x78, %rsi, %rsi
addq %rsi, %rcx
imulq $0x18, %rdx, %rdx
movq 0x10(%rdx,%rcx), %r13
movq 0x20(%rdx,%rcx), %rbp
addq $0x8, %rbp
subq $0x1, %r13
jb 0x1caac1
cmpl $0x0, 0x4(%rbp)
js 0x1caabb
movl (%rbp), %ecx
movq %rcx, %rdx
xorq $0x1, %rdx
cmpb $0x0, (%rbx,%rdx)
jne 0x1caabb
movq (%r14), %rdx
cmpq 0x8(%r14), %rdx
jne 0x1caaae
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movl (%rbp), %ecx
movq (%r14), %rdx
movl %ecx, %ecx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movq %rcx, (%rax,%rdx,8)
addq $0x20, %rbp
jmp 0x1caa61
movq (%r12,%r15,8), %rcx
movl %ecx, %edx
notl %edx
shrq %rcx
andl $0x1, %edx
imulq $0x78, %rcx, %rcx
movq 0x8(%rsp), %rsi
addq (%rsi), %rcx
imulq $0x18, %rdx, %rdx
movq 0x10(%rdx,%rcx), %rbp
movq 0x20(%rdx,%rcx), %r13
addq $0x8, %r13
subq $0x1, %rbp
jb 0x1caa26
cmpl $0x0, 0x4(%r13)
js 0x1cab4e
movl (%r13), %ecx
movq %rcx, %rdx
xorq $0x1, %rdx
cmpb $0x0, (%rbx,%rdx)
jne 0x1cab4e
movq (%r14), %rdx
cmpq 0x8(%r14), %rdx
jne 0x1cab41
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movl (%r13), %ecx
movq (%r14), %rdx
movl %ecx, %ecx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movq %rcx, (%rax,%rdx,8)
addq $0x20, %r13
jmp 0x1caaed
movq 0x18(%rsp), %rdx
movq (%r12,%rdx,8), %rdx
movq %rdx, %rsi
shrq %rsi
andl $0x1, %edx
imulq $0x78, %rsi, %rsi
addq %rsi, %rcx
imulq $0x18, %rdx, %rdx
movq 0x10(%rdx,%rcx), %r15
movq 0x20(%rdx,%rcx), %r13
addq $0x8, %r13
subq $0x1, %r15
jb 0x1cabe2
cmpl $0x0, 0x4(%r13)
js 0x1cabdc
movl (%r13), %ecx
movq %rcx, %rdx
xorq $0x1, %rdx
cmpb $0x0, (%rbx,%rdx)
jne 0x1cabdc
movq (%r14), %rdx
cmpq 0x8(%r14), %rdx
jne 0x1cabcf
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movl (%r13), %ecx
movq (%r14), %rdx
movl %ecx, %ecx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movq %rcx, (%rax,%rdx,8)
addq $0x20, %r13
jmp 0x1cab7f
movq (%rsp), %rcx
movq (%r12,%rcx,8), %rcx
movl %ecx, %edx
notl %edx
shrq %rcx
andl $0x1, %edx
imulq $0x78, %rcx, %rcx
movq 0x8(%rsp), %rsi
addq (%rsi), %rcx
imulq $0x18, %rdx, %rdx
movq 0x10(%rdx,%rcx), %r15
movq 0x20(%rdx,%rcx), %r13
addq $0x8, %r13
subq $0x1, %r15
jb 0x1cac75
cmpl $0x0, 0x4(%r13)
js 0x1cac6f
movl (%r13), %ecx
movq %rcx, %rdx
xorq $0x1, %rdx
cmpb $0x0, (%rbx,%rdx)
jne 0x1cac6f
movq (%r14), %rdx
cmpq 0x8(%r14), %rdx
jne 0x1cac62
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movl (%r13), %ecx
movq (%r14), %rdx
movl %ecx, %ecx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movq %rcx, (%rax,%rdx,8)
addq $0x20, %r13
jmp 0x1cac12
movq 0x10(%rsp), %rcx
incq %rcx
movq 0x20(%rsp), %r13
jmp 0x1ca9ed
movq 0x80(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq %rax, %rcx
cmovbeq %rax, %rcx
movq 0x88(%rsp), %rdx
cmpq %rdx, %rcx
cmovaeq %rdx, %rcx
cmpq %rax, %rcx
cmovbeq %rax, %rcx
movq %rcx, 0x28(%rsp)
xorl %r15d, %r15d
xorl %eax, %eax
cmpq 0x28(%rsp), %r15
setb %bpl
movq (%r14), %rdi
testq %rax, %rax
sete %dl
movq %r15, 0x38(%rsp)
movl %edx, %eax
andb %bpl, %al
cmpb $0x1, %al
jne 0x1cb188
cmpq 0x40(%rsp), %rdi
jbe 0x1cae65
movq 0x10(%r14), %rax
leaq -0x1(%rdi), %rcx
movq %rcx, (%r14)
movq -0x8(%rax,%rdi,8), %rax
cmpb $0x0, (%rbx,%rax)
jne 0x1cad84
movq 0x8(%rsp), %rdx
movq (%rdx), %rsi
movq %rax, %rdx
xorq $0x1, %rdx
movq %rax, %rdi
shrq %rdi
movl %edx, %r8d
andl $0x1, %r8d
imulq $0x78, %rdi, %rdi
movq %rdi, (%rsp)
leaq (%rsi,%rdi), %r9
imulq $0x18, %r8, %r8
movq 0x10(%r8,%r9), %rdi
movq 0x20(%r8,%r9), %r8
addq $0xc, %r8
xorl %r9d, %r9d
xorl %r10d, %r10d
cmpq %rdi, %r9
jae 0x1cad76
testq %r10, %r10
jne 0x1cad76
cmpl $0x0, (%r8)
js 0x1cad6a
movl -0x4(%r8), %r11d
xorq $0x1, %r11
xorl %r10d, %r10d
cmpb $0x0, (%rbx,%r11)
sete %r10b
jmp 0x1cad6d
xorl %r10d, %r10d
incq %r9
addq $0x20, %r8
jmp 0x1cad44
movq %rcx, %rdi
testq %r10, %r10
jne 0x1cacdf
jmp 0x1cad8e
movb $0x1, %dl
movq %rcx, %rdi
jmp 0x1cacd2
movq (%rsp), %rdi
movl 0x4(%rsi,%rdi), %ecx
movq %rcx, 0x10(%rsp)
movb $0x1, %cl
movb %cl, (%rbx,%rdx)
movb %cl, (%rbx,%rax)
andl $0x1, %eax
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
addq %rdi, %rcx
imulq $0x18, %rax, %rax
movq 0x10(%rax,%rcx), %r15
movq 0x20(%rax,%rcx), %rbp
addq $0x8, %rbp
xorl %r13d, %r13d
subq $0x1, %r15
jb 0x1cae2d
cmpl $0x0, 0x4(%rbp)
js 0x1cae27
incq %r13
movl (%rbp), %ecx
movq %rcx, %rax
xorq $0x1, %rax
cmpb $0x0, (%rbx,%rax)
jne 0x1cae27
movq (%r14), %rdx
movq 0x10(%r14), %rax
cmpq 0x8(%r14), %rdx
jne 0x1cae1a
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movl (%rbp), %ecx
movq (%r14), %rdx
movl %ecx, %ecx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movq %rcx, (%rax,%rdx,8)
addq $0x20, %rbp
jmp 0x1cadc6
movq 0x38(%rsp), %r15
addq 0x10(%rsp), %r15
movl $0x0, %eax
testq %r13, %r13
movq 0x20(%rsp), %r13
jne 0x1cacbb
movq 0x8(%rsp), %rax
movq (%rax), %rcx
xorl %eax, %eax
movq (%rsp), %rdx
cmpb $0x0, 0x71(%rcx,%rdx)
setne %al
jmp 0x1cacbb
movb $0x1, 0x10(%rsp)
movb $0x1, 0x18(%rsp)
xorl %r15d, %r15d
cmpq 0x30(%rsp), %r13
jae 0x1caff2
movq 0x10(%r14), %rax
movq %r13, 0x20(%rsp)
movl (%rax,%r13,8), %ecx
movq (%rax,%rcx,8), %rax
movl %eax, %ebp
shrq $0x20, %rax
cmpq %rbp, %rax
jae 0x1cb1d4
movq %rax, (%rsp)
leaq 0x1(%rax), %r13
movq (%r14), %rcx
movq 0x8(%r14), %rdx
movq 0x10(%r14), %rax
cmpq %rbp, %r13
jae 0x1caf4f
cmpq %rdx, %rcx
jne 0x1caee3
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movq (%r14), %rcx
movq (%r12,%r13,8), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r14)
movq %rdx, (%rax,%rcx,8)
movq (%r14), %rcx
cmpq 0x8(%r14), %rcx
jne 0x1caf20
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movq (%r14), %rcx
movq (%r12,%r13,8), %rdx
xorq $0x1, %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r14)
movq %rdx, (%rax,%rcx,8)
movq (%r12,%r13,8), %rax
xorq $0x1, %rax
movb %r15b, (%rbx,%rax)
movq (%r12,%r13,8), %rax
movb %r15b, (%rbx,%rax)
incq %r13
jmp 0x1caea5
cmpq %rdx, %rcx
jne 0x1caf79
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movq (%r14), %rcx
movq 0x20(%rsp), %r13
movq (%rsp), %rdx
movq (%r12,%rdx,8), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r14)
movq %rdx, (%rax,%rcx,8)
movq (%r14), %rcx
cmpq 0x8(%r14), %rcx
jne 0x1cafbf
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movq (%r14), %rcx
movq (%r12,%rbp,8), %rdx
xorq $0x1, %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r14)
movq %rdx, (%rax,%rcx,8)
movq (%r12,%rbp,8), %rax
xorq $0x1, %rax
movb %r15b, (%rbx,%rax)
movq (%rsp), %rax
movq (%r12,%rax,8), %rax
movb %r15b, (%rbx,%rax)
incq %r13
jmp 0x1cae72
movb 0x10(%rsp), %bpl
movb 0x18(%rsp), %r13b
movq (%r14), %rax
cmpq 0x40(%rsp), %rax
jbe 0x1cb152
movq 0x10(%r14), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, (%r14)
movq -0x8(%rcx,%rax,8), %rax
movq %rax, %r12
xorq $0x1, %r12
xorl %ecx, %ecx
movb %cl, (%rbx,%r12)
movb %cl, (%rbx,%rax)
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
imulq $0x78, %rcx, %r13
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
addq %r13, %rcx
imulq $0x18, %rax, %rax
movq 0x10(%rax,%rcx), %rbp
movq 0x20(%rax,%rcx), %r15
addq $0x8, %r15
subq $0x1, %rbp
jb 0x1cb0bd
cmpl $0x0, 0x4(%r15)
js 0x1cb0b7
movl (%r15), %ecx
cmpb $0x0, (%rbx,%rcx)
jne 0x1cb077
movq %rcx, %rax
xorq $0x1, %rax
cmpb $0x0, (%rbx,%rax)
je 0x1cb0b7
movq (%r14), %rdx
movq 0x10(%r14), %rax
cmpq 0x8(%r14), %rdx
jne 0x1cb0ac
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movl (%r15), %ecx
movq (%r14), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movq %rcx, (%rax,%rdx,8)
addq $0x20, %r15
jmp 0x1cb054
andl $0x1, %r12d
movq 0x8(%rsp), %rax
addq (%rax), %r13
imulq $0x18, %r12, %rax
movq 0x10(%rax,%r13), %r12
movq 0x20(%rax,%r13), %r15
addq $0x8, %r15
movb 0x10(%rsp), %bpl
movb 0x18(%rsp), %r13b
subq $0x1, %r12
jb 0x1caffc
cmpl $0x0, 0x4(%r15)
js 0x1cb14c
movl (%r15), %ecx
cmpb $0x0, (%rbx,%rcx)
jne 0x1cb10c
movq %rcx, %rax
xorq $0x1, %rax
cmpb $0x0, (%rbx,%rax)
je 0x1cb14c
movq (%r14), %rdx
movq 0x10(%r14), %rax
cmpq 0x8(%r14), %rdx
jne 0x1cb141
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%r14)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r14)
movl (%r15), %ecx
movq (%r14), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movq %rcx, (%rax,%rdx,8)
addq $0x20, %r15
jmp 0x1cb0e5
movq 0x80(%rsp), %rcx
leaq -0x1(%rcx), %rdx
movq 0x38(%rsp), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
incl %ecx
testb %bpl, %bpl
cmovnel %edx, %eax
testb $0x1, %r13b
cmovel %ecx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb %dl, 0x18(%rsp)
movb %bpl, 0x10(%rsp)
jmp 0x1cae6f
leaq 0x2f7aa(%rip), %rdi     # 0x1fa947
leaq 0x2c335(%rip), %rsi     # 0x1f74d9
leaq 0x2f7a2(%rip), %rcx     # 0x1fa94d
movl $0x2fdd, %edx           # imm = 0x2FDD
callq 0x2110
leaq 0x2f78b(%rip), %rdi     # 0x1fa947
leaq 0x2c316(%rip), %rsi     # 0x1f74d9
leaq 0x2f783(%rip), %rcx     # 0x1fa94d
movl $0x2fe8, %edx           # imm = 0x2FE8
callq 0x2110
leaq 0x2f76c(%rip), %rdi     # 0x1fa947
leaq 0x2c2f7(%rip), %rsi     # 0x1f74d9
leaq 0x2f764(%rip), %rcx     # 0x1fa94d
movl $0x301d, %edx           # imm = 0x301D
callq 0x2110