// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x60, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x35b0
movl -0x8(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq 0x1a8d(%rip), %rdx      # 0x608a
callq 0x2210
movl %eax, -0x14(%rbp)
cmpl $0x0, %eax
jl 0x4651
cmpl $0x74, -0x14(%rbp)
jne 0x4624
movq 0x39c1(%rip), %rax      # 0x7fd8
movq (%rax), %rdi
callq 0x2220
movl %eax, -0x50(%rbp)
jmp 0x464f
cmpl $0x54, -0x14(%rbp)
jne 0x4633
movl $0x1, -0x28(%rbp)
jmp 0x464d
cmpl $0x6c, -0x14(%rbp)
jne 0x464b
movq 0x3998(%rip), %rax      # 0x7fd8
movq (%rax), %rdi
callq 0x2220
movl %eax, -0x48(%rbp)
jmp 0x464d
jmp 0x464f
jmp 0x45ef
movl -0x8(%rbp), %eax
movq 0x3975(%rip), %rcx      # 0x7fd0
subl (%rcx), %eax
cmpl $0x1, %eax
jge 0x46f0
movq 0x398b(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
leaq 0x1a1b(%rip), %rsi      # 0x6092
movb $0x0, %al
callq 0x2150
movq 0x3973(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
leaq 0x1a47(%rip), %rsi      # 0x60d6
movb $0x0, %al
callq 0x2150
movq 0x395b(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movl -0x50(%rbp), %edx
leaq 0x1a36(%rip), %rsi      # 0x60e0
movb $0x0, %al
callq 0x2150
movq 0x3940(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movl -0x48(%rbp), %edx
leaq 0x1a40(%rip), %rsi      # 0x6105
movb $0x0, %al
callq 0x2150
movq 0x3925(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
leaq 0x1a5e(%rip), %rsi      # 0x613b
movb $0x0, %al
callq 0x2150
movl $0x1, -0x4(%rbp)
jmp 0x47a0
movq -0x10(%rbp), %rax
movq 0x38d5(%rip), %rcx      # 0x7fd0
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x1a5d(%rip), %rsi      # 0x6166
callq 0x2130
cmpl $0x0, %eax
je 0x4737
movq -0x10(%rbp), %rax
movq 0x38b2(%rip), %rcx      # 0x7fd0
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x1a3c(%rip), %rsi      # 0x6168
callq 0x21f0
movq %rax, -0x60(%rbp)
jmp 0x4758
movq 0x388a(%rip), %rax      # 0x7fc8
movq (%rax), %rdi
callq 0x2170
movl %eax, %edi
leaq 0x1a19(%rip), %rsi      # 0x6168
callq 0x20a0
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rdi
callq 0x47b0
movq %rax, -0x20(%rbp)
movl $0x2, %edi
leaq 0x77(%rip), %rsi        # 0x47f0
leaq -0x50(%rbp), %rdx
movl $0x3, %ecx
callq 0x2580
movq -0x20(%rbp), %rdi
callq 0x4cb0
movq -0x58(%rbp), %rdi
callq 0x2030
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)