// File: /workspace/github_c_makefile_star2_O3/aerospike[P]aerospike-common/src/main/aerospike/crypt_blowfish.c
// Function: BF_crypt
static char *BF_crypt(const char *key, const char *setting,
	char *output, int size,
	BF_word min)
{
#if BF_ASM
	extern void _BF_body_r(BF_ctx *ctx);
#endif
	static const unsigned char flags_by_subtype[26] =
		{2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 0};
	struct {
		BF_ctx ctx;
		BF_key expanded_key;
		union {
			BF_word salt[4];
			BF_word output[6];
		} binary;
	} data;
	BF_word L, R;
	BF_word tmp1, tmp2, tmp3, tmp4;
	BF_word *ptr;
	BF_word count;
	int i;

	if (size < 7 + 22 + 31 + 1) {
		__set_errno(ERANGE);
		return NULL;
	}

	if (setting[0] != '$' ||
	    setting[1] != '2' ||
	    setting[2] < 'a' || setting[2] > 'z' ||
	    !flags_by_subtype[(unsigned int)(unsigned char)setting[2] - 'a'] ||
	    setting[3] != '$' ||
	    setting[4] < '0' || setting[4] > '3' ||
	    setting[5] < '0' || setting[5] > '9' ||
	    (setting[4] == '3' && setting[5] > '1') ||
	    setting[6] != '$') {
		__set_errno(EINVAL);
		return NULL;
	}

	count = (BF_word)1 << ((setting[4] - '0') * 10 + (setting[5] - '0'));
	if (count < min || BF_decode(data.binary.salt, &setting[7], 16)) {
		__set_errno(EINVAL);
		return NULL;
	}
	BF_swap(data.binary.salt, 4);

	BF_set_key(key, data.expanded_key, data.ctx.P,
	    flags_by_subtype[(unsigned int)(unsigned char)setting[2] - 'a']);

	memcpy(data.ctx.S, BF_init_state.S, sizeof(data.ctx.S));

	L = R = 0;
	for (i = 0; i < BF_N + 2; i += 2) {
		L ^= data.binary.salt[i & 2];
		R ^= data.binary.salt[(i & 2) + 1];
		BF_ENCRYPT;
		data.ctx.P[i] = L;
		data.ctx.P[i + 1] = R;
	}

	ptr = data.ctx.S[0];
	do {
		ptr += 4;
		L ^= data.binary.salt[(BF_N + 2) & 3];
		R ^= data.binary.salt[(BF_N + 3) & 3];
		BF_ENCRYPT;
		*(ptr - 4) = L;
		*(ptr - 3) = R;

		L ^= data.binary.salt[(BF_N + 4) & 3];
		R ^= data.binary.salt[(BF_N + 5) & 3];
		BF_ENCRYPT;
		*(ptr - 2) = L;
		*(ptr - 1) = R;
	} while (ptr < &data.ctx.S[3][0xFF]);

	do {
		int done;

		for (i = 0; i < BF_N + 2; i += 2) {
			data.ctx.P[i] ^= data.expanded_key[i];
			data.ctx.P[i + 1] ^= data.expanded_key[i + 1];
		}

		done = 0;
		do {
			BF_body();
			if (done)
				break;
			done = 1;

			tmp1 = data.binary.salt[0];
			tmp2 = data.binary.salt[1];
			tmp3 = data.binary.salt[2];
			tmp4 = data.binary.salt[3];
			for (i = 0; i < BF_N; i += 4) {
				data.ctx.P[i] ^= tmp1;
				data.ctx.P[i + 1] ^= tmp2;
				data.ctx.P[i + 2] ^= tmp3;
				data.ctx.P[i + 3] ^= tmp4;
			}
			data.ctx.P[16] ^= tmp1;
			data.ctx.P[17] ^= tmp2;
		} while (1);
	} while (--count);

	for (i = 0; i < 6; i += 2) {
		L = BF_magic_w[i];
		R = BF_magic_w[i + 1];

		count = 64;
		do {
			BF_ENCRYPT;
		} while (--count);

		data.binary.output[i] = L;
		data.binary.output[i + 1] = R;
	}

	memcpy(output, setting, 7 + 22 - 1);
	output[7 + 22 - 1] = BF_itoa64[(int)
		BF_atoi64[(int)setting[7 + 22 - 1] - 0x20] & 0x30];

/* This has to be bug-compatible with the original implementation, so
 * only encode 23 of the 24 bytes. :-) */
	BF_swap(data.binary.output, 6);
	BF_encode(&output[7 + 22], data.binary.output, 23);
	output[7 + 22 + 31] = '\0';

	return output;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10f8, %rsp           # imm = 0x10F8
cmpl $0x3c, %ecx
jg 0x1174c
callq 0x8150
movl $0x22, (%rax)
jmp 0x117f4
cmpb $0x24, (%rsi)
movq %rsi, %r14
jne 0x117e9
cmpb $0x32, 0x1(%r14)
jne 0x117e9
movzbl 0x2(%r14), %r15d
leal -0x7b(%r15), %eax
cmpb $-0x1a, %al
jb 0x117e9
addl $-0x61, %r15d
movl $0x27ffffe, %eax        # imm = 0x27FFFFE
btq %r15, %rax
jb 0x117e9
cmpb $0x24, 0x3(%r14)
jne 0x117e9
movzbl 0x4(%r14), %eax
leal -0x34(%rax), %ecx
cmpb $-0x4, %cl
jb 0x117e9
movzbl 0x5(%r14), %ecx
movq %rdx, %rbx
leal -0x3a(%rcx), %edx
cmpb $-0xa, %dl
jb 0x117e9
cmpl $0x33, %eax
sete %dl
cmpb $0x32, %cl
setae %sil
testb %sil, %dl
jne 0x117e9
cmpb $0x24, 0x6(%r14)
jne 0x117e9
leal (%rax,%rax,4), %eax
movl $0x1, %ebp
leal (%rcx,%rax,2), %ecx
addb $-0x10, %cl
shll %cl, %ebp
cmpl %r8d, %ebp
jb 0x117e9
movq %rdi, %r12
leaq 0x10e0(%rsp), %rdi
leaq 0x7(%r14), %rsi
callq 0x1388a
testl %eax, %eax
je 0x1180b
callq 0x8150
movl $0x16, (%rax)
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x10f8, %rsp           # imm = 0x10F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1098(%rsp), %rsi
leaq 0x6c76(%rip), %rax      # 0x18490
pxor %xmm0, %xmm0
leaq 0x1050(%rsp), %rdx
movq %r12, %rdi
movdqu 0x48(%rsi), %xmm1
movzbl (%r15,%rax), %ecx
movdqa %xmm1, %xmm2
punpcklbw %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
punpckhbw %xmm0, %xmm2    # xmm2 = xmm2[8],xmm0[8],xmm2[9],xmm0[9],xmm2[10],xmm0[10],xmm2[11],xmm0[11],xmm2[12],xmm0[12],xmm2[13],xmm0[13],xmm2[14],xmm0[14],xmm2[15],xmm0[15]
pshuflw $0x1b, %xmm1, %xmm0     # xmm0 = xmm1[3,2,1,0,4,5,6,7]
pshuflw $0x1b, %xmm2, %xmm2     # xmm2 = xmm2[3,2,1,0,4,5,6,7]
pshufhw $0x1b, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,7,6,5,4]
pshufhw $0x1b, %xmm2, %xmm2     # xmm2 = xmm2[0,1,2,3,7,6,5,4]
packuswb %xmm2, %xmm0
movdqu %xmm0, 0x48(%rsi)
callq 0x13640
leaq 0x6c44(%rip), %rsi      # 0x184ac
leaq 0x50(%rsp), %rdi
movl $0x1000, %edx           # imm = 0x1000
callq 0x85c0
xorl %eax, %eax
movl $0xff, %ecx
movl $0x3fc, %edx            # imm = 0x3FC
xorl %edi, %edi
xorl %esi, %esi
movl %eax, %r8d
andl $0x2, %r8d
xorl 0x10e0(%rsp,%r8,4), %esi
xorl 0x10e4(%rsp,%r8,4), %edi
xorl 0x1050(%rsp), %esi
xorl 0x1054(%rsp), %edi
movl %esi, %r15d
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %r15d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r15,4), %r15d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r15d
xorl 0x850(%rsp,%r10,4), %r15d
addl 0xc50(%rsp,%r9,4), %r15d
xorl %r15d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1058(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x105c(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1060(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1064(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1068(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x106c(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1070(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1074(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1078(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x107c(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1080(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1084(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1088(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x108c(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
xorl 0x1094(%rsp), %esi
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1090(%rsp), %edi
movl %esi, 0x1050(%rsp,%rax,4)
xorl %r8d, %edi
cmpq $0x10, %rax
movl %edi, 0x1054(%rsp,%rax,4)
leaq 0x2(%rax), %rax
jb 0x11887
movq $-0x10, %rax
movl $0xff, %ecx
movl $0x3fc, %edx            # imm = 0x3FC
xorl 0x10e8(%rsp), %esi
xorl 0x10ec(%rsp), %edi
xorl 0x1050(%rsp), %esi
xorl 0x1054(%rsp), %edi
movl %esi, %r8d
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1058(%rsp), %edi
xorl %esi, %edi
movl %edi, %esi
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x105c(%rsp), %esi
xorl %r8d, %esi
movl %esi, %r8d
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1060(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1064(%rsp), %edi
xorl %esi, %edi
movl %edi, %esi
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1068(%rsp), %esi
xorl %r8d, %esi
movl %esi, %r8d
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x106c(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1070(%rsp), %edi
xorl %esi, %edi
movl %edi, %esi
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1074(%rsp), %esi
xorl %r8d, %esi
movl %esi, %r8d
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1078(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x107c(%rsp), %edi
xorl %esi, %edi
movl %edi, %esi
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1080(%rsp), %esi
xorl %r8d, %esi
movl %esi, %r8d
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1084(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1088(%rsp), %edi
xorl %esi, %edi
movl %edi, %r10d
movl %edi, %r11d
movl %edi, %r9d
movl %edi, %esi
shrl $0x18, %r10d
shrl $0xe, %r11d
shrl $0x8, %r9d
andl %ecx, %esi
movl 0x50(%rsp,%r10,4), %r10d
andl %edx, %r11d
andl %ecx, %r9d
addl 0x450(%rsp,%r11), %r10d
xorl 0x850(%rsp,%r9,4), %r10d
addl 0xc50(%rsp,%rsi,4), %r10d
xorl 0x108c(%rsp), %r10d
xorl %r8d, %r10d
movl %r10d, %r9d
movl %r10d, %r11d
movl %r10d, %r8d
movl %r10d, %esi
xorl 0x1094(%rsp), %r10d
shrl $0x18, %r9d
shrl $0xe, %r11d
shrl $0x8, %r8d
andl %ecx, %esi
movl 0x50(%rsp,%r9,4), %r9d
andl %edx, %r11d
andl %ecx, %r8d
addl 0x450(%rsp,%r11), %r9d
xorl 0x850(%rsp,%r8,4), %r9d
addl 0xc50(%rsp,%rsi,4), %r9d
xorl 0x1090(%rsp), %r9d
movl %r10d, 0x60(%rsp,%rax)
xorl %edi, %r9d
movl %r9d, 0x64(%rsp,%rax)
movl 0x10e0(%rsp), %r8d
movl 0x10e4(%rsp), %esi
xorl 0x1050(%rsp), %r8d
xorl 0x1054(%rsp), %esi
xorl %r10d, %r8d
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %edi
shrl $0x18, %r15d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %edi
movl 0x50(%rsp,%r15,4), %r15d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r15d
xorl 0x850(%rsp,%r10,4), %r15d
addl 0xc50(%rsp,%rdi,4), %r15d
xorl %r15d, %esi
xorl %r9d, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1058(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x105c(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1060(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1064(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1068(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x106c(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x1070(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1074(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %esi
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %r9d
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r10,4), %esi
addl 0xc50(%rsp,%r9,4), %esi
xorl 0x1078(%rsp), %esi
xorl %edi, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r10d
movl %esi, %r9d
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r10,4), %edi
addl 0xc50(%rsp,%r9,4), %edi
xorl 0x107c(%rsp), %edi
xorl %r8d, %edi
movl %edi, %r8d
movl %edi, %r11d
movl %edi, %r10d
movl %edi, %r9d
shrl $0x18, %r8d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r8d
xorl 0x850(%rsp,%r10,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1080(%rsp), %r8d
xorl %esi, %r8d
movl %r8d, %r9d
movl %r8d, %r11d
movl %r8d, %r10d
movl %r8d, %esi
shrl $0x18, %r9d
shrl $0xe, %r11d
shrl $0x8, %r10d
andl %ecx, %esi
movl 0x50(%rsp,%r9,4), %r9d
andl %edx, %r11d
andl %ecx, %r10d
addl 0x450(%rsp,%r11), %r9d
xorl 0x850(%rsp,%r10,4), %r9d
addl 0xc50(%rsp,%rsi,4), %r9d
xorl 0x1084(%rsp), %r9d
xorl %edi, %r9d
movl %r9d, %r10d
movl %r9d, %r11d
movl %r9d, %edi
movl %r9d, %esi
shrl $0x18, %r10d
shrl $0xe, %r11d
shrl $0x8, %edi
andl %ecx, %esi
movl 0x50(%rsp,%r10,4), %r10d
andl %edx, %r11d
andl %ecx, %edi
addl 0x450(%rsp,%r11), %r10d
xorl 0x850(%rsp,%rdi,4), %r10d
addl 0xc50(%rsp,%rsi,4), %r10d
xorl 0x1088(%rsp), %r10d
xorl %r8d, %r10d
movl %r10d, %esi
movl %r10d, %r11d
movl %r10d, %r8d
movl %r10d, %edi
shrl $0x18, %esi
shrl $0xe, %r11d
shrl $0x8, %r8d
andl %ecx, %edi
movl 0x50(%rsp,%rsi,4), %esi
andl %edx, %r11d
andl %ecx, %r8d
addl 0x450(%rsp,%r11), %esi
xorl 0x850(%rsp,%r8,4), %esi
addl 0xc50(%rsp,%rdi,4), %esi
xorl 0x108c(%rsp), %esi
xorl %r9d, %esi
movl %esi, %edi
movl %esi, %r11d
movl %esi, %r9d
movl %esi, %r8d
xorl 0x1094(%rsp), %esi
shrl $0x18, %edi
shrl $0xe, %r11d
shrl $0x8, %r9d
andl %ecx, %r8d
movl 0x50(%rsp,%rdi,4), %edi
andl %edx, %r11d
andl %ecx, %r9d
addl 0x450(%rsp,%r11), %edi
xorl 0x850(%rsp,%r9,4), %edi
addl 0xc50(%rsp,%r8,4), %edi
xorl 0x1090(%rsp), %edi
movl %esi, 0x68(%rsp,%rax)
xorl %r10d, %edi
movl %edi, 0x6c(%rsp,%rax)
addq $0x10, %rax
cmpq $0xfec, %rax            # imm = 0xFEC
jb 0x11d40
movl $0xff, %eax
movl $0x3fc, %ecx            # imm = 0x3FC
movq $-0x2, %rdx
movq 0x10a0(%rsp,%rdx,4), %rsi
xorq %rsi, 0x1058(%rsp,%rdx,4)
addq $0x2, %rdx
cmpq $0x10, %rdx
jb 0x12681
movb $0x1, %dl
xorl %edi, %edi
movl $0xff8, %esi            # imm = 0xFF8
xorl %r8d, %r8d
xorl 0x1050(%rsp), %edi
xorl 0x1054(%rsp), %r8d
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x1058(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x105c(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x1060(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x1064(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x1068(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x106c(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x1070(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x1074(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x1078(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x107c(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x1080(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x1084(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r10d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r8d
shrl $0x18, %r10d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r8d
movl 0x50(%rsp,%r10,4), %r10d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r10d
xorl 0x850(%rsp,%r11,4), %r10d
addl 0xc50(%rsp,%r8,4), %r10d
xorl 0x1088(%rsp), %r10d
xorl %edi, %r10d
movl %r10d, %edi
movl %r10d, %r15d
movl %r10d, %r11d
movl %r10d, %r8d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r8d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r8,4), %edi
xorl 0x108c(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r8d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r9d
xorl 0x1094(%rsp), %edi
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1090(%rsp), %r8d
movl %edi, 0x58(%rsp,%rsi)
xorl %r10d, %r8d
movl %r8d, 0x5c(%rsp,%rsi)
addq $0x8, %rsi
cmpq $0x1040, %rsi           # imm = 0x1040
jb 0x126a7
movq $-0x8, %rsi
xorl 0x1050(%rsp), %edi
xorl 0x1054(%rsp), %r8d
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x1058(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x105c(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x1060(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x1064(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x1068(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x106c(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x1070(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x1074(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x1078(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r8d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r10d
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r10,4), %r8d
xorl 0x107c(%rsp), %r8d
xorl %edi, %r8d
movl %r8d, %edi
movl %r8d, %r15d
movl %r8d, %r11d
movl %r8d, %r10d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r10,4), %edi
xorl 0x1080(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r9d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r10d
shrl $0x18, %r9d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r10d
movl 0x50(%rsp,%r9,4), %r9d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r9d
xorl 0x850(%rsp,%r11,4), %r9d
addl 0xc50(%rsp,%r10,4), %r9d
xorl 0x1084(%rsp), %r9d
xorl %r8d, %r9d
movl %r9d, %r10d
movl %r9d, %r15d
movl %r9d, %r11d
movl %r9d, %r8d
shrl $0x18, %r10d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r8d
movl 0x50(%rsp,%r10,4), %r10d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r10d
xorl 0x850(%rsp,%r11,4), %r10d
addl 0xc50(%rsp,%r8,4), %r10d
xorl 0x1088(%rsp), %r10d
xorl %edi, %r10d
movl %r10d, %edi
movl %r10d, %r15d
movl %r10d, %r11d
movl %r10d, %r8d
shrl $0x18, %edi
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r8d
movl 0x50(%rsp,%rdi,4), %edi
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %edi
xorl 0x850(%rsp,%r11,4), %edi
addl 0xc50(%rsp,%r8,4), %edi
xorl 0x108c(%rsp), %edi
xorl %r9d, %edi
movl %edi, %r8d
movl %edi, %r15d
movl %edi, %r11d
movl %edi, %r9d
xorl 0x1094(%rsp), %edi
shrl $0x18, %r8d
shrl $0xe, %r15d
shrl $0x8, %r11d
andl %eax, %r9d
movl 0x50(%rsp,%r8,4), %r8d
andl %ecx, %r15d
andl %eax, %r11d
addl 0x450(%rsp,%r15), %r8d
xorl 0x850(%rsp,%r11,4), %r8d
addl 0xc50(%rsp,%r9,4), %r8d
xorl 0x1090(%rsp), %r8d
movl %edi, 0x58(%rsp,%rsi)
xorl %r10d, %r8d
movl %r8d, 0x5c(%rsp,%rsi)
addq $0x8, %rsi
cmpq $0xff4, %rsi            # imm = 0xFF4
jb 0x12b57
testb $0x1, %dl
je 0x13063
movq 0x10e0(%rsp), %xmm0
movdqu 0x10e8(%rsp), %xmm2
movq $-0x4, %rdx
movdqa %xmm0, %xmm1
punpcklqdq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0]
movdqu 0x1060(%rsp,%rdx,4), %xmm2
pxor %xmm1, %xmm2
movdqu %xmm2, 0x1060(%rsp,%rdx,4)
addq $0x4, %rdx
cmpq $0xc, %rdx
jb 0x13026
movq 0x1090(%rsp), %xmm1
xorl %edx, %edx
pxor %xmm0, %xmm1
movq %xmm1, 0x1090(%rsp)
jmp 0x1269d
decl %ebp
jne 0x1267a
movl 0x1058(%rsp), %eax
movl 0x1050(%rsp), %ecx
movl 0x1054(%rsp), %edx
movl 0x1090(%rsp), %esi
movl $0xff, %r8d
movl $0x3fc, %r9d            # imm = 0x3FC
movl %eax, 0x3c(%rsp)
movl 0x105c(%rsp), %eax
movl %eax, 0x38(%rsp)
movl 0x1060(%rsp), %eax
movl %eax, 0x34(%rsp)
movl 0x1064(%rsp), %eax
movl %eax, 0x30(%rsp)
movl 0x1068(%rsp), %eax
movl %eax, 0x2c(%rsp)
movl 0x106c(%rsp), %eax
movl %eax, 0x28(%rsp)
movl 0x1070(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x1074(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x1078(%rsp), %eax
movl %eax, 0x1c(%rsp)
movl 0x107c(%rsp), %eax
movl %eax, 0x18(%rsp)
movl 0x1080(%rsp), %eax
movl %eax, 0x14(%rsp)
movl 0x1084(%rsp), %eax
movl %eax, 0x10(%rsp)
movl 0x1088(%rsp), %eax
movl %eax, 0xc(%rsp)
movl 0x108c(%rsp), %eax
movl %eax, 0x8(%rsp)
movl 0x1094(%rsp), %eax
movl %eax, 0x4(%rsp)
xorl %eax, %eax
movl 0x4(%rsp), %r11d
leaq 0x63c1(%rip), %r10      # 0x19500
movq %rax, 0x48(%rsp)
movl (%r10,%rax,4), %edi
movl 0x4(%r10,%rax,4), %r12d
orq $0x1, %rax
movl $0xffffffc0, %r10d      # imm = 0xFFFFFFC0
movq %rax, 0x40(%rsp)
xorl %ecx, %edi
xorl %edx, %r12d
movl %edi, %ebp
movl %edi, %eax
movl %edi, %r15d
movl %edi, %r13d
xorl 0x3c(%rsp), %edi
shrl $0x18, %ebp
shrl $0xe, %eax
shrl $0x8, %r15d
andl %r8d, %r13d
movl 0x50(%rsp,%rbp,4), %ebp
andl %r9d, %eax
andl %r8d, %r15d
addl 0x450(%rsp,%rax), %ebp
xorl 0x850(%rsp,%r15,4), %ebp
addl 0xc50(%rsp,%r13,4), %ebp
xorl %r12d, %ebp
movl %ebp, %r13d
movl %ebp, %r12d
movl %ebp, %r15d
movl %ebp, %eax
xorl 0x38(%rsp), %ebp
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %edi
movl %edi, %r13d
movl %edi, %r12d
movl %edi, %r15d
movl %edi, %eax
xorl 0x34(%rsp), %edi
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %ebp
movl %ebp, %r13d
movl %ebp, %r12d
movl %ebp, %r15d
movl %ebp, %eax
xorl 0x30(%rsp), %ebp
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %edi
movl %edi, %r13d
movl %edi, %r12d
movl %edi, %r15d
movl %edi, %eax
xorl 0x2c(%rsp), %edi
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %ebp
movl %ebp, %r13d
movl %ebp, %r12d
movl %ebp, %r15d
movl %ebp, %eax
xorl 0x28(%rsp), %ebp
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %edi
movl %edi, %r13d
movl %edi, %r12d
movl %edi, %r15d
movl %edi, %eax
xorl 0x24(%rsp), %edi
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %ebp
movl %ebp, %r13d
movl %ebp, %r12d
movl %ebp, %r15d
movl %ebp, %eax
xorl 0x20(%rsp), %ebp
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %edi
movl %edi, %r13d
movl %edi, %r12d
movl %edi, %r15d
movl %edi, %eax
xorl 0x1c(%rsp), %edi
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %ebp
movl %ebp, %r13d
movl %ebp, %r12d
movl %ebp, %r15d
movl %ebp, %eax
xorl 0x18(%rsp), %ebp
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %edi
movl %edi, %r13d
movl %edi, %r12d
movl %edi, %r15d
movl %edi, %eax
xorl 0x14(%rsp), %edi
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %ebp
movl %ebp, %r13d
movl %ebp, %r12d
movl %ebp, %r15d
movl %ebp, %eax
xorl 0x10(%rsp), %ebp
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %edi
movl %edi, %r13d
movl %edi, %r12d
movl %edi, %r15d
movl %edi, %eax
xorl 0xc(%rsp), %edi
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %ebp
movl %ebp, %r13d
movl %ebp, %r12d
movl %ebp, %r15d
movl %ebp, %eax
xorl 0x8(%rsp), %ebp
shrl $0x18, %r13d
shrl $0xe, %r12d
shrl $0x8, %r15d
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r12d
andl %r8d, %r15d
addl 0x450(%rsp,%r12), %r13d
movl %edi, %r12d
xorl 0x850(%rsp,%r15,4), %r13d
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %r12d
movl %r12d, %r13d
movl %r12d, %r15d
movl %r12d, %edi
movl %r12d, %eax
xorl %esi, %r12d
shrl $0x18, %r13d
shrl $0xe, %r15d
shrl $0x8, %edi
andl %r8d, %eax
movl 0x50(%rsp,%r13,4), %r13d
andl %r9d, %r15d
andl %r8d, %edi
addl 0x450(%rsp,%r15), %r13d
xorl 0x850(%rsp,%rdi,4), %r13d
movl %r11d, %edi
addl 0xc50(%rsp,%rax,4), %r13d
xorl %r13d, %ebp
movl %ebp, %eax
movl %ebp, %r15d
movl %ebp, %r13d
xorl %ebp, %edi
shrl $0x18, %ebp
movl 0x50(%rsp,%rbp,4), %ebp
shrl $0xe, %r13d
shrl $0x8, %r15d
andl %r8d, %eax
andl %r9d, %r13d
andl %r8d, %r15d
addl 0x450(%rsp,%r13), %ebp
xorl 0x850(%rsp,%r15,4), %ebp
addl 0xc50(%rsp,%rax,4), %ebp
xorl %ebp, %r12d
incl %r10d
jne 0x1315c
movq 0x48(%rsp), %rax
movl %edi, 0x10e0(%rsp,%rax,4)
movq 0x40(%rsp), %rdi
cmpq $0x4, %rax
leaq 0x2(%rax), %rax
movl %r12d, 0x10e0(%rsp,%rdi,4)
jb 0x13138
movl 0x18(%r14), %eax
movl %eax, 0x18(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq (%r14), %rax
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%rbx)
leaq 0x5f33(%rip), %rcx      # 0x19520
movsbq 0x1c(%r14), %rax
movzbl -0x20(%rax,%rcx), %eax
leaq 0x5f82(%rip), %rcx      # 0x19580
andl $0x30, %eax
movb (%rax,%rcx), %al
movb %al, 0x1c(%rbx)
xorl %eax, %eax
movl 0x10e0(%rsp,%rax,4), %ecx
bswapl %ecx
movl %ecx, 0x10e0(%rsp,%rax,4)
incq %rax
cmpl $0x6, %eax
jne 0x13609
leaq 0x1d(%rbx), %rdi
leaq 0x10e0(%rsp), %rsi
movl $0x17, %edx
callq 0x137fc
movb $0x0, 0x3c(%rbx)
jmp 0x117f6