// File: /workspace/github_c_makefile_star2_O2/OpenGene[P]pecheck/src/read.cpp
// Function: ReadPair::test()
bool ReadPair::test(){
	Read* left = new Read("@NS500713:64:HFKJJBGXY:1:11101:20469:1097 1:N:0:TATAGCCT+GGTCCCGA",
		"TTTTTTCTCTTGGACTCTAACACTGTTTTTTCTTATGAAAACACAGGAGTGATGACTAGTTGAGTGCATTCTTATGAGACTCATAGTCATTCTATGATGTAG",
		"+",
		"AAAAA6EEEEEEEEEEEEEEEEE#EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAEEEAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE");
	Read* right = new Read("@NS500713:64:HFKJJBGXY:1:11101:20469:1097 1:N:0:TATAGCCT+GGTCCCGA",
		"AAAAAACTACACCATAGAATGACTATGAGTCTCATAAGAATGCACTCAACTAGTCATCACTCCTGTGTTTTCATAAGAAAAAACAGTGTTAGAGTCCAAGAG",
		"+",
		"AAAAA6EEEEE/EEEEEEEEEEE#EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAEEEAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE");

	ReadPair pair(left, right);
	Read* merged = pair.fastMerge();
	if(merged == NULL)
		return false;

	if(merged->mSeq.mStr != "TTTTTTCTCTTGGACTCTAACACTGTTTTTTCTTATGAAAACACAGGAGTGATGACTAGTTGAGTGCATTCTTATGAGACTCATAGTCATTCTATGATGTAGTTTTTT")
		return false;

	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x120, %rsp            # imm = 0x120
movl $0x88, %edi
callq 0x3280
movq %rax, %rbx
leaq 0x14b7(%rip), %rsi      # 0xa6fb
leaq 0x100(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x44ec
leaq 0x1631(%rip), %rsi      # 0xa88e
leaq 0xe0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x44ec
leaq 0x1483(%rip), %rsi      # 0xa6f9
leaq 0xc0(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x44ec
leaq 0x1666(%rip), %rsi      # 0xa8f5
leaq 0xa0(%rsp), %rdi
leaq 0xd(%rsp), %rdx
callq 0x44ec
leaq 0x100(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
leaq 0xc0(%rsp), %rcx
leaq 0xa0(%rsp), %r8
movq %rbx, %rdi
xorl %r9d, %r9d
callq 0x7fa4
leaq 0xa0(%rsp), %rdi
callq 0x3568
leaq 0xc0(%rsp), %rdi
callq 0x3568
leaq 0xe0(%rsp), %rdi
callq 0x3568
leaq 0x100(%rsp), %rdi
callq 0x3568
movl $0x88, %edi
callq 0x3280
movq %rax, %r14
leaq 0x13e7(%rip), %rsi      # 0xa6fb
leaq 0x80(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x44ec
leaq 0x162f(%rip), %rsi      # 0xa95c
leaq 0x60(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x44ec
leaq 0x13b6(%rip), %rsi      # 0xa6f9
leaq 0x40(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x44ec
leaq 0x166a(%rip), %rsi      # 0xa9c3
leaq 0x20(%rsp), %rdi
leaq 0xd(%rsp), %rdx
callq 0x44ec
leaq 0x80(%rsp), %rsi
leaq 0x60(%rsp), %rdx
leaq 0x40(%rsp), %rcx
leaq 0x20(%rsp), %r8
movq %r14, %rdi
xorl %r9d, %r9d
callq 0x7fa4
leaq 0x20(%rsp), %rdi
callq 0x3568
leaq 0x40(%rsp), %rdi
callq 0x3568
leaq 0x60(%rsp), %rdi
callq 0x3568
leaq 0x80(%rsp), %rdi
callq 0x3568
leaq 0x10(%rsp), %rdi
movq %rbx, (%rdi)
movq %r14, 0x8(%rdi)
callq 0x8dce
testq %rax, %rax
je 0x93e5
addq $0x20, %rax
leaq 0x1654(%rip), %rsi      # 0xaa2a
movq %rax, %rdi
callq 0x952a
movl %eax, %ebx
xorb $0x1, %bl
jmp 0x93e7
xorl %ebx, %ebx
leaq 0x10(%rsp), %rdi
callq 0x8d7a
movl %ebx, %eax
addq $0x120, %rsp            # imm = 0x120
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r15
leaq 0x10(%rsp), %rdi
callq 0x8d7a
jmp 0x94b6
movq %rax, %r15
leaq 0x20(%rsp), %rdi
callq 0x3568
jmp 0x9424
movq %rax, %r15
leaq 0x40(%rsp), %rdi
callq 0x3568
jmp 0x9433
movq %rax, %r15
leaq 0x60(%rsp), %rdi
callq 0x3568
jmp 0x9442
movq %rax, %r15
leaq 0x80(%rsp), %rdi
callq 0x3568
jmp 0x9454
movq %rax, %r15
movl $0x88, %esi
movq %r14, %rdi
jmp 0x94b1
movq %rax, %r15
leaq 0xa0(%rsp), %rdi
callq 0x3568
jmp 0x9473
movq %rax, %r15
leaq 0xc0(%rsp), %rdi
callq 0x3568
jmp 0x9485
movq %rax, %r15
leaq 0xe0(%rsp), %rdi
callq 0x3568
jmp 0x9497
movq %rax, %r15
leaq 0x100(%rsp), %rdi
callq 0x3568
jmp 0x94a9
movq %rax, %r15
movl $0x88, %esi
movq %rbx, %rdi
callq 0x3290
movq %r15, %rdi
callq 0x34e0