#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_aeskeygenassist_si128(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_castps_si128(int /*<<< orphan*/);
int /*<<< orphan*/ _mm_castsi128_ps(int /*<<< orphan*/);
int /*<<< orphan*/ _mm_loadu_si128(int /*<<< orphan*/ *);
int /*<<< orphan*/ _mm_setzero_si128();
int /*<<< orphan*/ _mm_shuffle_epi32(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_shuffle_ps(int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_xor_si128(int /*<<< orphan*/, int /*<<< orphan*/);
void AES128KeyExpansion(const unsigned char *userkey, void *key) {
  __m128i x0, x1, x2;
  __m128i *kp = (__m128i *)key;
  kp[0] = x0 = _mm_loadu_si128((__m128i *)userkey);
  x2 = _mm_setzero_si128();
  x1 = _mm_aeskeygenassist_si128(x0, 1);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[1] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[2] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 4);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[3] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 8);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[4] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 16);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[5] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 32);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[6] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 64);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[7] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 128);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[8] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 27);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[9] = x0;
  x1 = _mm_aeskeygenassist_si128(x0, 54);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 16));
  x0 = _mm_xor_si128(x0, x2);
  x2 = _mm_castps_si128(
      _mm_shuffle_ps(_mm_castsi128_ps(x2), _mm_castsi128_ps(x0), 140));
  x0 = _mm_xor_si128(x0, x2);
  x1 = _mm_shuffle_epi32(x1, 255);
  x0 = _mm_xor_si128(x0, x1);
  kp[10] = x0;
}


x86 assembly (clang, -O0):
<AES128KeyExpansion>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
call   10a0 <_mm_loadu_si128@plt>
mov    %eax,%ecx
mov    %ecx,-0x14(%rbp)
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    $0x0,%al
call   1050 <_mm_setzero_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    $0x1,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x78(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x78(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x74(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x74(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x14(%rbp),%edi
mov    $0x2,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x70(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x70(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x6c(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x14(%rbp),%edi
mov    $0x4,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x68(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x68(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x64(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x64(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x14(%rbp),%edi
mov    $0x8,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x60(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x60(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x5c(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x14(%rbp),%edi
mov    $0x10,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x58(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x58(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x54(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x54(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x14(%rbp),%edi
mov    $0x20,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x50(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x50(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x4c(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x14(%rbp),%edi
mov    $0x40,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x48(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x48(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x44(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x14(%rbp),%edi
mov    $0x80,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x40(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x40(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x3c(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x14(%rbp),%edi
mov    $0x1b,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x38(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x38(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x34(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x34(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x14(%rbp),%edi
mov    $0x36,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,-0x18(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x30(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x30(%rbp),%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x1c(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x14(%rbp),%edi
call   1060 <_mm_castsi128_ps@plt>
mov    -0x2c(%rbp),%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x28(%rax)
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<AES128KeyExpansion>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
call   10a0 <_mm_loadu_si128@plt>
mov    %eax,%ebx
mov    %eax,(%r14)
xor    %eax,%eax
call   1050 <_mm_setzero_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    $0x1,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x4(%r14)
mov    %eax,%edi
mov    $0x2,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x8(%r14)
mov    %eax,%edi
mov    $0x4,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0xc(%r14)
mov    %eax,%edi
mov    $0x8,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x10(%r14)
mov    %eax,%edi
mov    $0x10,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x14(%r14)
mov    %eax,%edi
mov    $0x20,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x18(%r14)
mov    %eax,%edi
mov    $0x40,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x1c(%r14)
mov    %eax,%edi
mov    $0x80,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x20(%r14)
mov    %eax,%edi
mov    $0x1b,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %eax,0x24(%r14)
mov    %eax,%edi
mov    $0x36,%esi
call   1090 <_mm_aeskeygenassist_si128@plt>
mov    %eax,%r15d
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x10,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %eax,%ebp
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %ebp,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %eax,%ebp
mov    %ebx,%edi
call   1060 <_mm_castsi128_ps@plt>
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x8c,%edx
call   1040 <_mm_shuffle_ps@plt>
mov    %eax,%edi
call   1030 <_mm_castps_si128@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    $0xff,%esi
call   1070 <_mm_shuffle_epi32@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1080 <_mm_xor_si128@plt>
mov    %eax,0x28(%r14)
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @AES128KeyExpansion(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32*
store i8* %0, i8** %3
store i8* %1, i8** %4
%9 = load i8*, i8** %4
%10 = bitcast i8* %9 to i32*
store i32* %10, i32** %8
%11 = load i8*, i8** %3
%12 = bitcast i8* %11 to i32*
%13 = call i32 @_mm_loadu_si128(i32* %12)
store i32 %13, i32* %5
%14 = load i32*, i32** %8
%15 = getelementptr inbounds i32, i32* %14, i64 0
store i32 %13, i32* %15
%16 = call i32 (...) @_mm_setzero_si128()
store i32 %16, i32* %7
%17 = load i32, i32* %5
%18 = call i32 @_mm_aeskeygenassist_si128(i32 %17, i32 1)
store i32 %18, i32* %6
%19 = load i32, i32* %7
%20 = call i32 @_mm_castsi128_ps(i32 %19)
%21 = load i32, i32* %5
%22 = call i32 @_mm_castsi128_ps(i32 %21)
%23 = call i32 @_mm_shuffle_ps(i32 %20, i32 %22, i32 16)
%24 = call i32 @_mm_castps_si128(i32 %23)
store i32 %24, i32* %7
%25 = load i32, i32* %5
%26 = load i32, i32* %7
%27 = call i32 @_mm_xor_si128(i32 %25, i32 %26)
store i32 %27, i32* %5
%28 = load i32, i32* %7
%29 = call i32 @_mm_castsi128_ps(i32 %28)
%30 = load i32, i32* %5
%31 = call i32 @_mm_castsi128_ps(i32 %30)
%32 = call i32 @_mm_shuffle_ps(i32 %29, i32 %31, i32 140)
%33 = call i32 @_mm_castps_si128(i32 %32)
store i32 %33, i32* %7
%34 = load i32, i32* %5
%35 = load i32, i32* %7
%36 = call i32 @_mm_xor_si128(i32 %34, i32 %35)
store i32 %36, i32* %5
%37 = load i32, i32* %6
%38 = call i32 @_mm_shuffle_epi32(i32 %37, i32 255)
store i32 %38, i32* %6
%39 = load i32, i32* %5
%40 = load i32, i32* %6
%41 = call i32 @_mm_xor_si128(i32 %39, i32 %40)
store i32 %41, i32* %5
%42 = load i32, i32* %5
%43 = load i32*, i32** %8
%44 = getelementptr inbounds i32, i32* %43, i64 1
store i32 %42, i32* %44
%45 = load i32, i32* %5
%46 = call i32 @_mm_aeskeygenassist_si128(i32 %45, i32 2)
store i32 %46, i32* %6
%47 = load i32, i32* %7
%48 = call i32 @_mm_castsi128_ps(i32 %47)
%49 = load i32, i32* %5
%50 = call i32 @_mm_castsi128_ps(i32 %49)
%51 = call i32 @_mm_shuffle_ps(i32 %48, i32 %50, i32 16)
%52 = call i32 @_mm_castps_si128(i32 %51)
store i32 %52, i32* %7
%53 = load i32, i32* %5
%54 = load i32, i32* %7
%55 = call i32 @_mm_xor_si128(i32 %53, i32 %54)
store i32 %55, i32* %5
%56 = load i32, i32* %7
%57 = call i32 @_mm_castsi128_ps(i32 %56)
%58 = load i32, i32* %5
%59 = call i32 @_mm_castsi128_ps(i32 %58)
%60 = call i32 @_mm_shuffle_ps(i32 %57, i32 %59, i32 140)
%61 = call i32 @_mm_castps_si128(i32 %60)
store i32 %61, i32* %7
%62 = load i32, i32* %5
%63 = load i32, i32* %7
%64 = call i32 @_mm_xor_si128(i32 %62, i32 %63)
store i32 %64, i32* %5
%65 = load i32, i32* %6
%66 = call i32 @_mm_shuffle_epi32(i32 %65, i32 255)
store i32 %66, i32* %6
%67 = load i32, i32* %5
%68 = load i32, i32* %6
%69 = call i32 @_mm_xor_si128(i32 %67, i32 %68)
store i32 %69, i32* %5
%70 = load i32, i32* %5
%71 = load i32*, i32** %8
%72 = getelementptr inbounds i32, i32* %71, i64 2
store i32 %70, i32* %72
%73 = load i32, i32* %5
%74 = call i32 @_mm_aeskeygenassist_si128(i32 %73, i32 4)
store i32 %74, i32* %6
%75 = load i32, i32* %7
%76 = call i32 @_mm_castsi128_ps(i32 %75)
%77 = load i32, i32* %5
%78 = call i32 @_mm_castsi128_ps(i32 %77)
%79 = call i32 @_mm_shuffle_ps(i32 %76, i32 %78, i32 16)
%80 = call i32 @_mm_castps_si128(i32 %79)
store i32 %80, i32* %7
%81 = load i32, i32* %5
%82 = load i32, i32* %7
%83 = call i32 @_mm_xor_si128(i32 %81, i32 %82)
store i32 %83, i32* %5
%84 = load i32, i32* %7
%85 = call i32 @_mm_castsi128_ps(i32 %84)
%86 = load i32, i32* %5
%87 = call i32 @_mm_castsi128_ps(i32 %86)
%88 = call i32 @_mm_shuffle_ps(i32 %85, i32 %87, i32 140)
%89 = call i32 @_mm_castps_si128(i32 %88)
store i32 %89, i32* %7
%90 = load i32, i32* %5
%91 = load i32, i32* %7
%92 = call i32 @_mm_xor_si128(i32 %90, i32 %91)
store i32 %92, i32* %5
%93 = load i32, i32* %6
%94 = call i32 @_mm_shuffle_epi32(i32 %93, i32 255)
store i32 %94, i32* %6
%95 = load i32, i32* %5
%96 = load i32, i32* %6
%97 = call i32 @_mm_xor_si128(i32 %95, i32 %96)
store i32 %97, i32* %5
%98 = load i32, i32* %5
%99 = load i32*, i32** %8
%100 = getelementptr inbounds i32, i32* %99, i64 3
store i32 %98, i32* %100
%101 = load i32, i32* %5
%102 = call i32 @_mm_aeskeygenassist_si128(i32 %101, i32 8)
store i32 %102, i32* %6
%103 = load i32, i32* %7
%104 = call i32 @_mm_castsi128_ps(i32 %103)
%105 = load i32, i32* %5
%106 = call i32 @_mm_castsi128_ps(i32 %105)
%107 = call i32 @_mm_shuffle_ps(i32 %104, i32 %106, i32 16)
%108 = call i32 @_mm_castps_si128(i32 %107)
store i32 %108, i32* %7
%109 = load i32, i32* %5
%110 = load i32, i32* %7
%111 = call i32 @_mm_xor_si128(i32 %109, i32 %110)
store i32 %111, i32* %5
%112 = load i32, i32* %7
%113 = call i32 @_mm_castsi128_ps(i32 %112)
%114 = load i32, i32* %5
%115 = call i32 @_mm_castsi128_ps(i32 %114)
%116 = call i32 @_mm_shuffle_ps(i32 %113, i32 %115, i32 140)
%117 = call i32 @_mm_castps_si128(i32 %116)
store i32 %117, i32* %7
%118 = load i32, i32* %5
%119 = load i32, i32* %7
%120 = call i32 @_mm_xor_si128(i32 %118, i32 %119)
store i32 %120, i32* %5
%121 = load i32, i32* %6
%122 = call i32 @_mm_shuffle_epi32(i32 %121, i32 255)
store i32 %122, i32* %6
%123 = load i32, i32* %5
%124 = load i32, i32* %6
%125 = call i32 @_mm_xor_si128(i32 %123, i32 %124)
store i32 %125, i32* %5
%126 = load i32, i32* %5
%127 = load i32*, i32** %8
%128 = getelementptr inbounds i32, i32* %127, i64 4
store i32 %126, i32* %128
%129 = load i32, i32* %5
%130 = call i32 @_mm_aeskeygenassist_si128(i32 %129, i32 16)
store i32 %130, i32* %6
%131 = load i32, i32* %7
%132 = call i32 @_mm_castsi128_ps(i32 %131)
%133 = load i32, i32* %5
%134 = call i32 @_mm_castsi128_ps(i32 %133)
%135 = call i32 @_mm_shuffle_ps(i32 %132, i32 %134, i32 16)
%136 = call i32 @_mm_castps_si128(i32 %135)
store i32 %136, i32* %7
%137 = load i32, i32* %5
%138 = load i32, i32* %7
%139 = call i32 @_mm_xor_si128(i32 %137, i32 %138)
store i32 %139, i32* %5
%140 = load i32, i32* %7
%141 = call i32 @_mm_castsi128_ps(i32 %140)
%142 = load i32, i32* %5
%143 = call i32 @_mm_castsi128_ps(i32 %142)
%144 = call i32 @_mm_shuffle_ps(i32 %141, i32 %143, i32 140)
%145 = call i32 @_mm_castps_si128(i32 %144)
store i32 %145, i32* %7
%146 = load i32, i32* %5
%147 = load i32, i32* %7
%148 = call i32 @_mm_xor_si128(i32 %146, i32 %147)
store i32 %148, i32* %5
%149 = load i32, i32* %6
%150 = call i32 @_mm_shuffle_epi32(i32 %149, i32 255)
store i32 %150, i32* %6
%151 = load i32, i32* %5
%152 = load i32, i32* %6
%153 = call i32 @_mm_xor_si128(i32 %151, i32 %152)
store i32 %153, i32* %5
%154 = load i32, i32* %5
%155 = load i32*, i32** %8
%156 = getelementptr inbounds i32, i32* %155, i64 5
store i32 %154, i32* %156
%157 = load i32, i32* %5
%158 = call i32 @_mm_aeskeygenassist_si128(i32 %157, i32 32)
store i32 %158, i32* %6
%159 = load i32, i32* %7
%160 = call i32 @_mm_castsi128_ps(i32 %159)
%161 = load i32, i32* %5
%162 = call i32 @_mm_castsi128_ps(i32 %161)
%163 = call i32 @_mm_shuffle_ps(i32 %160, i32 %162, i32 16)
%164 = call i32 @_mm_castps_si128(i32 %163)
store i32 %164, i32* %7
%165 = load i32, i32* %5
%166 = load i32, i32* %7
%167 = call i32 @_mm_xor_si128(i32 %165, i32 %166)
store i32 %167, i32* %5
%168 = load i32, i32* %7
%169 = call i32 @_mm_castsi128_ps(i32 %168)
%170 = load i32, i32* %5
%171 = call i32 @_mm_castsi128_ps(i32 %170)
%172 = call i32 @_mm_shuffle_ps(i32 %169, i32 %171, i32 140)
%173 = call i32 @_mm_castps_si128(i32 %172)
store i32 %173, i32* %7
%174 = load i32, i32* %5
%175 = load i32, i32* %7
%176 = call i32 @_mm_xor_si128(i32 %174, i32 %175)
store i32 %176, i32* %5
%177 = load i32, i32* %6
%178 = call i32 @_mm_shuffle_epi32(i32 %177, i32 255)
store i32 %178, i32* %6
%179 = load i32, i32* %5
%180 = load i32, i32* %6
%181 = call i32 @_mm_xor_si128(i32 %179, i32 %180)
store i32 %181, i32* %5
%182 = load i32, i32* %5
%183 = load i32*, i32** %8
%184 = getelementptr inbounds i32, i32* %183, i64 6
store i32 %182, i32* %184
%185 = load i32, i32* %5
%186 = call i32 @_mm_aeskeygenassist_si128(i32 %185, i32 64)
store i32 %186, i32* %6
%187 = load i32, i32* %7
%188 = call i32 @_mm_castsi128_ps(i32 %187)
%189 = load i32, i32* %5
%190 = call i32 @_mm_castsi128_ps(i32 %189)
%191 = call i32 @_mm_shuffle_ps(i32 %188, i32 %190, i32 16)
%192 = call i32 @_mm_castps_si128(i32 %191)
store i32 %192, i32* %7
%193 = load i32, i32* %5
%194 = load i32, i32* %7
%195 = call i32 @_mm_xor_si128(i32 %193, i32 %194)
store i32 %195, i32* %5
%196 = load i32, i32* %7
%197 = call i32 @_mm_castsi128_ps(i32 %196)
%198 = load i32, i32* %5
%199 = call i32 @_mm_castsi128_ps(i32 %198)
%200 = call i32 @_mm_shuffle_ps(i32 %197, i32 %199, i32 140)
%201 = call i32 @_mm_castps_si128(i32 %200)
store i32 %201, i32* %7
%202 = load i32, i32* %5
%203 = load i32, i32* %7
%204 = call i32 @_mm_xor_si128(i32 %202, i32 %203)
store i32 %204, i32* %5
%205 = load i32, i32* %6
%206 = call i32 @_mm_shuffle_epi32(i32 %205, i32 255)
store i32 %206, i32* %6
%207 = load i32, i32* %5
%208 = load i32, i32* %6
%209 = call i32 @_mm_xor_si128(i32 %207, i32 %208)
store i32 %209, i32* %5
%210 = load i32, i32* %5
%211 = load i32*, i32** %8
%212 = getelementptr inbounds i32, i32* %211, i64 7
store i32 %210, i32* %212
%213 = load i32, i32* %5
%214 = call i32 @_mm_aeskeygenassist_si128(i32 %213, i32 128)
store i32 %214, i32* %6
%215 = load i32, i32* %7
%216 = call i32 @_mm_castsi128_ps(i32 %215)
%217 = load i32, i32* %5
%218 = call i32 @_mm_castsi128_ps(i32 %217)
%219 = call i32 @_mm_shuffle_ps(i32 %216, i32 %218, i32 16)
%220 = call i32 @_mm_castps_si128(i32 %219)
store i32 %220, i32* %7
%221 = load i32, i32* %5
%222 = load i32, i32* %7
%223 = call i32 @_mm_xor_si128(i32 %221, i32 %222)
store i32 %223, i32* %5
%224 = load i32, i32* %7
%225 = call i32 @_mm_castsi128_ps(i32 %224)
%226 = load i32, i32* %5
%227 = call i32 @_mm_castsi128_ps(i32 %226)
%228 = call i32 @_mm_shuffle_ps(i32 %225, i32 %227, i32 140)
%229 = call i32 @_mm_castps_si128(i32 %228)
store i32 %229, i32* %7
%230 = load i32, i32* %5
%231 = load i32, i32* %7
%232 = call i32 @_mm_xor_si128(i32 %230, i32 %231)
store i32 %232, i32* %5
%233 = load i32, i32* %6
%234 = call i32 @_mm_shuffle_epi32(i32 %233, i32 255)
store i32 %234, i32* %6
%235 = load i32, i32* %5
%236 = load i32, i32* %6
%237 = call i32 @_mm_xor_si128(i32 %235, i32 %236)
store i32 %237, i32* %5
%238 = load i32, i32* %5
%239 = load i32*, i32** %8
%240 = getelementptr inbounds i32, i32* %239, i64 8
store i32 %238, i32* %240
%241 = load i32, i32* %5
%242 = call i32 @_mm_aeskeygenassist_si128(i32 %241, i32 27)
store i32 %242, i32* %6
%243 = load i32, i32* %7
%244 = call i32 @_mm_castsi128_ps(i32 %243)
%245 = load i32, i32* %5
%246 = call i32 @_mm_castsi128_ps(i32 %245)
%247 = call i32 @_mm_shuffle_ps(i32 %244, i32 %246, i32 16)
%248 = call i32 @_mm_castps_si128(i32 %247)
store i32 %248, i32* %7
%249 = load i32, i32* %5
%250 = load i32, i32* %7
%251 = call i32 @_mm_xor_si128(i32 %249, i32 %250)
store i32 %251, i32* %5
%252 = load i32, i32* %7
%253 = call i32 @_mm_castsi128_ps(i32 %252)
%254 = load i32, i32* %5
%255 = call i32 @_mm_castsi128_ps(i32 %254)
%256 = call i32 @_mm_shuffle_ps(i32 %253, i32 %255, i32 140)
%257 = call i32 @_mm_castps_si128(i32 %256)
store i32 %257, i32* %7
%258 = load i32, i32* %5
%259 = load i32, i32* %7
%260 = call i32 @_mm_xor_si128(i32 %258, i32 %259)
store i32 %260, i32* %5
%261 = load i32, i32* %6
%262 = call i32 @_mm_shuffle_epi32(i32 %261, i32 255)
store i32 %262, i32* %6
%263 = load i32, i32* %5
%264 = load i32, i32* %6
%265 = call i32 @_mm_xor_si128(i32 %263, i32 %264)
store i32 %265, i32* %5
%266 = load i32, i32* %5
%267 = load i32*, i32** %8
%268 = getelementptr inbounds i32, i32* %267, i64 9
store i32 %266, i32* %268
%269 = load i32, i32* %5
%270 = call i32 @_mm_aeskeygenassist_si128(i32 %269, i32 54)
store i32 %270, i32* %6
%271 = load i32, i32* %7
%272 = call i32 @_mm_castsi128_ps(i32 %271)
%273 = load i32, i32* %5
%274 = call i32 @_mm_castsi128_ps(i32 %273)
%275 = call i32 @_mm_shuffle_ps(i32 %272, i32 %274, i32 16)
%276 = call i32 @_mm_castps_si128(i32 %275)
store i32 %276, i32* %7
%277 = load i32, i32* %5
%278 = load i32, i32* %7
%279 = call i32 @_mm_xor_si128(i32 %277, i32 %278)
store i32 %279, i32* %5
%280 = load i32, i32* %7
%281 = call i32 @_mm_castsi128_ps(i32 %280)
%282 = load i32, i32* %5
%283 = call i32 @_mm_castsi128_ps(i32 %282)
%284 = call i32 @_mm_shuffle_ps(i32 %281, i32 %283, i32 140)
%285 = call i32 @_mm_castps_si128(i32 %284)
store i32 %285, i32* %7
%286 = load i32, i32* %5
%287 = load i32, i32* %7
%288 = call i32 @_mm_xor_si128(i32 %286, i32 %287)
store i32 %288, i32* %5
%289 = load i32, i32* %6
%290 = call i32 @_mm_shuffle_epi32(i32 %289, i32 255)
store i32 %290, i32* %6
%291 = load i32, i32* %5
%292 = load i32, i32* %6
%293 = call i32 @_mm_xor_si128(i32 %291, i32 %292)
store i32 %293, i32* %5
%294 = load i32, i32* %5
%295 = load i32*, i32** %8
%296 = getelementptr inbounds i32, i32* %295, i64 10
store i32 %294, i32* %296
ret void
}

LLVM IR (-O2):
define void @AES128KeyExpansion(i8* %0, i8* nocapture writeonly %1) {
%3 = bitcast i8* %1 to i32*
%4 = bitcast i8* %0 to i32*
%5 = tail call i32 @_mm_loadu_si128(i32* %4)
store i32 %5, i32* %3
%6 = tail call i32 (...) @_mm_setzero_si128()
%7 = tail call i32 @_mm_aeskeygenassist_si128(i32 %5, i32 1)
%8 = tail call i32 @_mm_castsi128_ps(i32 %6)
%9 = tail call i32 @_mm_castsi128_ps(i32 %5)
%10 = tail call i32 @_mm_shuffle_ps(i32 %8, i32 %9, i32 16)
%11 = tail call i32 @_mm_castps_si128(i32 %10)
%12 = tail call i32 @_mm_xor_si128(i32 %5, i32 %11)
%13 = tail call i32 @_mm_castsi128_ps(i32 %11)
%14 = tail call i32 @_mm_castsi128_ps(i32 %12)
%15 = tail call i32 @_mm_shuffle_ps(i32 %13, i32 %14, i32 140)
%16 = tail call i32 @_mm_castps_si128(i32 %15)
%17 = tail call i32 @_mm_xor_si128(i32 %12, i32 %16)
%18 = tail call i32 @_mm_shuffle_epi32(i32 %7, i32 255)
%19 = tail call i32 @_mm_xor_si128(i32 %17, i32 %18)
%20 = getelementptr inbounds i8, i8* %1, i64 4
%21 = bitcast i8* %20 to i32*
store i32 %19, i32* %21
%22 = tail call i32 @_mm_aeskeygenassist_si128(i32 %19, i32 2)
%23 = tail call i32 @_mm_castsi128_ps(i32 %16)
%24 = tail call i32 @_mm_castsi128_ps(i32 %19)
%25 = tail call i32 @_mm_shuffle_ps(i32 %23, i32 %24, i32 16)
%26 = tail call i32 @_mm_castps_si128(i32 %25)
%27 = tail call i32 @_mm_xor_si128(i32 %19, i32 %26)
%28 = tail call i32 @_mm_castsi128_ps(i32 %26)
%29 = tail call i32 @_mm_castsi128_ps(i32 %27)
%30 = tail call i32 @_mm_shuffle_ps(i32 %28, i32 %29, i32 140)
%31 = tail call i32 @_mm_castps_si128(i32 %30)
%32 = tail call i32 @_mm_xor_si128(i32 %27, i32 %31)
%33 = tail call i32 @_mm_shuffle_epi32(i32 %22, i32 255)
%34 = tail call i32 @_mm_xor_si128(i32 %32, i32 %33)
%35 = getelementptr inbounds i8, i8* %1, i64 8
%36 = bitcast i8* %35 to i32*
store i32 %34, i32* %36
%37 = tail call i32 @_mm_aeskeygenassist_si128(i32 %34, i32 4)
%38 = tail call i32 @_mm_castsi128_ps(i32 %31)
%39 = tail call i32 @_mm_castsi128_ps(i32 %34)
%40 = tail call i32 @_mm_shuffle_ps(i32 %38, i32 %39, i32 16)
%41 = tail call i32 @_mm_castps_si128(i32 %40)
%42 = tail call i32 @_mm_xor_si128(i32 %34, i32 %41)
%43 = tail call i32 @_mm_castsi128_ps(i32 %41)
%44 = tail call i32 @_mm_castsi128_ps(i32 %42)
%45 = tail call i32 @_mm_shuffle_ps(i32 %43, i32 %44, i32 140)
%46 = tail call i32 @_mm_castps_si128(i32 %45)
%47 = tail call i32 @_mm_xor_si128(i32 %42, i32 %46)
%48 = tail call i32 @_mm_shuffle_epi32(i32 %37, i32 255)
%49 = tail call i32 @_mm_xor_si128(i32 %47, i32 %48)
%50 = getelementptr inbounds i8, i8* %1, i64 12
%51 = bitcast i8* %50 to i32*
store i32 %49, i32* %51
%52 = tail call i32 @_mm_aeskeygenassist_si128(i32 %49, i32 8)
%53 = tail call i32 @_mm_castsi128_ps(i32 %46)
%54 = tail call i32 @_mm_castsi128_ps(i32 %49)
%55 = tail call i32 @_mm_shuffle_ps(i32 %53, i32 %54, i32 16)
%56 = tail call i32 @_mm_castps_si128(i32 %55)
%57 = tail call i32 @_mm_xor_si128(i32 %49, i32 %56)
%58 = tail call i32 @_mm_castsi128_ps(i32 %56)
%59 = tail call i32 @_mm_castsi128_ps(i32 %57)
%60 = tail call i32 @_mm_shuffle_ps(i32 %58, i32 %59, i32 140)
%61 = tail call i32 @_mm_castps_si128(i32 %60)
%62 = tail call i32 @_mm_xor_si128(i32 %57, i32 %61)
%63 = tail call i32 @_mm_shuffle_epi32(i32 %52, i32 255)
%64 = tail call i32 @_mm_xor_si128(i32 %62, i32 %63)
%65 = getelementptr inbounds i8, i8* %1, i64 16
%66 = bitcast i8* %65 to i32*
store i32 %64, i32* %66
%67 = tail call i32 @_mm_aeskeygenassist_si128(i32 %64, i32 16)
%68 = tail call i32 @_mm_castsi128_ps(i32 %61)
%69 = tail call i32 @_mm_castsi128_ps(i32 %64)
%70 = tail call i32 @_mm_shuffle_ps(i32 %68, i32 %69, i32 16)
%71 = tail call i32 @_mm_castps_si128(i32 %70)
%72 = tail call i32 @_mm_xor_si128(i32 %64, i32 %71)
%73 = tail call i32 @_mm_castsi128_ps(i32 %71)
%74 = tail call i32 @_mm_castsi128_ps(i32 %72)
%75 = tail call i32 @_mm_shuffle_ps(i32 %73, i32 %74, i32 140)
%76 = tail call i32 @_mm_castps_si128(i32 %75)
%77 = tail call i32 @_mm_xor_si128(i32 %72, i32 %76)
%78 = tail call i32 @_mm_shuffle_epi32(i32 %67, i32 255)
%79 = tail call i32 @_mm_xor_si128(i32 %77, i32 %78)
%80 = getelementptr inbounds i8, i8* %1, i64 20
%81 = bitcast i8* %80 to i32*
store i32 %79, i32* %81
%82 = tail call i32 @_mm_aeskeygenassist_si128(i32 %79, i32 32)
%83 = tail call i32 @_mm_castsi128_ps(i32 %76)
%84 = tail call i32 @_mm_castsi128_ps(i32 %79)
%85 = tail call i32 @_mm_shuffle_ps(i32 %83, i32 %84, i32 16)
%86 = tail call i32 @_mm_castps_si128(i32 %85)
%87 = tail call i32 @_mm_xor_si128(i32 %79, i32 %86)
%88 = tail call i32 @_mm_castsi128_ps(i32 %86)
%89 = tail call i32 @_mm_castsi128_ps(i32 %87)
%90 = tail call i32 @_mm_shuffle_ps(i32 %88, i32 %89, i32 140)
%91 = tail call i32 @_mm_castps_si128(i32 %90)
%92 = tail call i32 @_mm_xor_si128(i32 %87, i32 %91)
%93 = tail call i32 @_mm_shuffle_epi32(i32 %82, i32 255)
%94 = tail call i32 @_mm_xor_si128(i32 %92, i32 %93)
%95 = getelementptr inbounds i8, i8* %1, i64 24
%96 = bitcast i8* %95 to i32*
store i32 %94, i32* %96
%97 = tail call i32 @_mm_aeskeygenassist_si128(i32 %94, i32 64)
%98 = tail call i32 @_mm_castsi128_ps(i32 %91)
%99 = tail call i32 @_mm_castsi128_ps(i32 %94)
%100 = tail call i32 @_mm_shuffle_ps(i32 %98, i32 %99, i32 16)
%101 = tail call i32 @_mm_castps_si128(i32 %100)
%102 = tail call i32 @_mm_xor_si128(i32 %94, i32 %101)
%103 = tail call i32 @_mm_castsi128_ps(i32 %101)
%104 = tail call i32 @_mm_castsi128_ps(i32 %102)
%105 = tail call i32 @_mm_shuffle_ps(i32 %103, i32 %104, i32 140)
%106 = tail call i32 @_mm_castps_si128(i32 %105)
%107 = tail call i32 @_mm_xor_si128(i32 %102, i32 %106)
%108 = tail call i32 @_mm_shuffle_epi32(i32 %97, i32 255)
%109 = tail call i32 @_mm_xor_si128(i32 %107, i32 %108)
%110 = getelementptr inbounds i8, i8* %1, i64 28
%111 = bitcast i8* %110 to i32*
store i32 %109, i32* %111
%112 = tail call i32 @_mm_aeskeygenassist_si128(i32 %109, i32 128)
%113 = tail call i32 @_mm_castsi128_ps(i32 %106)
%114 = tail call i32 @_mm_castsi128_ps(i32 %109)
%115 = tail call i32 @_mm_shuffle_ps(i32 %113, i32 %114, i32 16)
%116 = tail call i32 @_mm_castps_si128(i32 %115)
%117 = tail call i32 @_mm_xor_si128(i32 %109, i32 %116)
%118 = tail call i32 @_mm_castsi128_ps(i32 %116)
%119 = tail call i32 @_mm_castsi128_ps(i32 %117)
%120 = tail call i32 @_mm_shuffle_ps(i32 %118, i32 %119, i32 140)
%121 = tail call i32 @_mm_castps_si128(i32 %120)
%122 = tail call i32 @_mm_xor_si128(i32 %117, i32 %121)
%123 = tail call i32 @_mm_shuffle_epi32(i32 %112, i32 255)
%124 = tail call i32 @_mm_xor_si128(i32 %122, i32 %123)
%125 = getelementptr inbounds i8, i8* %1, i64 32
%126 = bitcast i8* %125 to i32*
store i32 %124, i32* %126
%127 = tail call i32 @_mm_aeskeygenassist_si128(i32 %124, i32 27)
%128 = tail call i32 @_mm_castsi128_ps(i32 %121)
%129 = tail call i32 @_mm_castsi128_ps(i32 %124)
%130 = tail call i32 @_mm_shuffle_ps(i32 %128, i32 %129, i32 16)
%131 = tail call i32 @_mm_castps_si128(i32 %130)
%132 = tail call i32 @_mm_xor_si128(i32 %124, i32 %131)
%133 = tail call i32 @_mm_castsi128_ps(i32 %131)
%134 = tail call i32 @_mm_castsi128_ps(i32 %132)
%135 = tail call i32 @_mm_shuffle_ps(i32 %133, i32 %134, i32 140)
%136 = tail call i32 @_mm_castps_si128(i32 %135)
%137 = tail call i32 @_mm_xor_si128(i32 %132, i32 %136)
%138 = tail call i32 @_mm_shuffle_epi32(i32 %127, i32 255)
%139 = tail call i32 @_mm_xor_si128(i32 %137, i32 %138)
%140 = getelementptr inbounds i8, i8* %1, i64 36
%141 = bitcast i8* %140 to i32*
store i32 %139, i32* %141
%142 = tail call i32 @_mm_aeskeygenassist_si128(i32 %139, i32 54)
%143 = tail call i32 @_mm_castsi128_ps(i32 %136)
%144 = tail call i32 @_mm_castsi128_ps(i32 %139)
%145 = tail call i32 @_mm_shuffle_ps(i32 %143, i32 %144, i32 16)
%146 = tail call i32 @_mm_castps_si128(i32 %145)
%147 = tail call i32 @_mm_xor_si128(i32 %139, i32 %146)
%148 = tail call i32 @_mm_castsi128_ps(i32 %146)
%149 = tail call i32 @_mm_castsi128_ps(i32 %147)
%150 = tail call i32 @_mm_shuffle_ps(i32 %148, i32 %149, i32 140)
%151 = tail call i32 @_mm_castps_si128(i32 %150)
%152 = tail call i32 @_mm_xor_si128(i32 %147, i32 %151)
%153 = tail call i32 @_mm_shuffle_epi32(i32 %142, i32 255)
%154 = tail call i32 @_mm_xor_si128(i32 %152, i32 %153)
%155 = getelementptr inbounds i8, i8* %1, i64 40
%156 = bitcast i8* %155 to i32*
store i32 %154, i32* %156
ret void
}