// File: /workspace/github_c_makefile_star2_O0/lh3[P]pre-pe/pre-meta.c
// Function: lt_process
void lt_process(const lt_global_t *g, bseq1_t s[2])
{
	int i, k, mlen, oligo_len;
	mlen = s[0].l_seq > s[1].l_seq? s[0].l_seq : s[1].l_seq;
	oligo_len = strlen(lt_oligo_for);

	// trim heading and trailing N
	for (k = 0; k < 2; ++k) {
		bseq1_t *sk = &s[k];
		for (i = sk->l_seq - 1; i >= 0; --i) // trim trailing "N"
			if (sk->seq[i] != 'N') break;
		sk->l_seq = i + 1;
		sk->seq[sk->l_seq] = sk->qual[sk->l_seq] = 0;
		for (i = 0; i < sk->l_seq; ++i) // trim heading "N"
			if (sk->seq[i] != 'N') break;
		if (i) trim_bseq_5(sk, i);
	}
	
	// trim Illumina PE adapters
	trim_adap(&s[0], lt_adapter1, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
	trim_adap(&s[1], lt_adapter2, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
	
	// trim transposon sequences and store barcodes
	int olig_pos[2];
	char *bc[2];
	
	for (k = 0; k < 2; ++k) {
		olig_pos[k] = 0;
		bc[k] = (char*)alloca(mlen + 1);
		bc[k][0] = 0;
		trim_olig(&s[k], lt_oligo_for, 1, g->opt.min_olig_len, g->opt.max_olig_pen, &olig_pos[k], bc[k], 1);
		trim_olig(&s[k], lt_oligo_rev, 0, g->opt.min_olig_len, g->opt.max_olig_pen, 0, 0, 0);
        trim_adap(&s[k], lt_oligo_rev, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
	}

	
	{ // merge the two ends
		int n_fh, n_rh, n_ch;
		uint64_t fh[2], rh[2], ch[2];
		char *rseq, *rqual, *xseq, *xqual;
		rseq = (char*)alloca(mlen + 1);
		rqual = (char*)alloca(mlen + 1);
		xseq = (char*)alloca(s[0].l_seq + s[1].l_seq + 1);
		xqual = (char*)alloca(s[0].l_seq + s[1].l_seq + 1);
		// reverse the other read
		lt_seq_revcomp(s[1].l_seq, s[1].seq, rseq);
		lt_seq_rev(s[1].l_seq, s[1].qual, rqual);
		// find overlaps
		n_fh = lt_ue_for(s[0].l_seq, s[0].seq, s[0].qual, s[1].l_seq, rseq, rqual, g->opt.max_ovlp_pen, g->opt.min_ovlp_len, 2, fh);
		if (fh[0]>>32 == 0 && s[0].l_seq == s[1].l_seq && (int32_t)fh[0] == s[0].l_seq) n_rh = 0; // complete overlap; don't test ue_rev()
		else n_rh = lt_ue_rev(s[0].l_seq, &s[0].seq[0], &s[0].qual[0], s[1].l_seq, rseq, rqual, g->opt.max_ovlp_pen, g->opt.min_ovlp_len, 2, rh);
		n_ch = lt_ue_contained(s[0].l_seq, &s[0].seq[0], &s[0].qual[0], s[1].l_seq, rseq, rqual, g->opt.max_ovlp_pen, 2, ch);
		if (n_fh + n_rh + n_ch > 1) {
			s[0].type = s[1].type = LT_MERGE_AMBIGUOUS;
		} else if (n_fh + n_rh + n_ch == 0) {
			s[0].type = s[1].type = LT_NO_MERGE;
		} else {
			int x = 0;
			if (n_fh == 1) {
				int l = (uint32_t)fh[0], st = fh[0]>>32;
				if (l < s[1].l_seq) { // partial overlap
					s[0].type = s[1].type = LT_MERGE_PARTIAL;
					for (i = 0; i < st; ++i)
						xseq[x] = s[0].seq[i], xqual[x++] = s[0].qual[i];
					for (i = 0; i < l; ++i) {
						int j = st + i, y;
						y = merge_base(g->opt.max_qual, g->opt.qmask, s[0].seq[j], s[0].qual[j], rseq[i], rqual[i]);
						xseq[x] = (uint8_t)y, xqual[x++] = y>>8;
					}
					for (i = l; i < s[1].l_seq; ++i)
						xseq[x] = rseq[i], xqual[x++] = rqual[i];
				} else { // s[1] is contained in s[0]
					s[0].type = s[1].type = LT_MERGE_COMPLETE;
					for (i = 0; i < l; ++i) {
						int j = st + i, y;
						y = merge_base(g->opt.max_qual, g->opt.qmask, s[0].seq[j], s[0].qual[j], rseq[i], rqual[i]);
						xseq[x] = (uint8_t)y, xqual[x++] = y>>8;
					}
				}
			} else if (n_rh == 1) {
				int l = (uint32_t)rh[0], st = rh[0]>>32;
				s[0].type = s[1].type = LT_MERGE_COMPLETE;
				for (i = 0; i < s[0].l_seq - st - l; ++i)
					xseq[x] = s[0].seq[i], xqual[x++] = s[0].qual[i];
				for (i = s[1].l_seq - l; i < s[1].l_seq; ++i) {
					int j = i - s[1].l_seq + (s[0].l_seq - st), y;
					y = merge_base(g->opt.max_qual, g->opt.qmask, s[0].seq[j], s[0].qual[j], rseq[i], rqual[i]);
					xseq[x] = (uint8_t)y, xqual[x++] = y>>8;
				}
			} else { // s[0] is contained in s[1]
				int j, st = ch[0]>>32;
				s[0].type = s[1].type = LT_MERGE_COMPLETE;
				for (j = 0; j < s[0].l_seq; ++j) {
					int i = j + st, y;
					y = merge_base(g->opt.max_qual, g->opt.qmask, s[0].seq[j], s[0].qual[j], rseq[i], rqual[i]);
					xseq[x] = (uint8_t)y, xqual[x++] = y>>8;
				}
			}
			xseq[x] = xqual[x] = 0;
			if (x < g->opt.min_seq_len) s[0].type = s[1].type = LT_SHORT_SEQ;
			free(s[0].seq); free(s[0].qual);
			s[0].seq = strdup(xseq);
			s[0].qual = strdup(xqual);
			s[0].l_seq = x;
			s[1].l_seq = 0;
		}
	}
	
	// check whether read length is too short
    if (s[0].l_seq < g->opt.min_seq_len) {
        if (s[0].type == LT_MERGE_PARTIAL || s[0].type == LT_MERGE_COMPLETE) { // single-end
            s[0].type = s[1].type = LT_SHORT_SEQ;
        } else if (s[1].l_seq >= g->opt.min_seq_len) { // read 1 is short, but read 2 is not => swap
			char *tmp;
			tmp = s[0].seq, s[0].seq = s[1].seq, s[1].seq = tmp;
			tmp = s[0].qual, s[0].qual = s[1].qual, s[1].qual = tmp;
			tmp = bc[0], bc[0] = bc[1], bc[1] = tmp;
			i = olig_pos[0], olig_pos[0] = olig_pos[1], olig_pos[1] = i;
			i = s[0].l_seq, s[0].l_seq = s[1].l_seq, s[1].l_seq = i;
            s[0].type = s[1].type = LT_SHORT_PE_SWAP;
        } else {
            s[0].type = s[1].type = LT_SHORT_SEQ;
        }
    } else if (s[0].type != LT_MERGE_PARTIAL && s[0].type != LT_MERGE_COMPLETE && s[1].l_seq < g->opt.min_seq_len) { // read 2 is short, but read 1 is not
        s[0].type = s[1].type = LT_SHORT_PE;
    }
    
    // record the barcodes
	for (k = 0; k < 2; ++k) {
		s[k].olig_pos_f = olig_pos[0];
		s[k].olig_pos_r = olig_pos[1];
		s[k].bc_f = strdup(bc[0]);
		s[k].bc_r = strdup(bc[1]);
		if (s[k].olig_pos_f > oligo_len + g->opt.bc_cut && s[k].olig_pos_r > oligo_len + g->opt.bc_cut) {
			int l[2];
			l[0] = s[k].olig_pos_f - (oligo_len + g->opt.bc_cut);
			l[1] = s[k].olig_pos_r - (oligo_len + g->opt.bc_cut);
			s[k].bc_cat = (char*)calloc(l[0] + l[1] + 1, 1);
			strncpy(s[k].bc_cat,        &s[k].bc_f[g->opt.bc_cut], l[0]);
			strncpy(&s[k].bc_cat[l[0]], &s[k].bc_r[g->opt.bc_cut], l[1]);
		} else s[k].bc_cat = 0;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rcx
movl 0x40(%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jle 0x36d2
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, -0xf4(%rbp)
jmp 0x36e4
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, -0xf4(%rbp)
movl -0xf4(%rbp), %eax
movl %eax, -0x1c(%rbp)
movq 0x4a6c(%rip), %rdi      # 0x8160
callq 0x20c0
movl %eax, -0x20(%rbp)
movl $0x0, -0x18(%rbp)
cmpl $0x2, -0x18(%rbp)
jge 0x380b
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
subl $0x1, %eax
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jl 0x375b
movq -0x28(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x4e, %eax
je 0x374e
jmp 0x375b
jmp 0x3750
movl -0x14(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x3731
movl -0x14(%rbp), %edx
addl $0x1, %edx
movq -0x28(%rbp), %rax
movl (%rax), %ecx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %edx, %ecx
movl %ecx, (%rax)
movq -0x28(%rbp), %rax
movq 0x20(%rax), %rax
movq -0x28(%rbp), %rcx
movl (%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl %ecx, %ecx
movb $0x0, (%rax,%rcx)
movq -0x28(%rbp), %rax
movq 0x18(%rax), %rax
movq -0x28(%rbp), %rcx
movl (%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl %ecx, %ecx
movb $0x0, (%rax,%rcx)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x28(%rbp), %rcx
movl (%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jge 0x37e9
movq -0x28(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x4e, %eax
je 0x37dc
jmp 0x37e9
jmp 0x37de
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x37b2
cmpl $0x0, -0x14(%rbp)
je 0x37fb
movq -0x28(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x46a0
jmp 0x37fd
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x3703
movq -0x10(%rbp), %rdi
movq 0x493a(%rip), %rsi      # 0x8150
movq -0x8(%rbp), %rax
movl 0x1c(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x18(%rax), %r8d
xorl %edx, %edx
movl $0x1, %r9d
callq 0x4770
movq -0x10(%rbp), %rdi
addq $0x40, %rdi
movq 0x4917(%rip), %rsi      # 0x8158
movq -0x8(%rbp), %rax
movl 0x1c(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x18(%rax), %r8d
xorl %edx, %edx
movl $0x1, %r9d
callq 0x4770
movl $0x0, -0x18(%rbp)
cmpl $0x2, -0x18(%rbp)
jge 0x3988
movslq -0x18(%rbp), %rax
movl $0x0, -0x30(%rbp,%rax,4)
movslq -0x1c(%rbp), %rax
addq $0x10, %rax
andq $-0x10, %rax
movq %rsp, %rcx
subq %rax, %rcx
movq %rcx, %rsp
movslq -0x18(%rbp), %rax
movq %rcx, -0x40(%rbp,%rax,8)
movslq -0x18(%rbp), %rax
movq -0x40(%rbp,%rax,8), %rax
movb $0x0, (%rax)
movq -0x10(%rbp), %rdi
movslq -0x18(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rdi
movq 0x48a6(%rip), %rsi      # 0x8160
movq -0x8(%rbp), %rax
movl 0x24(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x20(%rax), %r8d
movslq -0x18(%rbp), %rax
leaq -0x30(%rbp), %r9
shlq $0x2, %rax
addq %rax, %r9
movslq -0x18(%rbp), %rax
movq -0x40(%rbp,%rax,8), %rax
movl $0x1, %edx
subq $0x10, %rsp
movq %rax, (%rsp)
movl $0x1, 0x8(%rsp)
callq 0x49b0
addq $0x10, %rsp
movq -0x10(%rbp), %rdi
movslq -0x18(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rdi
movq 0x4853(%rip), %rsi      # 0x8168
movq -0x8(%rbp), %rax
movl 0x24(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x20(%rax), %r8d
xorl %edx, %edx
xorl %eax, %eax
movl %eax, %r9d
subq $0x10, %rsp
movq $0x0, (%rsp)
movl $0x0, 0x8(%rsp)
callq 0x49b0
addq $0x10, %rsp
movq -0x10(%rbp), %rdi
movslq -0x18(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rdi
movq 0x480a(%rip), %rsi      # 0x8168
movq -0x8(%rbp), %rax
movl 0x1c(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x18(%rax), %r8d
xorl %edx, %edx
movl $0x1, %r9d
callq 0x4770
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x3864
movslq -0x1c(%rbp), %rcx
addq $0x10, %rcx
andq $-0x10, %rcx
movq %rsp, %rax
subq %rcx, %rax
movq %rax, %rsp
movq %rax, -0x88(%rbp)
movslq -0x1c(%rbp), %rcx
addq $0x10, %rcx
andq $-0x10, %rcx
movq %rsp, %rax
subq %rcx, %rax
movq %rax, %rsp
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %edx
movl 0x40(%rax), %eax
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, %ecx
movl %edx, %eax
leal 0x10(%rax,%rcx), %eax
andl $-0x10, %eax
movl %eax, %ecx
movq %rsp, %rax
subq %rcx, %rax
movq %rax, %rsp
movq %rax, -0x98(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %edx
movl 0x40(%rax), %eax
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, %ecx
movl %edx, %eax
leal 0x10(%rax,%rcx), %eax
andl $-0x10, %eax
movl %eax, %ecx
movq %rsp, %rax
subq %rcx, %rax
movq %rax, %rsp
movq %rax, -0xa0(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rsi
movq -0x88(%rbp), %rdx
callq 0x2a90
movq -0x10(%rbp), %rax
movl 0x40(%rax), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rsi
movq -0x90(%rbp), %rdx
callq 0x2a30
movq -0x10(%rbp), %rax
movl (%rax), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rdx
movq -0x10(%rbp), %rax
movl 0x40(%rax), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movq -0x88(%rbp), %r8
movq -0x90(%rbp), %r9
movq -0x8(%rbp), %rax
movl 0x10(%rax), %r11d
movq -0x8(%rbp), %rax
movl 0x14(%rax), %r10d
leaq -0x60(%rbp), %rax
subq $0x20, %rsp
movl %r11d, (%rsp)
movl %r10d, 0x8(%rsp)
movl $0x2, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x2d60
addq $0x20, %rsp
movl %eax, -0x44(%rbp)
movq -0x60(%rbp), %rax
shrq $0x20, %rax
cmpq $0x0, %rax
jne 0x3b1c
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rcx
movl 0x40(%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jne 0x3b1c
movq -0x60(%rbp), %rax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jne 0x3b1c
movl $0x0, -0x48(%rbp)
jmp 0x3b8d
movq -0x10(%rbp), %rax
movl (%rax), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rdx
movq -0x10(%rbp), %rax
movl 0x40(%rax), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movq -0x88(%rbp), %r8
movq -0x90(%rbp), %r9
movq -0x8(%rbp), %rax
movl 0x10(%rax), %r11d
movq -0x8(%rbp), %rax
movl 0x14(%rax), %r10d
leaq -0x70(%rbp), %rax
subq $0x20, %rsp
movl %r11d, (%rsp)
movl %r10d, 0x8(%rsp)
movl $0x2, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x2e70
addq $0x20, %rsp
movl %eax, -0x48(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rdx
movq -0x10(%rbp), %rax
movl 0x40(%rax), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movq -0x88(%rbp), %r8
movq -0x90(%rbp), %r9
movq -0x8(%rbp), %rax
movl 0x10(%rax), %r10d
leaq -0x80(%rbp), %rax
subq $0x20, %rsp
movl %r10d, (%rsp)
movl $0x2, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x2f60
addq $0x20, %rsp
movl %eax, -0x4c(%rbp)
movl -0x44(%rbp), %eax
addl -0x48(%rbp), %eax
addl -0x4c(%rbp), %eax
cmpl $0x1, %eax
jle 0x3c1a
movq -0x10(%rbp), %rax
movl $0x1f, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x1f, 0x4(%rax)
jmp 0x4301
movl -0x44(%rbp), %eax
addl -0x48(%rbp), %eax
addl -0x4c(%rbp), %eax
cmpl $0x0, %eax
jne 0x3c43
movq -0x10(%rbp), %rax
movl $0x20, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x20, 0x4(%rax)
jmp 0x42ff
movl $0x0, -0xa4(%rbp)
cmpl $0x1, -0x44(%rbp)
jne 0x3f55
movq -0x60(%rbp), %rax
movl %eax, -0xa8(%rbp)
movq -0x60(%rbp), %rax
shrq $0x20, %rax
movl %eax, -0xac(%rbp)
movl -0xa8(%rbp), %eax
movq -0x10(%rbp), %rcx
movl 0x40(%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jge 0x3e5d
movq -0x10(%rbp), %rax
movl $0x16, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x16, 0x4(%rax)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0xac(%rbp), %eax
jge 0x3d0a
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x14(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x14(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0xa0(%rbp), %rax
movl -0xa4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0xa4(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x3ca7
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0xa8(%rbp), %eax
jge 0x3de5
movl -0xac(%rbp), %eax
addl -0x14(%rbp), %eax
movl %eax, -0xb0(%rbp)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edi
movq -0x8(%rbp), %rax
movl 0x30(%rax), %esi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0xb0(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0xb0(%rbp), %rcx
movb (%rax,%rcx), %cl
movq -0x88(%rbp), %rax
movslq -0x14(%rbp), %r8
movb (%rax,%r8), %r8b
movq -0x90(%rbp), %rax
movslq -0x14(%rbp), %r9
movsbl %dl, %edx
movsbl %cl, %ecx
movsbl %r8b, %r8d
movsbl (%rax,%r9), %r9d
callq 0x4bf0
movl %eax, -0xb4(%rbp)
movl -0xb4(%rbp), %eax
movb %al, %dl
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0xb4(%rbp), %eax
sarl $0x8, %eax
movb %al, %dl
movq -0xa0(%rbp), %rax
movl -0xa4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0xa4(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x3d11
movl -0xa8(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x10(%rbp), %rcx
movl 0x40(%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jge 0x3e58
movq -0x88(%rbp), %rax
movslq -0x14(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -0x90(%rbp), %rax
movslq -0x14(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0xa0(%rbp), %rax
movl -0xa4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0xa4(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x3dee
jmp 0x3f50
movq -0x10(%rbp), %rax
movl $0x15, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x15, 0x4(%rax)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0xa8(%rbp), %eax
jge 0x3f4e
movl -0xac(%rbp), %eax
addl -0x14(%rbp), %eax
movl %eax, -0xb8(%rbp)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edi
movq -0x8(%rbp), %rax
movl 0x30(%rax), %esi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0xb8(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0xb8(%rbp), %rcx
movb (%rax,%rcx), %cl
movq -0x88(%rbp), %rax
movslq -0x14(%rbp), %r8
movb (%rax,%r8), %r8b
movq -0x90(%rbp), %rax
movslq -0x14(%rbp), %r9
movsbl %dl, %edx
movsbl %cl, %ecx
movsbl %r8b, %r8d
movsbl (%rax,%r9), %r9d
callq 0x4bf0
movl %eax, -0xbc(%rbp)
movl -0xbc(%rbp), %eax
movb %al, %dl
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0xbc(%rbp), %eax
sarl $0x8, %eax
movb %al, %dl
movq -0xa0(%rbp), %rax
movl -0xa4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0xa4(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x3e7a
jmp 0x3f50
jmp 0x423f
cmpl $0x1, -0x48(%rbp)
jne 0x411f
movq -0x70(%rbp), %rax
movl %eax, -0xc0(%rbp)
movq -0x70(%rbp), %rax
shrq $0x20, %rax
movl %eax, -0xc4(%rbp)
movq -0x10(%rbp), %rax
movl $0x15, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x15, 0x4(%rax)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
subl -0xc4(%rbp), %ecx
subl -0xc0(%rbp), %ecx
cmpl %ecx, %eax
jge 0x400b
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x14(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x14(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0xa0(%rbp), %rax
movl -0xa4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0xa4(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x3f94
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
subl -0xc0(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x10(%rbp), %rcx
movl 0x40(%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jge 0x411a
movl -0x14(%rbp), %eax
movq -0x10(%rbp), %rcx
movl 0x40(%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
subl %ecx, %eax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
subl -0xc4(%rbp), %ecx
addl %ecx, %eax
movl %eax, -0xc8(%rbp)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edi
movq -0x8(%rbp), %rax
movl 0x30(%rax), %esi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0xc8(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0xc8(%rbp), %rcx
movb (%rax,%rcx), %cl
movq -0x88(%rbp), %rax
movslq -0x14(%rbp), %r8
movb (%rax,%r8), %r8b
movq -0x90(%rbp), %rax
movslq -0x14(%rbp), %r9
movsbl %dl, %edx
movsbl %cl, %ecx
movsbl %r8b, %r8d
movsbl (%rax,%r9), %r9d
callq 0x4bf0
movl %eax, -0xcc(%rbp)
movl -0xcc(%rbp), %eax
movb %al, %dl
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0xcc(%rbp), %eax
sarl $0x8, %eax
movb %al, %dl
movq -0xa0(%rbp), %rax
movl -0xa4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0xa4(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4020
jmp 0x423d
movq -0x80(%rbp), %rax
shrq $0x20, %rax
movl %eax, -0xd4(%rbp)
movq -0x10(%rbp), %rax
movl $0x15, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x15, 0x4(%rax)
movl $0x0, -0xd0(%rbp)
movl -0xd0(%rbp), %eax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jge 0x423b
movl -0xd0(%rbp), %eax
addl -0xd4(%rbp), %eax
movl %eax, -0xd8(%rbp)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edi
movq -0x8(%rbp), %rax
movl 0x30(%rax), %esi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0xd0(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0xd0(%rbp), %rcx
movb (%rax,%rcx), %cl
movq -0x88(%rbp), %rax
movslq -0xd8(%rbp), %r8
movb (%rax,%r8), %r8b
movq -0x90(%rbp), %rax
movslq -0xd8(%rbp), %r9
movsbl %dl, %edx
movsbl %cl, %ecx
movsbl %r8b, %r8d
movsbl (%rax,%r9), %r9d
callq 0x4bf0
movl %eax, -0xdc(%rbp)
movl -0xdc(%rbp), %eax
movb %al, %dl
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0xdc(%rbp), %eax
sarl $0x8, %eax
movb %al, %dl
movq -0xa0(%rbp), %rax
movl -0xa4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0xa4(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0xd0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xd0(%rbp)
jmp 0x414d
jmp 0x423d
jmp 0x423f
movq -0xa0(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x98(%rbp), %rax
movslq -0xa4(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movl -0xa4(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x4288
movq -0x10(%rbp), %rax
movl $0x2, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x2, 0x4(%rax)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x2040
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rdi
callq 0x2040
movq -0x98(%rbp), %rdi
callq 0x2240
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0xa0(%rbp), %rdi
callq 0x2240
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x20(%rax)
movl -0xa4(%rbp), %edx
movq -0x10(%rbp), %rax
movl (%rax), %ecx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %edx, %ecx
movl %ecx, (%rax)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %ecx
andl $0x80000000, %ecx       # imm = 0x80000000
orl $0x0, %ecx
movl %ecx, 0x40(%rax)
jmp 0x4301
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq -0x8(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x446b
movq -0x10(%rbp), %rax
cmpl $0x16, 0x4(%rax)
je 0x432d
movq -0x10(%rbp), %rax
cmpl $0x15, 0x4(%rax)
jne 0x4348
movq -0x10(%rbp), %rax
movl $0x2, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x2, 0x4(%rax)
jmp 0x4469
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq -0x8(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jl 0x4451
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0xe8(%rbp)
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0xe8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x58(%rax)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0xe8(%rbp)
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0xe8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x60(%rax)
movq -0x40(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x30(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x2c(%rbp), %eax
movl %eax, -0x30(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movq -0x10(%rbp), %rax
movl (%rax), %ecx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %edx, %ecx
movl %ecx, (%rax)
movl -0x14(%rbp), %edx
movq -0x10(%rbp), %rax
movl 0x40(%rax), %ecx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %edx, %ecx
movl %ecx, 0x40(%rax)
movq -0x10(%rbp), %rax
movl $0x4, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x4, 0x4(%rax)
jmp 0x4467
movq -0x10(%rbp), %rax
movl $0x2, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x2, 0x4(%rax)
jmp 0x4469
jmp 0x44ac
movq -0x10(%rbp), %rax
cmpl $0x16, 0x4(%rax)
je 0x44aa
movq -0x10(%rbp), %rax
cmpl $0x15, 0x4(%rax)
je 0x44aa
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq -0x8(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x44aa
movq -0x10(%rbp), %rax
movl $0x3, 0x44(%rax)
movq -0x10(%rbp), %rax
movl $0x3, 0x4(%rax)
jmp 0x44ac
movl $0x0, -0x18(%rbp)
cmpl $0x2, -0x18(%rbp)
jge 0x4694
movl -0x30(%rbp), %ecx
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, 0x8(%rax)
movl -0x2c(%rbp), %ecx
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, 0xc(%rax)
movq -0x40(%rbp), %rdi
callq 0x2240
movq %rax, %rcx
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x28(%rax)
movq -0x38(%rbp), %rdi
callq 0x2240
movq %rax, %rcx
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x30(%rax)
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl -0x20(%rbp), %ecx
movq -0x8(%rbp), %rdx
addl 0x2c(%rdx), %ecx
cmpl %ecx, %eax
jle 0x466d
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
movl -0x20(%rbp), %ecx
movq -0x8(%rbp), %rdx
addl 0x2c(%rdx), %ecx
cmpl %ecx, %eax
jle 0x466d
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl -0x20(%rbp), %ecx
movq -0x8(%rbp), %rdx
addl 0x2c(%rdx), %ecx
subl %ecx, %eax
movl %eax, -0xf0(%rbp)
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
movl -0x20(%rbp), %ecx
movq -0x8(%rbp), %rdx
addl 0x2c(%rdx), %ecx
subl %ecx, %eax
movl %eax, -0xec(%rbp)
movl -0xf0(%rbp), %eax
addl -0xec(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
movl $0x1, %esi
callq 0x2120
movq %rax, %rcx
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x38(%rax)
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x38(%rax), %rdi
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x28(%rax), %rsi
movq -0x8(%rbp), %rax
movslq 0x2c(%rax), %rax
addq %rax, %rsi
movslq -0xf0(%rbp), %rdx
callq 0x2060
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x38(%rax), %rdi
movslq -0xf0(%rbp), %rax
addq %rax, %rdi
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x30(%rax), %rsi
movq -0x8(%rbp), %rax
movslq 0x2c(%rax), %rax
addq %rax, %rsi
movslq -0xec(%rbp), %rdx
callq 0x2060
jmp 0x4684
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq $0x0, 0x38(%rax)
jmp 0x4686
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x44b3
movq %rbp, %rsp
popq %rbp
retq
nopl (%rax)