// File: /workspace/github_cpp_makefile_star2_O3/statgen[P]statgen/lib/samtools-0.1.7a-hybrid/kaln.c
// Function: ka_global_core
uint32_t *ka_global_core(uint8_t *seq1, int len1, uint8_t *seq2, int len2, const ka_param_t *ap, int *_score, int *n_cigar)
{
	int i, j;
	dpcell_t **dpcell, *q;
	dpscore_t *curr, *last, *s;
	int b1, b2, tmp_end;
	int *mat, end, max = 0;
	uint8_t type, ctype;
	uint32_t *cigar = 0;

	int gap_open, gap_ext, gap_end, b;
	int *score_matrix, N_MATRIX_ROW;

	/* initialize some align-related parameters. just for compatibility */
	gap_open = ap->gap_open;
	gap_ext = ap->gap_ext;
	gap_end = ap->gap_end;
	b = ap->band_width;
	score_matrix = ap->matrix;
	N_MATRIX_ROW = ap->row;

	*n_cigar = 0;
	if (len1 == 0 || len2 == 0) return 0;

	/* calculate b1 and b2 */
	if (len1 > len2) {
		b1 = len1 - len2 + b;
		b2 = b;
	} else {
		b1 = b;
		b2 = len2 - len1 + b;
	}
	if (b1 > len1) b1 = len1;
	if (b2 > len2) b2 = len2;
	--seq1; --seq2;

	/* allocate memory */
	end = (b1 + b2 <= len1)? (b1 + b2 + 1) : (len1 + 1);
	dpcell = (dpcell_t**)malloc(sizeof(dpcell_t*) * (len2 + 1));
	for (j = 0; j <= len2; ++j)
		dpcell[j] = (dpcell_t*)malloc(sizeof(dpcell_t) * end);
	for (j = b2 + 1; j <= len2; ++j)
		dpcell[j] -= j - b2;
	curr = (dpscore_t*)malloc(sizeof(dpscore_t) * (len1 + 1));
	last = (dpscore_t*)malloc(sizeof(dpscore_t) * (len1 + 1));
	
	/* set first row */
	SET_INF(*curr); curr->M = 0;
	for (i = 1, s = curr + 1; i < b1; ++i, ++s) {
		SET_INF(*s);
		set_end_D(s->D, dpcell[0] + i, s - 1);
	}
	s = curr; curr = last; last = s;

	/* core dynamic programming, part 1 */
	tmp_end = (b2 < len2)? b2 : len2 - 1;
	for (j = 1; j <= tmp_end; ++j) {
		q = dpcell[j]; s = curr; SET_INF(*s);
		set_end_I(s->I, q, last);
		end = (j + b1 <= len1 + 1)? (j + b1 - 1) : len1;
		mat = score_matrix + seq2[j] * N_MATRIX_ROW;
		++s; ++q;
		for (i = 1; i != end; ++i, ++s, ++q) {
			set_M(s->M, q, last + i - 1, mat[seq1[i]]); /* this will change s->M ! */
			set_I(s->I, q, last + i);
			set_D(s->D, q, s - 1);
		}
		set_M(s->M, q, last + i - 1, mat[seq1[i]]);
		set_D(s->D, q, s - 1);
		if (j + b1 - 1 > len1) { /* bug fixed, 040227 */
			set_end_I(s->I, q, last + i);
		} else s->I = MINOR_INF;
		s = curr; curr = last; last = s;
	}
	/* last row for part 1, use set_end_D() instead of set_D() */
	if (j == len2 && b2 != len2 - 1) {
		q = dpcell[j]; s = curr; SET_INF(*s);
		set_end_I(s->I, q, last);
		end = (j + b1 <= len1 + 1)? (j + b1 - 1) : len1;
		mat = score_matrix + seq2[j] * N_MATRIX_ROW;
		++s; ++q;
		for (i = 1; i != end; ++i, ++s, ++q) {
			set_M(s->M, q, last + i - 1, mat[seq1[i]]); /* this will change s->M ! */
			set_I(s->I, q, last + i);
			set_end_D(s->D, q, s - 1);
		}
		set_M(s->M, q, last + i - 1, mat[seq1[i]]);
		set_end_D(s->D, q, s - 1);
		if (j + b1 - 1 > len1) { /* bug fixed, 040227 */
			set_end_I(s->I, q, last + i);
		} else s->I = MINOR_INF;
		s = curr; curr = last; last = s;
		++j;
	}

	/* core dynamic programming, part 2 */
	for (; j <= len2 - b2 + 1; ++j) {
		SET_INF(curr[j - b2]);
		mat = score_matrix + seq2[j] * N_MATRIX_ROW;
		end = j + b1 - 1;
		for (i = j - b2 + 1, q = dpcell[j] + i, s = curr + i; i != end; ++i, ++s, ++q) {
			set_M(s->M, q, last + i - 1, mat[seq1[i]]);
			set_I(s->I, q, last + i);
			set_D(s->D, q, s - 1);
		}
		set_M(s->M, q, last + i - 1, mat[seq1[i]]);
		set_D(s->D, q, s - 1);
		s->I = MINOR_INF;
		s = curr; curr = last; last = s;
	}

	/* core dynamic programming, part 3 */
	for (; j < len2; ++j) {
		SET_INF(curr[j - b2]);
		mat = score_matrix + seq2[j] * N_MATRIX_ROW;
		for (i = j - b2 + 1, q = dpcell[j] + i, s = curr + i; i < len1; ++i, ++s, ++q) {
			set_M(s->M, q, last + i - 1, mat[seq1[i]]);
			set_I(s->I, q, last + i);
			set_D(s->D, q, s - 1);
		}
		set_M(s->M, q, last + len1 - 1, mat[seq1[i]]);
		set_end_I(s->I, q, last + i);
		set_D(s->D, q, s - 1);
		s = curr; curr = last; last = s;
	}
	/* last row */
	if (j == len2) {
		SET_INF(curr[j - b2]);
		mat = score_matrix + seq2[j] * N_MATRIX_ROW;
		for (i = j - b2 + 1, q = dpcell[j] + i, s = curr + i; i < len1; ++i, ++s, ++q) {
			set_M(s->M, q, last + i - 1, mat[seq1[i]]);
			set_I(s->I, q, last + i);
			set_end_D(s->D, q, s - 1);
		}
		set_M(s->M, q, last + len1 - 1, mat[seq1[i]]);
		set_end_I(s->I, q, last + i);
		set_end_D(s->D, q, s - 1);
		s = curr; curr = last; last = s;
	}

	*_score = last[len1].M;
	if (n_cigar) { /* backtrace */
		path_t *p, *path = (path_t*)malloc(sizeof(path_t) * (len1 + len2 + 2));
		i = len1; j = len2;
		q = dpcell[j] + i;
		s = last + len1;
		max = s->M; type = q->Mt; ctype = FROM_M;
		if (s->I > max) { max = s->I; type = q->It; ctype = FROM_I; }
		if (s->D > max) { max = s->D; type = q->Dt; ctype = FROM_D; }

		p = path;
		p->ctype = ctype; p->i = i; p->j = j; /* bug fixed 040408 */
		++p;
		do {
			switch (ctype) {
			case FROM_M: --i; --j; break;
			case FROM_I: --j; break;
			case FROM_D: --i; break;
			}
			q = dpcell[j] + i;
			ctype = type;
			switch (type) {
			case FROM_M: type = q->Mt; break;
			case FROM_I: type = q->It; break;
			case FROM_D: type = q->Dt; break;
			}
			p->ctype = ctype; p->i = i; p->j = j;
			++p;
		} while (i || j);
		cigar = ka_path2cigar32(path, p - path - 1, n_cigar);
		free(path);
	}

	/* free memory */
	for (j = b2 + 1; j <= len2; ++j)
		dpcell[j] += j - b2;
	for (j = 0; j <= len2; ++j)
		free(dpcell[j]);
	free(dpcell);
	free(curr); free(last);

	return cigar;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %ecx, %ebx
movq %rdx, 0x90(%rsp)
movq %rdi, 0x60(%rsp)
movq 0x100(%rsp), %rcx
movl (%r8), %r14d
movl 0x4(%r8), %r15d
movl 0x8(%r8), %eax
movq %rax, (%rsp)
movl 0x1c(%r8), %eax
movq 0x10(%r8), %rdx
movq %rdx, 0x88(%rsp)
movslq 0x18(%r8), %rdx
movq %rdx, 0x80(%rsp)
movl $0x0, (%rcx)
testl %esi, %esi
sete %cl
testl %ebx, %ebx
sete %dl
xorl %ebp, %ebp
orb %cl, %dl
jne 0x10030
movq %r9, 0xb0(%rsp)
movl %esi, %ecx
subl %ebx, %ecx
negl %ecx
movl %esi, %edx
subl %ebx, %edx
cmovlel %ebp, %edx
cmovgl %ebp, %ecx
addl %eax, %edx
addl %eax, %ecx
cmpl %esi, %edx
movq %rsi, 0x68(%rsp)
cmovgel %esi, %edx
movq %rdx, 0x48(%rsp)
cmpl %ebx, %ecx
movl %ebx, %eax
movl %ecx, 0x3c(%rsp)
cmovll %ecx, %eax
movq %rax, 0x20(%rsp)
leal 0x1(%rbx), %ebp
movslq %ebp, %rdi
shlq $0x3, %rdi
callq 0x31d0
movq %rax, %r13
movl %ebp, 0x40(%rsp)
movl %ebp, %ebp
movq %rbx, 0x28(%rsp)
testl %ebx, %ebx
js 0xeb28
movq 0x20(%rsp), %rax
movq 0x48(%rsp), %rcx
addl %ecx, %eax
movq 0x68(%rsp), %rcx
cmpl %ecx, %eax
cmovgel %ecx, %eax
incl %eax
movslq %eax, %rbx
xorl %r12d, %r12d
movq %rbx, %rdi
callq 0x31d0
movq %rax, (%r13,%r12,8)
incq %r12
cmpq %r12, %rbp
jne 0xeb13
movq %rbp, 0xb8(%rsp)
movl 0x3c(%rsp), %eax
cmpl 0x28(%rsp), %eax
jge 0xeb6c
movslq 0x3c(%rsp), %rax
movslq 0x20(%rsp), %rsi
leaq 0x8(,%rax,8), %rcx
addq %r13, %rcx
notq %rax
addq %rsi, %rax
movq 0x28(%rsp), %rdx
subl %esi, %edx
xorl %esi, %esi
addq %rax, (%rcx,%rsi,8)
decq %rax
incq %rsi
cmpl %esi, %edx
jne 0xeb5e
movslq 0x68(%rsp), %rax
movq %rax, 0x78(%rsp)
leaq 0x4(,%rax,4), %rax
leaq (%rax,%rax,2), %r12
movq %r12, %rdi
callq 0x31d0
movq %rax, %rbx
movq %r12, %rdi
callq 0x31d0
movl $0xc0000001, 0x8(%rbx)  # imm = 0xC0000001
movabsq $-0x3fffffff00000000, %rcx # imm = 0xC000000100000000
movq %rbx, %r12
movq %rcx, (%rbx)
cmpl $0x2, 0x48(%rsp)
jl 0xec46
leal (%r15,%r14), %ecx
movq (%rsp), %rdx
addl %r14d, %edx
movl 0x48(%rsp), %esi
movq (%r13), %rdi
movl $0x1, %r8d
movq %r12, %r9
movl $0xc0000001, 0x14(%r9)  # imm = 0xC0000001
movabsq $-0x3ffffffe3fffffff, %r10 # imm = 0xC0000001C0000001
movq %r10, 0xc(%r9)
movl (%r9), %ebx
movl 0x8(%r9), %ebp
subl %r14d, %ebx
leaq 0x8(%r9), %r11
movb (%rdi,%r8), %r10b
andb $-0x61, %r10b
cmpl $0x0, (%rsp)
js 0xec10
cmpl %ebp, %ebx
jle 0xec1b
movq %r9, %r11
movl %edx, %ebx
jmp 0xec2c
cmpl %ebp, %ebx
jle 0xec25
movq %r9, %r11
movl %ecx, %ebx
jmp 0xec2c
orb $0x40, %r10b
movq (%rsp), %rbx
jmp 0xec2c
orb $0x40, %r10b
movl %r15d, %ebx
movb %r10b, (%rdi,%r8)
movl (%r11), %r10d
subl %ebx, %r10d
movl %r10d, 0x14(%r9)
addq $0xc, %r9
incq %r8
cmpq %r8, %rsi
jne 0xebd3
movq 0x78(%rsp), %rcx
incq %rcx
movq %rcx, 0x50(%rsp)
movq 0x28(%rsp), %rcx
leal -0x1(%rcx), %r8d
movl 0x3c(%rsp), %edx
cmpl %ecx, %edx
movl %r8d, %ebx
movq 0x20(%rsp), %rdi
cmovll %edi, %ebx
testl %ebx, %ebx
movq %r13, 0x70(%rsp)
jle 0xefd0
movl %r8d, 0x9c(%rsp)
leal (%r15,%r14), %r8d
movq (%rsp), %rcx
addl %r14d, %ecx
movl %ecx, 0xa0(%rsp)
movslq 0x48(%rsp), %rcx
movq %rcx, 0x30(%rsp)
incl %ebx
movl $0x1, %r11d
movq %r12, %r10
movq %rbx, 0x18(%rsp)
movq %rax, %r9
movq (%r13,%r11,8), %rax
movl $0xc0000001, 0x8(%r9)   # imm = 0xC0000001
movabsq $-0x3ffffffe3fffffff, %rcx # imm = 0xC0000001C0000001
movq %rcx, (%r9)
movl (%r10), %esi
movl 0x4(%r10), %edi
subl %r14d, %esi
leaq 0x4(%r10), %rdx
movb (%rax), %cl
andb $-0x19, %cl
cmpl $0x0, (%rsp)
movq %r10, 0x10(%rsp)
js 0xecf9
cmpl %edi, %esi
jle 0xed05
movq %r10, %rdx
movl 0xa0(%rsp), %esi
jmp 0xed14
cmpl %edi, %esi
jle 0xed0e
movq %r10, %rdx
movl %r8d, %esi
jmp 0xed14
orb $0x8, %cl
movq (%rsp), %rsi
jmp 0xed14
orb $0x8, %cl
movl %r15d, %esi
movb %cl, (%rax)
movl (%rdx), %edx
subl %esi, %edx
movq 0x30(%rsp), %rsi
leaq (%r11,%rsi), %rcx
cmpq 0x50(%rsp), %rcx
leaq -0x1(%r11,%rsi), %rcx
movq %rcx, 0x58(%rsp)
cmovgl 0x68(%rsp), %ecx
movl %edx, 0x4(%r9)
movq 0x90(%rsp), %rdx
movzbl -0x1(%rdx,%r11), %edx
imulq 0x80(%rsp), %rdx
movq 0x88(%rsp), %rsi
leaq (%rsi,%rdx,4), %rdi
incq %rax
leaq 0xc(%r9), %rbp
movl $0x1, %edx
cmpl $0x1, %ecx
movq %r9, 0x8(%rsp)
jne 0xed7c
movq %r9, %rbx
jmp 0xee9b
movl %ecx, %edx
movq 0x10(%rsp), %rcx
leaq 0x10(%rcx), %rbx
movq %rdx, 0xa8(%rsp)
leaq -0x1(%rdx), %rsi
xorl %edx, %edx
movl -0x10(%rbx), %ecx
movl -0xc(%rbx), %r9d
movl -0x8(%rbx), %r13d
movq 0x60(%rsp), %r10
movzbl (%r10,%rdx), %r10d
movl (%rdi,%r10,4), %r10d
cmpl %r9d, %ecx
jge 0xedcc
cmpl %r13d, %r9d
jle 0xedd1
addl %r9d, %r10d
movl %r10d, (%rbp)
movb (%rax,%rdx), %r10b
andb $-0x8, %r10b
incb %r10b
jmp 0xedf5
cmpl %r13d, %ecx
jge 0xede6
addl %r13d, %r10d
movl %r10d, (%rbp)
movb (%rax,%rdx), %r10b
andb $-0x8, %r10b
orb $0x2, %r10b
jmp 0xedf5
addl %ecx, %r10d
movl %r10d, (%rbp)
movb (%rax,%rdx), %r10b
andb $-0x8, %r10b
movb %r10b, (%rax,%rdx)
movl -0x4(%rbx), %ecx
subl %r14d, %ecx
andb $-0x19, %r10b
leal 0x8(%r10), %r9d
cmpl (%rbx), %ecx
movzbl %r10b, %ecx
movzbl %r9b, %r9d
cmovgl %ecx, %r9d
leaq -0x4(%rbx), %rcx
movl %r15d, %r10d
cmovgl %r8d, %r10d
movb %r9b, (%rax,%rdx)
cmovleq %rbx, %rcx
movl (%rcx), %ecx
subl %r10d, %ecx
movl %ecx, 0x4(%rbp)
leaq -0xc(%rbp), %rcx
movl -0xc(%rbp), %r9d
subl %r14d, %r9d
leaq -0x4(%rbp), %r10
movb (%rax,%rdx), %r13b
andb $-0x61, %r13b
leal 0x40(%r13), %r12d
cmpl -0x4(%rbp), %r9d
movzbl %r13b, %r9d
movzbl %r12b, %r12d
cmovgl %r9d, %r12d
movl %r15d, %r9d
cmovgl %r8d, %r9d
cmovgq %rcx, %r10
movb %r12b, (%rax,%rdx)
movl (%r10), %ecx
subl %r9d, %ecx
movl %ecx, 0x8(%rbp)
addq $0xc, %rbp
incq %rdx
addq $0xc, %rbx
cmpq %rdx, %rsi
jne 0xed95
leaq -0xc(%rbp), %rbx
addq %rdx, %rax
movq 0x70(%rsp), %r13
movq 0xa8(%rsp), %rdx
movq %rdx, %r12
leaq (%rdx,%rdx,2), %rdx
movq 0x10(%rsp), %rsi
movl -0xc(%rsi,%rdx,4), %ecx
movl -0x8(%rsi,%rdx,4), %r9d
movl -0x4(%rsi,%rdx,4), %r10d
movq 0x60(%rsp), %rsi
movzbl -0x1(%rsi,%r12), %esi
movl (%rdi,%rsi,4), %esi
cmpl %r9d, %ecx
jge 0xeedf
cmpl %r10d, %r9d
jle 0xeee4
addl %r9d, %esi
movl %esi, (%rbp)
movb (%rax), %sil
andb $-0x8, %sil
incb %sil
jmp 0xef03
cmpl %r10d, %ecx
jge 0xeef7
addl %r10d, %esi
movl %esi, (%rbp)
movb (%rax), %sil
andb $-0x8, %sil
orb $0x2, %sil
jmp 0xef03
addl %ecx, %esi
movl %esi, (%rbp)
movb (%rax), %sil
andb $-0x8, %sil
movq 0x8(%rsp), %r10
movb %sil, (%rax)
movl (%rbx), %ecx
subl %r14d, %ecx
andb $-0x61, %sil
leal 0x40(%rsi), %edi
cmpl 0x8(%rbx), %ecx
movzbl %sil, %ecx
movzbl %dil, %esi
cmovgl %ecx, %esi
leaq 0x8(%rbx), %rcx
movl %r15d, %edi
cmovgl %r8d, %edi
movb %sil, (%rax)
cmovgq %rbx, %rcx
movl (%rcx), %ecx
subl %edi, %ecx
movl %ecx, 0x14(%rbx)
movl $0xc0000001, %ecx       # imm = 0xC0000001
movq 0x58(%rsp), %rsi
cmpq 0x78(%rsp), %rsi
movq 0x10(%rsp), %r12
jle 0xefa3
leaq (%r12,%rdx,4), %rsi
movl (%rsi), %edi
movl 0x4(%rsi), %r9d
subl %r14d, %edi
leaq 0x4(%rsi), %rdx
movb (%rax), %cl
andb $-0x19, %cl
cmpl $0x0, (%rsp)
js 0xef81
cmpl %r9d, %edi
jle 0xef8e
movq %rsi, %rdx
movl 0xa0(%rsp), %esi
jmp 0xef9d
cmpl %r9d, %edi
jle 0xef97
movq %rsi, %rdx
movl %r8d, %esi
jmp 0xef9d
orb $0x8, %cl
movq (%rsp), %rsi
jmp 0xef9d
orb $0x8, %cl
movl %r15d, %esi
movb %cl, (%rax)
movl (%rdx), %ecx
subl %esi, %ecx
movl %ecx, 0x10(%rbx)
incq %r11
movq %r12, %rax
movq 0x18(%rsp), %rbx
cmpq %rbx, %r11
jne 0xecae
movq %r12, %rax
movl 0x3c(%rsp), %edx
movq 0x20(%rsp), %rdi
movl 0x9c(%rsp), %r8d
jmp 0xefd8
movl $0x1, %ebx
movq %r12, %r10
movq 0x28(%rsp), %rsi
cmpl %esi, %ebx
setne %cl
cmpl %r8d, %edx
sete %dl
orb %cl, %dl
je 0xeffb
movq %r10, %r11
movq %rax, %r10
movl 0x40(%rsp), %edx
jmp 0xf369
movl %esi, %ecx
movq (%r13,%rcx,8), %rsi
movl $0xc0000001, 0x8(%rax)  # imm = 0xC0000001
movabsq $-0x3ffffffe3fffffff, %rdx # imm = 0xC0000001C0000001
movq %rdx, (%rax)
movl (%r10), %edi
movl 0x4(%r10), %r8d
subl %r14d, %edi
movb (%rsi), %dl
andb $-0x19, %dl
cmpl $0x0, (%rsp)
js 0xf03e
cmpl %r8d, %edi
jle 0xf050
movb %dl, (%rsi)
movl (%r10), %edx
movq (%rsp), %rdi
addl %r14d, %edi
jmp 0xf04c
cmpl %r8d, %edi
jle 0xf05e
movb %dl, (%rsi)
movl (%r10), %edx
leal (%r15,%r14), %edi
subl %edi, %edx
jmp 0xf06a
orb $0x8, %dl
movb %dl, (%rsi)
movl 0x4(%r10), %edx
subl (%rsp), %edx
jmp 0xf06a
orb $0x8, %dl
movb %dl, (%rsi)
movl 0x4(%r10), %edx
subl %r15d, %edx
movq 0x28(%rsp), %r8
movq 0x48(%rsp), %r9
leal (%r9,%r8), %edi
cmpl 0x50(%rsp), %edi
leal -0x1(%r9,%r8), %ebx
movl %ebx, %edi
cmovgl 0x68(%rsp), %edi
movl %edx, 0x4(%rax)
movq 0x90(%rsp), %rdx
movzbl -0x1(%rdx,%rcx), %ecx
imulq 0x80(%rsp), %rcx
movq 0x88(%rsp), %rdx
leaq (%rdx,%rcx,4), %rcx
movq %rcx, 0x18(%rsp)
incq %rsi
leaq 0xc(%rax), %rcx
movl $0x1, %r12d
cmpl $0x1, %edi
movq %r10, 0x8(%rsp)
jne 0xf0d1
movq %rax, %r8
jmp 0xf22c
movl %ebx, 0x58(%rsp)
leal (%r15,%r14), %r8d
movq (%rsp), %rdx
addl %r14d, %edx
movl %edx, 0x10(%rsp)
movl %edi, %edx
leaq 0x10(%r10), %r11
movq %rdx, 0x50(%rsp)
leaq -0x1(%rdx), %rbx
xorl %r10d, %r10d
movq %rax, %r12
movq %r12, %rbp
movq %rcx, %r12
movl -0x10(%r11), %r13d
movl -0xc(%r11), %r9d
movl -0x8(%r11), %edi
movq 0x60(%rsp), %rcx
movzbl (%rcx,%r10), %ecx
movq 0x18(%rsp), %rdx
movl (%rdx,%rcx,4), %ecx
cmpl %r9d, %r13d
jge 0xf13b
cmpl %edi, %r9d
jle 0xf140
addl %r9d, %ecx
movl %ecx, (%r12)
movb (%rsi,%r10), %dil
andb $-0x8, %dil
incb %dil
jmp 0xf163
cmpl %edi, %r13d
jge 0xf154
addl %edi, %ecx
movl %ecx, (%r12)
movb (%rsi,%r10), %dil
andb $-0x8, %dil
orb $0x2, %dil
jmp 0xf163
addl %r13d, %ecx
movl %ecx, (%r12)
movb (%rsi,%r10), %dil
andb $-0x8, %dil
leaq -0xc(%r12), %rcx
movb %dil, (%rsi,%r10)
leaq -0x4(%r11), %r9
movl -0x4(%r11), %r13d
subl %r14d, %r13d
andb $-0x19, %dil
leal 0x8(%rdi), %edx
cmpl (%r11), %r13d
movzbl %dil, %edi
movzbl %dl, %edx
cmovgl %edi, %edx
movl %r15d, %edi
cmovgl %r8d, %edi
movb %dl, (%rsi,%r10)
cmovleq %r11, %r9
movl (%r9), %edx
subl %edi, %edx
movl %edx, 0x4(%r12)
movl -0xc(%r12), %r9d
movl -0x4(%r12), %r13d
subl %r14d, %r9d
addq $0x8, %rbp
movb (%rsi,%r10), %dil
andb $-0x61, %dil
cmpl $0x0, (%rsp)
js 0xf1d1
cmpl %r13d, %r9d
jle 0xf1de
movq %rcx, %rbp
movl 0x10(%rsp), %ecx
jmp 0xf1ef
cmpl %r13d, %r9d
jle 0xf1e8
movq %rcx, %rbp
movl %r8d, %ecx
jmp 0xf1ef
orb $0x40, %dil
movq (%rsp), %rcx
jmp 0xf1ef
orb $0x40, %dil
movl %r15d, %ecx
movq 0x70(%rsp), %r13
movb %dil, (%rsi,%r10)
movl (%rbp), %edx
subl %ecx, %edx
movl %edx, 0x8(%r12)
leaq 0xc(%r12), %rcx
incq %r10
addq $0xc, %r11
cmpq %r10, %rbx
jne 0xf0f9
leaq -0xc(%rcx), %r8
addq %r10, %rsi
movq 0x8(%rsp), %r10
movl 0x58(%rsp), %ebx
movq 0x50(%rsp), %r12
leaq (%r12,%r12,2), %r9
movq %r10, %rdx
movl -0xc(%r10,%r9,4), %r10d
movl -0x8(%rdx,%r9,4), %r11d
movl -0x4(%rdx,%r9,4), %edi
movq 0x60(%rsp), %rdx
movzbl -0x1(%rdx,%r12), %edx
movq 0x18(%rsp), %r12
movl (%r12,%rdx,4), %edx
cmpl %r11d, %r10d
jge 0xf26e
cmpl %edi, %r11d
jle 0xf273
addl %r11d, %edx
movl %edx, (%rcx)
movb (%rsi), %cl
andb $-0x8, %cl
incb %cl
jmp 0xf28b
cmpl %edi, %r10d
jge 0xf281
addl %edi, %edx
movl %edx, (%rcx)
movb (%rsi), %cl
andb $-0x8, %cl
orb $0x2, %cl
jmp 0xf28b
addl %r10d, %edx
movl %edx, (%rcx)
movb (%rsi), %cl
andb $-0x8, %cl
movq 0x8(%rsp), %r10
movb %cl, (%rsi)
movl (%r8), %edx
movl 0x8(%r8), %edi
subl %r14d, %edx
andb $-0x61, %cl
cmpl $0x0, (%rsp)
js 0xf2b7
cmpl %edi, %edx
jle 0xf2c8
movb %cl, (%rsi)
movl (%r8), %ecx
movq (%rsp), %rdx
addl %r14d, %edx
jmp 0xf2c4
cmpl %edi, %edx
jle 0xf2d6
movb %cl, (%rsi)
movl (%r8), %ecx
leal (%r15,%r14), %edx
subl %edx, %ecx
jmp 0xf2e2
orb $0x40, %cl
movb %cl, (%rsi)
movl 0x8(%r8), %ecx
subl (%rsp), %ecx
jmp 0xf2e2
orb $0x40, %cl
movb %cl, (%rsi)
movl 0x8(%r8), %ecx
subl %r15d, %ecx
movq 0x20(%rsp), %rdi
movl %ecx, 0x14(%r8)
cmpl 0x68(%rsp), %ebx
jle 0xf31b
leaq (%r10,%r9,4), %rcx
movl (%rcx), %edi
movl 0x4(%rcx), %r9d
subl %r14d, %edi
movb (%rsi), %dl
andb $-0x19, %dl
cmpl $0x0, (%rsp)
js 0xf32e
cmpl %r9d, %edi
jle 0xf33f
movb %dl, (%rsi)
movl (%rcx), %ecx
movq (%rsp), %rdx
addl %r14d, %edx
jmp 0xf33b
movl $0xc0000001, 0x10(%r8)  # imm = 0xC0000001
movq %rax, %r11
movl 0x40(%rsp), %edx
movl %edx, %ebx
jmp 0xf369
cmpl %r9d, %edi
jle 0xf34c
movb %dl, (%rsi)
movl (%rcx), %ecx
leal (%r15,%r14), %edx
subl %edx, %ecx
jmp 0xf357
orb $0x8, %dl
movb %dl, (%rsi)
movl 0x4(%rcx), %ecx
subl (%rsp), %ecx
jmp 0xf357
orb $0x8, %dl
movb %dl, (%rsi)
movl 0x4(%rcx), %ecx
subl %r15d, %ecx
movl %ecx, 0x10(%r8)
movq %rax, %r11
movl 0x40(%rsp), %edx
movl %edx, %ebx
movq 0x20(%rsp), %rdi
subl %edi, %edx
cmpl %edx, %ebx
jle 0xf377
movq %r10, %r12
jmp 0xf68f
leal (%r15,%r14), %eax
movslq %ebx, %rcx
subl %edi, %ebx
incl %ebx
movslq %edi, %r8
movslq %edx, %rdx
movq %rdx, 0xa0(%rsp)
movq 0x60(%rsp), %rdx
decq %rdx
movq %rdx, 0xc0(%rsp)
movq 0x48(%rsp), %rsi
movl %esi, %edx
decl %esi
movq %rsi, 0x48(%rsp)
leal (%rdi,%rdx), %r9d
addl $-0x2, %r9d
movq %rcx, %rdx
subq %r8, %rdx
incq %rdx
movq %rdx, 0x58(%rsp)
leaq (,%rcx,4), %rdx
leaq (%rdx,%rdx,2), %rsi
leaq (,%r8,4), %rdx
leaq (%rdx,%rdx,2), %rdx
subq %rdx, %rsi
addq $0xc, %rsi
movq %rsi, 0x50(%rsp)
movq %r8, 0xa8(%rsp)
negq %r8
movq %r8, 0x40(%rsp)
movq %rbx, 0x18(%rsp)
movq %r11, %r12
movq %r10, %r11
movq %rcx, %r8
subq 0xa8(%rsp), %rcx
leaq (%rcx,%rcx,2), %rdx
movl $0xc0000001, 0x8(%r10,%rdx,4) # imm = 0xC0000001
movabsq $-0x3ffffffe3fffffff, %rsi # imm = 0xC0000001C0000001
movq %rsi, (%r10,%rdx,4)
movq 0x90(%rsp), %rsi
movzbl -0x1(%rsi,%r8), %esi
imulq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdi
leaq (%rdi,%rsi,4), %rbp
movq 0x48(%rsp), %rsi
leal (%rsi,%r8), %r10d
movq 0x40(%rsp), %rsi
addq %r8, %rsi
incq %rsi
movq %r8, 0x8(%rsp)
movq (%r13,%r8,8), %rbx
cmpl %esi, %r10d
jne 0xf482
addq %rcx, %rbx
incq %rbx
leaq (%r11,%rdx,4), %rdi
addq $0xc, %rdi
jmp 0xf5c8
movl %r10d, 0x9c(%rsp)
movslq 0x18(%rsp), %r13
leaq (,%r13,4), %rcx
leaq (%rcx,%rcx,2), %rdx
addq 0xc0(%rsp), %r13
movq %r12, 0x30(%rsp)
addq %r12, %rdx
addq 0x58(%rsp), %rbx
movq %r11, 0x10(%rsp)
movq 0x50(%rsp), %rcx
leaq (%r11,%rcx), %rdi
xorl %esi, %esi
movl -0xc(%rdx), %r10d
movl -0x8(%rdx), %r11d
movl -0x4(%rdx), %ecx
movzbl (%r13,%rsi), %r12d
movl (%rbp,%r12,4), %r12d
cmpl %r11d, %r10d
jge 0xf4f3
cmpl %ecx, %r11d
jle 0xf4f8
addl %r11d, %r12d
movl %r12d, (%rdi)
movb (%rbx,%rsi), %r12b
andb $-0x8, %r12b
incb %r12b
jmp 0xf51a
cmpl %ecx, %r10d
jge 0xf50c
addl %ecx, %r12d
movl %r12d, (%rdi)
movb (%rbx,%rsi), %r12b
andb $-0x8, %r12b
orb $0x2, %r12b
jmp 0xf51a
addl %r10d, %r12d
movl %r12d, (%rdi)
movb (%rbx,%rsi), %r12b
andb $-0x8, %r12b
movb %r12b, (%rbx,%rsi)
movl (%rdx), %ecx
subl %r14d, %ecx
andb $-0x19, %r12b
leal 0x8(%r12), %r10d
cmpl 0x4(%rdx), %ecx
movzbl %r12b, %ecx
movzbl %r10b, %r10d
cmovgl %ecx, %r10d
leaq 0x4(%rdx), %rcx
movl %r15d, %r11d
cmovgl %eax, %r11d
movb %r10b, (%rbx,%rsi)
cmovgq %rdx, %rcx
movl (%rcx), %ecx
subl %r11d, %ecx
movl %ecx, 0x4(%rdi)
leaq -0xc(%rdi), %rcx
movl -0xc(%rdi), %r10d
subl %r14d, %r10d
leaq -0x4(%rdi), %r11
movb (%rbx,%rsi), %r12b
andb $-0x61, %r12b
leal 0x40(%r12), %r8d
cmpl -0x4(%rdi), %r10d
movzbl %r12b, %r10d
movzbl %r8b, %r8d
cmovgl %r10d, %r8d
movl %r15d, %r10d
cmovgl %eax, %r10d
cmovgq %rcx, %r11
movb %r8b, (%rbx,%rsi)
movl (%r11), %ecx
subl %r10d, %ecx
movl %ecx, 0x8(%rdi)
addq $0xc, %rdx
incq %rsi
addq $0xc, %rdi
cmpl %esi, %r9d
jne 0xf4c0
addq %rsi, %rbx
movq 0x70(%rsp), %r13
movq 0x10(%rsp), %r11
movq 0x30(%rsp), %r12
movl 0x9c(%rsp), %r10d
movslq %r10d, %rcx
leaq (%rcx,%rcx,2), %rdx
movl -0xc(%r12,%rdx,4), %esi
movl -0x8(%r12,%rdx,4), %r10d
movl -0x4(%r12,%rdx,4), %edx
movq 0x60(%rsp), %r8
movzbl -0x1(%r8,%rcx), %ecx
movl (%rbp,%rcx,4), %ecx
cmpl %r10d, %esi
jge 0xf605
cmpl %edx, %r10d
jle 0xf609
addl %r10d, %ecx
movl %ecx, (%rdi)
movb (%rbx), %cl
andb $-0x8, %cl
incb %cl
jmp 0xf620
cmpl %edx, %esi
jge 0xf617
addl %edx, %ecx
movl %ecx, (%rdi)
movb (%rbx), %cl
andb $-0x8, %cl
orb $0x2, %cl
jmp 0xf620
addl %esi, %ecx
movl %ecx, (%rdi)
movb (%rbx), %cl
andb $-0x8, %cl
movq 0x8(%rsp), %rsi
movb %cl, (%rbx)
movl -0xc(%rdi), %edx
subl %r14d, %edx
andb $-0x61, %cl
cmpl -0x4(%rdi), %edx
leal 0x40(%rcx), %edx
movzbl %cl, %ecx
movzbl %dl, %edx
cmovgl %ecx, %edx
movb %dl, (%rbx)
leaq -0xc(%rdi), %rcx
leaq -0x4(%rdi), %rdx
cmovgq %rcx, %rdx
movl %r15d, %ecx
cmovgl %eax, %ecx
movl (%rdx), %edx
subl %ecx, %edx
movl %edx, 0x8(%rdi)
movl $0xc0000001, 0x4(%rdi)  # imm = 0xC0000001
leaq 0x1(%rsi), %rcx
movq 0x18(%rsp), %rbx
incl %ebx
incq 0x58(%rsp)
addq $0xc, 0x50(%rsp)
movq %r12, %r10
cmpq 0xa0(%rsp), %rsi
jl 0xf3f8
movl %ecx, %ebx
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rcx
cmpl %ecx, %ebx
jge 0xfa12
leal (%r15,%r14), %eax
movq %rdi, %rdx
movslq 0x68(%rsp), %rdi
movq (%rsp), %rsi
addl %r14d, %esi
movl %esi, 0x40(%rsp)
movslq %ebx, %r10
subl %edx, %ebx
incl %ebx
movslq %edx, %rdx
movslq %ecx, %rcx
movq %rcx, 0x30(%rsp)
movq 0x60(%rsp), %rcx
decq %rcx
movq %rcx, 0xa0(%rsp)
movq %r10, %rcx
subq %rdx, %rcx
incq %rcx
movq %rcx, 0x50(%rsp)
leaq (,%r10,4), %rcx
leaq (%rcx,%rcx,2), %rsi
leaq (,%rdx,4), %rcx
leaq (%rcx,%rcx,2), %rcx
subq %rcx, %rsi
addq $0xc, %rsi
movq %rsi, 0x78(%rsp)
movq %rdx, 0x48(%rsp)
negq %rdx
movq %rdx, 0xa8(%rsp)
movq %r12, %r9
movq %r10, %rcx
subq 0x48(%rsp), %rcx
leaq (%rcx,%rcx,2), %rdx
movl $0xc0000001, 0x8(%r12,%rdx,4) # imm = 0xC0000001
movabsq $-0x3ffffffe3fffffff, %rsi # imm = 0xC0000001C0000001
movq %rsi, (%r12,%rdx,4)
movq 0x90(%rsp), %rsi
movzbl -0x1(%rsi,%r10), %esi
imulq 0x80(%rsp), %rsi
movq 0x88(%rsp), %r8
movq %r10, %r12
leaq (%r8,%rsi,4), %r10
movq 0xa8(%rsp), %rsi
leaq (%r12,%rsi), %rbp
incq %rbp
movq %r12, 0x58(%rsp)
movq (%r13,%r12,8), %r12
cmpq %rdi, %rbp
movq %r11, 0x8(%rsp)
movq %r9, 0x10(%rsp)
jge 0xf8c3
movq %rbx, 0x18(%rsp)
movslq %ebx, %rbp
leaq (,%rbp,4), %rcx
leaq (%rcx,%rcx,2), %rdx
movq 0xa0(%rsp), %rcx
leaq (%rcx,%rbp), %rbx
addq %r11, %rdx
addq 0x50(%rsp), %r12
movq 0x78(%rsp), %rcx
leaq (%r9,%rcx), %r11
xorl %r13d, %r13d
movl -0xc(%rdx), %ecx
movl -0x8(%rdx), %r9d
movl -0x4(%rdx), %r8d
movzbl (%rbx,%r13), %esi
movl (%r10,%rsi,4), %esi
cmpl %r9d, %ecx
jge 0xf7f4
cmpl %r8d, %r9d
jle 0xf7f9
addl %r9d, %esi
movl %esi, (%r11)
movb (%r12,%r13), %sil
andb $-0x8, %sil
incb %sil
jmp 0xf81a
cmpl %r8d, %ecx
jge 0xf80d
addl %r8d, %esi
movl %esi, (%r11)
movb (%r12,%r13), %sil
andb $-0x8, %sil
orb $0x2, %sil
jmp 0xf81a
addl %ecx, %esi
movl %esi, (%r11)
movb (%r12,%r13), %sil
andb $-0x8, %sil
movb %sil, (%r12,%r13)
movl (%rdx), %ecx
subl %r14d, %ecx
leaq 0x4(%rdx), %r8
andb $-0x19, %sil
leal 0x8(%rsi), %r9d
cmpl 0x4(%rdx), %ecx
movzbl %sil, %ecx
movzbl %r9b, %esi
cmovgl %ecx, %esi
movl %r15d, %ecx
cmovgl %eax, %ecx
movb %sil, (%r12,%r13)
cmovgq %rdx, %r8
movl (%r8), %esi
subl %ecx, %esi
movl %esi, 0x4(%r11)
movl -0xc(%r11), %ecx
subl %r14d, %ecx
movb (%r12,%r13), %sil
andb $-0x61, %sil
leal 0x40(%rsi), %r8d
cmpl -0x4(%r11), %ecx
movzbl %sil, %ecx
movzbl %r8b, %esi
cmovgl %ecx, %esi
leaq -0xc(%r11), %rcx
movl %r15d, %r8d
cmovgl %eax, %r8d
leaq -0x4(%r11), %r9
movb %sil, (%r12,%r13)
cmovgq %rcx, %r9
movl (%r9), %ecx
subl %r8d, %ecx
movl %ecx, 0x8(%r11)
addq $0xc, %rdx
leaq 0x1(,%r13), %rcx
addq %rbp, %rcx
incq %r13
addq $0xc, %r11
cmpq %rdi, %rcx
jl 0xf7c3
addq %r13, %rbp
addq %r13, %r12
movq 0x70(%rsp), %r13
jmp 0xf8d6
movq %rbx, 0x18(%rsp)
addq %rcx, %r12
incq %r12
leaq (%r9,%rdx,4), %r11
addq $0xc, %r11
leaq (%rdi,%rdi,2), %rcx
movq 0x8(%rsp), %rdx
movl -0xc(%rdx,%rcx,4), %r8d
movl -0x8(%rdx,%rcx,4), %ebx
movl -0x4(%rdx,%rcx,4), %esi
movslq %ebp, %rcx
movq 0x60(%rsp), %rdx
movzbl -0x1(%rdx,%rcx), %ecx
movl (%r10,%rcx,4), %edx
cmpl %ebx, %r8d
jge 0xf916
cmpl %esi, %ebx
jle 0xf91b
addl %ebx, %edx
movl %edx, (%r11)
movb (%r12), %dl
andb $-0x8, %dl
incb %dl
jmp 0xf939
cmpl %esi, %r8d
jge 0xf92c
addl %esi, %edx
movl %edx, (%r11)
movb (%r12), %dl
andb $-0x8, %dl
orb $0x2, %dl
jmp 0xf939
addl %r8d, %edx
movl %edx, (%r11)
movb (%r12), %dl
andb $-0x8, %dl
movq 0x18(%rsp), %rbx
movb %dl, (%r12)
movslq %ebp, %rcx
leaq (%rcx,%rcx,2), %rsi
movq 0x8(%rsp), %rbp
leaq (,%rsi,4), %r10
addq %rbp, %r10
movl (%r10), %ecx
movl 0x4(%r10), %r8d
subl %r14d, %ecx
andb $-0x19, %dl
leaq 0x4(,%rsi,4), %rsi
addq %rbp, %rsi
cmpl $0x0, (%rsp)
js 0xf985
cmpl %r8d, %ecx
jle 0xf991
movq %r10, %rsi
movl 0x40(%rsp), %ecx
jmp 0xf9a0
cmpl %r8d, %ecx
jle 0xf99a
movq %r10, %rsi
movl %eax, %ecx
jmp 0xf9a0
orb $0x8, %dl
movq (%rsp), %rcx
jmp 0xf9a0
orb $0x8, %dl
movl %r15d, %ecx
movb %dl, (%r12)
movl (%rsi), %edx
subl %ecx, %edx
movl %edx, 0x4(%r11)
movl -0xc(%r11), %ecx
subl %r14d, %ecx
movb (%r12), %dl
andb $-0x61, %dl
cmpl -0x4(%r11), %ecx
leal 0x40(%rdx), %ecx
movzbl %dl, %edx
movzbl %cl, %ecx
cmovgl %edx, %ecx
movb %cl, (%r12)
leaq -0xc(%r11), %rcx
leaq -0x4(%r11), %rdx
cmovgq %rcx, %rdx
movl %r15d, %ecx
cmovgl %eax, %ecx
movl (%rdx), %edx
subl %ecx, %edx
movl %edx, 0x8(%r11)
movq 0x58(%rsp), %r10
incq %r10
incl %ebx
incq 0x50(%rsp)
addq $0xc, 0x78(%rsp)
movq %rbp, %r12
cmpq 0x30(%rsp), %r10
movq 0x10(%rsp), %r11
jne 0xf717
jmp 0xfa1b
jne 0xfc9a
movq %r12, %rbp
movq 0x28(%rsp), %r12
movl %r12d, %eax
movq 0x20(%rsp), %rsi
subl %esi, %eax
movslq %eax, %rbx
leaq (%rbx,%rbx,2), %rax
leaq 0xc(,%rax,4), %rax
addq %rbp, %rax
movl $0xc0000001, -0x4(%rax) # imm = 0xC0000001
movabsq $-0x3ffffffe3fffffff, %rcx # imm = 0xC0000001C0000001
movq %rcx, -0xc(%rax)
movslq %r12d, %rcx
movq 0x90(%rsp), %rdx
movzbl -0x1(%rdx,%rcx), %edx
movq 0x80(%rsp), %rdi
imulq %rdx, %rdi
movq 0x88(%rsp), %rdx
leaq (%rdx,%rdi,4), %rdx
movq %rdx, 0x18(%rsp)
movq (%r13,%rcx,8), %r13
leaq (%rbx,%r13), %rcx
incq %rcx
incq %rbx
movq 0x68(%rsp), %rdi
cmpl %edi, %ebx
movq %r11, 0x10(%rsp)
jge 0xfc30
movq %r13, 0x80(%rsp)
leal (%r15,%r14), %r8d
movq (%rsp), %rdx
addl %r14d, %edx
movl %edx, 0x88(%rsp)
leaq (,%rbx,4), %rdx
leaq (%rdx,%rdx,2), %r10
movq 0x60(%rsp), %rdx
movq %rbx, 0x58(%rsp)
leaq -0x1(%rbx,%rdx), %rdx
movq %rdx, 0x90(%rsp)
notl %r12d
addl %edi, %r12d
addl %esi, %r12d
movq %rbp, %rbx
xorl %ebp, %ebp
movq %rbx, 0x8(%rsp)
movq %r11, %r13
movl -0xc(%r13,%r10), %r9d
movl -0x8(%r13,%r10), %edi
movl -0x4(%r13,%r10), %esi
movq 0x90(%rsp), %rdx
movzbl (%rdx,%rbp), %edx
movq 0x18(%rsp), %r11
movl (%r11,%rdx,4), %edx
cmpl %edi, %r9d
jge 0xfb2f
cmpl %esi, %edi
jle 0xfb34
addl %edi, %edx
movl %edx, (%rbx,%r10)
movb (%rcx,%rbp), %dl
andb $-0x8, %dl
incb %dl
jmp 0xfb52
cmpl %esi, %r9d
jge 0xfb45
addl %esi, %edx
movl %edx, (%rbx,%r10)
movb (%rcx,%rbp), %dl
andb $-0x8, %dl
orb $0x2, %dl
jmp 0xfb52
addl %r9d, %edx
movl %edx, (%rbx,%r10)
movb (%rcx,%rbp), %dl
andb $-0x8, %dl
movb %dl, (%rcx,%rbp)
leaq (%r10,%r13), %rsi
leaq (%r10,%r13), %rdi
addq $0x4, %rdi
movl -0x4(%rdi), %r9d
subl %r14d, %r9d
andb $-0x19, %dl
leal 0x8(%rdx), %r11d
cmpl (%rdi), %r9d
movzbl %dl, %edx
movzbl %r11b, %r9d
cmovgl %edx, %r9d
movl %r15d, %edx
cmovgl %r8d, %edx
cmovleq %rdi, %rsi
movb %r9b, (%rcx,%rbp)
movl (%rsi), %esi
subl %edx, %esi
leaq (%rbx,%r10), %r9
addq $-0xc, %r9
movl %esi, 0x10(%r9)
movl (%r9), %edi
movl 0x8(%r9), %r11d
subl %r14d, %edi
leaq -0x4(%rax), %rsi
movb (%rcx,%rbp), %dl
andb $-0x61, %dl
cmpl $0x0, (%rsp)
js 0xfbc7
cmpl %r11d, %edi
jle 0xfbd4
movq %r9, %rsi
movl 0x88(%rsp), %edi
jmp 0xfbe3
cmpl %r11d, %edi
jle 0xfbdd
movq %r9, %rsi
movl %r8d, %edi
jmp 0xfbe3
orb $0x40, %dl
movq (%rsp), %rdi
jmp 0xfbe3
orb $0x40, %dl
movl %r15d, %edi
movq 0x10(%rsp), %r11
movb %dl, (%rcx,%rbp)
movl (%rsi), %edx
subl %edi, %edx
movl %edx, 0x8(%rbx,%r10)
addq $0xc, %rax
addq $0xc, %r13
incq %rbp
addq $0xc, %rbx
cmpl %ebp, %r12d
jne 0xfaf2
addq %rbp, %rcx
movq 0x58(%rsp), %rax
leaq (%rax,%rax,2), %rax
leaq (%rbx,%rax,4), %rax
movq 0x68(%rsp), %rdi
movl %edi, %ebx
movq 0x8(%rsp), %rbp
movq 0x80(%rsp), %r13
movslq %edi, %rdx
movq %rdx, 0x78(%rsp)
leaq (%rdx,%rdx,2), %rdx
movl -0xc(%r11,%rdx,4), %r9d
movl -0x8(%r11,%rdx,4), %r10d
movl -0x4(%r11,%rdx,4), %r8d
movslq %ebx, %rdx
movq 0x60(%rsp), %rsi
movzbl -0x1(%rsi,%rdx), %esi
movq 0x18(%rsp), %rdi
movl (%rdi,%rsi,4), %esi
cmpl %r10d, %r9d
movq 0xb0(%rsp), %r11
jge 0xfc83
cmpl %r8d, %r10d
jle 0xfc88
addl %r10d, %esi
movl %esi, (%rax)
movb (%rcx), %sil
andb $-0x8, %sil
incb %sil
jmp 0xfcc8
cmpl %r8d, %r9d
jge 0xfcbc
addl %r8d, %esi
movl %esi, (%rax)
movb (%rcx), %sil
andb $-0x8, %sil
orb $0x2, %sil
jmp 0xfcc8
movq %r12, 0x30(%rsp)
movq 0x28(%rsp), %r15
movslq %r15d, %rax
movq (%r13,%rax,8), %r13
movq %r11, %rbp
movq 0xb0(%rsp), %r11
jmp 0xfda8
addl %r9d, %esi
movl %esi, (%rax)
movb (%rcx), %sil
andb $-0x8, %sil
movb %sil, (%rcx)
leaq (%rdx,%rdx,2), %rdx
movq 0x10(%rsp), %rdi
leaq (%rdi,%rdx,4), %rdx
movl (%rdx), %edi
movl 0x4(%rdx), %r8d
subl %r14d, %edi
andb $-0x19, %sil
cmpl $0x0, (%rsp)
js 0xfd00
cmpl %r8d, %edi
jle 0xfd12
movb %sil, (%rcx)
movl (%rdx), %edx
movq (%rsp), %rsi
addl %r14d, %esi
subl %esi, %edx
jmp 0xfd1f
cmpl %r8d, %edi
jle 0xfd61
movb %sil, (%rcx)
movl (%rdx), %edx
subl %r15d, %edx
subl %r14d, %edx
jmp 0xfd6e
orb $0x8, %sil
movb %sil, (%rcx)
movl 0x4(%rdx), %edx
subl (%rsp), %edx
movq 0x28(%rsp), %r15
movl %edx, 0x4(%rax)
movl -0xc(%rax), %esi
subl %r14d, %esi
movb (%rcx), %dl
andb $-0x61, %dl
cmpl -0x4(%rax), %esi
jle 0xfd47
movb %dl, (%rcx)
movl -0xc(%rax), %ecx
movq (%rsp), %rdx
addl %r14d, %edx
subl %edx, %ecx
jmp 0xfd52
orb $0x40, %dl
movb %dl, (%rcx)
movl -0x4(%rax), %ecx
subl (%rsp), %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x30(%rsp)
jmp 0xfda8
orb $0x8, %sil
movb %sil, (%rcx)
movl 0x4(%rdx), %edx
subl %r15d, %edx
movl %edx, 0x4(%rax)
movl -0xc(%rax), %esi
subl %r14d, %esi
movb (%rcx), %dl
andb $-0x61, %dl
cmpl -0x4(%rax), %esi
jle 0xfd8b
movb %dl, (%rcx)
movl -0xc(%rax), %ecx
addl %r14d, %r15d
jmp 0xfd93
orb $0x40, %dl
movb %dl, (%rcx)
movl -0x4(%rax), %ecx
subl %r15d, %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x28(%rsp), %r15
movq %rbp, 0x8(%rsp)
movq 0x78(%rsp), %r12
leaq (%r12,%r12,2), %rbx
movq 0x8(%rsp), %rax
movl (%rax,%rbx,4), %ebp
movl %ebp, (%r11)
movq 0x68(%rsp), %r14
leal (%r14,%r15), %eax
addl $0x2, %eax
cltq
shlq $0x2, %rax
leaq (%rax,%rax,2), %rdi
callq 0x31d0
movb (%r13,%r12), %cl
movl %ecx, %edx
andb $0x7, %dl
movzbl %dl, %edx
movl %ecx, %esi
shrb $0x3, %sil
andb $0x3, %sil
movq 0x8(%rsp), %rdi
movl 0x4(%rdi,%rbx,4), %edi
xorl %r8d, %r8d
cmpl %ebp, %edi
cmovgl %edi, %ebp
movzbl %sil, %edi
setg %r8b
cmovlel %edx, %edi
shrb $0x5, %cl
andb $0x3, %cl
movq 0x8(%rsp), %rdx
cmpl %ebp, 0x8(%rdx,%rbx,4)
movq %rax, %r13
movzbl %cl, %esi
cmovlel %edi, %esi
movl $0x2, %eax
cmovlel %r8d, %eax
movb %al, 0x8(%r13)
movl %r14d, (%r13)
movl %r15d, 0x4(%r13)
movl $0xc, %ecx
movl %r15d, %edx
movl %eax, %edi
movl %esi, %eax
cmpb $0x2, %dil
je 0xfe62
movzbl %dil, %esi
cmpl $0x1, %esi
je 0xfe5e
testl %esi, %esi
jne 0xfe65
decl %r14d
decl %edx
jmp 0xfe65
decl %r14d
movslq %edx, %rsi
movq 0x70(%rsp), %rdi
movq (%rdi,%rsi,8), %rdi
movslq %r14d, %r8
cmpb $0x2, %al
je 0xfe9d
movzbl %al, %r9d
cmpl $0x1, %r9d
je 0xfe93
movl %eax, %esi
testl %r9d, %r9d
jne 0xfea9
movb (%rdi,%r8), %sil
andb $0x7, %sil
jmp 0xfea9
movb (%rdi,%r8), %sil
shrb $0x3, %sil
jmp 0xfea5
movb (%rdi,%r8), %sil
shrb $0x5, %sil
andb $0x3, %sil
movb %al, 0x8(%r13,%rcx)
movl %r14d, (%r13,%rcx)
movl %edx, 0x4(%r13,%rcx)
addq $0xc, %rcx
movl %r14d, %edi
orl %edx, %edi
jne 0xfe44
sarq $0x2, %rcx
movabsq $-0x5555555555555555, %rbx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rbx
movl %ebx, %r14d
decl %r14d
je 0xff93
movl $0x1, %eax
cmpl $0x2, %r14d
jl 0xff15
movl %r14d, %ecx
movb 0x8(%r13), %sil
decq %rcx
leaq 0x14(%r13), %rdx
movb (%rdx), %dil
xorl %r8d, %r8d
cmpb %dil, %sil
setne %r8b
addl %r8d, %eax
addq $0xc, %rdx
movl %edi, %esi
decq %rcx
jne 0xfefa
movq 0x100(%rsp), %rcx
movl %eax, (%rcx)
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3530
movq %rax, %rbp
movslq %r14d, %rax
leaq (%rax,%rax,2), %rax
movzbl -0x4(%r13,%rax,4), %eax
movl %eax, %ecx
orl $0x10, %ecx
movl %ecx, (%rbp)
cmpl $0x2, %r14d
movq 0x30(%rsp), %r12
jl 0xffa8
addl $-0x3, %ebx
leaq (%rbx,%rbx,2), %rcx
incq %rbx
leaq 0x8(,%rcx,4), %rcx
addq %r13, %rcx
xorl %edx, %edx
movb (%rcx), %sil
movslq %edx, %rdi
cmpb %al, %sil
jne 0xff78
addl $0x10, (%rbp,%rdi,4)
jmp 0xff88
movzbl %sil, %eax
orl $0x10, %eax
leal 0x1(%rdi), %edx
movl %eax, 0x4(%rbp,%rdi,4)
movl %esi, %eax
addq $-0xc, %rcx
decq %rbx
jg 0xff66
jmp 0xffa8
movq 0x100(%rsp), %rax
movl $0x0, (%rax)
xorl %ebp, %ebp
movq 0x30(%rsp), %r12
movq %r13, %rdi
callq 0x32c0
movl 0x3c(%rsp), %eax
cmpl %r15d, %eax
movq 0x70(%rsp), %r14
jge 0xfff6
movslq %eax, %rcx
movq 0x20(%rsp), %rsi
movslq %esi, %rdx
leaq (%r14,%rcx,8), %rax
addq $0x8, %rax
negq %rdx
addq %rdx, %rcx
incq %rcx
movl %r15d, %edx
subl %esi, %edx
xorl %esi, %esi
movq (%rax,%rsi,8), %rdi
addq %rcx, %rdi
addq %rsi, %rdi
movq %rdi, (%rax,%rsi,8)
incq %rsi
cmpl %esi, %edx
jne 0xffe1
testl %r15d, %r15d
movq 0xb8(%rsp), %r15
js 0x10016
xorl %ebx, %ebx
movq (%r14,%rbx,8), %rdi
callq 0x32c0
incq %rbx
cmpq %rbx, %r15
jne 0x10005
movq %r14, %rdi
callq 0x32c0
movq %r12, %rdi
callq 0x32c0
movq 0x8(%rsp), %rdi
callq 0x32c0
movq %rbp, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)