#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ __m128i;

/* Variables and functions */
int /*<<< orphan*/ _mm_aesenc_si128(int /*<<< orphan*/,
                                    int /*<<< orphan*/ const);
int /*<<< orphan*/ _mm_aesenclast_si128(int /*<<< orphan*/,
                                        int /*<<< orphan*/ const);
int /*<<< orphan*/ _mm_load_si128(int /*<<< orphan*/ const *);
int /*<<< orphan*/ _mm_set_epi8(int, int, int, int, int, int, int, int, int,
                                int, int, int, int, int, int,
                                int /*<<< orphan*/);
int /*<<< orphan*/ _mm_shuffle_epi8(int /*<<< orphan*/,
                                    int /*<<< orphan*/ const);
int /*<<< orphan*/ _mm_store_si128(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_xor_si128(int /*<<< orphan*/, int /*<<< orphan*/ const);
void aesni_encrypt4(unsigned char *out, unsigned int *n,
                    const __m128i rkeys[16]) {
  const __m128i pt =
      _mm_set_epi8(12, 13, 14, 15, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0);
  __m128i nv0 = _mm_shuffle_epi8(_mm_load_si128((const __m128i *)n), pt);
  n[3]++;
  __m128i nv1 = _mm_shuffle_epi8(_mm_load_si128((const __m128i *)n), pt);
  n[3]++;
  __m128i nv2 = _mm_shuffle_epi8(_mm_load_si128((const __m128i *)n), pt);
  n[3]++;
  __m128i nv3 = _mm_shuffle_epi8(_mm_load_si128((const __m128i *)n), pt);
  n[3]++;
  int i;
  __m128i temp0 = _mm_xor_si128(nv0, rkeys[0]);
  __m128i temp1 = _mm_xor_si128(nv1, rkeys[0]);
  __m128i temp2 = _mm_xor_si128(nv2, rkeys[0]);
  __m128i temp3 = _mm_xor_si128(nv3, rkeys[0]);
  for (i = 1; i < 14; i++) {
    temp0 = _mm_aesenc_si128(temp0, rkeys[i]);
    temp1 = _mm_aesenc_si128(temp1, rkeys[i]);
    temp2 = _mm_aesenc_si128(temp2, rkeys[i]);
    temp3 = _mm_aesenc_si128(temp3, rkeys[i]);
  }
  temp0 = _mm_aesenclast_si128(temp0, rkeys[14]);
  temp1 = _mm_aesenclast_si128(temp1, rkeys[14]);
  temp2 = _mm_aesenclast_si128(temp2, rkeys[14]);
  temp3 = _mm_aesenclast_si128(temp3, rkeys[14]);
  _mm_store_si128((__m128i *)(out + (0 * 16)), temp0);
  _mm_store_si128((__m128i *)(out + (1 * 16)), temp1);
  _mm_store_si128((__m128i *)(out + (2 * 16)), temp2);
  _mm_store_si128((__m128i *)(out + (3 * 16)), temp3);
}


x86 assembly (clang, -O0):
<aesni_encrypt4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    $0xc,%edi
mov    $0xd,%esi
mov    $0xe,%edx
mov    $0xf,%ecx
mov    $0xb,%r8d
mov    $0xa,%r9d
xor    %eax,%eax
movl   $0x9,(%rsp)
movl   $0x8,0x8(%rsp)
movl   $0x7,0x10(%rsp)
movl   $0x6,0x18(%rsp)
movl   $0x5,0x20(%rsp)
movl   $0x4,0x28(%rsp)
movl   $0x3,0x30(%rsp)
movl   $0x2,0x38(%rsp)
movl   $0x1,0x40(%rsp)
movl   $0x0,0x48(%rsp)
call   1080 <_mm_set_epi8@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    -0x1c(%rbp),%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
add    $0x1,%ecx
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    -0x1c(%rbp),%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
add    $0x1,%ecx
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    -0x1c(%rbp),%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
add    $0x1,%ecx
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    -0x1c(%rbp),%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
add    $0x1,%ecx
mov    %ecx,0xc(%rax)
mov    -0x20(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x34(%rbp)
mov    -0x24(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x38(%rbp)
mov    -0x28(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x40(%rbp)
movl   $0x1,-0x30(%rbp)
cmpl   $0xe,-0x30(%rbp)
jge    1347 <aesni_encrypt4+0x1d7>
mov    -0x34(%rbp),%edi
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,-0x34(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,-0x38(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,-0x40(%rbp)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    12d7 <aesni_encrypt4+0x167>
mov    -0x34(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    0x38(%rax),%esi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,-0x34(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    0x38(%rax),%esi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,-0x38(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    0x38(%rax),%esi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    0x38(%rax),%esi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,-0x40(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x34(%rbp),%esi
call   1070 <_mm_store_si128@plt>
mov    -0x8(%rbp),%rdi
add    $0x10,%rdi
mov    -0x38(%rbp),%esi
call   1070 <_mm_store_si128@plt>
mov    -0x8(%rbp),%rdi
add    $0x20,%rdi
mov    -0x3c(%rbp),%esi
call   1070 <_mm_store_si128@plt>
mov    -0x8(%rbp),%rdi
add    $0x30,%rdi
mov    -0x40(%rbp),%esi
call   1070 <_mm_store_si128@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<aesni_encrypt4>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdx,%r12
mov    %rsi,%r15
mov    %rdi,0x10(%rsp)
mov    $0xc,%edi
mov    $0xd,%esi
mov    $0xe,%edx
mov    $0xf,%ecx
mov    $0xb,%r8d
mov    $0xa,%r9d
push   $0x0
push   $0x1
push   $0x2
push   $0x3
push   $0x4
push   $0x5
push   $0x6
push   $0x7
push   $0x8
push   $0x9
call   1080 <_mm_set_epi8@plt>
add    $0x50,%rsp
mov    %eax,%ebx
mov    %r15,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,%r13d
addl   $0x1,0xc(%r15)
mov    %r15,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,%ebp
addl   $0x1,0xc(%r15)
mov    %r15,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,%r14d
addl   $0x1,0xc(%r15)
mov    %r15,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1050 <_mm_shuffle_epi8@plt>
mov    %eax,%ebx
addl   $0x1,0xc(%r15)
mov    (%r12),%esi
mov    %r13d,%edi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%r15d
mov    (%r12),%esi
mov    %ebp,%edi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%r13d
mov    (%r12),%esi
mov    %r14d,%edi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%r14d
mov    (%r12),%esi
mov    %ebx,%edi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    $0x1,%ebp
nopl   0x0(%rax,%rax,1)
mov    (%r12,%rbp,4),%esi
mov    %r15d,%edi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,%r15d
mov    (%r12,%rbp,4),%esi
mov    %r13d,%edi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,%r13d
mov    (%r12,%rbp,4),%esi
mov    %r14d,%edi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,%r14d
mov    (%r12,%rbp,4),%esi
mov    %ebx,%edi
call   1060 <_mm_aesenc_si128@plt>
mov    %eax,%ebx
add    $0x1,%rbp
cmp    $0xe,%rbp
jne    1270 <aesni_encrypt4+0x100>
mov    0x38(%r12),%esi
mov    %r15d,%edi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,0xc(%rsp)
mov    0x38(%r12),%esi
mov    %r13d,%edi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,%r15d
mov    0x38(%r12),%esi
mov    %r14d,%edi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,%r14d
mov    0x38(%r12),%esi
mov    %ebx,%edi
call   1040 <_mm_aesenclast_si128@plt>
mov    %eax,%ebx
mov    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    0xc(%rsp),%esi
call   1070 <_mm_store_si128@plt>
lea    0x10(%rbp),%rdi
mov    %r15d,%esi
call   1070 <_mm_store_si128@plt>
lea    0x20(%rbp),%rdi
mov    %r14d,%esi
call   1070 <_mm_store_si128@plt>
add    $0x30,%rbp
mov    %rbp,%rdi
mov    %ebx,%esi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1070 <_mm_store_si128@plt>

LLVM IR (-O0):
define void @aesni_encrypt4(i8* %0, i32* %1, i32* %2) {
%4 = alloca i8*
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
store i8* %0, i8** %4
store i32* %1, i32** %5
store i32* %2, i32** %6
%17 = call i32 @_mm_set_epi8(i32 12, i32 13, i32 14, i32 15, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0)
store i32 %17, i32* %7
%18 = load i32*, i32** %5
%19 = call i32 @_mm_load_si128(i32* %18)
%20 = load i32, i32* %7
%21 = call i32 @_mm_shuffle_epi8(i32 %19, i32 %20)
store i32 %21, i32* %8
%22 = load i32*, i32** %5
%23 = getelementptr inbounds i32, i32* %22, i64 3
%24 = load i32, i32* %23
%25 = add i32 %24, 1
store i32 %25, i32* %23
%26 = load i32*, i32** %5
%27 = call i32 @_mm_load_si128(i32* %26)
%28 = load i32, i32* %7
%29 = call i32 @_mm_shuffle_epi8(i32 %27, i32 %28)
store i32 %29, i32* %9
%30 = load i32*, i32** %5
%31 = getelementptr inbounds i32, i32* %30, i64 3
%32 = load i32, i32* %31
%33 = add i32 %32, 1
store i32 %33, i32* %31
%34 = load i32*, i32** %5
%35 = call i32 @_mm_load_si128(i32* %34)
%36 = load i32, i32* %7
%37 = call i32 @_mm_shuffle_epi8(i32 %35, i32 %36)
store i32 %37, i32* %10
%38 = load i32*, i32** %5
%39 = getelementptr inbounds i32, i32* %38, i64 3
%40 = load i32, i32* %39
%41 = add i32 %40, 1
store i32 %41, i32* %39
%42 = load i32*, i32** %5
%43 = call i32 @_mm_load_si128(i32* %42)
%44 = load i32, i32* %7
%45 = call i32 @_mm_shuffle_epi8(i32 %43, i32 %44)
store i32 %45, i32* %11
%46 = load i32*, i32** %5
%47 = getelementptr inbounds i32, i32* %46, i64 3
%48 = load i32, i32* %47
%49 = add i32 %48, 1
store i32 %49, i32* %47
%50 = load i32, i32* %8
%51 = load i32*, i32** %6
%52 = getelementptr inbounds i32, i32* %51, i64 0
%53 = load i32, i32* %52
%54 = call i32 @_mm_xor_si128(i32 %50, i32 %53)
store i32 %54, i32* %13
%55 = load i32, i32* %9
%56 = load i32*, i32** %6
%57 = getelementptr inbounds i32, i32* %56, i64 0
%58 = load i32, i32* %57
%59 = call i32 @_mm_xor_si128(i32 %55, i32 %58)
store i32 %59, i32* %14
%60 = load i32, i32* %10
%61 = load i32*, i32** %6
%62 = getelementptr inbounds i32, i32* %61, i64 0
%63 = load i32, i32* %62
%64 = call i32 @_mm_xor_si128(i32 %60, i32 %63)
store i32 %64, i32* %15
%65 = load i32, i32* %11
%66 = load i32*, i32** %6
%67 = getelementptr inbounds i32, i32* %66, i64 0
%68 = load i32, i32* %67
%69 = call i32 @_mm_xor_si128(i32 %65, i32 %68)
store i32 %69, i32* %16
store i32 1, i32* %12
br label %70
70: ; preds = %102, %3
%71 = load i32, i32* %12
%72 = icmp slt i32 %71, 14
br i1 %72, label %73, label %105
73: ; preds = %70
%74 = load i32, i32* %13
%75 = load i32*, i32** %6
%76 = load i32, i32* %12
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, i32* %75, i64 %77
%79 = load i32, i32* %78
%80 = call i32 @_mm_aesenc_si128(i32 %74, i32 %79)
store i32 %80, i32* %13
%81 = load i32, i32* %14
%82 = load i32*, i32** %6
%83 = load i32, i32* %12
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, i32* %82, i64 %84
%86 = load i32, i32* %85
%87 = call i32 @_mm_aesenc_si128(i32 %81, i32 %86)
store i32 %87, i32* %14
%88 = load i32, i32* %15
%89 = load i32*, i32** %6
%90 = load i32, i32* %12
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, i32* %89, i64 %91
%93 = load i32, i32* %92
%94 = call i32 @_mm_aesenc_si128(i32 %88, i32 %93)
store i32 %94, i32* %15
%95 = load i32, i32* %16
%96 = load i32*, i32** %6
%97 = load i32, i32* %12
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, i32* %96, i64 %98
%100 = load i32, i32* %99
%101 = call i32 @_mm_aesenc_si128(i32 %95, i32 %100)
store i32 %101, i32* %16
br label %102
102: ; preds = %73
%103 = load i32, i32* %12
%104 = add nsw i32 %103, 1
store i32 %104, i32* %12
br label %70
105: ; preds = %70
%106 = load i32, i32* %13
%107 = load i32*, i32** %6
%108 = getelementptr inbounds i32, i32* %107, i64 14
%109 = load i32, i32* %108
%110 = call i32 @_mm_aesenclast_si128(i32 %106, i32 %109)
store i32 %110, i32* %13
%111 = load i32, i32* %14
%112 = load i32*, i32** %6
%113 = getelementptr inbounds i32, i32* %112, i64 14
%114 = load i32, i32* %113
%115 = call i32 @_mm_aesenclast_si128(i32 %111, i32 %114)
store i32 %115, i32* %14
%116 = load i32, i32* %15
%117 = load i32*, i32** %6
%118 = getelementptr inbounds i32, i32* %117, i64 14
%119 = load i32, i32* %118
%120 = call i32 @_mm_aesenclast_si128(i32 %116, i32 %119)
store i32 %120, i32* %15
%121 = load i32, i32* %16
%122 = load i32*, i32** %6
%123 = getelementptr inbounds i32, i32* %122, i64 14
%124 = load i32, i32* %123
%125 = call i32 @_mm_aesenclast_si128(i32 %121, i32 %124)
store i32 %125, i32* %16
%126 = load i8*, i8** %4
%127 = getelementptr inbounds i8, i8* %126, i64 0
%128 = bitcast i8* %127 to i32*
%129 = load i32, i32* %13
%130 = call i32 @_mm_store_si128(i32* %128, i32 %129)
%131 = load i8*, i8** %4
%132 = getelementptr inbounds i8, i8* %131, i64 16
%133 = bitcast i8* %132 to i32*
%134 = load i32, i32* %14
%135 = call i32 @_mm_store_si128(i32* %133, i32 %134)
%136 = load i8*, i8** %4
%137 = getelementptr inbounds i8, i8* %136, i64 32
%138 = bitcast i8* %137 to i32*
%139 = load i32, i32* %15
%140 = call i32 @_mm_store_si128(i32* %138, i32 %139)
%141 = load i8*, i8** %4
%142 = getelementptr inbounds i8, i8* %141, i64 48
%143 = bitcast i8* %142 to i32*
%144 = load i32, i32* %16
%145 = call i32 @_mm_store_si128(i32* %143, i32 %144)
ret void
}

LLVM IR (-O2):
define void @aesni_encrypt4(i8* %0, i32* %1, i32* nocapture %2) {
%4 = tail call i32 @_mm_set_epi8(i32 12, i32 13, i32 14, i32 15, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0)
%5 = tail call i32 @_mm_load_si128(i32* %1)
%6 = tail call i32 @_mm_shuffle_epi8(i32 %5, i32 %4)
%7 = getelementptr inbounds i32, i32* %1, i64 3
%8 = load i32, i32* %7
%9 = add i32 %8, 1
store i32 %9, i32* %7
%10 = tail call i32 @_mm_load_si128(i32* %1)
%11 = tail call i32 @_mm_shuffle_epi8(i32 %10, i32 %4)
%12 = load i32, i32* %7
%13 = add i32 %12, 1
store i32 %13, i32* %7
%14 = tail call i32 @_mm_load_si128(i32* %1)
%15 = tail call i32 @_mm_shuffle_epi8(i32 %14, i32 %4)
%16 = load i32, i32* %7
%17 = add i32 %16, 1
store i32 %17, i32* %7
%18 = tail call i32 @_mm_load_si128(i32* %1)
%19 = tail call i32 @_mm_shuffle_epi8(i32 %18, i32 %4)
%20 = load i32, i32* %7
%21 = add i32 %20, 1
store i32 %21, i32* %7
%22 = load i32, i32* %2
%23 = tail call i32 @_mm_xor_si128(i32 %6, i32 %22)
%24 = load i32, i32* %2
%25 = tail call i32 @_mm_xor_si128(i32 %11, i32 %24)
%26 = load i32, i32* %2
%27 = tail call i32 @_mm_xor_si128(i32 %15, i32 %26)
%28 = load i32, i32* %2
%29 = tail call i32 @_mm_xor_si128(i32 %19, i32 %28)
br label %30
30: ; preds = %3, %30
%31 = phi i64 [ 1, %3 ], [ %45, %30 ]
%32 = phi i32 [ %29, %3 ], [ %44, %30 ]
%33 = phi i32 [ %27, %3 ], [ %42, %30 ]
%34 = phi i32 [ %25, %3 ], [ %40, %30 ]
%35 = phi i32 [ %23, %3 ], [ %38, %30 ]
%36 = getelementptr inbounds i32, i32* %2, i64 %31
%37 = load i32, i32* %36
%38 = tail call i32 @_mm_aesenc_si128(i32 %35, i32 %37)
%39 = load i32, i32* %36
%40 = tail call i32 @_mm_aesenc_si128(i32 %34, i32 %39)
%41 = load i32, i32* %36
%42 = tail call i32 @_mm_aesenc_si128(i32 %33, i32 %41)
%43 = load i32, i32* %36
%44 = tail call i32 @_mm_aesenc_si128(i32 %32, i32 %43)
%45 = add nuw nsw i64 %31, 1
%46 = icmp eq i64 %45, 14
br i1 %46, label %47, label %30
47: ; preds = %30
%48 = getelementptr inbounds i32, i32* %2, i64 14
%49 = load i32, i32* %48
%50 = tail call i32 @_mm_aesenclast_si128(i32 %38, i32 %49)
%51 = load i32, i32* %48
%52 = tail call i32 @_mm_aesenclast_si128(i32 %40, i32 %51)
%53 = load i32, i32* %48
%54 = tail call i32 @_mm_aesenclast_si128(i32 %42, i32 %53)
%55 = load i32, i32* %48
%56 = tail call i32 @_mm_aesenclast_si128(i32 %44, i32 %55)
%57 = bitcast i8* %0 to i32*
%58 = tail call i32 @_mm_store_si128(i32* %57, i32 %50)
%59 = getelementptr inbounds i8, i8* %0, i64 16
%60 = bitcast i8* %59 to i32*
%61 = tail call i32 @_mm_store_si128(i32* %60, i32 %52)
%62 = getelementptr inbounds i8, i8* %0, i64 32
%63 = bitcast i8* %62 to i32*
%64 = tail call i32 @_mm_store_si128(i32* %63, i32 %54)
%65 = getelementptr inbounds i8, i8* %0, i64 48
%66 = bitcast i8* %65 to i32*
%67 = tail call i32 @_mm_store_si128(i32* %66, i32 %56)
ret void
}