// File: /workspace/github_c_makefile_star2_O2/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, %r14
movl %edi, %r15d
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rsp)
movl $0x989680, 0x4(%rsp)    # imm = 0x989680
movaps 0x8f9(%rip), %xmm0      # 0x4040
movups %xmm0, 0xc(%rsp)
movabsq $0x200000003, %rax      # imm = 0x200000003
movq %rax, 0x1c(%rsp)
movl $0xa, 0x24(%rsp)
pushq $0x28
popq %rbx
xorl %r13d, %r13d
pushq $0x2
popq %rbp
leaq 0x963(%rip), %r12       # 0x40d6
movl %r15d, %edi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2200
testl %eax, %eax
js 0x37c0
cmpl $0x54, %eax
je 0x37a7
cmpl $0x6c, %eax
je 0x37ad
cmpl $0x74, %eax
jne 0x3773
movq 0x283d(%rip), %rax      # 0x5fd8
movq (%rax), %rdi
callq 0x2210
movl %eax, %ebp
jmp 0x3773
pushq $0x1
popq %r13
jmp 0x3773
movq 0x2824(%rip), %rax      # 0x5fd8
movq (%rax), %rdi
callq 0x2210
movl %eax, %ebx
jmp 0x3773
movl %ebx, 0x8(%rsp)
movl %r13d, 0x28(%rsp)
movl %ebp, (%rsp)
movq 0x27fd(%rip), %rax      # 0x5fd0
movslq (%rax), %rax
cmpl %r15d, %eax
jge 0x38e4
movq (%r14,%rax,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x37f2
cmpb $0x0, 0x1(%rdi)
je 0x38c2
leaq 0x9b9(%rip), %rsi       # 0x41b2
callq 0x21e0
movq %rax, %rbx
pushq $0x1
popq %r14
pushq $0x50
popq %rsi
movq %r14, %rdi
callq 0x2120
movq %rax, %r15
pushq $0x20
popq %rsi
movq %r14, %rdi
callq 0x2120
movq %rax, %r14
movq %rbx, 0x10(%rax)
movl $0x10000, 0x8(%rax)     # imm = 0x10000
movl $0x4000, %edi           # imm = 0x4000
callq 0x21a0
movq %rax, 0x18(%r14)
movq %r14, 0x48(%r15)
movq %rsp, %r14
movq %r15, 0x30(%r14)
leaq 0x110(%rip), %rsi       # 0x395c
pushq $0x2
popq %rdi
pushq $0x3
popq %rcx
movq %r14, %rdx
callq 0x2509
movq 0x30(%r14), %r14
testq %r14, %r14
je 0x38a9
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 0x38a1
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 0x26ff(%rip), %rax      # 0x5fc8
movq (%rax), %rdi
callq 0x2160
leaq 0x8da(%rip), %rsi       # 0x41b2
movl %eax, %edi
callq 0x20a0
jmp 0x37fe
movq 0x270d(%rip), %r15      # 0x5ff8
movq (%r15), %rcx
leaq 0x7e9(%rip), %rdi       # 0x40de
pushq $0x43
popq %rsi
pushq $0x1
popq %r14
movq %r14, %rdx
callq 0x2220
movq (%r15), %rcx
leaq 0x814(%rip), %rdi       # 0x4122
pushq $0x9
popq %rsi
movq %r14, %rdx
callq 0x2220
movq (%r15), %rdi
leaq 0x809(%rip), %rsi       # 0x412c
movl %ebp, %edx
xorl %eax, %eax
callq 0x2140
movq (%r15), %rdi
leaq 0x81b(%rip), %rsi       # 0x4151
movl %ebx, %edx
xorl %eax, %eax
callq 0x2140
movq (%r15), %rcx
leaq 0x83e(%rip), %rdi       # 0x4187
pushq $0x2a
popq %rsi
movq %r14, %rdx
callq 0x2220
pushq $0x1
popq %rax
jmp 0x38b3