// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Trio.cpp
// Function: ha_triobin(hifiasm_opt_t const*)
void ha_triobin(const hifiasm_opt_t *opt)
{
	memset(R_INF.trio_flag, AMBIGU, R_INF.total_reads * sizeof(uint8_t));
	if (opt->fn_bin_list[0] && opt->fn_bin_list[1])
		ha_triobin_list(opt);
	if (opt->fn_bin_yak[0] && opt->fn_bin_yak[1])
		ha_triobin_yak(opt);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x18ec49(%rip), %rax    # 0x254230
movq 0x28(%rax), %rdi
movq 0x50(%rax), %rdx
xorl %esi, %esi
callq 0x20e0
cmpq $0x0, 0x30(%rbx)
je 0xc5604
cmpq $0x0, 0x38(%rbx)
jne 0xc5627
movq 0x20(%rbx), %rsi
testq %rsi, %rsi
je 0xc5618
cmpq $0x0, 0x28(%rbx)
jne 0xc56c8
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, (%rsp)
leaq 0x18ebfe(%rip), %rax    # 0x254230
movq 0x50(%rax), %rbx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpq %rax, %rbx
jae 0xc595c
xorl %r15d, %r15d
callq 0xc51c9
movq %rax, %r14
cmpq %rbx, %r15
jge 0xc5871
leaq 0x18ebd1(%rip), %r12    # 0x254230
movq 0x40(%r12), %rax
movq (%rax,%r15,8), %r13
movq 0x8(%rax,%r15,8), %rbp
subq %r13, %rbp
leaq 0x1(%rbp), %rdi
pushq $0x1
popq %rsi
callq 0x2120
movq %rax, %rbx
addq 0x8(%r12), %r13
movq %rax, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x20d0
movq %r14, %rdi
movq %rbx, %rsi
leaq 0x10(%rsp), %rdx
callq 0xc51d4
cmpl $0x0, 0x10(%rsp)
je 0xc56b8
movq 0x10(%r14), %rcx
movl %eax, %eax
shlq $0x4, %rax
movq %r15, 0x8(%rcx,%rax)
leaq 0x18eb71(%rip), %rax    # 0x254230
movq 0x50(%rax), %rbx
incq %r15
jmp 0xc564f
andq $0x0, 0x18(%rsp)
pushq $0x1
popq %r13
movl 0x7c(%rbx), %r15d
movl %r15d, 0x14(%rsp)
movabsq $0x3fd51eb851eb851f, %rax # imm = 0x3FD51EB851EB851F
movq %rax, 0x20(%rsp)
leaq 0x18eb3f(%rip), %rax    # 0x254230
movq %rax, 0x40(%rsp)
movl 0x128(%rbx), %ecx
movl 0x12c(%rbx), %r8d
xorl %ebp, %ebp
pushq $0x2
popq %rdx
xorl %edi, %edi
xorl %eax, %eax
callq 0xc5b17
movq 0x28(%rbx), %rsi
movl 0x128(%rbx), %ecx
movl 0x12c(%rbx), %r8d
pushq $0x3
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0xc5b17
movq %rax, %rbx
movl (%rax), %eax
movl %eax, 0x10(%rsp)
movq %rbx, 0x28(%rsp)
movslq %r15d, %r12
pushq $0x10
popq %rsi
movq %r12, %rdi
callq 0x2120
movq %rax, 0x30(%rsp)
pushq $0x20
popq %rsi
movq %r12, %rdi
callq 0x2120
movq %rax, %r14
movq %rax, 0x38(%rsp)
testl %r12d, %r12d
cmovgl %r15d, %ebp
subq $0x1, %rbp
jb 0xc577e
movq %r14, %rdi
callq 0x6bd1
addq $0x20, %r14
jmp 0xc576a
leaq 0x18eaab(%rip), %rax    # 0x254230
movq 0x50(%rax), %rcx
leaq 0x7f4(%rip), %rsi       # 0xc5f84
leaq 0x10(%rsp), %rdx
movl %r15d, %edi
callq 0xc67c0
pushq $0x4
popq %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
movslq 0x14(%rsp), %rax
movq 0x30(%rsp), %rdi
cmpq %rax, %r12
jge 0xc57d9
movq (%rdi,%r14,2), %rdi
callq 0x2220
movq 0x38(%rsp), %rdi
addq %r15, %rdi
callq 0x6b07
incq %r12
addq $0x20, %r15
addq $0x8, %r14
jmp 0xc57a7
callq 0x2220
movq 0x38(%rsp), %rdi
callq 0x2220
xorl %r15d, %r15d
movb 0x4(%rbx), %cl
movl %r13d, %eax
shll %cl, %eax
cltq
movq 0x18(%rbx), %rdi
cmpq %rax, %r15
jge 0xc5826
movq (%rdi,%r15,8), %r14
testq %r14, %r14
je 0xc5821
movq 0x10(%r14), %rdi
callq 0x2220
movq 0x8(%r14), %rdi
callq 0x2220
movq %r14, %rdi
callq 0x2220
incq %r15
jmp 0xc57eb
callq 0x2220
movq %rbx, %rdi
callq 0x2220
movq 0x18d7a6(%rip), %rax    # 0x252fe0
movq (%rax), %rbx
callq 0xefea7
movsd %xmm0, (%rsp)
callq 0xefef4
movaps %xmm0, %xmm1
leaq 0x125bff(%rip), %rsi    # 0x1eb455
leaq 0x125c32(%rip), %rdx    # 0x1eb48f
movq %rbx, %rdi
movsd (%rsp), %xmm0
movb $0x2, %al
callq 0x22b0
jmp 0xc5618
movq 0x18d768(%rip), %r12    # 0x252fe0
movq (%r12), %rbx
callq 0xefea7
movsd %xmm0, 0x8(%rsp)
callq 0xefef4
movaps %xmm0, %xmm1
leaq 0x125a68(%rip), %rsi    # 0x1eb2fe
leaq 0x125b4f(%rip), %rdx    # 0x1eb3ec
movq %rbx, %rdi
movsd 0x8(%rsp), %xmm0
movb $0x2, %al
callq 0x22b0
movq (%rsp), %rbx
movq 0x30(%rbx), %rsi
pushq $0x1
popq %rdx
movq %r14, %rdi
callq 0xc5996
movq 0x38(%rbx), %rsi
pushq $0x2
popq %rdx
movq %r14, %rdi
callq 0xc5996
movq 0x10(%r14), %rbx
xorl %r15d, %r15d
movq %rbx, %r13
testq %rbx, %rbx
je 0xc58e9
movb (%r14), %cl
pushq $0x1
popq %rax
shlq %cl, %rax
jmp 0xc58eb
xorl %eax, %eax
cmpq %rax, %r15
jae 0xc5916
movq 0x8(%r14), %rax
movq %r15, %rcx
shrq $0x5, %rcx
movl (%rax,%rcx,4), %eax
btl %r15d, %eax
jae 0xc590d
movq (%r13), %rdi
callq 0x2220
incq %r15
addq $0x10, %r13
jmp 0xc58d9
movq %r14, %rdi
callq 0xc551b
movq (%r12), %rbx
callq 0xefea7
movsd %xmm0, 0x8(%rsp)
callq 0xefef4
movaps %xmm0, %xmm1
leaq 0x125a46(%rip), %rsi    # 0x1eb382
leaq 0x125aa9(%rip), %rdx    # 0x1eb3ec
movq %rbx, %rdi
movsd 0x8(%rsp), %xmm0
movb $0x2, %al
callq 0x22b0
movq (%rsp), %rbx
jmp 0xc5604
leaq 0x125940(%rip), %rdi    # 0x1eb2a3
leaq 0x12595a(%rip), %rsi    # 0x1eb2c4
leaq 0x125a4f(%rip), %rcx    # 0x1eb3c0
movl $0x14d, %edx            # imm = 0x14D
callq 0x2110