// File: /workspace/github_c_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movl %edi, %ebp
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rsp)
movl $0x989680, 0x4(%rsp)    # imm = 0x989680
movaps 0x143c(%rip), %xmm0     # 0x5060
movups %xmm0, 0xc(%rsp)
movabsq $0x200000003, %rax      # imm = 0x200000003
movq %rax, 0x1c(%rsp)
movl $0xa, 0x24(%rsp)
leaq 0x14af(%rip), %rdx      # 0x50f6
callq 0x2200
testl %eax, %eax
js 0x3cb6
movl $0x2, %r15d
xorl %r13d, %r13d
movl $0x28, %r14d
leaq 0x1490(%rip), %r12      # 0x50f6
cmpl $0x54, %eax
je 0x3c9d
cmpl $0x6c, %eax
je 0x3c89
cmpl $0x74, %eax
jne 0x3ca3
movq 0x335c(%rip), %rax      # 0x6fd8
movq (%rax), %rdi
callq 0x2210
movl %eax, %r15d
jmp 0x3ca3
movq 0x3348(%rip), %rax      # 0x6fd8
movq (%rax), %rdi
callq 0x2210
movl %eax, %r14d
jmp 0x3ca3
movl $0x1, %r13d
movl %ebp, %edi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x2200
testl %eax, %eax
jns 0x3c66
jmp 0x3cc5
movl $0x28, %r14d
xorl %r13d, %r13d
movl $0x2, %r15d
movl %r14d, 0x8(%rsp)
movl %r13d, 0x28(%rsp)
movl %r15d, (%rsp)
movq 0x32f6(%rip), %rax      # 0x6fd0
movslq (%rax), %rax
cmpl %ebp, %eax
jge 0x3df2
movq (%rbx,%rax,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x3cf8
cmpb $0x0, 0x1(%rdi)
je 0x3dd0
leaq 0x14d3(%rip), %rsi      # 0x51d2
callq 0x21e0
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 $0x10000, 0x8(%rax)     # imm = 0x10000
movl $0x4000, %edi           # imm = 0x4000
callq 0x21a0
movq %rax, 0x18(%r15)
movq %r15, 0x48(%r14)
movq %rsp, %r15
movq %r14, 0x30(%r15)
leaq 0xae(%rip), %rsi        # 0x3e04
movl $0x2, %edi
movq %r15, %rdx
movl $0x3, %ecx
callq 0x25b0
movq 0x30(%r15), %r14
testq %r14, %r14
je 0x3db7
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 0x3daf
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 %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x31f1(%rip), %rax      # 0x6fc8
movq (%rax), %rdi
callq 0x2160
leaq 0x13ec(%rip), %rsi      # 0x51d2
movl %eax, %edi
callq 0x20a0
jmp 0x3d04
movl %r15d, %edi
movl %r14d, %esi
callq 0x2290
movl $0x1, %eax
jmp 0x3dc1