#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 uint8_t;
typedef int uint32_t;

/* Variables and functions */
int READ_ROUND_KEY_DOUBLE_WORD(int);
int rot32l9(int);
int rot32r3(int);
int rot32r5(int);
void Encrypt(uint8_t *block, uint8_t *roundKeys) {
  uint32_t *blk = (uint32_t *)block;
  uint32_t *rk = (uint32_t *)roundKeys;
  uint8_t i;
  uint32_t b0 = blk[0];
  uint32_t b1 = blk[1];
  uint32_t b2 = blk[2];
  uint32_t b3 = blk[3];
  for (i = 0; i < 16; i += 4, rk += 4) {
    b3 = rot32r3((b2 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[1])) +
                 (b3 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b2 = rot32r5((b1 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[2])) +
                 (b2 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b1 = rot32l9((b0 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[3])) +
                 (b1 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    rk += 4;
    b0 = rot32r3((b3 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[1])) +
                 (b0 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b3 = rot32r5((b2 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[2])) +
                 (b3 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b2 = rot32l9((b1 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[3])) +
                 (b2 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    rk += 4;
    b1 = rot32r3((b0 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[1])) +
                 (b1 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b0 = rot32r5((b3 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[2])) +
                 (b0 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b3 = rot32l9((b2 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[3])) +
                 (b3 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    rk += 4;
    b2 = rot32r3((b1 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[1])) +
                 (b2 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b1 = rot32r5((b0 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[2])) +
                 (b1 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
    b0 = rot32l9((b3 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[3])) +
                 (b0 ^ READ_ROUND_KEY_DOUBLE_WORD(rk[0])));
  }
  blk[0] = b0;
  blk[1] = b1;
  blk[2] = b2;
  blk[3] = b3;
}


x86 assembly (clang, -O0):
<Encrypt>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x28(%rbp)
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%eax
mov    %eax,-0x30(%rbp)
mov    -0x18(%rbp),%rax
mov    0xc(%rax),%eax
mov    %eax,-0x34(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x10,-0x24(%rbp)
jge    154b <Encrypt+0x40b>
mov    -0x30(%rbp),%eax
mov    %eax,-0xc4(%rbp)
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0xc4(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0xc0(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0xbc(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0xc0(%rbp),%edi
mov    %eax,%ecx
mov    -0xbc(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1040 <rot32r3@plt>
mov    %eax,-0x34(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0xb8(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0xb8(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0xb4(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0xb0(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0xb4(%rbp),%edi
mov    %eax,%ecx
mov    -0xb0(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1050 <rot32r5@plt>
mov    %eax,-0x30(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0xac(%rbp)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0xac(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0xa8(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0xa4(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0xa8(%rbp),%edi
mov    %eax,%ecx
mov    -0xa4(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1030 <rot32l9@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x20(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x20(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0xa0(%rbp)
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0xa0(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x9c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x98(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x9c(%rbp),%edi
mov    %eax,%ecx
mov    -0x98(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1040 <rot32r3@plt>
mov    %eax,-0x28(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x94(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x94(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x90(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x8c(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x90(%rbp),%edi
mov    %eax,%ecx
mov    -0x8c(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1050 <rot32r5@plt>
mov    %eax,-0x34(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x88(%rbp)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x88(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x84(%rbp),%edi
mov    %eax,%ecx
mov    -0x80(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1030 <rot32l9@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x7c(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x78(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x78(%rbp),%edi
mov    %eax,%ecx
mov    -0x74(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1040 <rot32r3@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x70(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x6c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x6c(%rbp),%edi
mov    %eax,%ecx
mov    -0x68(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1050 <rot32r5@plt>
mov    %eax,-0x28(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x64(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x60(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x60(%rbp),%edi
mov    %eax,%ecx
mov    -0x5c(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1030 <rot32l9@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x20(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x58(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x54(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x54(%rbp),%edi
mov    %eax,%ecx
mov    -0x50(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1040 <rot32r3@plt>
mov    %eax,-0x30(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x4c(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x48(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x48(%rbp),%edi
mov    %eax,%ecx
mov    -0x44(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1050 <rot32r5@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ecx
mov    -0x40(%rbp),%eax
xor    %ecx,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    -0x3c(%rbp),%edi
mov    %eax,%ecx
mov    -0x38(%rbp),%eax
xor    %ecx,%eax
add    %eax,%edi
call   1030 <rot32l9@plt>
mov    %eax,-0x28(%rbp)
mov    -0x24(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x24(%rbp)
mov    -0x20(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x20(%rbp)
jmp    1191 <Encrypt+0x51>
mov    -0x28(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x2c(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x30(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x34(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,0xc(%rax)
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Encrypt>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r15
mov    (%rdi),%ebx
mov    0x4(%rdi),%ebp
mov    0x8(%rdi),%r13d
mov    %rdi,0x10(%rsp)
mov    0xc(%rdi),%r12d
mov    $0xfffffffc,%eax
nopl   0x0(%rax,%rax,1)
mov    %eax,0xc(%rsp)
mov    0x4(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%r14d
xor    %r13d,%r14d
mov    (%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%r12d
add    %r14d,%r12d
mov    %r12d,%edi
call   1040 <rot32r3@plt>
mov    %eax,%r14d
mov    0x8(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%r12d
xor    %ebp,%r12d
mov    (%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%r13d
add    %r12d,%r13d
mov    %r13d,%edi
call   1050 <rot32r5@plt>
mov    %eax,%r12d
mov    0xc(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%r13d
xor    %ebx,%r13d
mov    (%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%ebp
add    %r13d,%ebp
mov    %ebp,%edi
call   1030 <rot32l9@plt>
mov    %eax,%r13d
mov    0x14(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
xor    %r14d,%ebp
mov    0x10(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%ebx
add    %ebp,%ebx
mov    %ebx,%edi
call   1040 <rot32r3@plt>
mov    %eax,%ebx
mov    0x18(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
xor    %r12d,%ebp
mov    0x10(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%r14d
add    %ebp,%r14d
mov    %r14d,%edi
call   1050 <rot32r5@plt>
mov    %eax,%r14d
mov    0x1c(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
xor    %r13d,%ebp
mov    0x10(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%r12d
add    %ebp,%r12d
mov    %r12d,%edi
call   1030 <rot32l9@plt>
mov    %eax,%r12d
mov    %eax,0x4(%rsp)
mov    0x24(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
xor    %ebx,%ebp
mov    0x20(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%r13d
add    %ebp,%r13d
mov    %r13d,%edi
call   1040 <rot32r3@plt>
mov    %eax,%r13d
mov    0x28(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
xor    %r14d,%ebp
mov    0x20(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%ebx
add    %ebp,%ebx
mov    %ebx,%edi
call   1050 <rot32r5@plt>
mov    %eax,0x8(%rsp)
mov    0x2c(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
xor    %r12d,%ebp
mov    0x20(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%r14d
add    %ebp,%r14d
mov    %r14d,%edi
call   1030 <rot32l9@plt>
mov    %eax,%r12d
mov    0x34(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
xor    %r13d,%ebp
mov    %r13d,%ebx
mov    0x30(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    0x4(%rsp),%edi
xor    %eax,%edi
add    %ebp,%edi
call   1040 <rot32r3@plt>
mov    %eax,%r13d
mov    0x38(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %eax,%ebp
mov    0x8(%rsp),%r14d
xor    %r14d,%ebp
mov    0x30(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
xor    %eax,%ebx
add    %ebp,%ebx
mov    %ebx,%edi
call   1050 <rot32r5@plt>
mov    %eax,%ebp
mov    0x3c(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %r12d,%ebx
xor    %eax,%ebx
mov    0x30(%r15),%edi
call   1060 <READ_ROUND_KEY_DOUBLE_WORD@plt>
mov    %r14d,%edi
xor    %eax,%edi
add    %ebx,%edi
call   1030 <rot32l9@plt>
mov    %eax,%ebx
mov    0xc(%rsp),%eax
add    $0x40,%r15
add    $0x4,%eax
cmp    $0xc,%eax
jb     1170 <Encrypt+0x30>
mov    0x10(%rsp),%rax
mov    %ebx,(%rax)
mov    %ebp,0x4(%rax)
mov    %r13d,0x8(%rax)
mov    %r12d,0xc(%rax)
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @Encrypt(i32* nocapture %0, i32* nocapture %1) {
%3 = load i32, i32* %0
%4 = getelementptr inbounds i32, i32* %0, i64 1
%5 = load i32, i32* %4
%6 = getelementptr inbounds i32, i32* %0, i64 2
%7 = load i32, i32* %6
%8 = getelementptr inbounds i32, i32* %0, i64 3
%9 = load i32, i32* %8
br label %10
10: ; preds = %2, %10
%11 = phi i32 [ %9, %2 ], [ %99, %10 ]
%12 = phi i32 [ %7, %2 ], [ %109, %10 ]
%13 = phi i32 [ %5, %2 ], [ %118, %10 ]
%14 = phi i32 [ %3, %2 ], [ %127, %10 ]
%15 = phi i32 [ 0, %2 ], [ %128, %10 ]
%16 = phi i32* [ %1, %2 ], [ %129, %10 ]
%17 = getelementptr inbounds i32, i32* %16, i64 1
%18 = load i32, i32* %17
%19 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %18)
%20 = xor i32 %19, %12
%21 = load i32, i32* %16
%22 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %21)
%23 = xor i32 %22, %11
%24 = add nsw i32 %23, %20
%25 = tail call i32 @rot32r3(i32 %24)
%26 = getelementptr inbounds i32, i32* %16, i64 2
%27 = load i32, i32* %26
%28 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %27)
%29 = xor i32 %28, %13
%30 = load i32, i32* %16
%31 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %30)
%32 = xor i32 %31, %12
%33 = add nsw i32 %32, %29
%34 = tail call i32 @rot32r5(i32 %33)
%35 = getelementptr inbounds i32, i32* %16, i64 3
%36 = load i32, i32* %35
%37 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %36)
%38 = xor i32 %37, %14
%39 = load i32, i32* %16
%40 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %39)
%41 = xor i32 %40, %13
%42 = add nsw i32 %41, %38
%43 = tail call i32 @rot32l9(i32 %42)
%44 = getelementptr inbounds i32, i32* %16, i64 4
%45 = getelementptr inbounds i32, i32* %16, i64 5
%46 = load i32, i32* %45
%47 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %46)
%48 = xor i32 %47, %25
%49 = load i32, i32* %44
%50 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %49)
%51 = xor i32 %50, %14
%52 = add nsw i32 %51, %48
%53 = tail call i32 @rot32r3(i32 %52)
%54 = getelementptr inbounds i32, i32* %16, i64 6
%55 = load i32, i32* %54
%56 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %55)
%57 = xor i32 %56, %34
%58 = load i32, i32* %44
%59 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %58)
%60 = xor i32 %59, %25
%61 = add nsw i32 %60, %57
%62 = tail call i32 @rot32r5(i32 %61)
%63 = getelementptr inbounds i32, i32* %16, i64 7
%64 = load i32, i32* %63
%65 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %64)
%66 = xor i32 %65, %43
%67 = load i32, i32* %44
%68 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %67)
%69 = xor i32 %68, %34
%70 = add nsw i32 %69, %66
%71 = tail call i32 @rot32l9(i32 %70)
%72 = getelementptr inbounds i32, i32* %16, i64 8
%73 = getelementptr inbounds i32, i32* %16, i64 9
%74 = load i32, i32* %73
%75 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %74)
%76 = xor i32 %75, %53
%77 = load i32, i32* %72
%78 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %77)
%79 = xor i32 %78, %43
%80 = add nsw i32 %79, %76
%81 = tail call i32 @rot32r3(i32 %80)
%82 = getelementptr inbounds i32, i32* %16, i64 10
%83 = load i32, i32* %82
%84 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %83)
%85 = xor i32 %84, %62
%86 = load i32, i32* %72
%87 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %86)
%88 = xor i32 %87, %53
%89 = add nsw i32 %88, %85
%90 = tail call i32 @rot32r5(i32 %89)
%91 = getelementptr inbounds i32, i32* %16, i64 11
%92 = load i32, i32* %91
%93 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %92)
%94 = xor i32 %93, %71
%95 = load i32, i32* %72
%96 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %95)
%97 = xor i32 %96, %62
%98 = add nsw i32 %97, %94
%99 = tail call i32 @rot32l9(i32 %98)
%100 = getelementptr inbounds i32, i32* %16, i64 12
%101 = getelementptr inbounds i32, i32* %16, i64 13
%102 = load i32, i32* %101
%103 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %102)
%104 = xor i32 %103, %81
%105 = load i32, i32* %100
%106 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %105)
%107 = xor i32 %106, %71
%108 = add nsw i32 %107, %104
%109 = tail call i32 @rot32r3(i32 %108)
%110 = getelementptr inbounds i32, i32* %16, i64 14
%111 = load i32, i32* %110
%112 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %111)
%113 = xor i32 %112, %90
%114 = load i32, i32* %100
%115 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %114)
%116 = xor i32 %115, %81
%117 = add nsw i32 %116, %113
%118 = tail call i32 @rot32r5(i32 %117)
%119 = getelementptr inbounds i32, i32* %16, i64 15
%120 = load i32, i32* %119
%121 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %120)
%122 = xor i32 %121, %99
%123 = load i32, i32* %100
%124 = tail call i32 @READ_ROUND_KEY_DOUBLE_WORD(i32 %123)
%125 = xor i32 %124, %90
%126 = add nsw i32 %125, %122
%127 = tail call i32 @rot32l9(i32 %126)
%128 = add nuw nsw i32 %15, 4
%129 = getelementptr inbounds i32, i32* %16, i64 16
%130 = icmp ult i32 %15, 12
br i1 %130, label %10, label %131
131: ; preds = %10
store i32 %127, i32* %0
store i32 %118, i32* %4
store i32 %109, i32* %6
store i32 %99, i32* %8
ret void
}