// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv1aes4/ref/aes.c
// Function: AES_encrypt_4round
void AES_encrypt_4round (const unsigned char *in, unsigned char *out,
                         const AES_KEY *key)
{
    const u32 *rk;
    u32 s0, s1, s2, s3, t0, t1, t2, t3;

    assert(in && out && key);
    rk = 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];

#if ENABLE_AES4_DEBUG
    dump_hex2("s0", &s0, 4);
    dump_hex2("s1", &s1, 4);
    dump_hex2("s2", &s2, 4);
    dump_hex2("s3", &s3, 4);
#endif

    /* 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];

#if ENABLE_AES4_DEBUG
    //this dump matches input into round 2
    dump_hex2("t0", &t0, 4);
    dump_hex2("t1", &t1, 4);
    dump_hex2("t2", &t2, 4);
    dump_hex2("t3", &t3, 4);
#endif

    /* 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];

#if ENABLE_AES4_DEBUG
    //this dump matches input into round 3
    dump_hex2("s0", &s0, 4);
    dump_hex2("s1", &s1, 4);
    dump_hex2("s2", &s2, 4);
    dump_hex2("s3", &s3, 4);
#endif

    /* 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];

#if ENABLE_AES4_DEBUG
    //this dump matches input into round 4
    dump_hex2("t0", &t0, 4);
    dump_hex2("t1", &t1, 4);
    dump_hex2("t2", &t2, 4);
    dump_hex2("t3", &t3, 4);
#endif

 /* 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];

#if ENABLE_AES4_DEBUG
    //this dumps the output from round 4
    dump_hex2("s0", &s0, 4);
    dump_hex2("s1", &s1, 4);
    dump_hex2("s2", &s2, 4);
    dump_hex2("s3", &s3, 4);
#endif

    PUTU32(out, s0);
    PUTU32(out +  4, s1);
    PUTU32(out +  8, s2);
    PUTU32(out + 12, s3);
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq -0x18(%rsp), %rax
movq %rax, -0x20(%rsp)
movq -0x8(%rsp), %rax
movzbl (%rax), %eax
shll $0x18, %eax
movq -0x8(%rsp), %rcx
movzbl 0x1(%rcx), %ecx
shll $0x10, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0x2(%rcx), %ecx
shll $0x8, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0x3(%rcx), %ecx
xorl %ecx, %eax
movq -0x20(%rsp), %rcx
xorl (%rcx), %eax
movl %eax, -0x24(%rsp)
movq -0x8(%rsp), %rax
movzbl 0x4(%rax), %eax
shll $0x18, %eax
movq -0x8(%rsp), %rcx
movzbl 0x5(%rcx), %ecx
shll $0x10, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0x6(%rcx), %ecx
shll $0x8, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0x7(%rcx), %ecx
xorl %ecx, %eax
movq -0x20(%rsp), %rcx
xorl 0x4(%rcx), %eax
movl %eax, -0x28(%rsp)
movq -0x8(%rsp), %rax
movzbl 0x8(%rax), %eax
shll $0x18, %eax
movq -0x8(%rsp), %rcx
movzbl 0x9(%rcx), %ecx
shll $0x10, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0xa(%rcx), %ecx
shll $0x8, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0xb(%rcx), %ecx
xorl %ecx, %eax
movq -0x20(%rsp), %rcx
xorl 0x8(%rcx), %eax
movl %eax, -0x2c(%rsp)
movq -0x8(%rsp), %rax
movzbl 0xc(%rax), %eax
shll $0x18, %eax
movq -0x8(%rsp), %rcx
movzbl 0xd(%rcx), %ecx
shll $0x10, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0xe(%rcx), %ecx
shll $0x8, %ecx
xorl %ecx, %eax
movq -0x8(%rsp), %rcx
movzbl 0xf(%rcx), %ecx
xorl %ecx, %eax
movq -0x20(%rsp), %rcx
xorl 0xc(%rcx), %eax
movl %eax, -0x30(%rsp)
movl -0x24(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x688b(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x28(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6c70(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x2c(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6055(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x30(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x643d(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x10(%rcx), %eax
movl %eax, -0x34(%rsp)
movl -0x28(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x681c(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x2c(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6c01(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x30(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5fe6(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x24(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x63ce(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x14(%rcx), %eax
movl %eax, -0x38(%rsp)
movl -0x2c(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x67ad(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x30(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6b92(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x24(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5f77(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x28(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x635f(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x18(%rcx), %eax
movl %eax, -0x3c(%rsp)
movl -0x30(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x673e(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x24(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6b23(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x28(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5f08(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x2c(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x62f0(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x1c(%rcx), %eax
movl %eax, -0x40(%rsp)
movl -0x34(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x66cf(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x38(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6ab4(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x3c(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5e99(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x40(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6281(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x20(%rcx), %eax
movl %eax, -0x24(%rsp)
movl -0x38(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x6660(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x3c(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6a45(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x40(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5e2a(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x34(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6212(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x24(%rcx), %eax
movl %eax, -0x28(%rsp)
movl -0x3c(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x65f1(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x40(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x69d6(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x34(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5dbb(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x38(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x61a3(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x28(%rcx), %eax
movl %eax, -0x2c(%rsp)
movl -0x40(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x6582(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x34(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6967(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x38(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5d4c(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x3c(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6134(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x2c(%rcx), %eax
movl %eax, -0x30(%rsp)
movl -0x24(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x6513(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x28(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x68f8(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x2c(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5cdd(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x30(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x60c5(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x30(%rcx), %eax
movl %eax, -0x34(%rsp)
movl -0x28(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x64a4(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x2c(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6889(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x30(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5c6e(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x24(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x6056(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x34(%rcx), %eax
movl %eax, -0x38(%rsp)
movl -0x2c(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x6435(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x30(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x681a(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x24(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5bff(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x28(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5fe7(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x38(%rcx), %eax
movl %eax, -0x3c(%rsp)
movl -0x30(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x63c6(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x24(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x67ab(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x28(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5b90(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x2c(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5f78(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x3c(%rcx), %eax
movl %eax, -0x40(%rsp)
movl -0x34(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x6357(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x38(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x673c(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x3c(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5b21(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x40(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5f09(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x40(%rcx), %eax
movl %eax, -0x24(%rsp)
movl -0x38(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x62e8(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x3c(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x66cd(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x40(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5ab2(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x34(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5e9a(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x44(%rcx), %eax
movl %eax, -0x28(%rsp)
movl -0x3c(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x6279(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x40(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x665e(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x34(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5a43(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x38(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5e2b(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x48(%rcx), %eax
movl %eax, -0x2c(%rsp)
movl -0x40(%rsp), %eax
shrl $0x18, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x620a(%rip), %rax      # 0x8800
movl (%rax,%rcx,4), %eax
movl -0x34(%rsp), %ecx
shrl $0x10, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x65ef(%rip), %rcx      # 0x8c00
xorl (%rcx,%rdx,4), %eax
movl -0x38(%rsp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x59d4(%rip), %rcx      # 0x8000
xorl (%rcx,%rdx,4), %eax
movl -0x3c(%rsp), %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq 0x5dbc(%rip), %rcx      # 0x8400
xorl (%rcx,%rdx,4), %eax
movq -0x20(%rsp), %rcx
xorl 0x4c(%rcx), %eax
movl %eax, -0x30(%rsp)
movl -0x24(%rsp), %eax
shrl $0x18, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, (%rax)
movl -0x24(%rsp), %eax
shrl $0x10, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x1(%rax)
movl -0x24(%rsp), %eax
shrl $0x8, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x2(%rax)
movl -0x24(%rsp), %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x3(%rax)
movl -0x28(%rsp), %eax
shrl $0x18, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x4(%rax)
movl -0x28(%rsp), %eax
shrl $0x10, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x5(%rax)
movl -0x28(%rsp), %eax
shrl $0x8, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x6(%rax)
movl -0x28(%rsp), %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x7(%rax)
movl -0x2c(%rsp), %eax
shrl $0x18, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x8(%rax)
movl -0x2c(%rsp), %eax
shrl $0x10, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0x9(%rax)
movl -0x2c(%rsp), %eax
shrl $0x8, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0xa(%rax)
movl -0x2c(%rsp), %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0xb(%rax)
movl -0x30(%rsp), %eax
shrl $0x18, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0xc(%rax)
movl -0x30(%rsp), %eax
shrl $0x10, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0xd(%rax)
movl -0x30(%rsp), %eax
shrl $0x8, %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0xe(%rax)
movl -0x30(%rsp), %eax
movb %al, %cl
movq -0x10(%rsp), %rax
movb %cl, 0xf(%rax)
retq
nopw (%rax,%rax)