// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/stribob192r2/bitslice/wbob_pi64sl.c
// Function: wbob_pi
void wbob_pi(w512_t *s512)
{
    int r;
    uint64_t *p;
    uint64_t z0, z1, z2, z3, z4, z5, z6, z7,
             u0, u1, u2, u3, u4, u5, u6, u7,
             v0, v1, v2, v3, w0, w1, w2, w3,
             t0, t1, t2, t3, t4;

    p = (uint64_t *) s512;

    SPLICE_8X64(u0, u1, u2, u3, u4, u5, u6, u7,
                p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7]);

    for (r = 0; r < 12; r++) {

        // SubBytes
        SLICE_SEI(z0, z1, z2, z3, u0, u1, u2, u3);
        SLICE_SEF(z4, z5, z6, z7, u4, u5, u6, u7);
        v0 = z0 ^ z4;
        v1 = z1 ^ z5;
        v2 = z2 ^ z6;
        v3 = z3 ^ z7;
        SLICE_SRF(w0, w1, w2, w3, v0, v1, v2, v3);
        z0 = z0 ^ w0;
        z1 = z1 ^ w1;
        z2 = z2 ^ w2;
        z3 = z3 ^ w3;
        z4 = z4 ^ w0;
        z5 = z5 ^ w1;
        z6 = z6 ^ w2;
        z7 = z7 ^ w3;
        SLICE_SEI(v0, v1, v2, v3, z0, z1, z2, z3);
        SLICE_SEF(w0, w1, w2, w3, z4, z5, z6, z7);

        // ShiftColumns
        SLICE_SHC(v0);
        SLICE_SHC(v1);
        SLICE_SHC(v2);
        SLICE_SHC(v3);
        SLICE_SHC(w0);
        SLICE_SHC(w1);
        SLICE_SHC(w2);
        SLICE_SHC(w3);

        // MixRows
        SLICE_MDS(u0, u1, u2, u3, u4, u5, u6, u7,
            v0, v1, v2, v3, w0, w1, w2, w3);

        // AddRoundKey
        u0 ^= wbob_slice_rc[r][0];
        u1 ^= wbob_slice_rc[r][1];
        u2 ^= wbob_slice_rc[r][2];
        u3 ^= wbob_slice_rc[r][3];
        u4 ^= wbob_slice_rc[r][4];
        u5 ^= wbob_slice_rc[r][5];
        u6 ^= wbob_slice_rc[r][6];
        u7 ^= wbob_slice_rc[r][7];
    }

    SPLICE_8X64(p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7],
                u0, u1, u2, u3, u4, u5, u6, u7 );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x30(%rdi), %rax
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
vmovdqu (%rdi), %xmm0
vpermq $0x11, %ymm0, %ymm1     # ymm1 = ymm0[1,0,1,0]
leaq (%rdx,%rdx), %rcx
vpsrlvq 0x19fc(%rip), %xmm1, %xmm2 # 0x3020
movq %rsi, %r8
shrq $0x5, %r8
vmovq %r8, %xmm3
vpblendd $0x3, %xmm3, %xmm0, %xmm0 # xmm0 = xmm3[0,1],xmm0[2,3]
vpmovsxbq 0x2211(%rip), %ymm3 # 0x3850
vpermi2q %ymm2, %ymm0, %ymm3
vpsrlvq 0x1ad2(%rip), %ymm1, %ymm0 # 0x3120
vpand 0x1aea(%rip), %ymm0, %ymm0 # 0x3140
vpternlogq $0xf8, 0x1aff(%rip), %ymm3, %ymm0 # 0x3160
movq %rsi, %r9
shrq $0x3, %r9
movq %rdx, %r8
shrq $0x2, %r8
vmovq %r9, %xmm2
vpblendd $0xc, %xmm1, %xmm2, %xmm2 # xmm2 = xmm2[0,1],xmm1[2,3]
vmovq %rcx, %xmm3
vmovq %r8, %xmm4
vpunpcklqdq %xmm3, %xmm4, %xmm3 # xmm3 = xmm4[0],xmm3[0]
vpandq 0x19fe(%rip){1to2}, %xmm3, %xmm3 # 0x3090
vpternlogq $0xf8, 0x19fb(%rip){1to2}, %xmm2, %xmm3 # 0x3098
shrq $0x6, %rsi
movabsq $0x101010101010101, %rcx # imm = 0x101010101010101
andq %rsi, %rcx
shrq $0x5, %rdx
movabsq $0x202020202020202, %rsi # imm = 0x202020202020202
vmovdqu 0x10(%rdi), %ymm2
andq %rdx, %rsi
movq 0x10(%rdi), %r9
leaq (,%r9,4), %r8
movq 0x18(%rdi), %r10
shlq $0x3, %r10
movq 0x20(%rdi), %rdx
vmovq %r8, %xmm4
movq %r9, %r8
shrq %r8
vmovq %r8, %xmm5
leaq (,%rdx,4), %r8
vmovdqu 0x20(%rdi), %xmm11
vpmovsxbq 0x2151(%rip), %ymm16 # 0x3854
vpbroadcastq 0x1994(%rip), %ymm7 # 0x30a0
vpbroadcastq 0x18(%rdi), %ymm12
vpinsrq $0x1, %r10, %xmm12, %xmm8
vpbroadcastq 0x1987(%rip), %ymm10 # 0x30a8
vpbroadcastq 0x20(%rdi), %ymm9
movq 0x28(%rdi), %r11
shrq $0x2, %r9
vpbroadcastq %r9, %ymm13
leaq (%r11,%r11), %r9
vpbroadcastq 0x10(%rdi), %xmm14
vpmovsxbq 0x1dfa(%rip), %xmm15 # 0x3542
vpsrlvq %xmm15, %xmm2, %xmm6
vpsllvq %xmm15, %xmm14, %xmm14
vpmovsxbq 0x1de9(%rip), %xmm15 # 0x3544
vpblendd $0xc, %xmm14, %xmm6, %xmm6 # xmm6 = xmm6[0,1],xmm14[2,3]
vpsrlvq %xmm15, %xmm11, %xmm11
vpsllvq %xmm15, %xmm9, %xmm14
vpblendd $0xc, %xmm14, %xmm11, %xmm11 # xmm11 = xmm11[0,1],xmm14[2,3]
vinserti128 $0x1, %xmm2, %ymm6, %ymm6
vpblendd $0xc0, %ymm13, %ymm6, %ymm6 # ymm6 = ymm6[0,1,2,3,4,5],ymm13[6,7]
vpternlogq $0xec, %ymm7, %ymm0, %ymm6
vpmovsxbq 0x20cb(%rip), %ymm13 # 0x3858
vpsllvq %ymm13, %ymm12, %ymm0
vpsrlvq %ymm13, %ymm12, %ymm12
vpblendd $0x3c, %ymm0, %ymm12, %ymm0 # ymm0 = ymm12[0,1],ymm0[2,3,4,5],ymm12[6,7]
vpternlogq $0xec, %ymm10, %ymm6, %ymm0
vpbroadcastq %r8, %ymm12
vpbroadcastq %r9, %ymm13
movabsq $0x4040404040404040, %r9 # imm = 0x4040404040404040
movq %rax, %r10
andq %r9, %r10
orq %rcx, %r10
movq 0x38(%rdi), %r8
vpsrlvq %ymm16, %ymm2, %ymm6
vpand 0x1a4b(%rip), %ymm6, %ymm6 # 0x3220
orq %rsi, %r10
vextracti128 $0x1, %ymm6, %xmm14
vpor %xmm6, %xmm14, %xmm6
vpshufd $0xee, %xmm6, %xmm14    # xmm14 = xmm6[2,3,2,3]
vpor %xmm6, %xmm14, %xmm6
vmovq %xmm6, %rcx
orq %r10, %rcx
movabsq $-0x3fbfbfbfbfbfbfc0, %rsi # imm = 0xC040404040404040
andq %r8, %rsi
leaq (%rcx,%rsi,2), %rcx
shrq $0x3, %rdx
movabsq $0x1010101010101010, %rsi # imm = 0x1010101010101010
andq %rdx, %rsi
shrq $0x2, %r11
movabsq $0x2020202020202020, %rdx # imm = 0x2020202020202020
andq %r11, %rdx
vpbroadcastq %rax, %ymm6
shrq %rax
andq %r9, %rax
vpsllvq 0x17c5(%rip), %xmm6, %xmm14 # 0x3000
vpbroadcastq 0x183c(%rip), %ymm15 # 0x3080
orq %rdx, %rax
vpbroadcastq %r8, %ymm17
vpsllvq 0x17b9(%rip), %xmm17, %xmm18 # 0x3010
vpbroadcastq 0x1827(%rip), %ymm19 # 0x3088
vpsllvq 0x1916(%rip), %ymm6, %ymm6 # 0x3180
vpsllvq 0x192c(%rip), %ymm17, %ymm17 # 0x31a0
movq %rdi, -0x10(%rsp)
vpbroadcastq 0x28(%rdi), %xmm20
vpsllvq %xmm16, %xmm20, %xmm16
vpunpcklqdq %xmm4, %xmm5, %xmm4 # xmm4 = xmm5[0],xmm4[0]
vmovdqa %xmm7, %xmm5
vpternlogq $0xec, %xmm4, %xmm3, %xmm5
vmovdqa %xmm10, %xmm3
vpternlogq $0xec, %xmm8, %xmm5, %xmm3
vpsllvq 0x1787(%rip), %xmm9, %xmm4 # 0x3030
vpbroadcastq 0x17fe(%rip), %ymm5 # 0x30b0
vpblendd $0x30, %ymm12, %ymm11, %ymm7 # ymm7 = ymm11[0,1,2,3],ymm12[4,5],ymm11[6,7]
vpblendd $0xc0, %ymm9, %ymm7, %ymm7 # ymm7 = ymm7[0,1,2,3,4,5],ymm9[6,7]
vpternlogq $0xec, %ymm5, %ymm0, %ymm7
vmovdqa %xmm5, %xmm0
vpternlogq $0xec, %xmm4, %xmm3, %xmm0
vpsllvq 0x1766(%rip), %xmm20, %xmm3 # 0x3040
vpbroadcastq 0x17d5(%rip), %ymm10 # 0x30b8
vpmovsxbq 0x1f70(%rip), %ymm4 # 0x385c
vpermi2q %ymm20, %ymm16, %ymm4
vpblendd $0xc0, %ymm13, %ymm4, %ymm12 # ymm12 = ymm4[0,1,2,3,4,5],ymm13[6,7]
vpternlogq $0xec, %ymm10, %ymm7, %ymm12
vpternlogq $0xec, %xmm3, %xmm0, %xmm10
vpternlogq $0xf8, %xmm15, %xmm14, %xmm10
vpternlogq $0xf8, %xmm19, %xmm18, %xmm10
vpternlogq $0xf8, %ymm15, %ymm6, %ymm12
vinserti128 $0x1, %xmm2, %ymm1, %ymm0
vpsrlvq 0x1916(%rip), %ymm0, %ymm0 # 0x3240
vpand 0x192e(%rip), %ymm0, %ymm0 # 0x3260
vpternlogq $0xf8, %ymm19, %ymm17, %ymm12
orq %rsi, %rax
movabsq $-0x7f7f7f7f7f7f7f80, %rdx # imm = 0x8080808080808080
andq %r8, %rdx
orq %rax, %rdx
vextracti128 $0x1, %ymm0, %xmm1
vpor %xmm1, %xmm0, %xmm0
vpshufd $0xee, %xmm0, %xmm1     # xmm1 = xmm0[2,3,2,3]
vpor %xmm1, %xmm0, %xmm0
vmovq %xmm0, %rax
orq %rdx, %rax
movl $0x38, %edx
movq %rdx, -0x18(%rsp)
vpbroadcastw 0x1bc6(%rip), %xmm2 # 0x3540
vpbroadcastq 0x174d(%rip), %xmm4 # 0x30d0
vpbroadcastq 0x174c(%rip), %xmm5 # 0x30d8
vpbroadcastq 0x174b(%rip), %xmm6 # 0x30e0
vpxor %xmm7, %xmm7, %xmm7
vpbroadcastq 0x1746(%rip), %xmm8 # 0x30e8
vpextrq $0x1, %xmm10, %rdx
movq %rdx, %rbp
vpextrq $0x1, %xmm12, %rsi
notq %rbp
movq %rdx, %r8
orq %rsi, %r8
vmovq %xmm10, %rdi
xorq %rdi, %r8
vextracti128 $0x1, %ymm12, %xmm0
vmovq %xmm0, %r10
movq %r8, %r11
andq %r10, %r11
xorq %rbp, %r11
movq %r11, %r9
movq %rdx, %r11
andq %r10, %r11
orq %rdi, %rdx
xorq %r11, %rdx
andq %rsi, %rdx
xorq %rbp, %rdx
xorq %rsi, %r11
xorq %rbp, %r10
movq %r9, %rsi
movq %r9, -0x48(%rsp)
xorq %r11, %rsi
andq %r8, %rsi
orq %rsi, %r11
xorq %r10, %rsi
orq %rdi, %rbp
xorq %r11, %rbp
vpextrq $0x1, %xmm0, %rdi
movq %rdi, %r8
andq %rcx, %r8
vmovq %xmm12, %rbx
xorq %r8, %rbx
movq %rax, %r8
xorq %rdi, %r8
notq %r8
movq %rbx, %r10
orq %r8, %r10
xorq %rdi, %r10
movq %rbx, %rdi
andq %rcx, %rdi
xorq %r8, %rdi
movq %r10, %r11
orq %rax, %r11
xorq %rdi, %r11
xorq %rdi, %rcx
xorq %rax, %rdi
xorq %rcx, %rbx
orq %rbx, %rdi
xorq %rcx, %rdi
movq %rdi, %r8
andq %r11, %r8
orq %r10, %r8
xorq %rbx, %r8
movq %rdx, %r15
xorq %r10, %r15
movq %rbp, %rcx
xorq %r11, %rcx
movq %rsi, %rbx
xorq %rdi, %rbx
movq %r8, %rax
xorq %r9, %rax
movq %r15, %r12
notq %r12
movq %rbx, %r13
andq %rax, %r13
movq %r13, %r9
xorq %r15, %r9
orq %rcx, %r9
movq %rax, %r14
orq %r12, %r14
xorq %r14, %r9
xorq %rbx, %r14
notq %r14
xorq %rcx, %rax
orq %r14, %rcx
xorq %rcx, %r13
xorq %r12, %rcx
orq %r13, %r15
xorq %rax, %r15
movq %r15, %rax
notq %rax
orq %rax, %rcx
xorq %r14, %rcx
movq %r15, %rbx
xorq %rdx, %rbx
xorq %rax, %rdx
xorq %rcx, %rbp
xorq %r9, %rsi
movq -0x48(%rsp), %r14
xorq %r13, %r14
xorq %r10, %rax
xorq %rdi, %r9
xorq %r8, %r13
movq %rbp, %rdi
orq %rdx, %rdi
xorq %r14, %rdi
movq %r14, %r8
movq %rdi, %r12
andq %rsi, %r12
xorq %rbx, %r12
movq %rdx, %r14
andq %rsi, %r14
orq %r8, %rdx
xorq %r14, %rdx
andq %rbp, %rdx
xorq %rbx, %rdx
xorq %rbp, %r14
xorq %rbx, %rsi
movq %r12, %rbp
xorq %r14, %rbp
andq %rdi, %rbp
orq %rbp, %r14
xorq %rsi, %rbp
movq %rbp, -0x40(%rsp)
orq %rbx, %r8
xorq %r14, %r8
movq %rax, %rdi
andq %r9, %rdi
xorq %r11, %rdi
xorq %rcx, %rdi
xorq %r10, %r15
movq %r15, %rsi
xorq %r13, %rsi
movq %rdi, %rcx
orq %rsi, %rcx
xorq %rax, %rcx
movq %rdi, %rax
andq %r9, %rax
xorq %rax, %rsi
movq %rsi, -0x20(%rsp)
orq %rcx, %r13
movq %r13, -0x28(%rsp)
xorq %rsi, %r9
movq %r9, -0x30(%rsp)
xorq %r15, %rax
xorq %r9, %rdi
orq %rdi, %rax
movq %rax, -0x38(%rsp)
movq %rdx, %rax
movabsq $0xff00ff00ff00ff, %r10 # imm = 0xFF00FF00FF00FF
andq %r10, %rax
leaq (%rdx,%rdx), %r10
movabsq $-0x1ff01ff01ff0200, %rbx # imm = 0xFE00FE00FE00FE00
andq %rbx, %r10
orq %rax, %r10
shrq $0x7, %rdx
movabsq $0x100010001000100, %rsi # imm = 0x100010001000100
andq %rsi, %rdx
orq %r10, %rdx
movq %rdx, %rax
movabsq $0xffff0000ffff, %r9    # imm = 0xFFFF0000FFFF
andq %r9, %rax
shlq $0x2, %rdx
movabsq $-0x303ffff03040000, %r14 # imm = 0xFCFC0000FCFC0000
andq %r14, %rdx
orq %rax, %rdx
shrq $0x6, %r10
movabsq $0x303000003030000, %r14 # imm = 0x303000003030000
andq %r14, %r10
orq %rdx, %r10
movl %r10d, %eax
shlq $0x4, %r10
movabsq $-0xf0f0f1000000000, %r15 # imm = 0xF0F0F0F000000000
andq %r15, %r10
shrq $0x4, %rdx
movabsq $0xf0f0f0f00000000, %r13 # imm = 0xF0F0F0F00000000
andq %r13, %rdx
orq %rax, %rdx
orq %r10, %rdx
movq %rdx, -0x48(%rsp)
vmovq %r8, %xmm0
movq %r8, %r10
shrq $0x7, %r10
andq %rsi, %r10
movq -0x40(%rsp), %r8
vmovq %r8, %xmm11
shrq $0x7, %r8
andq %rsi, %r8
movq %rsi, %rdx
movq %r12, %rax
movabsq $0xff00ff00ff00ff, %rbx # imm = 0xFF00FF00FF00FF
andq %rbx, %rax
leaq (%r12,%r12), %r11
movabsq $-0x1ff01ff01ff0200, %rsi # imm = 0xFE00FE00FE00FE00
andq %rsi, %r11
orq %rax, %r11
shrq $0x7, %r12
andq %rdx, %r12
orq %r11, %r12
movq %r12, %rax
andq %r9, %rax
shlq $0x2, %r12
movabsq $-0x303ffff03040000, %rbp # imm = 0xFCFC0000FCFC0000
andq %rbp, %r12
orq %rax, %r12
shrq $0x6, %r11
andq %r14, %r11
orq %r12, %r11
movl %r11d, %eax
shlq $0x4, %r11
andq %r15, %r11
shrq $0x4, %r12
movq %r13, %rdx
andq %r13, %r12
orq %rax, %r12
orq %r11, %r12
leaq (%rcx,%rcx), %r11
movq %rcx, %r13
vmovq -0x28(%rsp), %xmm10
vmovq -0x38(%rsp), %xmm12
vpunpcklqdq %xmm10, %xmm12, %xmm10 # xmm10 = xmm12[0],xmm10[0]
vmovq -0x20(%rsp), %xmm12
vmovq -0x30(%rsp), %xmm13
vpunpcklqdq %xmm12, %xmm13, %xmm12 # xmm12 = xmm13[0],xmm12[0]
vpxor %xmm12, %xmm10, %xmm10
vpshufd $0xee, %xmm10, %xmm12   # xmm12 = xmm10[2,3,2,3]
vpand %xmm12, %xmm10, %xmm12
vmovq %xmm12, %rax
orq %rcx, %rax
andq %rbx, %rcx
andq %rsi, %r11
orq %rcx, %r11
shrq $0x7, %r13
movabsq $0x100010001000100, %rcx # imm = 0x100010001000100
andq %rcx, %r13
orq %r11, %r13
movq %r13, %rcx
andq %r9, %rcx
shlq $0x2, %r13
andq %rbp, %r13
orq %rcx, %r13
shrq $0x6, %r11
andq %r14, %r11
orq %r13, %r11
movl %r11d, %ecx
shlq $0x4, %r11
andq %r15, %r11
shrq $0x4, %r13
andq %rdx, %r13
movq %rdx, %rbx
orq %rcx, %r13
orq %r11, %r13
xorq %rdi, %rax
vpaddq %xmm10, %xmm10, %xmm12
vpbroadcastq 0x1385(%rip), %xmm1 # 0x30c0
vpand %xmm1, %xmm12, %xmm12
vpternlogq $0xf8, %xmm2, %xmm10, %xmm12
vpsrlq $0x7, %xmm10, %xmm10
vpternlogq $0xec, 0x1371(%rip){1to2}, %xmm12, %xmm10 # 0x30c8
vpblendw $0xaa, %xmm7, %xmm10, %xmm13 # xmm13 = xmm10[0],xmm7[1],xmm10[2],xmm7[3],xmm10[4],xmm7[5],xmm10[6],xmm7[7]
vpsllq $0x2, %xmm10, %xmm10
vpternlogq $0xec, %xmm4, %xmm13, %xmm10
vpsrlq $0x6, %xmm12, %xmm12
vpternlogq $0xec, %xmm5, %xmm10, %xmm12
vpblendd $0xa, %xmm7, %xmm12, %xmm13 # xmm13 = xmm12[0],xmm7[1],xmm12[2],xmm7[3]
vpsllq $0x4, %xmm12, %xmm12
vpsrlq $0x4, %xmm10, %xmm10
vpternlogq $0xec, %xmm8, %xmm13, %xmm10
vpternlogq $0xf8, %xmm6, %xmm12, %xmm10
movq %rax, %rcx
movabsq $0xff00ff00ff00ff, %rdx # imm = 0xFF00FF00FF00FF
andq %rdx, %rcx
leaq (%rax,%rax), %rdx
andq %rsi, %rdx
orq %rcx, %rdx
shrq $0x7, %rax
movabsq $0x100010001000100, %rcx # imm = 0x100010001000100
andq %rcx, %rax
orq %rdx, %rax
movq %rax, %rcx
andq %r9, %rcx
shlq $0x2, %rax
andq %rbp, %rax
orq %rcx, %rax
shrq $0x6, %rdx
andq %r14, %rdx
orq %rax, %rdx
movl %edx, %ecx
shlq $0x4, %rdx
andq %r15, %rdx
shrq $0x4, %rax
andq %rbx, %rax
orq %rcx, %rax
orq %rdx, %rax
vpunpcklqdq %xmm11, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm11[0]
vpaddq %xmm0, %xmm0, %xmm11
vpand %xmm1, %xmm11, %xmm11
vpternlogq $0xf8, %xmm2, %xmm0, %xmm11
vmovq %r8, %xmm0
vmovq %r10, %xmm12
vpunpcklqdq %xmm0, %xmm12, %xmm0 # xmm0 = xmm12[0],xmm0[0]
vpor %xmm0, %xmm11, %xmm0
vpblendw $0xaa, %xmm7, %xmm0, %xmm12 # xmm12 = xmm0[0],xmm7[1],xmm0[2],xmm7[3],xmm0[4],xmm7[5],xmm0[6],xmm7[7]
vpsllq $0x2, %xmm0, %xmm0
vpternlogq $0xec, %xmm4, %xmm12, %xmm0
vpsrlq $0x6, %xmm11, %xmm11
vpternlogq $0xec, %xmm5, %xmm0, %xmm11
vpblendd $0xa, %xmm7, %xmm11, %xmm12 # xmm12 = xmm11[0],xmm7[1],xmm11[2],xmm7[3]
vpsllq $0x4, %xmm11, %xmm11
vpsrlq $0x4, %xmm0, %xmm14
vpternlogq $0xec, %xmm8, %xmm12, %xmm14
vpternlogq $0xf8, %xmm6, %xmm11, %xmm14
vprolq $0x8, %xmm14, %xmm11
vprolq $0x10, %xmm14, %xmm17
vprolq $0x18, %xmm14, %xmm12
rorxq $0x38, %r12, %r10
rorxq $0x28, %r12, %r11
rorxq $0x20, %r12, %rcx
rorxq $0x18, %r12, %rsi
movq %rsi, -0x20(%rsp)
rorxq $0x8, %r12, %r8
rorxq $0x30, %r13, %rbp
xorq %rcx, %rbp
rorxq $0x20, %r13, %rcx
movq %rcx, -0x28(%rsp)
rorxq $0x18, %r13, %rcx
movq %rcx, -0x30(%rsp)
rorxq $0x38, %rax, %rcx
rorxq $0x30, %rax, %rbx
rorxq $0x28, %rax, %rdx
xorq %rcx, %rdx
movq %rdx, -0x38(%rsp)
rorxq $0x20, %rax, %rcx
rorxq $0x18, %rax, %r14
vmovq %r14, %xmm13
vmovq %rcx, %xmm15
vmovq %rbx, %xmm16
movq -0x48(%rsp), %r9
rorxq $0x30, %r9, %rcx
vpextrq $0x1, %xmm11, %rbx
vpextrq $0x1, %xmm12, %r15
xorq %rbx, %r15
rorxq $0x20, %r9, %rbx
xorq %rcx, %r15
vpextrq $0x1, %xmm14, %rcx
movq -0x18(%rsp), %rdi
leaq 0x1635(%rip), %r14      # 0x3550
xorq -0x28(%rdi,%r14), %rcx
movq %r14, %rdx
xorq %rcx, %r15
rorxq $0x8, %r9, %r14
vprolq $0x8, %xmm10, %xmm0
vprolq $0x18, %xmm10, %xmm19
vprolq $0x28, %xmm10, %xmm26
vprolq $0x30, %xmm10, %xmm21
xorq %r12, %r10
xorq %rbx, %r10
vmovq %xmm17, %rbx
xorq -0x20(%rdi,%rdx), %rbx
movq %rdx, %r9
xorq %r11, %r10
xorq %r14, %r10
xorq %rsi, %r10
xorq %rbx, %r10
vmovq %r10, %xmm18
vpextrq $0x1, %xmm0, %r11
vpextrq $0x1, %xmm19, %r10
xorq %r11, %r10
vmovq %xmm0, %r11
vmovq %xmm19, %rbx
xorq %r11, %rbx
vpextrq $0x1, %xmm21, %r11
xorq %rbx, %r11
vmovq %xmm26, %rbx
xorq %rbx, %r11
vmovq %xmm10, %rbx
xorq -0x8(%rdi,%rdx), %rbx
xorq %rbx, %r11
rorxq $0x8, %r13, %rdx
movq %rdx, -0x8(%rsp)
vprolq $0x28, %xmm14, %xmm19
vprolq $0x10, %xmm10, %xmm23
vmovq %r8, %xmm20
movq -0x30(%rsp), %rbx
xorq %rbx, %rbp
xorq %r8, %rbp
vpextrq $0x1, %xmm26, %rcx
movq %rcx, -0x40(%rsp)
xorq %r11, %rbp
vmovq %xmm21, %rsi
xorq -0x28(%rsp), %rsi
vpextrq $0x1, %xmm23, %r8
movq %r9, %r11
xorq (%rdi,%r9), %r8
vprolq $0x30, %xmm14, %xmm21
xorq %rdx, %rsi
xorq %rcx, %rsi
xorq %rax, %rsi
xorq %r8, %rsi
movq -0x48(%rsp), %r9
rorxq $0x38, %r9, %r8
vpinsrq $0x1, %r8, %xmm19, %xmm24
rorxq $0x28, %r9, %r8
vpshufd $0xee, %xmm21, %xmm0    # xmm0 = xmm21[2,3,2,3]
vpinsrq $0x1, %r8, %xmm0, %xmm25
xorq -0x38(%rsp), %rsi
rorxq $0x18, %r9, %r8
vprolq $0x20, %xmm10, %xmm0
vprolq $0x38, %xmm10, %xmm22
vpxorq %xmm0, %xmm22, %xmm0
xorq %r8, %r15
vpshufd $0xee, %xmm0, %xmm27    # xmm27 = xmm0[2,3,2,3]
vpinsrq $0x1, %r8, %xmm27, %xmm27
vpxorq %xmm23, %xmm26, %xmm26
vpinsrq $0x1, %r14, %xmm26, %xmm28
vmovq %xmm14, %rcx
xorq -0x30(%rdi,%r11), %rcx
vmovq %r15, %xmm29
vpextrq $0x1, %xmm17, %r8
xorq -0x18(%rdi,%r11), %r8
movq %r11, %r15
vprolq $0x20, %xmm14, %xmm3
vmovq %r9, %xmm31
rorxq $0x10, %r9, %r9
vmovq %rcx, %xmm17
vpinsrq $0x0, %r9, %xmm19, %xmm30
vmovq %xmm3, %rcx
vpextrq $0x1, %xmm19, %r9
xorq %rcx, %r9
rorxq $0x38, %r13, %r11
xorq %r8, %r9
vmovq %xmm26, %rcx
xorq %rcx, %r9
vpextrq $0x1, %xmm0, %r8
vprolq $0x38, %xmm14, %xmm23
xorq %r9, %r8
vmovq %xmm23, %rcx
xorq %r13, %rcx
xorq %r11, %rcx
rorxq $0x28, %r13, %r9
xorq %r9, %rcx
xorq %rbx, %rcx
rorxq $0x10, %r12, %rdx
xorq %rdx, %rcx
xorq -0x8(%rsp), %rcx
rorxq $0x30, %r12, %rdx
xorq %r8, %rcx
vpextrq $0x1, %xmm3, %r8
xorq %r10, %r8
vpextrq $0x1, %xmm10, %r9
xorq -0x10(%rdi,%r15), %r9
xorq %r9, %r8
vpextrq $0x1, %xmm22, %r9
xorq %rdx, %r9
xorq -0x20(%rsp), %r9
rorxq $0x10, %r13, %rdx
xorq %rdx, %r9
xorq %r8, %r9
xorq -0x40(%rsp), %r9
vmovq %rcx, %xmm3
vmovq %r9, %xmm9
rorxq $0x10, %rax, %rcx
rorxq $0x8, %rax, %rax
vpinsrq $0x1, %rax, %xmm13, %xmm10
vpunpcklqdq %xmm15, %xmm16, %xmm14 # xmm14 = xmm16[0],xmm15[0]
vpxor %xmm14, %xmm10, %xmm15
vpinsrq $0x1, %rcx, %xmm0, %xmm14
vpbroadcastq %rcx, %xmm10
vpinsrq $0x1, %rcx, %xmm15, %xmm16
vmovq %rsi, %xmm1
vpunpcklqdq %xmm31, %xmm18, %xmm18 # xmm18 = xmm18[0],xmm31[0]
vmovq -0x38(%rdi,%r15), %xmm31
vpunpcklqdq %xmm31, %xmm20, %xmm20 # xmm20 = xmm20[0],xmm31[0]
vpternlogq $0x96, %xmm20, %xmm18, %xmm24
vpternlogq $0x96, %xmm25, %xmm24, %xmm27
vpunpcklqdq %xmm26, %xmm15, %xmm18 # xmm18 = xmm15[0],xmm26[0]
vpternlogq $0x96, %xmm28, %xmm27, %xmm18
vpunpcklqdq %xmm21, %xmm19, %xmm19 # xmm19 = xmm19[0],xmm21[0]
vpunpcklqdq %xmm29, %xmm17, %xmm17 # xmm17 = xmm17[0],xmm29[0]
vpxorq %xmm30, %xmm17, %xmm17
vpblendd $0xc, %xmm0, %xmm11, %xmm11 # xmm11 = xmm11[0,1],xmm0[2,3]
vpunpcklqdq %xmm26, %xmm12, %xmm12 # xmm12 = xmm12[0],xmm26[0]
vpternlogq $0x96, %xmm11, %xmm17, %xmm12
vpternlogq $0x96, %xmm19, %xmm12, %xmm14
vpternlogq $0x96, %xmm23, %xmm15, %xmm14
vpternlogq $0x96, %xmm18, %xmm0, %xmm10
vpunpcklqdq %xmm3, %xmm9, %xmm3 # xmm3 = xmm9[0],xmm3[0]
valignq $0x1, %xmm23, %xmm0, %xmm9 # xmm9 = xmm23[1],xmm0[0]
vpunpcklqdq %xmm15, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm15[0]
vpternlogq $0x96, %xmm9, %xmm3, %xmm0
vpshufd $0xee, %xmm15, %xmm11   # xmm11 = xmm15[2,3,2,3]
vpternlogq $0x96, %xmm16, %xmm0, %xmm11
vmovdqa %ymm14, %ymm12
vpmovsxbq 0x163c(%rip), %ymm0 # 0x3860
vpermt2q %ymm11, %ymm0, %ymm12
vmovq %rbp, %xmm0
vpunpcklqdq %xmm0, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm0[0]
vpunpcklqdq %xmm22, %xmm13, %xmm3 # xmm3 = xmm13[0],xmm22[0]
vpinsrq $0x0, %rax, %xmm15, %xmm0
vpternlogq $0x96, %xmm3, %xmm1, %xmm0
vmovq %xmm0, %rax
vpextrq $0x1, %xmm0, %rcx
addq $0x40, %rdi
movq %rdi, -0x18(%rsp)
cmpq $0x338, %rdi            # imm = 0x338
jne 0x19a2
vinserti128 $0x1, %xmm0, %ymm0, %ymm3
vpermq $0x55, %ymm11, %ymm19   # ymm19 = ymm11[1,1,1,1]
vpmovsxbq 0x15e7(%rip), %ymm1 # 0x3864
vpsllvq %ymm1, %ymm14, %ymm5
vpbroadcastq %xmm14, %ymm2
vpsrlvq %ymm1, %ymm2, %ymm1
vpblendd $0xf0, %ymm1, %ymm5, %ymm6 # ymm6 = ymm5[0,1,2,3],ymm1[4,5,6,7]
vpextrq $0x1, %xmm14, %rcx
leaq (,%rcx,4), %rsi
vpbroadcastq %xmm10, %ymm5
vpsllvq 0xd72(%rip), %xmm5, %xmm8 # 0x3020
vpextrq $0x1, %xmm11, %rdx
vpbroadcastq %xmm11, %ymm1
vpsllvq 0xffe(%rip), %ymm1, %ymm9 # 0x32c0
vpermq $0x11, %ymm0, %ymm1     # ymm1 = ymm0[1,0,1,0]
vpsllvq 0x100f(%rip), %ymm1, %ymm12 # 0x32e0
vpsllvq 0x1026(%rip), %ymm3, %ymm13 # 0x3300
vpshufd $0xee, %xmm10, %xmm3    # xmm3 = xmm10[2,3,2,3]
vpmovsxbq 0x157e(%rip), %ymm16 # 0x3868
vpsrlvq %xmm16, %xmm3, %xmm3
vpshufd $0xee, %xmm11, %xmm7    # xmm7 = xmm11[2,3,2,3]
vpsllvq 0xd71(%rip), %xmm7, %xmm15 # 0x3070
vmovq %xmm10, %rdi
addq %rdi, %rdi
leaq (,%rdx,4), %r8
vpextrq $0x1, %xmm10, %r9
shrq $0x3, %r9
shrq %rcx
addq %rdx, %rdx
vpalignr $0x8, %xmm10, %xmm3, %xmm7 # xmm7 = xmm10[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
vpshufd $0xee, %xmm3, %xmm3     # xmm3 = xmm3[2,3,2,3]
vinserti128 $0x1, %xmm3, %ymm7, %ymm3
vpbroadcastq %r9, %ymm7
vpblendd $0xc0, %ymm7, %ymm3, %ymm7 # ymm7 = ymm3[0,1,2,3,4,5],ymm7[6,7]
vpbroadcastq 0xd52(%rip), %ymm18 # 0x3098
vmovq %rsi, %xmm17
vpunpcklqdq %xmm14, %xmm17, %xmm3 # xmm3 = xmm17[0],xmm14[0]
vpbroadcastq %rdi, %ymm4
vpblendd $0x30, %ymm4, %ymm3, %ymm3 # ymm3 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
vpbroadcastq %r8, %ymm4
vpblendd $0x30, %ymm4, %ymm15, %ymm4 # ymm4 = ymm15[0,1,2,3],ymm4[4,5],ymm15[6,7]
vpmovsxbq 0x14f9(%rip), %ymm15 # 0x386c
vpermi2q %ymm10, %ymm4, %ymm15
vpshufd $0xee, %xmm14, %xmm4    # xmm4 = xmm14[2,3,2,3]
vinserti128 $0x1, %xmm4, %ymm8, %ymm4
vpbroadcastq %rdx, %ymm8
vpblendd $0xc0, %ymm8, %ymm4, %ymm4 # ymm4 = ymm4[0,1,2,3,4,5],ymm8[6,7]
vpbroadcastq %rcx, %ymm8
vpand 0xfc1(%rip), %ymm13, %ymm13 # 0x3360
vpternlogq $0xf8, 0xfd6(%rip), %ymm12, %ymm13 # 0x3380
vpternlogq $0xf8, 0xd03(%rip){1to4}, %ymm9, %ymm13 # 0x30b8
vpternlogq $0xf8, 0xfe0(%rip), %ymm15, %ymm13 # 0x33a0
vpternlogq $0xf8, 0xff5(%rip), %ymm4, %ymm13 # 0x33c0
vpblendd $0xc0, %ymm8, %ymm3, %ymm3 # ymm3 = ymm3[0,1,2,3,4,5],ymm8[6,7]
vpternlogq $0xf8, 0x1004(%rip), %ymm3, %ymm13 # 0x33e0
vpternlogq $0xf8, 0x1019(%rip), %ymm6, %ymm13 # 0x3400
vpternlogq $0xf8, %ymm18, %ymm7, %ymm13
movq -0x10(%rsp), %rdx
vmovdqu %ymm13, (%rdx)
vpermq $0x55, %ymm10, %ymm3    # ymm3 = ymm10[1,1,1,1]
vpsrlvq 0x101a(%rip), %ymm3, %ymm3 # 0x3420
vpsrlvq %ymm16, %ymm5, %ymm5
vpmovsxbq 0x145b(%rip), %ymm4 # 0x3870
vpsllvq %ymm4, %ymm11, %ymm6
vpsrlvq %ymm4, %ymm19, %ymm4
vpblendd $0x3, %ymm6, %ymm4, %ymm4 # ymm4 = ymm6[0,1],ymm4[2,3,4,5,6,7]
shlq $0x3, %rax
vmovq %xmm11, %rcx
vpalignr $0x8, %xmm0, %xmm11, %xmm6 # xmm6 = xmm0[8,9,10,11,12,13,14,15],xmm11[0,1,2,3,4,5,6,7]
vpaddq %xmm6, %xmm6, %xmm7
vpsrlq $0x1, %xmm6, %xmm6
vpsrlvq 0x1019(%rip), %ymm2, %ymm2 # 0x3460
shrq $0x2, %rcx
vpermq $0x55, %ymm14, %ymm8    # ymm8 = ymm14[1,1,1,1]
vpsrlvq 0x1026(%rip), %ymm8, %ymm8 # 0x3480
vpalignr $0x8, %xmm11, %xmm7, %xmm7 # xmm7 = xmm11[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
vpshufd $0xee, %xmm6, %xmm6     # xmm6 = xmm6[2,3,2,3]
vinserti128 $0x1, %xmm6, %ymm7, %ymm6
vpbroadcastq %rcx, %ymm7
vpblendd $0xc0, %ymm7, %ymm6, %ymm6 # ymm6 = ymm6[0,1,2,3,4,5],ymm7[6,7]
vpermq $0x41, %ymm0, %ymm0     # ymm0 = ymm0[1,0,0,1]
vpmovsxbq 0x13d2(%rip), %ymm9 # 0x3858
vpsllvq %ymm9, %ymm0, %ymm7
vpsrlvq %ymm9, %ymm0, %ymm0
vpblendd $0xc0, %ymm0, %ymm7, %ymm0 # ymm0 = ymm7[0,1,2,3,4,5],ymm0[6,7]
vpand 0x1002(%rip), %ymm0, %ymm0 # 0x34a0
vmovq %rax, %xmm7
vpmovsxbq 0x13c8(%rip), %ymm9 # 0x3874
vpblendd $0x3, %ymm7, %ymm1, %ymm1 # ymm1 = ymm7[0,1],ymm1[2,3,4,5,6,7]
vpermi2q %ymm11, %ymm1, %ymm9
vpternlogq $0xec, 0x101d(%rip), %ymm0, %ymm9 # 0x34e0
vpternlogq $0xf8, 0x1032(%rip), %ymm6, %ymm9 # 0x3500
vpternlogq $0xf8, 0x1047(%rip), %ymm4, %ymm9 # 0x3520
vpternlogq $0xf8, 0xbc4(%rip){1to4}, %ymm5, %ymm9 # 0x30a8
vpternlogq $0xf8, 0xbb1(%rip){1to4}, %ymm8, %ymm9 # 0x30a0
vpternlogq $0xf8, 0xb96(%rip){1to4}, %ymm2, %ymm9 # 0x3090
vpternlogq $0xf8, %ymm18, %ymm3, %ymm9
vmovdqu %ymm9, 0x20(%rdx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq