#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*/ const uint8_t;
typedef int uint64_t;
typedef int /*<<< orphan*/ __m128i;

/* Variables and functions */
int /*<<< orphan*/ _mm_and_si128(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_load_si128(int /*<<< orphan*/ *);
int /*<<< orphan*/ _mm_or_si128(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_slli_si128(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_srli_si128(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_store_si128(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_xor_si128(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ memcpy(int /*<<< orphan*/ const *,
                          int /*<<< orphan*/ const *, int);
int /*<<< orphan*/ memset(int /*<<< orphan*/ const *, int /*<<< orphan*/, int);
int /*<<< orphan*/ morus_stateupdate(int /*<<< orphan*/ *,
                                     int /*<<< orphan*/ **);
void morus_dec_aut_partialblock(uint8_t *plaintext, const uint8_t *ciphertext,
                                uint64_t len, __m128i (*state)[2]) {
  uint8_t plaintextblock[32], ciphertextblock[32];
  __m128i keystream[2];
  __m128i msgblk[2];
  memset(ciphertextblock, 0, 32);
  memcpy(ciphertextblock, ciphertext, len);
  msgblk[0] = _mm_load_si128((__m128i *)ciphertextblock);
  msgblk[1] = _mm_load_si128((__m128i *)(ciphertextblock + 16));
  keystream[0] = _mm_xor_si128(
      (state[0][0]), (_mm_or_si128((_mm_slli_si128(state[1][1], 8)),
                                   (_mm_srli_si128(state[1][0], 8)))));
  keystream[1] = _mm_xor_si128(
      (state[0][1]), (_mm_or_si128((_mm_slli_si128(state[1][0], 8)),
                                   (_mm_srli_si128(state[1][1], 8)))));
  keystream[0] = _mm_xor_si128((keystream[0]),
                               (_mm_and_si128((state[2][0]), (state[3][0]))));
  keystream[1] = _mm_xor_si128((keystream[1]),
                               (_mm_and_si128((state[2][1]), (state[3][1]))));
  msgblk[0] = _mm_xor_si128((keystream[0]), (msgblk[0]));
  msgblk[1] = _mm_xor_si128((keystream[1]), (msgblk[1]));
  _mm_store_si128((__m128i *)plaintextblock, msgblk[0]);
  _mm_store_si128((__m128i *)(plaintextblock + 16), msgblk[1]);
  memset(plaintextblock + len, 0, 32 - len);
  memcpy(plaintext, plaintextblock, len);
  msgblk[0] = _mm_load_si128((__m128i *)plaintextblock);
  msgblk[1] = _mm_load_si128((__m128i *)(plaintextblock + 16));
  morus_stateupdate(msgblk, state);
}


x86 assembly (clang, -O0):
<morus_dec_aut_partialblock>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1040 <memset@plt>
lea    -0x120(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1070 <memcpy@plt>
lea    -0x120(%rbp),%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,-0x130(%rbp)
lea    -0x120(%rbp),%rdi
add    $0x40,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,-0x12c(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x144(%rbp)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%edi
mov    $0x8,%esi
call   10c0 <_mm_slli_si128@plt>
mov    %eax,-0x148(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%edi
mov    $0x8,%esi
call   1050 <_mm_srli_si128@plt>
mov    -0x148(%rbp),%edi
mov    %eax,%esi
call   1080 <_mm_or_si128@plt>
mov    -0x144(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x128(%rbp)
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%eax
mov    %eax,-0x13c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%edi
mov    $0x8,%esi
call   10c0 <_mm_slli_si128@plt>
mov    %eax,-0x140(%rbp)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%edi
mov    $0x8,%esi
call   1050 <_mm_srli_si128@plt>
mov    -0x140(%rbp),%edi
mov    %eax,%esi
call   1080 <_mm_or_si128@plt>
mov    -0x13c(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x124(%rbp)
mov    -0x128(%rbp),%eax
mov    %eax,-0x138(%rbp)
mov    -0x20(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x20(%rbp),%rax
mov    0x18(%rax),%esi
call   10b0 <_mm_and_si128@plt>
mov    -0x138(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x128(%rbp)
mov    -0x124(%rbp),%eax
mov    %eax,-0x134(%rbp)
mov    -0x20(%rbp),%rax
mov    0x14(%rax),%edi
mov    -0x20(%rbp),%rax
mov    0x1c(%rax),%esi
call   10b0 <_mm_and_si128@plt>
mov    -0x134(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x124(%rbp)
mov    -0x128(%rbp),%edi
mov    -0x130(%rbp),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x130(%rbp)
mov    -0x124(%rbp),%edi
mov    -0x12c(%rbp),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,-0x12c(%rbp)
lea    -0xa0(%rbp),%rdi
mov    -0x130(%rbp),%esi
call   1060 <_mm_store_si128@plt>
lea    -0xa0(%rbp),%rdi
add    $0x40,%rdi
mov    -0x12c(%rbp),%esi
call   1060 <_mm_store_si128@plt>
lea    -0xa0(%rbp),%rdi
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdi
mov    $0x20,%edx
sub    -0x14(%rbp),%edx
xor    %esi,%esi
call   1040 <memset@plt>
mov    -0x8(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1070 <memcpy@plt>
lea    -0xa0(%rbp),%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,-0x130(%rbp)
lea    -0xa0(%rbp),%rdi
add    $0x40,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,-0x12c(%rbp)
lea    -0x130(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10a0 <morus_stateupdate@plt>
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<morus_dec_aut_partialblock>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x128,%rsp
mov    %rcx,%rbx
mov    %edx,%r15d
mov    %rsi,%rbp
mov    %rdi,0x18(%rsp)
lea    0xa0(%rsp),%r14
mov    $0x20,%r12d
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1040 <memset@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r15d,%edx
call   1070 <memcpy@plt>
mov    %r14,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,0xc(%rsp)
lea    0xe0(%rsp),%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,0x8(%rsp)
mov    (%rbx),%r14d
mov    0xc(%rbx),%edi
mov    $0x8,%esi
call   10c0 <_mm_slli_si128@plt>
mov    %eax,%ebp
mov    0x8(%rbx),%edi
mov    $0x8,%esi
call   1050 <_mm_srli_si128@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1080 <_mm_or_si128@plt>
mov    %r14d,%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%r14d
mov    0x4(%rbx),%ebp
mov    0x8(%rbx),%edi
mov    $0x8,%esi
call   10c0 <_mm_slli_si128@plt>
mov    %eax,%r13d
mov    0xc(%rbx),%edi
mov    $0x8,%esi
call   1050 <_mm_srli_si128@plt>
mov    %r13d,%edi
mov    %eax,%esi
call   1080 <_mm_or_si128@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%r13d
mov    0x10(%rbx),%edi
mov    0x18(%rbx),%esi
call   10b0 <_mm_and_si128@plt>
mov    %r14d,%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%r14d
mov    0x14(%rbx),%edi
mov    0x1c(%rbx),%esi
call   10b0 <_mm_and_si128@plt>
mov    %r13d,%edi
mov    %eax,%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %r14d,%edi
mov    0xc(%rsp),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%r14d
mov    %ebp,%edi
mov    0x8(%rsp),%esi
call   1090 <_mm_xor_si128@plt>
mov    %eax,%ebp
lea    0x20(%rsp),%r13
mov    %r13,%rdi
mov    %r14d,%esi
call   1060 <_mm_store_si128@plt>
lea    0x60(%rsp),%r14
mov    %r14,%rdi
mov    %ebp,%esi
call   1060 <_mm_store_si128@plt>
movslq %r15d,%rbp
lea    (%rsp,%rbp,4),%rdi
add    $0x20,%rdi
sub    %ebp,%r12d
xor    %esi,%esi
mov    %r12d,%edx
call   1040 <memset@plt>
mov    0x18(%rsp),%rdi
mov    %r13,%rsi
mov    %ebp,%edx
call   1070 <memcpy@plt>
mov    %r13,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,0x10(%rsp)
mov    %r14,%rdi
call   1030 <_mm_load_si128@plt>
mov    %eax,0x14(%rsp)
lea    0x10(%rsp),%rdi
mov    %rbx,%rsi
call   10a0 <morus_stateupdate@plt>
add    $0x128,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @morus_dec_aut_partialblock(i32* %0, i32* %1, i32 %2, [2 x i32]* %3) {
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca [2 x i32]*
%9 = alloca [32 x i32]
%10 = alloca [32 x i32]
%11 = alloca [2 x i32]
%12 = alloca [2 x i32]
store i32* %0, i32** %5
store i32* %1, i32** %6
store i32 %2, i32* %7
store [2 x i32]* %3, [2 x i32]** %8
%13 = getelementptr inbounds [32 x i32], [32 x i32]* %10, i64 0, i64 0
%14 = call i32 @memset(i32* %13, i32 0, i32 32)
%15 = getelementptr inbounds [32 x i32], [32 x i32]* %10, i64 0, i64 0
%16 = load i32*, i32** %6
%17 = load i32, i32* %7
%18 = call i32 @memcpy(i32* %15, i32* %16, i32 %17)
%19 = getelementptr inbounds [32 x i32], [32 x i32]* %10, i64 0, i64 0
%20 = call i32 @_mm_load_si128(i32* %19)
%21 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 0
store i32 %20, i32* %21
%22 = getelementptr inbounds [32 x i32], [32 x i32]* %10, i64 0, i64 0
%23 = getelementptr inbounds i32, i32* %22, i64 16
%24 = call i32 @_mm_load_si128(i32* %23)
%25 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 1
store i32 %24, i32* %25
%26 = load [2 x i32]*, [2 x i32]** %8
%27 = getelementptr inbounds [2 x i32], [2 x i32]* %26, i64 0
%28 = getelementptr inbounds [2 x i32], [2 x i32]* %27, i64 0, i64 0
%29 = load i32, i32* %28
%30 = load [2 x i32]*, [2 x i32]** %8
%31 = getelementptr inbounds [2 x i32], [2 x i32]* %30, i64 1
%32 = getelementptr inbounds [2 x i32], [2 x i32]* %31, i64 0, i64 1
%33 = load i32, i32* %32
%34 = call i32 @_mm_slli_si128(i32 %33, i32 8)
%35 = load [2 x i32]*, [2 x i32]** %8
%36 = getelementptr inbounds [2 x i32], [2 x i32]* %35, i64 1
%37 = getelementptr inbounds [2 x i32], [2 x i32]* %36, i64 0, i64 0
%38 = load i32, i32* %37
%39 = call i32 @_mm_srli_si128(i32 %38, i32 8)
%40 = call i32 @_mm_or_si128(i32 %34, i32 %39)
%41 = call i32 @_mm_xor_si128(i32 %29, i32 %40)
%42 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 0
store i32 %41, i32* %42
%43 = load [2 x i32]*, [2 x i32]** %8
%44 = getelementptr inbounds [2 x i32], [2 x i32]* %43, i64 0
%45 = getelementptr inbounds [2 x i32], [2 x i32]* %44, i64 0, i64 1
%46 = load i32, i32* %45
%47 = load [2 x i32]*, [2 x i32]** %8
%48 = getelementptr inbounds [2 x i32], [2 x i32]* %47, i64 1
%49 = getelementptr inbounds [2 x i32], [2 x i32]* %48, i64 0, i64 0
%50 = load i32, i32* %49
%51 = call i32 @_mm_slli_si128(i32 %50, i32 8)
%52 = load [2 x i32]*, [2 x i32]** %8
%53 = getelementptr inbounds [2 x i32], [2 x i32]* %52, i64 1
%54 = getelementptr inbounds [2 x i32], [2 x i32]* %53, i64 0, i64 1
%55 = load i32, i32* %54
%56 = call i32 @_mm_srli_si128(i32 %55, i32 8)
%57 = call i32 @_mm_or_si128(i32 %51, i32 %56)
%58 = call i32 @_mm_xor_si128(i32 %46, i32 %57)
%59 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 1
store i32 %58, i32* %59
%60 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 0
%61 = load i32, i32* %60
%62 = load [2 x i32]*, [2 x i32]** %8
%63 = getelementptr inbounds [2 x i32], [2 x i32]* %62, i64 2
%64 = getelementptr inbounds [2 x i32], [2 x i32]* %63, i64 0, i64 0
%65 = load i32, i32* %64
%66 = load [2 x i32]*, [2 x i32]** %8
%67 = getelementptr inbounds [2 x i32], [2 x i32]* %66, i64 3
%68 = getelementptr inbounds [2 x i32], [2 x i32]* %67, i64 0, i64 0
%69 = load i32, i32* %68
%70 = call i32 @_mm_and_si128(i32 %65, i32 %69)
%71 = call i32 @_mm_xor_si128(i32 %61, i32 %70)
%72 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 0
store i32 %71, i32* %72
%73 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 1
%74 = load i32, i32* %73
%75 = load [2 x i32]*, [2 x i32]** %8
%76 = getelementptr inbounds [2 x i32], [2 x i32]* %75, i64 2
%77 = getelementptr inbounds [2 x i32], [2 x i32]* %76, i64 0, i64 1
%78 = load i32, i32* %77
%79 = load [2 x i32]*, [2 x i32]** %8
%80 = getelementptr inbounds [2 x i32], [2 x i32]* %79, i64 3
%81 = getelementptr inbounds [2 x i32], [2 x i32]* %80, i64 0, i64 1
%82 = load i32, i32* %81
%83 = call i32 @_mm_and_si128(i32 %78, i32 %82)
%84 = call i32 @_mm_xor_si128(i32 %74, i32 %83)
%85 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 1
store i32 %84, i32* %85
%86 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 0
%87 = load i32, i32* %86
%88 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 0
%89 = load i32, i32* %88
%90 = call i32 @_mm_xor_si128(i32 %87, i32 %89)
%91 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 0
store i32 %90, i32* %91
%92 = getelementptr inbounds [2 x i32], [2 x i32]* %11, i64 0, i64 1
%93 = load i32, i32* %92
%94 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 1
%95 = load i32, i32* %94
%96 = call i32 @_mm_xor_si128(i32 %93, i32 %95)
%97 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 1
store i32 %96, i32* %97
%98 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 0
%99 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 0
%100 = load i32, i32* %99
%101 = call i32 @_mm_store_si128(i32* %98, i32 %100)
%102 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 0
%103 = getelementptr inbounds i32, i32* %102, i64 16
%104 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 1
%105 = load i32, i32* %104
%106 = call i32 @_mm_store_si128(i32* %103, i32 %105)
%107 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 0
%108 = load i32, i32* %7
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, i32* %107, i64 %109
%111 = load i32, i32* %7
%112 = sub nsw i32 32, %111
%113 = call i32 @memset(i32* %110, i32 0, i32 %112)
%114 = load i32*, i32** %5
%115 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 0
%116 = load i32, i32* %7
%117 = call i32 @memcpy(i32* %114, i32* %115, i32 %116)
%118 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 0
%119 = call i32 @_mm_load_si128(i32* %118)
%120 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 0
store i32 %119, i32* %120
%121 = getelementptr inbounds [32 x i32], [32 x i32]* %9, i64 0, i64 0
%122 = getelementptr inbounds i32, i32* %121, i64 16
%123 = call i32 @_mm_load_si128(i32* %122)
%124 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 1
store i32 %123, i32* %124
%125 = getelementptr inbounds [2 x i32], [2 x i32]* %12, i64 0, i64 0
%126 = load [2 x i32]*, [2 x i32]** %8
%127 = bitcast [2 x i32]* %126 to i32**
%128 = call i32 @morus_stateupdate(i32* %125, i32** %127)
ret void
}

LLVM IR (-O2):
define void @morus_dec_aut_partialblock(i32* %0, i32* %1, i32 %2, [2 x i32]* %3) {
%5 = alloca [32 x i32]
%6 = alloca [32 x i32]
%7 = alloca [2 x i32]
%8 = bitcast [32 x i32]* %5 to i8*
%9 = bitcast [32 x i32]* %6 to i8*
%10 = bitcast [2 x i32]* %7 to i8*
%11 = getelementptr inbounds [32 x i32], [32 x i32]* %6, i64 0, i64 0
%12 = call i32 @memset(i32* %11, i32 0, i32 32)
%13 = call i32 @memcpy(i32* %11, i32* %1, i32 %2)
%14 = call i32 @_mm_load_si128(i32* %11)
%15 = getelementptr inbounds [2 x i32], [2 x i32]* %7, i64 0, i64 0
%16 = getelementptr inbounds [32 x i32], [32 x i32]* %6, i64 0, i64 16
%17 = call i32 @_mm_load_si128(i32* %16)
%18 = getelementptr inbounds [2 x i32], [2 x i32]* %7, i64 0, i64 1
%19 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 0, i64 0
%20 = load i32, i32* %19
%21 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 1, i64 1
%22 = load i32, i32* %21
%23 = call i32 @_mm_slli_si128(i32 %22, i32 8)
%24 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 1, i64 0
%25 = load i32, i32* %24
%26 = call i32 @_mm_srli_si128(i32 %25, i32 8)
%27 = call i32 @_mm_or_si128(i32 %23, i32 %26)
%28 = call i32 @_mm_xor_si128(i32 %20, i32 %27)
%29 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 0, i64 1
%30 = load i32, i32* %29
%31 = load i32, i32* %24
%32 = call i32 @_mm_slli_si128(i32 %31, i32 8)
%33 = load i32, i32* %21
%34 = call i32 @_mm_srli_si128(i32 %33, i32 8)
%35 = call i32 @_mm_or_si128(i32 %32, i32 %34)
%36 = call i32 @_mm_xor_si128(i32 %30, i32 %35)
%37 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 2, i64 0
%38 = load i32, i32* %37
%39 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 3, i64 0
%40 = load i32, i32* %39
%41 = call i32 @_mm_and_si128(i32 %38, i32 %40)
%42 = call i32 @_mm_xor_si128(i32 %28, i32 %41)
%43 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 2, i64 1
%44 = load i32, i32* %43
%45 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 3, i64 1
%46 = load i32, i32* %45
%47 = call i32 @_mm_and_si128(i32 %44, i32 %46)
%48 = call i32 @_mm_xor_si128(i32 %36, i32 %47)
%49 = call i32 @_mm_xor_si128(i32 %42, i32 %14)
%50 = call i32 @_mm_xor_si128(i32 %48, i32 %17)
%51 = getelementptr inbounds [32 x i32], [32 x i32]* %5, i64 0, i64 0
%52 = call i32 @_mm_store_si128(i32* %51, i32 %49)
%53 = getelementptr inbounds [32 x i32], [32 x i32]* %5, i64 0, i64 16
%54 = call i32 @_mm_store_si128(i32* %53, i32 %50)
%55 = sext i32 %2 to i64
%56 = getelementptr inbounds [32 x i32], [32 x i32]* %5, i64 0, i64 %55
%57 = sub nsw i32 32, %2
%58 = call i32 @memset(i32* %56, i32 0, i32 %57)
%59 = call i32 @memcpy(i32* %0, i32* %51, i32 %2)
%60 = call i32 @_mm_load_si128(i32* %51)
store i32 %60, i32* %15
%61 = call i32 @_mm_load_si128(i32* %53)
store i32 %61, i32* %18
%62 = bitcast [2 x i32]* %3 to i32**
%63 = call i32 @morus_stateupdate(i32* %15, i32** %62)
ret void
}