#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_SHUFFLE(int, int, int, int);
int /*<<< orphan*/ _mm_and_si128(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_shuffle_epi32(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_slli_epi32(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_srli_epi32(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_xor_si128(int /*<<< orphan*/, int /*<<< orphan*/);
void morus_stateupdate(__m128i msgblk, __m128i *state) {
  state[0] = _mm_xor_si128((state[0]), (state[3]));
  state[0] = _mm_xor_si128((state[0]), (_mm_and_si128((state[1]), (state[2]))));
  state[0] = _mm_xor_si128((_mm_slli_epi32((state[0]), (5))),
                           (_mm_srli_epi32((state[0]), (32 - 5))));
  state[3] = _mm_shuffle_epi32((state[3]), _MM_SHUFFLE(2, 1, 0, 3));
  state[1] = _mm_xor_si128((state[1]), (msgblk));
  state[1] = _mm_xor_si128((state[1]), (state[4]));
  state[1] = _mm_xor_si128((state[1]), (_mm_and_si128((state[2]), (state[3]))));
  state[1] = _mm_xor_si128((_mm_slli_epi32((state[1]), (31))),
                           (_mm_srli_epi32((state[1]), (32 - 31))));
  state[4] = _mm_shuffle_epi32((state[4]), _MM_SHUFFLE(1, 0, 3, 2));
  state[2] = _mm_xor_si128((state[2]), (msgblk));
  state[2] = _mm_xor_si128((state[2]), (state[0]));
  state[2] = _mm_xor_si128((state[2]), (_mm_and_si128((state[3]), (state[4]))));
  state[2] = _mm_xor_si128((_mm_slli_epi32((state[2]), (7))),
                           (_mm_srli_epi32((state[2]), (32 - 7))));
  state[0] = _mm_shuffle_epi32((state[0]), _MM_SHUFFLE(0, 3, 2, 1));
  state[3] = _mm_xor_si128((state[3]), (msgblk));
  state[3] = _mm_xor_si128((state[3]), (state[1]));
  state[3] = _mm_xor_si128((state[3]), (_mm_and_si128((state[4]), (state[0]))));
  state[3] = _mm_xor_si128((_mm_slli_epi32((state[3]), (22))),
                           (_mm_srli_epi32((state[3]), (32 - 22))));
  state[1] = _mm_shuffle_epi32((state[1]), _MM_SHUFFLE(1, 0, 3, 2));
  state[4] = _mm_xor_si128((state[4]), (msgblk));
  state[4] = _mm_xor_si128((state[4]), (state[2]));
  state[4] = _mm_xor_si128((state[4]), (_mm_and_si128((state[0]), (state[1]))));
  state[4] = _mm_xor_si128((_mm_slli_epi32((state[4]), (13))),
                           (_mm_srli_epi32((state[4]), (32 - 13))));
  state[2] = _mm_shuffle_epi32((state[2]), _MM_SHUFFLE(2, 1, 0, 3));
}


x86 assembly (clang, -O0):
<morus_stateupdate>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%esi
call   1080 <_mm_and_si128@plt>
mov    -0x4c(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%edi
mov    $0x5,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%edi
mov    $0x1b,%esi
call   1070 <_mm_srli_epi32@plt>
mov    -0x48(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%eax
mov    %eax,-0x44(%rbp)
mov    $0x2,%edi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x3,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x44(%rbp),%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x4(%rbp),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%esi
call   1080 <_mm_and_si128@plt>
mov    -0x40(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edi
mov    $0x1f,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edi
mov    $0x1,%esi
call   1070 <_mm_srli_epi32@plt>
mov    -0x3c(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%eax
mov    %eax,-0x38(%rbp)
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x38(%rbp),%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x4(%rbp),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%esi
call   1080 <_mm_and_si128@plt>
mov    -0x34(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%edi
mov    $0x7,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%edi
mov    $0x19,%esi
call   1070 <_mm_srli_epi32@plt>
mov    -0x30(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x2c(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
mov    $0x2,%edx
mov    $0x1,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x2c(%rbp),%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x4(%rbp),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%eax
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
call   1080 <_mm_and_si128@plt>
mov    -0x28(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%edi
mov    $0x16,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%edi
mov    $0xa,%esi
call   1070 <_mm_srli_epi32@plt>
mov    -0x24(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%eax
mov    %eax,-0x20(%rbp)
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x20(%rbp),%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x4(%rbp),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%esi
call   1080 <_mm_and_si128@plt>
mov    -0x1c(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%edi
mov    $0xd,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%edi
mov    $0x13,%esi
call   1070 <_mm_srli_epi32@plt>
mov    -0x18(%rbp),%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%eax
mov    %eax,-0x14(%rbp)
mov    $0x2,%edi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x3,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x14(%rbp),%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x8(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<morus_stateupdate>:
push   %rbp
push   %r14
push   %rbx
mov    %rsi,%rbx
mov    %edi,%r14d
mov    (%rsi),%edi
mov    0xc(%rsi),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,(%rbx)
mov    0x4(%rbx),%edi
mov    0x8(%rbx),%esi
call   1080 <_mm_and_si128@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,(%rbx)
mov    %eax,%edi
mov    $0x5,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,%ebp
mov    (%rbx),%edi
mov    $0x1b,%esi
call   1070 <_mm_srli_epi32@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,(%rbx)
mov    0xc(%rbx),%ebp
mov    $0x2,%edi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x3,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,0xc(%rbx)
mov    0x4(%rbx),%edi
mov    %r14d,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x4(%rbx)
mov    0x10(%rbx),%esi
mov    %eax,%edi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,0x4(%rbx)
mov    0x8(%rbx),%edi
mov    0xc(%rbx),%esi
call   1080 <_mm_and_si128@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x4(%rbx)
mov    %eax,%edi
mov    $0x1f,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,%ebp
mov    0x4(%rbx),%edi
mov    $0x1,%esi
call   1070 <_mm_srli_epi32@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x4(%rbx)
mov    0x10(%rbx),%ebp
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,0x10(%rbx)
mov    0x8(%rbx),%edi
mov    %r14d,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x8(%rbx)
mov    (%rbx),%esi
mov    %eax,%edi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,0x8(%rbx)
mov    0xc(%rbx),%edi
mov    0x10(%rbx),%esi
call   1080 <_mm_and_si128@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x8(%rbx)
mov    %eax,%edi
mov    $0x7,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,%ebp
mov    0x8(%rbx),%edi
mov    $0x19,%esi
call   1070 <_mm_srli_epi32@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x8(%rbx)
mov    (%rbx),%ebp
xor    %edi,%edi
mov    $0x3,%esi
mov    $0x2,%edx
mov    $0x1,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,(%rbx)
mov    0xc(%rbx),%edi
mov    %r14d,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0xc(%rbx)
mov    0x4(%rbx),%esi
mov    %eax,%edi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,0xc(%rbx)
mov    (%rbx),%esi
mov    0x10(%rbx),%edi
call   1080 <_mm_and_si128@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0xc(%rbx)
mov    %eax,%edi
mov    $0x16,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,%ebp
mov    0xc(%rbx),%edi
mov    $0xa,%esi
call   1070 <_mm_srli_epi32@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0xc(%rbx)
mov    0x4(%rbx),%ebp
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,0x4(%rbx)
mov    0x10(%rbx),%edi
mov    %r14d,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x10(%rbx)
mov    0x8(%rbx),%esi
mov    %eax,%edi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,0x10(%rbx)
mov    (%rbx),%edi
mov    0x4(%rbx),%esi
call   1080 <_mm_and_si128@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x10(%rbx)
mov    %eax,%edi
mov    $0xd,%esi
call   1060 <_mm_slli_epi32@plt>
mov    %eax,%ebp
mov    0x10(%rbx),%edi
mov    $0x13,%esi
call   1070 <_mm_srli_epi32@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x10(%rbx)
mov    0x8(%rbx),%ebp
mov    $0x2,%edi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x3,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1040 <_mm_shuffle_epi32@plt>
mov    %eax,0x8(%rbx)
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
define void @morus_stateupdate(i32 %0, i32* %1) {
%3 = alloca i32
%4 = alloca i32*
store i32 %0, i32* %3
store i32* %1, i32** %4
%5 = load i32*, i32** %4
%6 = getelementptr inbounds i32, i32* %5, i64 0
%7 = load i32, i32* %6
%8 = load i32*, i32** %4
%9 = getelementptr inbounds i32, i32* %8, i64 3
%10 = load i32, i32* %9
%11 = call i32 @_mm_xor_si128(i32 %7, i32 %10)
%12 = load i32*, i32** %4
%13 = getelementptr inbounds i32, i32* %12, i64 0
store i32 %11, i32* %13
%14 = load i32*, i32** %4
%15 = getelementptr inbounds i32, i32* %14, i64 0
%16 = load i32, i32* %15
%17 = load i32*, i32** %4
%18 = getelementptr inbounds i32, i32* %17, i64 1
%19 = load i32, i32* %18
%20 = load i32*, i32** %4
%21 = getelementptr inbounds i32, i32* %20, i64 2
%22 = load i32, i32* %21
%23 = call i32 @_mm_and_si128(i32 %19, i32 %22)
%24 = call i32 @_mm_xor_si128(i32 %16, i32 %23)
%25 = load i32*, i32** %4
%26 = getelementptr inbounds i32, i32* %25, i64 0
store i32 %24, i32* %26
%27 = load i32*, i32** %4
%28 = getelementptr inbounds i32, i32* %27, i64 0
%29 = load i32, i32* %28
%30 = call i32 @_mm_slli_epi32(i32 %29, i32 5)
%31 = load i32*, i32** %4
%32 = getelementptr inbounds i32, i32* %31, i64 0
%33 = load i32, i32* %32
%34 = call i32 @_mm_srli_epi32(i32 %33, i32 27)
%35 = call i32 @_mm_xor_si128(i32 %30, i32 %34)
%36 = load i32*, i32** %4
%37 = getelementptr inbounds i32, i32* %36, i64 0
store i32 %35, i32* %37
%38 = load i32*, i32** %4
%39 = getelementptr inbounds i32, i32* %38, i64 3
%40 = load i32, i32* %39
%41 = call i32 @_MM_SHUFFLE(i32 2, i32 1, i32 0, i32 3)
%42 = call i32 @_mm_shuffle_epi32(i32 %40, i32 %41)
%43 = load i32*, i32** %4
%44 = getelementptr inbounds i32, i32* %43, i64 3
store i32 %42, i32* %44
%45 = load i32*, i32** %4
%46 = getelementptr inbounds i32, i32* %45, i64 1
%47 = load i32, i32* %46
%48 = load i32, i32* %3
%49 = call i32 @_mm_xor_si128(i32 %47, i32 %48)
%50 = load i32*, i32** %4
%51 = getelementptr inbounds i32, i32* %50, i64 1
store i32 %49, i32* %51
%52 = load i32*, i32** %4
%53 = getelementptr inbounds i32, i32* %52, i64 1
%54 = load i32, i32* %53
%55 = load i32*, i32** %4
%56 = getelementptr inbounds i32, i32* %55, i64 4
%57 = load i32, i32* %56
%58 = call i32 @_mm_xor_si128(i32 %54, i32 %57)
%59 = load i32*, i32** %4
%60 = getelementptr inbounds i32, i32* %59, i64 1
store i32 %58, i32* %60
%61 = load i32*, i32** %4
%62 = getelementptr inbounds i32, i32* %61, i64 1
%63 = load i32, i32* %62
%64 = load i32*, i32** %4
%65 = getelementptr inbounds i32, i32* %64, i64 2
%66 = load i32, i32* %65
%67 = load i32*, i32** %4
%68 = getelementptr inbounds i32, i32* %67, i64 3
%69 = load i32, i32* %68
%70 = call i32 @_mm_and_si128(i32 %66, i32 %69)
%71 = call i32 @_mm_xor_si128(i32 %63, i32 %70)
%72 = load i32*, i32** %4
%73 = getelementptr inbounds i32, i32* %72, i64 1
store i32 %71, i32* %73
%74 = load i32*, i32** %4
%75 = getelementptr inbounds i32, i32* %74, i64 1
%76 = load i32, i32* %75
%77 = call i32 @_mm_slli_epi32(i32 %76, i32 31)
%78 = load i32*, i32** %4
%79 = getelementptr inbounds i32, i32* %78, i64 1
%80 = load i32, i32* %79
%81 = call i32 @_mm_srli_epi32(i32 %80, i32 1)
%82 = call i32 @_mm_xor_si128(i32 %77, i32 %81)
%83 = load i32*, i32** %4
%84 = getelementptr inbounds i32, i32* %83, i64 1
store i32 %82, i32* %84
%85 = load i32*, i32** %4
%86 = getelementptr inbounds i32, i32* %85, i64 4
%87 = load i32, i32* %86
%88 = call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%89 = call i32 @_mm_shuffle_epi32(i32 %87, i32 %88)
%90 = load i32*, i32** %4
%91 = getelementptr inbounds i32, i32* %90, i64 4
store i32 %89, i32* %91
%92 = load i32*, i32** %4
%93 = getelementptr inbounds i32, i32* %92, i64 2
%94 = load i32, i32* %93
%95 = load i32, i32* %3
%96 = call i32 @_mm_xor_si128(i32 %94, i32 %95)
%97 = load i32*, i32** %4
%98 = getelementptr inbounds i32, i32* %97, i64 2
store i32 %96, i32* %98
%99 = load i32*, i32** %4
%100 = getelementptr inbounds i32, i32* %99, i64 2
%101 = load i32, i32* %100
%102 = load i32*, i32** %4
%103 = getelementptr inbounds i32, i32* %102, i64 0
%104 = load i32, i32* %103
%105 = call i32 @_mm_xor_si128(i32 %101, i32 %104)
%106 = load i32*, i32** %4
%107 = getelementptr inbounds i32, i32* %106, i64 2
store i32 %105, i32* %107
%108 = load i32*, i32** %4
%109 = getelementptr inbounds i32, i32* %108, i64 2
%110 = load i32, i32* %109
%111 = load i32*, i32** %4
%112 = getelementptr inbounds i32, i32* %111, i64 3
%113 = load i32, i32* %112
%114 = load i32*, i32** %4
%115 = getelementptr inbounds i32, i32* %114, i64 4
%116 = load i32, i32* %115
%117 = call i32 @_mm_and_si128(i32 %113, i32 %116)
%118 = call i32 @_mm_xor_si128(i32 %110, i32 %117)
%119 = load i32*, i32** %4
%120 = getelementptr inbounds i32, i32* %119, i64 2
store i32 %118, i32* %120
%121 = load i32*, i32** %4
%122 = getelementptr inbounds i32, i32* %121, i64 2
%123 = load i32, i32* %122
%124 = call i32 @_mm_slli_epi32(i32 %123, i32 7)
%125 = load i32*, i32** %4
%126 = getelementptr inbounds i32, i32* %125, i64 2
%127 = load i32, i32* %126
%128 = call i32 @_mm_srli_epi32(i32 %127, i32 25)
%129 = call i32 @_mm_xor_si128(i32 %124, i32 %128)
%130 = load i32*, i32** %4
%131 = getelementptr inbounds i32, i32* %130, i64 2
store i32 %129, i32* %131
%132 = load i32*, i32** %4
%133 = getelementptr inbounds i32, i32* %132, i64 0
%134 = load i32, i32* %133
%135 = call i32 @_MM_SHUFFLE(i32 0, i32 3, i32 2, i32 1)
%136 = call i32 @_mm_shuffle_epi32(i32 %134, i32 %135)
%137 = load i32*, i32** %4
%138 = getelementptr inbounds i32, i32* %137, i64 0
store i32 %136, i32* %138
%139 = load i32*, i32** %4
%140 = getelementptr inbounds i32, i32* %139, i64 3
%141 = load i32, i32* %140
%142 = load i32, i32* %3
%143 = call i32 @_mm_xor_si128(i32 %141, i32 %142)
%144 = load i32*, i32** %4
%145 = getelementptr inbounds i32, i32* %144, i64 3
store i32 %143, i32* %145
%146 = load i32*, i32** %4
%147 = getelementptr inbounds i32, i32* %146, i64 3
%148 = load i32, i32* %147
%149 = load i32*, i32** %4
%150 = getelementptr inbounds i32, i32* %149, i64 1
%151 = load i32, i32* %150
%152 = call i32 @_mm_xor_si128(i32 %148, i32 %151)
%153 = load i32*, i32** %4
%154 = getelementptr inbounds i32, i32* %153, i64 3
store i32 %152, i32* %154
%155 = load i32*, i32** %4
%156 = getelementptr inbounds i32, i32* %155, i64 3
%157 = load i32, i32* %156
%158 = load i32*, i32** %4
%159 = getelementptr inbounds i32, i32* %158, i64 4
%160 = load i32, i32* %159
%161 = load i32*, i32** %4
%162 = getelementptr inbounds i32, i32* %161, i64 0
%163 = load i32, i32* %162
%164 = call i32 @_mm_and_si128(i32 %160, i32 %163)
%165 = call i32 @_mm_xor_si128(i32 %157, i32 %164)
%166 = load i32*, i32** %4
%167 = getelementptr inbounds i32, i32* %166, i64 3
store i32 %165, i32* %167
%168 = load i32*, i32** %4
%169 = getelementptr inbounds i32, i32* %168, i64 3
%170 = load i32, i32* %169
%171 = call i32 @_mm_slli_epi32(i32 %170, i32 22)
%172 = load i32*, i32** %4
%173 = getelementptr inbounds i32, i32* %172, i64 3
%174 = load i32, i32* %173
%175 = call i32 @_mm_srli_epi32(i32 %174, i32 10)
%176 = call i32 @_mm_xor_si128(i32 %171, i32 %175)
%177 = load i32*, i32** %4
%178 = getelementptr inbounds i32, i32* %177, i64 3
store i32 %176, i32* %178
%179 = load i32*, i32** %4
%180 = getelementptr inbounds i32, i32* %179, i64 1
%181 = load i32, i32* %180
%182 = call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%183 = call i32 @_mm_shuffle_epi32(i32 %181, i32 %182)
%184 = load i32*, i32** %4
%185 = getelementptr inbounds i32, i32* %184, i64 1
store i32 %183, i32* %185
%186 = load i32*, i32** %4
%187 = getelementptr inbounds i32, i32* %186, i64 4
%188 = load i32, i32* %187
%189 = load i32, i32* %3
%190 = call i32 @_mm_xor_si128(i32 %188, i32 %189)
%191 = load i32*, i32** %4
%192 = getelementptr inbounds i32, i32* %191, i64 4
store i32 %190, i32* %192
%193 = load i32*, i32** %4
%194 = getelementptr inbounds i32, i32* %193, i64 4
%195 = load i32, i32* %194
%196 = load i32*, i32** %4
%197 = getelementptr inbounds i32, i32* %196, i64 2
%198 = load i32, i32* %197
%199 = call i32 @_mm_xor_si128(i32 %195, i32 %198)
%200 = load i32*, i32** %4
%201 = getelementptr inbounds i32, i32* %200, i64 4
store i32 %199, i32* %201
%202 = load i32*, i32** %4
%203 = getelementptr inbounds i32, i32* %202, i64 4
%204 = load i32, i32* %203
%205 = load i32*, i32** %4
%206 = getelementptr inbounds i32, i32* %205, i64 0
%207 = load i32, i32* %206
%208 = load i32*, i32** %4
%209 = getelementptr inbounds i32, i32* %208, i64 1
%210 = load i32, i32* %209
%211 = call i32 @_mm_and_si128(i32 %207, i32 %210)
%212 = call i32 @_mm_xor_si128(i32 %204, i32 %211)
%213 = load i32*, i32** %4
%214 = getelementptr inbounds i32, i32* %213, i64 4
store i32 %212, i32* %214
%215 = load i32*, i32** %4
%216 = getelementptr inbounds i32, i32* %215, i64 4
%217 = load i32, i32* %216
%218 = call i32 @_mm_slli_epi32(i32 %217, i32 13)
%219 = load i32*, i32** %4
%220 = getelementptr inbounds i32, i32* %219, i64 4
%221 = load i32, i32* %220
%222 = call i32 @_mm_srli_epi32(i32 %221, i32 19)
%223 = call i32 @_mm_xor_si128(i32 %218, i32 %222)
%224 = load i32*, i32** %4
%225 = getelementptr inbounds i32, i32* %224, i64 4
store i32 %223, i32* %225
%226 = load i32*, i32** %4
%227 = getelementptr inbounds i32, i32* %226, i64 2
%228 = load i32, i32* %227
%229 = call i32 @_MM_SHUFFLE(i32 2, i32 1, i32 0, i32 3)
%230 = call i32 @_mm_shuffle_epi32(i32 %228, i32 %229)
%231 = load i32*, i32** %4
%232 = getelementptr inbounds i32, i32* %231, i64 2
store i32 %230, i32* %232
ret void
}

LLVM IR (-O2):
define void @morus_stateupdate(i32 %0, i32* nocapture %1) {
%3 = load i32, i32* %1
%4 = getelementptr inbounds i32, i32* %1, i64 3
%5 = load i32, i32* %4
%6 = tail call i32 @_mm_xor_si128(i32 %3, i32 %5)
store i32 %6, i32* %1
%7 = getelementptr inbounds i32, i32* %1, i64 1
%8 = load i32, i32* %7
%9 = getelementptr inbounds i32, i32* %1, i64 2
%10 = load i32, i32* %9
%11 = tail call i32 @_mm_and_si128(i32 %8, i32 %10)
%12 = tail call i32 @_mm_xor_si128(i32 %6, i32 %11)
store i32 %12, i32* %1
%13 = tail call i32 @_mm_slli_epi32(i32 %12, i32 5)
%14 = load i32, i32* %1
%15 = tail call i32 @_mm_srli_epi32(i32 %14, i32 27)
%16 = tail call i32 @_mm_xor_si128(i32 %13, i32 %15)
store i32 %16, i32* %1
%17 = load i32, i32* %4
%18 = tail call i32 @_MM_SHUFFLE(i32 2, i32 1, i32 0, i32 3)
%19 = tail call i32 @_mm_shuffle_epi32(i32 %17, i32 %18)
store i32 %19, i32* %4
%20 = load i32, i32* %7
%21 = tail call i32 @_mm_xor_si128(i32 %20, i32 %0)
store i32 %21, i32* %7
%22 = getelementptr inbounds i32, i32* %1, i64 4
%23 = load i32, i32* %22
%24 = tail call i32 @_mm_xor_si128(i32 %21, i32 %23)
store i32 %24, i32* %7
%25 = load i32, i32* %9
%26 = load i32, i32* %4
%27 = tail call i32 @_mm_and_si128(i32 %25, i32 %26)
%28 = tail call i32 @_mm_xor_si128(i32 %24, i32 %27)
store i32 %28, i32* %7
%29 = tail call i32 @_mm_slli_epi32(i32 %28, i32 31)
%30 = load i32, i32* %7
%31 = tail call i32 @_mm_srli_epi32(i32 %30, i32 1)
%32 = tail call i32 @_mm_xor_si128(i32 %29, i32 %31)
store i32 %32, i32* %7
%33 = load i32, i32* %22
%34 = tail call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%35 = tail call i32 @_mm_shuffle_epi32(i32 %33, i32 %34)
store i32 %35, i32* %22
%36 = load i32, i32* %9
%37 = tail call i32 @_mm_xor_si128(i32 %36, i32 %0)
store i32 %37, i32* %9
%38 = load i32, i32* %1
%39 = tail call i32 @_mm_xor_si128(i32 %37, i32 %38)
store i32 %39, i32* %9
%40 = load i32, i32* %4
%41 = load i32, i32* %22
%42 = tail call i32 @_mm_and_si128(i32 %40, i32 %41)
%43 = tail call i32 @_mm_xor_si128(i32 %39, i32 %42)
store i32 %43, i32* %9
%44 = tail call i32 @_mm_slli_epi32(i32 %43, i32 7)
%45 = load i32, i32* %9
%46 = tail call i32 @_mm_srli_epi32(i32 %45, i32 25)
%47 = tail call i32 @_mm_xor_si128(i32 %44, i32 %46)
store i32 %47, i32* %9
%48 = load i32, i32* %1
%49 = tail call i32 @_MM_SHUFFLE(i32 0, i32 3, i32 2, i32 1)
%50 = tail call i32 @_mm_shuffle_epi32(i32 %48, i32 %49)
store i32 %50, i32* %1
%51 = load i32, i32* %4
%52 = tail call i32 @_mm_xor_si128(i32 %51, i32 %0)
store i32 %52, i32* %4
%53 = load i32, i32* %7
%54 = tail call i32 @_mm_xor_si128(i32 %52, i32 %53)
store i32 %54, i32* %4
%55 = load i32, i32* %22
%56 = load i32, i32* %1
%57 = tail call i32 @_mm_and_si128(i32 %55, i32 %56)
%58 = tail call i32 @_mm_xor_si128(i32 %54, i32 %57)
store i32 %58, i32* %4
%59 = tail call i32 @_mm_slli_epi32(i32 %58, i32 22)
%60 = load i32, i32* %4
%61 = tail call i32 @_mm_srli_epi32(i32 %60, i32 10)
%62 = tail call i32 @_mm_xor_si128(i32 %59, i32 %61)
store i32 %62, i32* %4
%63 = load i32, i32* %7
%64 = tail call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%65 = tail call i32 @_mm_shuffle_epi32(i32 %63, i32 %64)
store i32 %65, i32* %7
%66 = load i32, i32* %22
%67 = tail call i32 @_mm_xor_si128(i32 %66, i32 %0)
store i32 %67, i32* %22
%68 = load i32, i32* %9
%69 = tail call i32 @_mm_xor_si128(i32 %67, i32 %68)
store i32 %69, i32* %22
%70 = load i32, i32* %1
%71 = load i32, i32* %7
%72 = tail call i32 @_mm_and_si128(i32 %70, i32 %71)
%73 = tail call i32 @_mm_xor_si128(i32 %69, i32 %72)
store i32 %73, i32* %22
%74 = tail call i32 @_mm_slli_epi32(i32 %73, i32 13)
%75 = load i32, i32* %22
%76 = tail call i32 @_mm_srli_epi32(i32 %75, i32 19)
%77 = tail call i32 @_mm_xor_si128(i32 %74, i32 %76)
store i32 %77, i32* %22
%78 = load i32, i32* %9
%79 = tail call i32 @_MM_SHUFFLE(i32 2, i32 1, i32 0, i32 3)
%80 = tail call i32 @_mm_shuffle_epi32(i32 %78, i32 %79)
store i32 %80, i32* %9
ret void
}