// File: /workspace/github_c_makefile_star2_O3/aokad[P]sequeeze/seqtk.c
// Function: stk_seq
int stk_seq(int argc, char *argv[])
{
	gzFile fp;
	kseq_t *seq;
	int c, qual_thres = 0, flag = 0, qual_shift = 33, mask_chr = 0, min_len = 0, max_q = 255, fake_qual = -1;
	unsigned i, line_len = 0;
	int64_t n_seqs = 0;
	double frac = 1.;
	khash_t(reg) *h = 0;
	krand_t *kr = 0;

	while ((c = getopt(argc, argv, "N12q:l:Q:aACrn:s:f:M:L:cVUX:SF:")) >= 0) {
		switch (c) {
			case 'a':
			case 'A': flag |= 1; break;
			case 'C': flag |= 2; break;
			case 'r': flag |= 4; break;
			case 'c': flag |= 8; break;
			case '1': flag |= 16; break;
			case '2': flag |= 32; break;
			case 'V': flag |= 64; break;
			case 'N': flag |= 128; break;
			case 'U': flag |= 256; break;
			case 'S': flag |= 512; break;
			case 'M': h = stk_reg_read(optarg); break;
			case 'n': mask_chr = *optarg; break;
			case 'Q': qual_shift = atoi(optarg); break;
			case 'q': qual_thres = atoi(optarg); break;
			case 'X': max_q = atoi(optarg); break;
			case 'l': line_len = atoi(optarg); break;
			case 'L': min_len = atoi(optarg); break;
			case 's': kr = kr_srand(atol(optarg)); break;
			case 'f': frac = atof(optarg); break;
			case 'F': fake_qual = *optarg; break;
		}
	}
	if (kr == 0) kr = kr_srand(11);
	if (argc == optind && isatty(fileno(stdin))) {
		fprintf(stderr, "\n");
		fprintf(stderr, "Usage:   seqtk seq [options] <in.fq>|<in.fa>\n\n");
		fprintf(stderr, "Options: -q INT    mask bases with quality lower than INT [0]\n");
		fprintf(stderr, "         -X INT    mask bases with quality higher than INT [255]\n");
		fprintf(stderr, "         -n CHAR   masked bases converted to CHAR; 0 for lowercase [0]\n");
		fprintf(stderr, "         -l INT    number of residues per line; 0 for 2^32-1 [%d]\n", line_len);
		fprintf(stderr, "         -Q INT    quality shift: ASCII-INT gives base quality [%d]\n", qual_shift);
		fprintf(stderr, "         -s INT    random seed (effective with -f) [11]\n");
		fprintf(stderr, "         -f FLOAT  sample FLOAT fraction of sequences [1]\n");
		fprintf(stderr, "         -M FILE   mask regions in BED or name list FILE [null]\n");
		fprintf(stderr, "         -L INT    drop sequences with length shorter than INT [0]\n");
		fprintf(stderr, "         -F CHAR   fake FASTQ quality []\n");
		fprintf(stderr, "         -c        mask complement region (effective with -M)\n");
		fprintf(stderr, "         -r        reverse complement\n");
		fprintf(stderr, "         -A        force FASTA output (discard quality)\n");
		fprintf(stderr, "         -C        drop comments at the header lines\n");
		fprintf(stderr, "         -N        drop sequences containing ambiguous bases\n");
		fprintf(stderr, "         -1        output the 2n-1 reads only\n");
		fprintf(stderr, "         -2        output the 2n reads only\n");
		fprintf(stderr, "         -V        shift quality by '(-Q) - 33'\n");
		fprintf(stderr, "         -U        convert all bases to uppercases\n");
		fprintf(stderr, "         -S        strip of white spaces in sequences\n");
		fprintf(stderr, "\n");
		free(kr);
		return 1;
	}
	if (line_len == 0) line_len = UINT_MAX;
	fp = optind < argc && strcmp(argv[optind], "-")? gzopen(argv[optind], "r") : gzdopen(fileno(stdin), "r");
	if (fp == 0) {
		fprintf(stderr, "[E::%s] failed to open the input file/stream.\n", __func__);
		return 1;
	}
	seq = kseq_init(fp);
	qual_thres += qual_shift;
	while (kseq_read(seq) >= 0) {
		++n_seqs;
		if (seq->seq.l < min_len) continue; // NB: length filter before taking random
		if (frac < 1. && kr_drand(kr) >= frac) continue;
		if (flag & 48) { // then choose odd/even reads only
			if ((flag&16) && (n_seqs&1) == 0) continue;
			if ((flag&32) && (n_seqs&1) == 1) continue;
		}
		if (flag & 512) { // option -S: squeeze out white spaces
			int k;
			if (seq->qual.l) {
				for (i = k = 0; i < seq->seq.l; ++i)
					if (!isspace(seq->seq.s[i]))
						seq->qual.s[k++] = seq->qual.s[i];
				seq->qual.l = k;
			}
			for (i = k = 0; i < seq->seq.l; ++i)
				if (!isspace(seq->seq.s[i]))
					seq->seq.s[k++] = seq->seq.s[i];
			seq->seq.l = k;
		}
		if (seq->qual.l && qual_thres > qual_shift) {
			if (mask_chr) {
				for (i = 0; i < seq->seq.l; ++i)
					if (seq->qual.s[i] < qual_thres || seq->qual.s[i] > max_q)
						seq->seq.s[i] = mask_chr;
			} else {
				for (i = 0; i < seq->seq.l; ++i)
					if (seq->qual.s[i] < qual_thres || seq->qual.s[i] > max_q)
						seq->seq.s[i] = tolower(seq->seq.s[i]);
			}
		}
		if (flag & 256) // option -U: convert to uppercases
			for (i = 0; i < seq->seq.l; ++i)
				seq->seq.s[i] = toupper(seq->seq.s[i]);
		if (flag & 1) seq->qual.l = 0; // option -a: fastq -> fasta
		else if (fake_qual >= 33 && fake_qual <= 127) {
			if (seq->qual.m < seq->seq.m) {
				seq->qual.m = seq->seq.m;
				seq->qual.s = (char*)realloc(seq->qual.s, seq->qual.m);
			}
			seq->qual.l = seq->seq.l;
			memset(seq->qual.s, fake_qual, seq->qual.l);
			seq->qual.s[seq->qual.l] = 0;
		}
		if (flag & 2) seq->comment.l = 0; // option -C: drop fasta/q comments
		if (h) stk_mask(seq, h, flag&8, mask_chr); // masking
		if (flag & 4) { // option -r: reverse complement
			int c0, c1;
			for (i = 0; i < seq->seq.l>>1; ++i) { // reverse complement sequence
				c0 = comp_tab[(int)seq->seq.s[i]];
				c1 = comp_tab[(int)seq->seq.s[seq->seq.l - 1 - i]];
				seq->seq.s[i] = c1;
				seq->seq.s[seq->seq.l - 1 - i] = c0;
			}
			if (seq->seq.l & 1) // complement the remaining base
				seq->seq.s[seq->seq.l>>1] = comp_tab[(int)seq->seq.s[seq->seq.l>>1]];
			if (seq->qual.l) {
				for (i = 0; i < seq->seq.l>>1; ++i) // reverse quality
					c0 = seq->qual.s[i], seq->qual.s[i] = seq->qual.s[seq->qual.l - 1 - i], seq->qual.s[seq->qual.l - 1 - i] = c0;
			}
		}
		if ((flag & 64) && seq->qual.l && qual_shift != 33)
			for (i = 0; i < seq->qual.l; ++i)
				seq->qual.s[i] -= qual_shift - 33;
		if (flag & 128) { // option -N: drop sequences containing ambiguous bases - Note: this is the last step!
			for (i = 0; i < seq->seq.l; ++i)
				if (seq_nt16to4_table[seq_nt16_table[(int)seq->seq.s[i]]] > 3) break;
			if (i < seq->seq.l) continue;
		}
		stk_printseq(seq, line_len);
	}
	kseq_destroy(seq);
	gzclose(fp);
	stk_reg_destroy(h);
	free(kr);
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r13
movl %edi, %r12d
leaq 0x4726(%rip), %rdx      # 0xbc9a
callq 0x2240
testl %eax, %eax
js 0x77a2
movl $0xff, 0x14(%rsp)
movl $0xffffffff, 0x10(%rsp) # imm = 0xFFFFFFFF
movsd 0x3adf(%rip), %xmm0     # 0xb078
movsd %xmm0, 0x60(%rsp)
movl $0x21, %ecx
movq %rcx, 0x30(%rsp)
movq $0x0, 0x48(%rsp)
leaq 0x3b43(%rip), %rbx      # 0xb0fc
leaq 0x46da(%rip), %r15      # 0xbc9a
leaq 0x3b95(%rip), %rbp      # 0xb15c
xorl %r14d, %r14d
movl $0x0, 0xc(%rsp)
movq $0x0, 0x28(%rsp)
movq $0x0, 0x38(%rsp)
movl $0x0, 0x8(%rsp)
movl $0x0, 0x18(%rsp)
cmpl $0x60, %eax
jg 0x7613
leal -0x41(%rax), %ecx
cmpl $0x17, %ecx
ja 0x7632
movslq (%rbx,%rcx,4), %rax
addq %rbx, %rax
jmpq *%rax
orl $0x2, %r14d
jmp 0x776f
addl $-0x61, %eax
cmpl $0x12, %eax
ja 0x776f
movslq (%rbp,%rax,4), %rax
addq %rbp, %rax
jmpq *%rax
orl $0x1, %r14d
jmp 0x776f
cmpl $0x31, %eax
je 0x776b
cmpl $0x32, %eax
jne 0x776f
orl $0x20, %r14d
jmp 0x776f
orl $0x4, %r14d
jmp 0x776f
movq 0x897b(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x2250
movq %rax, 0x48(%rsp)
jmp 0x776f
orl $0x8, %r14d
jmp 0x776f
movq 0x8959(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x20a0
movsd %xmm0, 0x60(%rsp)
jmp 0x776f
movq 0x893f(%rip), %rax      # 0xffd8
movq (%rax), %rax
movsbl (%rax), %eax
movl %eax, 0xc(%rsp)
jmp 0x776f
movq 0x8929(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x2250
movl %eax, 0x8(%rsp)
jmp 0x776f
movq 0x8911(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x2230
movq %rax, %rdi
callq 0x3844
movq %rax, 0x28(%rsp)
jmp 0x776f
movq 0x88f0(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x2250
movq %rax, 0x30(%rsp)
jmp 0x776f
orl $0x200, %r14d           # imm = 0x200
jmp 0x776f
movq 0x88d1(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x314c
movq %rax, 0x38(%rsp)
jmp 0x776f
movq 0x88bb(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x2250
movl %eax, 0x18(%rsp)
jmp 0x776f
movq 0x88a6(%rip), %rax      # 0xffd8
movq (%rax), %rax
movsbl (%rax), %eax
movl %eax, 0x10(%rsp)
jmp 0x776f
orl $0x80, %r14d
jmp 0x776f
orl $0x40, %r14d
jmp 0x776f
orl $0x100, %r14d           # imm = 0x100
jmp 0x776f
movq 0x887b(%rip), %rax      # 0xffd8
movq (%rax), %rdi
callq 0x2250
movl %eax, 0x14(%rsp)
jmp 0x776f
orl $0x10, %r14d
movl %r12d, %edi
movq %r13, %rsi
movq %r15, %rdx
callq 0x2240
testl %eax, %eax
jns 0x75f4
movslq 0x18(%rsp), %rax
movq %rax, 0x50(%rsp)
cmpq $0x0, 0x28(%rsp)
movq 0x30(%rsp), %r15
movl 0x8(%rsp), %ebp
jne 0x77fd
jmp 0x77ee
movl $0xff, 0x14(%rsp)
movl $0xffffffff, 0x10(%rsp) # imm = 0xFFFFFFFF
movsd 0x38be(%rip), %xmm0     # 0xb078
movsd %xmm0, 0x60(%rsp)
movl $0x21, %r15d
movq $0x0, 0x48(%rsp)
xorl %r14d, %r14d
movl $0x0, 0xc(%rsp)
movq $0x0, 0x38(%rsp)
xorl %ebp, %ebp
movq $0x0, 0x50(%rsp)
movl $0xb, %edi
callq 0x3844
movq %rax, 0x28(%rsp)
movq 0x87cc(%rip), %rbx      # 0xffd0
movl (%rbx), %eax
cmpl %r12d, %eax
jne 0x782b
movq 0x87b6(%rip), %rax      # 0xffc8
movq (%rax), %rdi
callq 0x21b0
movl %eax, %edi
callq 0x2090
testl %eax, %eax
jne 0x7d69
movl (%rbx), %eax
xorl %ecx, %ecx
cmpl $0x1, %ebp
sbbl %ecx, %ecx
movl %ecx, 0x24(%rsp)
cmpl %r12d, %eax
jge 0x785b
cltq
movq (%r13,%rax,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x784d
cmpb $0x0, 0x1(%rdi)
je 0x785b
leaq 0x3954(%rip), %rsi      # 0xb1a8
callq 0x2220
jmp 0x7878
movq 0x8766(%rip), %rax      # 0xffc8
movq (%rax), %rdi
callq 0x21b0
leaq 0x3937(%rip), %rsi      # 0xb1a8
movl %eax, %edi
callq 0x20b0
movq 0x50(%rsp), %rbx
testq %rax, %rax
je 0x7d62
movq %rax, 0x70(%rsp)
movq %rax, %rdi
callq 0x3edd
movq %rax, %r13
movq %rax, %rdi
callq 0x3f27
testl %eax, %eax
js 0x7d2b
orl %ebp, 0x24(%rsp)
movq 0x48(%rsp), %rax
addl %r15d, %eax
movl %eax, 0x8(%rsp)
leaq 0x30(%r13), %rax
movq %r13, %rcx
addq $0x48, %rcx
movq %rcx, 0x18(%rsp)
movl %r14d, %ecx
andl $0x8, %ecx
movl %ecx, 0x6c(%rsp)
xorl %r12d, %r12d
leaq 0x8b06(%rip), %r10      # 0x103e0
movq %r15, 0x30(%rsp)
movq %rax, %r15
movq %rax, 0x58(%rsp)
movl %r14d, 0x44(%rsp)
cmpq %rbx, (%r15)
jb 0x7d11
movsd 0x377b(%rip), %xmm0     # 0xb078
ucomisd 0x60(%rsp), %xmm0
jbe 0x7936
movq 0x28(%rsp), %rdi
callq 0x38a0
leaq 0x8aca(%rip), %r10      # 0x103e0
shrq $0xb, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
mulsd 0x3766(%rip), %xmm0     # 0xb090
ucomisd 0x60(%rsp), %xmm0
jae 0x7d11
testb $0x30, %r14b
je 0x7963
testb $0x10, %r14b
sete %cl
testb $0x1, %r12b
sete %al
orb %al, %cl
cmpb $0x1, %cl
jne 0x7d11
movl %r14d, %ecx
shrb $0x5, %cl
andb %al, %cl
jne 0x7d11
btl $0x9, %r14d
movq 0x18(%rsp), %rax
movq (%rax), %rbp
jb 0x797b
movl 0x8(%rsp), %edi
jmp 0x7a31
movq (%r15), %r15
testq %rbp, %rbp
movl 0x8(%rsp), %edi
je 0x79d4
testq %r15, %r15
je 0x79d8
callq 0x2290
movq 0x40(%r13), %rcx
xorl %edx, %edx
xorl %esi, %esi
movq (%rax), %rdi
movsbq (%rcx,%rdx), %r8
testb $0x20, 0x1(%rdi,%r8,2)
jne 0x79ba
movq 0x58(%r13), %rdi
movb (%rdi,%rdx), %r8b
movslq %esi, %r9
incl %esi
movb %r8b, (%rdi,%r9)
incq %rdx
movl %edx, %edi
cmpq %rdi, %r15
ja 0x7999
movslq %esi, %rbp
movl 0x8(%rsp), %edi
leaq 0x8a0e(%rip), %r10      # 0x103e0
jmp 0x79da
xorl %ebp, %ebp
jmp 0x79e2
xorl %ebp, %ebp
movq 0x18(%rsp), %rax
movq %rbp, (%rax)
testq %r15, %r15
je 0x7a27
callq 0x2290
leaq 0x89ed(%rip), %r10      # 0x103e0
movq 0x40(%r13), %rcx
xorl %edx, %edx
xorl %esi, %esi
movq (%rax), %r8
movsbq (%rcx,%rdx), %rdi
testb $0x20, 0x1(%r8,%rdi,2)
jne 0x7a14
movslq %esi, %r8
incl %esi
movb %dil, (%rcx,%r8)
incq %rdx
movl %edx, %edi
cmpq %rdi, %r15
ja 0x79fb
movslq %esi, %rax
movl 0x8(%rsp), %edi
jmp 0x7a29
xorl %eax, %eax
movq 0x58(%rsp), %rcx
movq %rax, (%rcx)
testq %rbp, %rbp
je 0x7acb
cmpl $0x0, 0x48(%rsp)
jle 0x7acb
movq 0x58(%rsp), %rax
movq (%rax), %r15
cmpl $0x0, 0xc(%rsp)
je 0x7a85
testq %r15, %r15
je 0x7acb
movq 0x58(%r13), %rax
xorl %ecx, %ecx
movsbl (%rax,%rcx), %edx
cmpl %edx, %edi
jg 0x7a6d
cmpl %edx, 0x14(%rsp)
jge 0x7a79
movq 0x40(%r13), %rdx
movl 0xc(%rsp), %esi
movb %sil, (%rdx,%rcx)
incq %rcx
movl %ecx, %edx
cmpq %rdx, %r15
ja 0x7a5f
jmp 0x7acb
testq %r15, %r15
je 0x7acb
movq 0x58(%r13), %r14
xorl %ebx, %ebx
movsbl (%r14,%rbx), %eax
cmpl %eax, %edi
jg 0x7a9f
cmpl %eax, 0x14(%rsp)
jge 0x7ac1
callq 0x2280
leaq 0x8935(%rip), %r10      # 0x103e0
movl 0x8(%rsp), %edi
movq (%rax), %rax
movq 0x40(%r13), %rcx
movsbq (%rcx,%rbx), %rdx
movb (%rax,%rdx,4), %al
movb %al, (%rcx,%rbx)
incq %rbx
movl %ebx, %eax
cmpq %rax, %r15
ja 0x7a90
movl 0x44(%rsp), %r14d
btl $0x8, %r14d
movq 0x58(%rsp), %r15
jae 0x7b10
movq (%r15), %rbx
testq %rbx, %rbx
je 0x7b10
callq 0x2030
leaq 0x88f0(%rip), %r10      # 0x103e0
movq 0x40(%r13), %rcx
xorl %edx, %edx
movq (%rax), %rsi
movsbq (%rcx,%rdx), %rdi
movb (%rsi,%rdi,4), %sil
movb %sil, (%rcx,%rdx)
incq %rdx
movl %edx, %esi
cmpq %rsi, %rbx
ja 0x7af6
testb $0x1, %r14b
movq 0x38(%rsp), %rsi
jne 0x7b83
cmpl $0x21, 0x10(%rsp)
movq 0x30(%rsp), %rbx
jl 0x7b96
movq 0x38(%r13), %rsi
movq 0x58(%r13), %r15
cmpq %rsi, 0x50(%r13)
jae 0x7b48
movq %rsi, 0x50(%r13)
movq %r15, %rdi
callq 0x2200
movq %rax, %r15
movq %rax, 0x58(%r13)
movq 0x58(%rsp), %r14
movq (%r14), %rbp
movq 0x18(%rsp), %rax
movq %rbp, (%rax)
movzbl 0x10(%rsp), %esi
movq %r15, %rdi
movq %rbp, %rdx
callq 0x2120
movb $0x0, (%r15,%rbp)
movq %r14, %r15
movl 0x44(%rsp), %r14d
movq 0x38(%rsp), %rsi
leaq 0x885f(%rip), %r10      # 0x103e0
jmp 0x7b96
movq 0x18(%rsp), %rax
movq $0x0, (%rax)
xorl %ebp, %ebp
movq 0x30(%rsp), %rbx
testb $0x2, %r14b
je 0x7ba4
movq $0x0, 0x18(%r13)
testq %rsi, %rsi
je 0x7bc0
movq %r13, %rdi
movl 0x6c(%rsp), %edx
movl 0xc(%rsp), %ecx
callq 0x722f
leaq 0x8820(%rip), %r10      # 0x103e0
testb $0x4, %r14b
je 0x7c53
movq (%r15), %rcx
movq %rcx, %rax
shrq %rax
cmpq $0x2, %rcx
jb 0x7c0b
movq 0x40(%r13), %rdx
leaq -0x1(%rcx), %rsi
xorl %edi, %edi
movsbq (%rdx,%rdi), %r8
movb (%r8,%r10), %r8b
movsbq (%rdx,%rsi), %r9
movb (%r9,%r10), %r9b
movb %r9b, (%rdx,%rdi)
movb %r8b, (%rdx,%rsi)
incq %rdi
movl %edi, %r8d
decq %rsi
cmpq %r8, %rax
ja 0x7be3
testb $0x1, %cl
je 0x7c21
movq 0x40(%r13), %rdx
movsbq (%rdx,%rax), %rsi
movb (%rsi,%r10), %sil
movb %sil, (%rdx,%rax)
testq %rbp, %rbp
je 0x7c53
cmpq $0x2, %rcx
jb 0x7c53
movq 0x58(%r13), %rcx
leaq -0x1(%rbp), %rdx
xorl %esi, %esi
movb (%rcx,%rsi), %dil
movb (%rcx,%rdx), %r8b
movb %r8b, (%rcx,%rsi)
movb %dil, (%rcx,%rdx)
incq %rsi
movl %esi, %edi
decq %rdx
cmpq %rdi, %rax
ja 0x7c36
testb $0x40, %r14b
je 0x7c7e
testq %rbp, %rbp
je 0x7c7e
cmpl $0x21, %ebx
je 0x7c7e
movq 0x58(%r13), %rax
xorl %ecx, %ecx
movb (%rax,%rcx), %dl
subb %bl, %dl
addb $0x21, %dl
movb %dl, (%rax,%rcx)
incq %rcx
movl %ecx, %edx
cmpq %rdx, %rbp
ja 0x7c69
testb %r14b, %r14b
movq 0x50(%rsp), %rbx
jns 0x7cc1
movq (%r15), %rax
testq %rax, %rax
je 0x7cc1
movq 0x40(%r13), %rcx
movl $0x1, %edx
xorl %esi, %esi
movsbq (%rcx,%rsi), %rsi
leaq 0x84c9(%rip), %rdi      # 0x10170
movzbl (%rsi,%rdi), %esi
leaq 0x86ce(%rip), %rdi      # 0x10380
cmpb $0x3, (%rsi,%rdi)
ja 0x7d11
movl %edx, %esi
incl %edx
cmpq %rsi, %rax
ja 0x7c9b
xorl %eax, %eax
testq %rbp, %rbp
setne %al
leal 0x3e(,%rax,2), %edi
callq 0x2060
movq 0x10(%r13), %rdi
movq 0x82e0(%rip), %rax      # 0xffc0
movq (%rax), %rsi
callq 0x2110
movq %r15, %rdi
movl 0x24(%rsp), %esi
callq 0xa4af
testq %rbp, %rbp
je 0x7d11
movl $0x2b, %edi
callq 0x2060
movq 0x18(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0xa4af
incq %r12
movq %r13, %rdi
callq 0x3f27
leaq 0x86bd(%rip), %r10      # 0x103e0
testl %eax, %eax
jns 0x78ec
movq %r13, %rdi
callq 0x428d
movq 0x70(%rsp), %rdi
callq 0x2040
movq 0x38(%rsp), %rdi
callq 0x37b8
movq 0x28(%rsp), %rdi
callq 0x2050
xorl %eax, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2b4d
jmp 0x7d78
movl %ebp, %edi
movl %r15d, %esi
movq 0x28(%rsp), %rdx
callq 0x293f
movl $0x1, %eax
jmp 0x7d53