// File: /workspace/github_c_makefile_star2_O1/lh3[P]pre-pe/pre-dip-c.c
// Function: main
int main(int argc, char *argv[])
{
	int c;
	lt_global_t g;
	gzFile fp;

	lt_global_init(&g);
	while ((c = getopt(argc, argv, "Tt:b:l:")) >= 0) {
		if (c == 't') g.opt.n_threads = atoi(optarg);
		else if (c == 'T') g.opt.tab_out = 1;
		else if (c == 'l') g.opt.min_seq_len = atoi(optarg);
	}
	if (argc - optind < 1) {
		fprintf(stderr, "Usage: seqtk mergepe <read1.fq> <read2.fq> | pre-dip-c [options] -\n");
		fprintf(stderr, "Options:\n");
		fprintf(stderr, "  -t INT     number of threads [%d]\n", g.opt.n_threads);
		fprintf(stderr, "  -l INT     min read/fragment length to output [%d]\n", g.opt.min_seq_len);
		fprintf(stderr, "  -T         tabular output for debugging\n");
		return 1;
	}

	fp = strcmp(argv[optind], "-")? gzopen(argv[optind], "r") : gzdopen(fileno(stdin), "r");
	g.ks = kseq_init(fp);

	kt_pipeline(2, worker_pipeline, &g, 3);

	kseq_destroy(g.ks);
	gzclose(fp);
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movabsq $0x98968000000002, %rax # imm = 0x98968000000002
movq %rax, (%rsp)
movabsq $0x3200000028, %rax     # imm = 0x3200000028
movq %rax, 0x8(%rsp)
movaps 0x1405(%rip), %xmm0     # 0x5030
movaps %xmm0, 0x10(%rsp)
movabsq $0xa00000002, %rax      # imm = 0xA00000002
movq %rax, 0x20(%rsp)
leaq 0x1480(%rip), %rdx      # 0x50c6
callq 0x2210
testl %eax, %eax
js 0x3ca0
leaq 0x1470(%rip), %r14      # 0x50c6
movq 0x337b(%rip), %r15      # 0x6fd8
cmpl $0x54, %eax
je 0x3c87
cmpl $0x6c, %eax
je 0x3c79
cmpl $0x74, %eax
jne 0x3c8f
movq (%r15), %rdi
callq 0x2220
movl %eax, (%rsp)
jmp 0x3c8f
movq (%r15), %rdi
callq 0x2220
movl %eax, 0x8(%rsp)
jmp 0x3c8f
movl $0x1, 0x28(%rsp)
movl %ebp, %edi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2210
testl %eax, %eax
jns 0x3c5d
movq 0x3329(%rip), %rax      # 0x6fd0
movslq (%rax), %rax
cmpl %ebp, %eax
jge 0x3dc7
movq (%rbx,%rax,8), %rbx
leaq 0x14e5(%rip), %rsi      # 0x51a2
movq %rbx, %rdi
callq 0x2130
testl %eax, %eax
je 0x3cda
leaq 0x14d4(%rip), %rsi      # 0x51a4
movq %rbx, %rdi
callq 0x21f0
jmp 0x3cf7
movq 0x32e7(%rip), %rax      # 0x6fc8
movq (%rax), %rdi
callq 0x2170
leaq 0x14b4(%rip), %rsi      # 0x51a4
movl %eax, %edi
callq 0x20a0
movq %rax, %rbx
movl $0x1, %edi
movl $0x50, %esi
callq 0x2120
movq %rax, %r14
movl $0x1, %edi
movl $0x20, %esi
callq 0x2120
movq %rax, %r15
movq %rbx, 0x10(%rax)
movl 0x8(%rax), %eax
andl $0x3, %eax
orl $0x10000, %eax          # imm = 0x10000
movl %eax, 0x8(%r15)
movl $0x4000, %edi           # imm = 0x4000
callq 0x21b0
movq %rax, 0x18(%r15)
movq %r15, 0x48(%r14)
movq %rsp, %r15
movq %r14, 0x30(%r15)
leaq 0x8a(%rip), %rsi        # 0x3ddb
movl $0x2, %edi
movq %r15, %rdx
movl $0x3, %ecx
callq 0x25b7
movq 0x30(%r15), %r14
testq %r14, %r14
je 0x3db2
movq 0x8(%r14), %rdi
callq 0x2050
movq 0x18(%r14), %rdi
callq 0x2050
movq 0x28(%r14), %rdi
callq 0x2050
movq 0x38(%r14), %rdi
callq 0x2050
movq 0x48(%r14), %r15
testq %r15, %r15
je 0x3daa
movq 0x18(%r15), %rdi
callq 0x2050
movq %r15, %rdi
callq 0x2050
movq %r14, %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x2040
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8(%rsp), %rsi
movq %rsp, %rdi
callq 0x22a0
movl $0x1, %eax
jmp 0x3dbc