// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/aes128n8t8clocv2/ref/aes_core.c
// Function: AES_encrypt
void AES_encrypt(const unsigned char *in, unsigned char *out,
		 const AES_KEY *key) {
#ifdef _PRINT
	printf("AES  input: ");
	print_state(in);
#endif

	const u32 *rk;
	u32 s0, s1, s2, s3, t0, t1, t2, t3;
#ifndef FULL_UNROLL
	int r;
#endif /* ?FULL_UNROLL */

	if(!(in && out && key)){
		return;
	}
	rk = (u32*) key->rd_key;

	/*
	 * map byte array block to cipher state
	 * and add initial round key:
	 */
	s0 = GETU32(in     ) ^ rk[0];
	s1 = GETU32(in +  4) ^ rk[1];
	s2 = GETU32(in +  8) ^ rk[2];
	s3 = GETU32(in + 12) ^ rk[3];
#ifdef FULL_UNROLL
	/* round 1: */
   	t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >>  8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4];
   	t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >>  8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5];
   	t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >>  8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6];
   	t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >>  8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7];
   	/* round 2: */
   	s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >>  8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[ 8];
   	s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >>  8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9];
   	s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >>  8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10];
   	s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >>  8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11];
	/* round 3: */
   	t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >>  8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12];
   	t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >>  8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13];
   	t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >>  8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14];
   	t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >>  8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[15];
   	/* round 4: */
   	s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >>  8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[16];
   	s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >>  8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[17];
   	s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >>  8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[18];
   	s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >>  8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[19];
	/* round 5: */
   	t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >>  8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[20];
   	t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >>  8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[21];
   	t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >>  8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[22];
   	t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >>  8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[23];
   	/* round 6: */
   	s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >>  8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[24];
   	s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >>  8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[25];
   	s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >>  8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[26];
   	s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >>  8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[27];
	/* round 7: */
   	t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >>  8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[28];
   	t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >>  8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[29];
   	t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >>  8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[30];
   	t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >>  8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[31];
   	/* round 8: */
   	s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >>  8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[32];
   	s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >>  8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[33];
   	s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >>  8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[34];
   	s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >>  8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[35];
	/* round 9: */
   	t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >>  8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[36];
   	t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >>  8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[37];
   	t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >>  8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[38];
   	t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >>  8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[39];
    if (key->rounds > 10) {
        /* round 10: */
        s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >>  8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[40];
        s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >>  8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[41];
        s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >>  8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[42];
        s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >>  8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[43];
        /* round 11: */
        t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >>  8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[44];
        t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >>  8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[45];
        t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >>  8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[46];
        t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >>  8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[47];
        if (key->rounds > 12) {
            /* round 12: */
            s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >>  8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[48];
            s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >>  8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[49];
            s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >>  8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[50];
            s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >>  8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[51];
            /* round 13: */
            t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >>  8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[52];
            t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >>  8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[53];
            t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >>  8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[54];
            t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >>  8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[55];
        }
    }
    rk += key->rounds << 2;
#else  /* !FULL_UNROLL */
    /*
     * Nr - 1 full rounds:
     */
    r = key->rounds >> 1;
    for (;;) {
        t0 =
            Te0[(s0 >> 24)       ] ^
            Te1[(s1 >> 16) & 0xff] ^
            Te2[(s2 >>  8) & 0xff] ^
            Te3[(s3      ) & 0xff] ^
            rk[4];
        t1 =
            Te0[(s1 >> 24)       ] ^
            Te1[(s2 >> 16) & 0xff] ^
            Te2[(s3 >>  8) & 0xff] ^
            Te3[(s0      ) & 0xff] ^
            rk[5];
        t2 =
            Te0[(s2 >> 24)       ] ^
            Te1[(s3 >> 16) & 0xff] ^
            Te2[(s0 >>  8) & 0xff] ^
            Te3[(s1      ) & 0xff] ^
            rk[6];
        t3 =
            Te0[(s3 >> 24)       ] ^
            Te1[(s0 >> 16) & 0xff] ^
            Te2[(s1 >>  8) & 0xff] ^
            Te3[(s2      ) & 0xff] ^
            rk[7];

        rk += 8;
        if (--r == 0) {
            break;
        }

        s0 =
            Te0[(t0 >> 24)       ] ^
            Te1[(t1 >> 16) & 0xff] ^
            Te2[(t2 >>  8) & 0xff] ^
            Te3[(t3      ) & 0xff] ^
            rk[0];
        s1 =
            Te0[(t1 >> 24)       ] ^
            Te1[(t2 >> 16) & 0xff] ^
            Te2[(t3 >>  8) & 0xff] ^
            Te3[(t0      ) & 0xff] ^
            rk[1];
        s2 =
            Te0[(t2 >> 24)       ] ^
            Te1[(t3 >> 16) & 0xff] ^
            Te2[(t0 >>  8) & 0xff] ^
            Te3[(t1      ) & 0xff] ^
            rk[2];
        s3 =
            Te0[(t3 >> 24)       ] ^
            Te1[(t0 >> 16) & 0xff] ^
            Te2[(t1 >>  8) & 0xff] ^
            Te3[(t2      ) & 0xff] ^
            rk[3];
    }
#endif /* ?FULL_UNROLL */
    /*
	 * apply last round and
	 * map cipher state to byte array block:
	 */
	s0 =
		(Te4[(t0 >> 24)       ] & 0xff000000) ^
		(Te4[(t1 >> 16) & 0xff] & 0x00ff0000) ^
		(Te4[(t2 >>  8) & 0xff] & 0x0000ff00) ^
		(Te4[(t3      ) & 0xff] & 0x000000ff) ^
		rk[0];
	PUTU32(out     , s0);
	s1 =
		(Te4[(t1 >> 24)       ] & 0xff000000) ^
		(Te4[(t2 >> 16) & 0xff] & 0x00ff0000) ^
		(Te4[(t3 >>  8) & 0xff] & 0x0000ff00) ^
		(Te4[(t0      ) & 0xff] & 0x000000ff) ^
		rk[1];
	PUTU32(out +  4, s1);
	s2 =
		(Te4[(t2 >> 24)       ] & 0xff000000) ^
		(Te4[(t3 >> 16) & 0xff] & 0x00ff0000) ^
		(Te4[(t0 >>  8) & 0xff] & 0x0000ff00) ^
		(Te4[(t1      ) & 0xff] & 0x000000ff) ^
		rk[2];
	PUTU32(out +  8, s2);
	s3 =
		(Te4[(t3 >> 24)       ] & 0xff000000) ^
		(Te4[(t0 >> 16) & 0xff] & 0x00ff0000) ^
		(Te4[(t1 >>  8) & 0xff] & 0x0000ff00) ^
		(Te4[(t2      ) & 0xff] & 0x000000ff) ^
		rk[3];
	PUTU32(out + 12, s3);

#ifdef _PRINT
	printf("AES output: ");
	print_state(out);
#endif
}

// Assembly:
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
testq %rdx, %rdx
sete %al
orb %cl, %al
jne 0x23cf
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, -0x8(%rsp)
movbel (%rdi), %r14d
xorl (%rdx), %r14d
movbel 0x4(%rdi), %esi
xorl 0x4(%rdx), %esi
movbel 0x8(%rdi), %ecx
xorl 0x8(%rdx), %ecx
movbel 0xc(%rdi), %edi
xorl 0xc(%rdx), %edi
movl %r14d, %eax
shrl $0x18, %eax
leaq 0x3ca6(%rip), %r10      # 0x5430
movl %esi, %r9d
shrl $0xe, %r9d
movl $0x3fc, %r8d            # imm = 0x3FC
andl %r8d, %r9d
movl $0x3fc, %r13d           # imm = 0x3FC
leaq 0x4089(%rip), %r8       # 0x5830
movl (%r9,%r8), %r11d
movq %r8, %r12
xorl (%r10,%rax,4), %r11d
movq %r10, %r8
movl %ecx, %r10d
shrl $0x8, %r10d
movl $0xff, %eax
andl %eax, %r10d
leaq 0x4465(%rip), %r9       # 0x5c30
xorl (%r9,%r10,4), %r11d
movl %edi, %ebx
andl %eax, %ebx
leaq 0x4856(%rip), %r10      # 0x6030
xorl (%r10,%rbx,4), %r11d
xorl 0x10(%rdx), %r11d
movl %esi, %r15d
shrl $0x18, %r15d
movl %ecx, %ebx
shrl $0xe, %ebx
andl %r13d, %ebx
movl (%rbx,%r12), %ebx
movq %r12, %rbp
xorl (%r8,%r15,4), %ebx
movl %edi, %r15d
shrl $0x8, %r15d
andl %eax, %r15d
xorl (%r9,%r15,4), %ebx
movl %r14d, %r15d
andl %eax, %r15d
xorl (%r10,%r15,4), %ebx
xorl 0x14(%rdx), %ebx
movl %ecx, %r12d
shrl $0x18, %r12d
movl %edi, %r15d
shrl $0xe, %r15d
andl %r13d, %r15d
movl (%r15,%rbp), %r15d
xorl (%r8,%r12,4), %r15d
movl %r14d, %r12d
shrl $0x8, %r12d
andl %eax, %r12d
xorl (%r9,%r12,4), %r15d
movl %esi, %r12d
andl %eax, %r12d
xorl (%r10,%r12,4), %r15d
xorl 0x18(%rdx), %r15d
shrl $0x18, %edi
shrl $0xe, %r14d
movl $0x3fc, %r12d           # imm = 0x3FC
andl %r12d, %r14d
movl (%r14,%rbp), %r13d
xorl (%r8,%rdi,4), %r13d
shrl $0x8, %esi
andl %eax, %esi
xorl (%r9,%rsi,4), %r13d
andl %eax, %ecx
xorl (%r10,%rcx,4), %r13d
xorl 0x1c(%rdx), %r13d
movl %r11d, %ecx
shrl $0x18, %ecx
movl %ebx, %esi
shrl $0xe, %esi
andl %r12d, %esi
movl $0x3fc, %r14d           # imm = 0x3FC
movl (%rsi,%rbp), %esi
xorl (%r8,%rcx,4), %esi
movl %r15d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %esi
movl %r13d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %esi
xorl 0x20(%rdx), %esi
movl %ebx, %ecx
shrl $0x18, %ecx
movl %r15d, %edi
shrl $0xe, %edi
andl %r14d, %edi
movl (%rdi,%rbp), %r14d
xorl (%r8,%rcx,4), %r14d
movl %r13d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %r14d
movl %r11d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r14d
xorl 0x24(%rdx), %r14d
movl %r15d, %ecx
shrl $0x18, %ecx
movl %r13d, %edi
shrl $0xe, %edi
andl %r12d, %edi
movl (%rdi,%rbp), %r12d
xorl (%r8,%rcx,4), %r12d
movl %r11d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %r12d
movl %ebx, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r12d
xorl 0x28(%rdx), %r12d
shrl $0x18, %r13d
shrl $0xe, %r11d
movl $0x3fc, %ecx            # imm = 0x3FC
andl %ecx, %r11d
movl (%r11,%rbp), %ecx
xorl (%r8,%r13,4), %ecx
shrl $0x8, %ebx
andl %eax, %ebx
xorl (%r9,%rbx,4), %ecx
andl %eax, %r15d
xorl (%r10,%r15,4), %ecx
xorl 0x2c(%rdx), %ecx
movl %esi, %edi
shrl $0x18, %edi
movl %r14d, %r11d
shrl $0xe, %r11d
movl $0x3fc, %r15d           # imm = 0x3FC
andl %r15d, %r11d
movl (%r11,%rbp), %r11d
movq %rbp, %r13
xorl (%r8,%rdi,4), %r11d
movq %r8, %rbp
movl %r12d, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %r11d
movq %r9, %r8
movl %ecx, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r11d
xorl 0x30(%rdx), %r11d
movl %r14d, %edi
shrl $0x18, %edi
movl %r12d, %ebx
shrl $0xe, %ebx
andl %r15d, %ebx
movl $0x3fc, %r9d            # imm = 0x3FC
movl (%rbx,%r13), %ebx
xorl (%rbp,%rdi,4), %ebx
movl %ecx, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r8,%rdi,4), %ebx
movl %esi, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %ebx
xorl 0x34(%rdx), %ebx
movl %r12d, %edi
shrl $0x18, %edi
movl %ecx, %r15d
shrl $0xe, %r15d
andl %r9d, %r15d
movl (%r15,%r13), %r15d
xorl (%rbp,%rdi,4), %r15d
movl %esi, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r8,%rdi,4), %r15d
movl %r14d, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r15d
xorl 0x38(%rdx), %r15d
shrl $0x18, %ecx
shrl $0xe, %esi
andl %r9d, %esi
movq %r13, %r9
movl (%rsi,%r13), %r13d
movq %rbp, %rdi
xorl (%rbp,%rcx,4), %r13d
shrl $0x8, %r14d
andl %eax, %r14d
xorl (%r8,%r14,4), %r13d
andl %eax, %r12d
xorl (%r10,%r12,4), %r13d
xorl 0x3c(%rdx), %r13d
movl %r11d, %ecx
shrl $0x18, %ecx
movl %ebx, %esi
shrl $0xe, %esi
movl $0x3fc, %ebp            # imm = 0x3FC
andl %ebp, %esi
movl (%rsi,%r9), %esi
movq %rdi, %r12
xorl (%rdi,%rcx,4), %esi
movl %r15d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r8,%rcx,4), %esi
movl %r13d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %esi
xorl 0x40(%rdx), %esi
movl %ebx, %ecx
shrl $0x18, %ecx
movl %r15d, %edi
shrl $0xe, %edi
andl %ebp, %edi
movl (%rdi,%r9), %r14d
xorl (%r12,%rcx,4), %r14d
movq %r12, %rbp
movl %r13d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r8,%rcx,4), %r14d
movl %r11d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r14d
xorl 0x44(%rdx), %r14d
movl %r15d, %ecx
shrl $0x18, %ecx
movl %r13d, %edi
shrl $0xe, %edi
movl $0x3fc, %r8d            # imm = 0x3FC
andl %r8d, %edi
movl (%rdi,%r9), %r12d
movq %r9, %rdi
movq %rbp, %r8
xorl (%rbp,%rcx,4), %r12d
movl %r11d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
leaq 0x4195(%rip), %r9       # 0x5c30
xorl (%r9,%rcx,4), %r12d
movl %ebx, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r12d
xorl 0x48(%rdx), %r12d
shrl $0x18, %r13d
shrl $0xe, %r11d
movl $0x3fc, %ecx            # imm = 0x3FC
andl %ecx, %r11d
movl (%r11,%rdi), %ecx
movq %rdi, %rbp
xorl (%r8,%r13,4), %ecx
movq %r8, %r13
shrl $0x8, %ebx
andl %eax, %ebx
xorl (%r9,%rbx,4), %ecx
andl %eax, %r15d
xorl (%r10,%r15,4), %ecx
xorl 0x4c(%rdx), %ecx
movl %esi, %edi
shrl $0x18, %edi
movl %r14d, %r11d
shrl $0xe, %r11d
movl $0x3fc, %r15d           # imm = 0x3FC
andl %r15d, %r11d
movq %rbp, %r8
movl (%r11,%rbp), %r11d
movq %r13, %rbp
xorl (%r13,%rdi,4), %r11d
movl %r12d, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %r11d
movl %ecx, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r11d
xorl 0x50(%rdx), %r11d
movl %r14d, %edi
shrl $0x18, %edi
movl %r12d, %ebx
shrl $0xe, %ebx
andl %r15d, %ebx
movl $0x3fc, %r13d           # imm = 0x3FC
movl (%rbx,%r8), %ebx
xorl (%rbp,%rdi,4), %ebx
movl %ecx, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %ebx
movl %esi, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %ebx
xorl 0x54(%rdx), %ebx
movl %r12d, %edi
shrl $0x18, %edi
movl %ecx, %r15d
shrl $0xe, %r15d
andl %r13d, %r15d
movl (%r15,%r8), %r15d
xorl (%rbp,%rdi,4), %r15d
movl %esi, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %r15d
movl %r14d, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r15d
xorl 0x58(%rdx), %r15d
shrl $0x18, %ecx
shrl $0xe, %esi
andl %r13d, %esi
movl (%rsi,%r8), %r13d
xorl (%rbp,%rcx,4), %r13d
shrl $0x8, %r14d
andl %eax, %r14d
xorl (%r9,%r14,4), %r13d
andl %eax, %r12d
xorl (%r10,%r12,4), %r13d
xorl 0x5c(%rdx), %r13d
movl %r11d, %ecx
shrl $0x18, %ecx
movl %ebx, %esi
shrl $0xe, %esi
movl $0x3fc, %r14d           # imm = 0x3FC
andl %r14d, %esi
movl (%rsi,%r8), %esi
xorl (%rbp,%rcx,4), %esi
movl %r15d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %esi
movl %r13d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %esi
xorl 0x60(%rdx), %esi
movl %ebx, %ecx
shrl $0x18, %ecx
movl %r15d, %edi
shrl $0xe, %edi
andl %r14d, %edi
movl $0x3fc, %r12d           # imm = 0x3FC
movl (%rdi,%r8), %r14d
xorl (%rbp,%rcx,4), %r14d
movl %r13d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %r14d
movl %r11d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r14d
xorl 0x64(%rdx), %r14d
movl %r15d, %ecx
shrl $0x18, %ecx
movl %r13d, %edi
shrl $0xe, %edi
andl %r12d, %edi
movl (%rdi,%r8), %r12d
xorl (%rbp,%rcx,4), %r12d
movl %r11d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %r12d
movl %ebx, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r12d
xorl 0x68(%rdx), %r12d
shrl $0x18, %r13d
shrl $0xe, %r11d
movl $0x3fc, %ecx            # imm = 0x3FC
andl %ecx, %r11d
movl (%r11,%r8), %ecx
xorl (%rbp,%r13,4), %ecx
movq %rbp, %r13
shrl $0x8, %ebx
andl %eax, %ebx
xorl (%r9,%rbx,4), %ecx
andl %eax, %r15d
xorl (%r10,%r15,4), %ecx
xorl 0x6c(%rdx), %ecx
movl %esi, %edi
shrl $0x18, %edi
movl %r14d, %r11d
shrl $0xe, %r11d
movl $0x3fc, %ebp            # imm = 0x3FC
andl %ebp, %r11d
movl (%r11,%r8), %r11d
movq %r13, %r15
xorl (%r13,%rdi,4), %r11d
movl %r12d, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %r11d
movq %r9, %r13
movl %ecx, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r11d
xorl 0x70(%rdx), %r11d
movl %r14d, %edi
shrl $0x18, %edi
movl %r12d, %ebx
shrl $0xe, %ebx
andl %ebp, %ebx
movl (%rbx,%r8), %ebx
xorl (%r15,%rdi,4), %ebx
movq %r15, %r9
movl %ecx, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r13,%rdi,4), %ebx
movl %esi, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %ebx
xorl 0x74(%rdx), %ebx
movl %r12d, %edi
shrl $0x18, %edi
movl %ecx, %r15d
shrl $0xe, %r15d
andl %ebp, %r15d
movl (%r15,%r8), %r15d
xorl (%r9,%rdi,4), %r15d
movl %esi, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r13,%rdi,4), %r15d
movl %r14d, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r15d
xorl 0x78(%rdx), %r15d
shrl $0x18, %ecx
shrl $0xe, %esi
andl %ebp, %esi
movl (%rsi,%r8), %ebp
xorl (%r9,%rcx,4), %ebp
shrl $0x8, %r14d
andl %eax, %r14d
xorl (%r13,%r14,4), %ebp
andl %eax, %r12d
xorl (%r10,%r12,4), %ebp
xorl 0x7c(%rdx), %ebp
movl %r11d, %ecx
shrl $0x18, %ecx
movl %ebx, %esi
shrl $0xe, %esi
movl $0x3fc, %r14d           # imm = 0x3FC
andl %r14d, %esi
movl (%rsi,%r8), %esi
xorl (%r9,%rcx,4), %esi
movl %r15d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r13,%rcx,4), %esi
movl %ebp, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %esi
xorl 0x80(%rdx), %esi
movl %ebx, %ecx
shrl $0x18, %ecx
movl %r15d, %edi
shrl $0xe, %edi
andl %r14d, %edi
movl (%rdi,%r8), %r12d
xorl (%r9,%rcx,4), %r12d
movl %ebp, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r13,%rcx,4), %r12d
movq %r13, %r14
movl %r11d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r12d
xorl 0x84(%rdx), %r12d
movl %r15d, %ecx
shrl $0x18, %ecx
movl %ebp, %edi
shrl $0xe, %edi
movl $0x3fc, %r13d           # imm = 0x3FC
andl %r13d, %edi
movl (%rdi,%r8), %r13d
xorl (%r9,%rcx,4), %r13d
movl %r11d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r14,%rcx,4), %r13d
movl %ebx, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r13d
xorl 0x88(%rdx), %r13d
shrl $0x18, %ebp
shrl $0xe, %r11d
movl $0x3fc, %ecx            # imm = 0x3FC
andl %ecx, %r11d
movl (%r11,%r8), %ecx
xorl (%r9,%rbp,4), %ecx
movl $0x3fc, %ebp            # imm = 0x3FC
shrl $0x8, %ebx
andl %eax, %ebx
xorl (%r14,%rbx,4), %ecx
andl %eax, %r15d
xorl (%r10,%r15,4), %ecx
xorl 0x8c(%rdx), %ecx
movl %esi, %edi
shrl $0x18, %edi
movl %r12d, %r11d
shrl $0xe, %r11d
andl %ebp, %r11d
movq %r8, %r15
movl (%r11,%r8), %r11d
xorl (%r9,%rdi,4), %r11d
movl %r13d, %edi
shrl $0x8, %edi
andl %eax, %edi
movq %r14, %r8
xorl (%r14,%rdi,4), %r11d
movl %ecx, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r11d
xorl 0x90(%rdx), %r11d
movl %r12d, %edi
shrl $0x18, %edi
movl %r13d, %ebx
shrl $0xe, %ebx
andl %ebp, %ebx
movl (%rbx,%r15), %ebx
xorl (%r9,%rdi,4), %ebx
movl %ecx, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r14,%rdi,4), %ebx
movl %esi, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %ebx
xorl 0x94(%rdx), %ebx
movl %r13d, %edi
shrl $0x18, %edi
movl %ecx, %r14d
shrl $0xe, %r14d
andl %ebp, %r14d
movl (%r14,%r15), %r14d
xorl (%r9,%rdi,4), %r14d
movl %esi, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r8,%rdi,4), %r14d
movl %r12d, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r14d
xorl 0x98(%rdx), %r14d
shrl $0x18, %ecx
shrl $0xe, %esi
andl %ebp, %esi
movl (%rsi,%r15), %r15d
xorl (%r9,%rcx,4), %r15d
shrl $0x8, %r12d
andl %eax, %r12d
xorl (%r8,%r12,4), %r15d
andl %eax, %r13d
xorl (%r10,%r13,4), %r15d
xorl 0x9c(%rdx), %r15d
movl 0xf0(%rdx), %ecx
cmpl $0xb, %ecx
jl 0x227e
movl %ecx, -0xc(%rsp)
movl %r11d, %ecx
shrl $0x18, %ecx
movl %ebx, %esi
shrl $0xe, %esi
andl %ebp, %esi
leaq 0x3942(%rip), %r8       # 0x5830
movl (%rsi,%r8), %esi
leaq 0x3537(%rip), %rdi      # 0x5430
xorl (%rdi,%rcx,4), %esi
movq %rdi, %r13
movl %r14d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
leaq 0x3d22(%rip), %r9       # 0x5c30
xorl (%r9,%rcx,4), %esi
movl %r15d, %ecx
andl %eax, %ecx
leaq 0x4112(%rip), %r10      # 0x6030
xorl (%r10,%rcx,4), %esi
xorl 0xa0(%rdx), %esi
movl %ebx, %ecx
shrl $0x18, %ecx
movl %r14d, %edi
shrl $0xe, %edi
andl %ebp, %edi
movl (%rdi,%r8), %r12d
xorl (%r13,%rcx,4), %r12d
movl %r15d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %r12d
movl %r11d, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r12d
xorl 0xa4(%rdx), %r12d
movl %r14d, %ecx
shrl $0x18, %ecx
movl %r15d, %edi
shrl $0xe, %edi
andl %ebp, %edi
movl (%rdi,%r8), %r13d
leaq 0x34bd(%rip), %rdi      # 0x5430
xorl (%rdi,%rcx,4), %r13d
movl %r11d, %ecx
shrl $0x8, %ecx
andl %eax, %ecx
xorl (%r9,%rcx,4), %r13d
movl %ebx, %ecx
andl %eax, %ecx
xorl (%r10,%rcx,4), %r13d
xorl 0xa8(%rdx), %r13d
shrl $0x18, %r15d
shrl $0xe, %r11d
andl %ebp, %r11d
movl (%r11,%r8), %ecx
xorl (%rdi,%r15,4), %ecx
movq %rdi, %r15
shrl $0x8, %ebx
andl %eax, %ebx
xorl (%r9,%rbx,4), %ecx
andl %eax, %r14d
xorl (%r10,%r14,4), %ecx
xorl 0xac(%rdx), %ecx
movl %esi, %edi
shrl $0x18, %edi
movl %r12d, %r11d
shrl $0xe, %r11d
andl %ebp, %r11d
movl (%r11,%r8), %r11d
xorl (%r15,%rdi,4), %r11d
movl %r13d, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %r11d
movl %ecx, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r11d
movl %r12d, %edi
shrl $0x18, %edi
movl %r13d, %ebx
shrl $0xe, %ebx
andl %ebp, %ebx
movl (%rbx,%r8), %ebx
xorl (%r15,%rdi,4), %ebx
movl %ecx, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %ebx
movl %esi, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %ebx
movl %r13d, %edi
shrl $0x18, %edi
movl %ecx, %r14d
shrl $0xe, %r14d
andl %ebp, %r14d
movl (%r14,%r8), %r14d
xorl (%r15,%rdi,4), %r14d
movl %esi, %edi
shrl $0x8, %edi
andl %eax, %edi
xorl (%r9,%rdi,4), %r14d
movl %r12d, %edi
andl %eax, %edi
xorl (%r10,%rdi,4), %r14d
shrl $0x18, %ecx
shrl $0xe, %esi
andl %ebp, %esi
movl (%rsi,%r8), %r15d
leaq 0x33df(%rip), %rsi      # 0x5430
xorl (%rsi,%rcx,4), %r15d
movl -0xc(%rsp), %ecx
shrl $0x8, %r12d
andl %eax, %r12d
xorl (%r9,%r12,4), %r15d
andl %eax, %r13d
xorl (%r10,%r13,4), %r15d
xorl 0xb0(%rdx), %r11d
xorl 0xb4(%rdx), %ebx
xorl 0xb8(%rdx), %r14d
xorl 0xbc(%rdx), %r15d
cmpl $0xd, %ecx
jl 0x227e
movl %r11d, %ecx
shrl $0x18, %ecx
movl %ebx, %edi
shrl $0xe, %edi
movl $0x3fc, %esi            # imm = 0x3FC
andl %esi, %edi
movl $0x3fc, %r13d           # imm = 0x3FC
leaq 0x3782(%rip), %r8       # 0x5830
movl (%rdi,%r8), %ebp
leaq 0x3377(%rip), %rsi      # 0x5430
xorl (%rsi,%rcx,4), %ebp
movl %r14d, %ecx
shrl $0x8, %ecx
movl $0xff, %r12d
andl %r12d, %ecx
leaq 0x3b5e(%rip), %r9       # 0x5c30
xorl (%r9,%rcx,4), %ebp
movl %r15d, %ecx
andl %r12d, %ecx
leaq 0x3f4d(%rip), %r10      # 0x6030
xorl (%r10,%rcx,4), %ebp
xorl 0xc0(%rdx), %ebp
movl %ebx, %ecx
shrl $0x18, %ecx
movl %r14d, %edi
shrl $0xe, %edi
andl %r13d, %edi
movl (%rdi,%r8), %r13d
xorl (%rsi,%rcx,4), %r13d
movl %r15d, %ecx
shrl $0x8, %ecx
andl %r12d, %ecx
xorl (%r9,%rcx,4), %r13d
movl %r11d, %ecx
andl %r12d, %ecx
xorl (%r10,%rcx,4), %r13d
xorl 0xc4(%rdx), %r13d
movl %r14d, %edi
shrl $0x18, %edi
movl %r15d, %ecx
shrl $0xe, %ecx
movl $0x3fc, %r8d            # imm = 0x3FC
andl %r8d, %ecx
leaq 0x36f3(%rip), %r8       # 0x5830
movl (%rcx,%r8), %ecx
xorl (%rsi,%rdi,4), %ecx
movl %r11d, %edi
shrl $0x8, %edi
andl %r12d, %edi
xorl (%r9,%rdi,4), %ecx
movl %ebx, %edi
andl %r12d, %edi
xorl (%r10,%rdi,4), %ecx
xorl 0xc8(%rdx), %ecx
shrl $0x18, %r15d
shrl $0xe, %r11d
movl $0x3fc, %edi            # imm = 0x3FC
andl %edi, %r11d
movl (%r11,%r8), %edi
xorl (%rsi,%r15,4), %edi
shrl $0x8, %ebx
andl %r12d, %ebx
xorl (%r9,%rbx,4), %edi
andl %r12d, %r14d
xorl (%r10,%r14,4), %edi
xorl 0xcc(%rdx), %edi
movl %ebp, %ebx
shrl $0x18, %ebx
movl %r13d, %r11d
shrl $0xe, %r11d
movl $0x3fc, %r15d           # imm = 0x3FC
andl %r15d, %r11d
movl (%r11,%r8), %r11d
xorl (%rsi,%rbx,4), %r11d
movl %ecx, %ebx
shrl $0x8, %ebx
andl %r12d, %ebx
xorl (%r9,%rbx,4), %r11d
movl %edi, %ebx
andl %r12d, %ebx
xorl (%r10,%rbx,4), %r11d
xorl 0xd0(%rdx), %r11d
movl %r13d, %r14d
shrl $0x18, %r14d
movl %ecx, %ebx
shrl $0xe, %ebx
andl %r15d, %ebx
movl (%rbx,%r8), %ebx
xorl (%rsi,%r14,4), %ebx
movq %rsi, %r8
movl %edi, %r14d
shrl $0x8, %r14d
andl %r12d, %r14d
xorl (%r9,%r14,4), %ebx
movl %ebp, %r14d
andl %r12d, %r14d
xorl (%r10,%r14,4), %ebx
xorl 0xd4(%rdx), %ebx
movl %ecx, %r15d
shrl $0x18, %r15d
movl %edi, %r14d
shrl $0xe, %r14d
movl $0x3fc, %esi            # imm = 0x3FC
andl %esi, %r14d
leaq 0x3613(%rip), %rsi      # 0x5830
movl (%r14,%rsi), %r14d
xorl (%r8,%r15,4), %r14d
movl %ebp, %r15d
shrl $0x8, %r15d
andl %r12d, %r15d
xorl (%r9,%r15,4), %r14d
movl %r13d, %r15d
andl %r12d, %r15d
xorl (%r10,%r15,4), %r14d
xorl 0xd8(%rdx), %r14d
shrl $0x18, %edi
shrl $0xe, %ebp
movl $0x3fc, %r15d           # imm = 0x3FC
andl %r15d, %ebp
movl (%rbp,%rsi), %r15d
movl $0x3fc, %ebp            # imm = 0x3FC
xorl (%r8,%rdi,4), %r15d
shrl $0x8, %r13d
andl %r12d, %r13d
xorl (%r9,%r13,4), %r15d
andl %r12d, %ecx
xorl (%r10,%rcx,4), %r15d
movl -0xc(%rsp), %ecx
xorl 0xdc(%rdx), %r15d
shll $0x2, %ecx
movslq %ecx, %rsi
movl %r11d, %edi
shrl $0x18, %edi
leaq 0x1d6f(%rip), %rcx      # 0x4000
movzbl 0x3(%rcx,%rdi,4), %edi
shll $0x18, %edi
movl %ebx, %r8d
shrl $0xe, %r8d
andl %ebp, %r8d
movzbl 0x2(%r8,%rcx), %r8d
shll $0x10, %r8d
orl %edi, %r8d
movl %r14d, %edi
shrl $0x8, %edi
andl %eax, %edi
movzbl 0x1(%rcx,%rdi,4), %edi
shll $0x8, %edi
orl %r8d, %edi
movl %r15d, %r8d
andl %eax, %r8d
movzbl (%rcx,%r8,4), %r8d
orl %edi, %r8d
xorl (%rdx,%rsi,4), %r8d
movq -0x8(%rsp), %r9
movbel %r8d, (%r9)
movl %ebx, %edi
shrl $0x18, %edi
movzbl 0x3(%rcx,%rdi,4), %edi
shll $0x18, %edi
movl %r14d, %r8d
shrl $0xe, %r8d
andl %ebp, %r8d
movzbl 0x2(%r8,%rcx), %r8d
shll $0x10, %r8d
orl %edi, %r8d
movl %r15d, %edi
shrl $0x8, %edi
andl %eax, %edi
movzbl 0x1(%rcx,%rdi,4), %edi
shll $0x8, %edi
orl %r8d, %edi
movl %r11d, %r8d
andl %eax, %r8d
movzbl (%rcx,%r8,4), %r8d
orl %edi, %r8d
xorl 0x4(%rdx,%rsi,4), %r8d
movbel %r8d, 0x4(%r9)
movl %r14d, %edi
shrl $0x18, %edi
movzbl 0x3(%rcx,%rdi,4), %edi
shll $0x18, %edi
movl %r15d, %r8d
shrl $0xe, %r8d
andl %ebp, %r8d
movzbl 0x2(%r8,%rcx), %r8d
shll $0x10, %r8d
orl %edi, %r8d
movl %r11d, %edi
shrl $0x8, %edi
andl %eax, %edi
movzbl 0x1(%rcx,%rdi,4), %edi
shll $0x8, %edi
orl %r8d, %edi
movl %ebx, %r8d
andl %eax, %r8d
movzbl (%rcx,%r8,4), %r8d
orl %edi, %r8d
xorl 0x8(%rdx,%rsi,4), %r8d
movbel %r8d, 0x8(%r9)
shrl $0x18, %r15d
movzbl 0x3(%rcx,%r15,4), %edi
shll $0x18, %edi
shrl $0xe, %r11d
andl %ebp, %r11d
movzbl 0x2(%r11,%rcx), %r8d
shll $0x10, %r8d
orl %edi, %r8d
shrl $0x8, %ebx
andl %eax, %ebx
movzbl 0x1(%rcx,%rbx,4), %edi
shll $0x8, %edi
orl %r8d, %edi
andl %eax, %r14d
movzbl (%rcx,%r14,4), %eax
orl %edi, %eax
xorl 0xc(%rdx,%rsi,4), %eax
movbel %eax, 0xc(%r9)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq