#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 */

/* Variables and functions */
int /*<<< orphan*/ addroundkey(unsigned char *, unsigned char *);
int /*<<< orphan*/ expandkey(unsigned char *, unsigned char *);
int /*<<< orphan*/ getroundkey(unsigned char *, unsigned char *, int);
int /*<<< orphan*/ mixcolumns(unsigned char *, unsigned char *, unsigned char *,
                              unsigned char *);
int /*<<< orphan*/ rotate_word(unsigned char *);
int /*<<< orphan*/ subbytes(unsigned char *, unsigned char *, unsigned char *,
                            unsigned char *);
void encryptablock(unsigned char *state, unsigned char *key) {
  unsigned char expandedkey[176] = {0};
  unsigned char roundkey[16] = {0};
  expandkey(key, expandedkey);
  getroundkey(expandedkey, roundkey, 0);
  addroundkey(state, roundkey);
  for (int i = 1; i < 10; i++) {
    subbytes(&state[0], &state[1], &state[2], &state[3]);
    subbytes(&state[4], &state[5], &state[6], &state[7]);
    subbytes(&state[8], &state[9], &state[10], &state[11]);
    subbytes(&state[12], &state[13], &state[14], &state[15]);
    rotate_word(state);
    mixcolumns(&state[0], &state[1], &state[2], &state[3]);
    mixcolumns(&state[4], &state[5], &state[6], &state[7]);
    mixcolumns(&state[8], &state[9], &state[10], &state[11]);
    mixcolumns(&state[12], &state[13], &state[14], &state[15]);
    getroundkey(expandedkey, roundkey, i);
    addroundkey(state, roundkey);
  }
  subbytes(&state[0], &state[1], &state[2], &state[3]);
  subbytes(&state[4], &state[5], &state[6], &state[7]);
  subbytes(&state[8], &state[9], &state[10], &state[11]);
  subbytes(&state[12], &state[13], &state[14], &state[15]);
  rotate_word(state);
  getroundkey(expandedkey, roundkey, 10);
  addroundkey(state, roundkey);
}


x86 assembly (clang, -O0):
<encryptablock>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0xc0(%rbp),%rdi
xor    %esi,%esi
mov    $0xb0,%edx
call   1030 <memset@plt>
lea    -0xd0(%rbp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1030 <memset@plt>
mov    -0x10(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
call   1060 <expandkey@plt>
lea    -0xc0(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
xor    %edx,%edx
call   1050 <getroundkey@plt>
mov    -0x8(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
call   1070 <addroundkey@plt>
movl   $0x1,-0xd4(%rbp)
cmpl   $0xa,-0xd4(%rbp)
jge    135b <encryptablock+0x1eb>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x1,%rsi
mov    -0x8(%rbp),%rdx
add    $0x2,%rdx
mov    -0x8(%rbp),%rcx
add    $0x3,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
add    $0x4,%rdi
mov    -0x8(%rbp),%rsi
add    $0x5,%rsi
mov    -0x8(%rbp),%rdx
add    $0x6,%rdx
mov    -0x8(%rbp),%rcx
add    $0x7,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
add    $0x8,%rdi
mov    -0x8(%rbp),%rsi
add    $0x9,%rsi
mov    -0x8(%rbp),%rdx
add    $0xa,%rdx
mov    -0x8(%rbp),%rcx
add    $0xb,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
add    $0xc,%rdi
mov    -0x8(%rbp),%rsi
add    $0xd,%rsi
mov    -0x8(%rbp),%rdx
add    $0xe,%rdx
mov    -0x8(%rbp),%rcx
add    $0xf,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
call   1090 <rotate_word@plt>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x1,%rsi
mov    -0x8(%rbp),%rdx
add    $0x2,%rdx
mov    -0x8(%rbp),%rcx
add    $0x3,%rcx
call   1040 <mixcolumns@plt>
mov    -0x8(%rbp),%rdi
add    $0x4,%rdi
mov    -0x8(%rbp),%rsi
add    $0x5,%rsi
mov    -0x8(%rbp),%rdx
add    $0x6,%rdx
mov    -0x8(%rbp),%rcx
add    $0x7,%rcx
call   1040 <mixcolumns@plt>
mov    -0x8(%rbp),%rdi
add    $0x8,%rdi
mov    -0x8(%rbp),%rsi
add    $0x9,%rsi
mov    -0x8(%rbp),%rdx
add    $0xa,%rdx
mov    -0x8(%rbp),%rcx
add    $0xb,%rcx
call   1040 <mixcolumns@plt>
mov    -0x8(%rbp),%rdi
add    $0xc,%rdi
mov    -0x8(%rbp),%rsi
add    $0xd,%rsi
mov    -0x8(%rbp),%rdx
add    $0xe,%rdx
mov    -0x8(%rbp),%rcx
add    $0xf,%rcx
call   1040 <mixcolumns@plt>
lea    -0xc0(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
mov    -0xd4(%rbp),%edx
call   1050 <getroundkey@plt>
mov    -0x8(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
call   1070 <addroundkey@plt>
mov    -0xd4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd4(%rbp)
jmp    11e8 <encryptablock+0x78>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x1,%rsi
mov    -0x8(%rbp),%rdx
add    $0x2,%rdx
mov    -0x8(%rbp),%rcx
add    $0x3,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
add    $0x4,%rdi
mov    -0x8(%rbp),%rsi
add    $0x5,%rsi
mov    -0x8(%rbp),%rdx
add    $0x6,%rdx
mov    -0x8(%rbp),%rcx
add    $0x7,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
add    $0x8,%rdi
mov    -0x8(%rbp),%rsi
add    $0x9,%rsi
mov    -0x8(%rbp),%rdx
add    $0xa,%rdx
mov    -0x8(%rbp),%rcx
add    $0xb,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
add    $0xc,%rdi
mov    -0x8(%rbp),%rsi
add    $0xd,%rsi
mov    -0x8(%rbp),%rdx
add    $0xe,%rdx
mov    -0x8(%rbp),%rcx
add    $0xf,%rcx
call   1080 <subbytes@plt>
mov    -0x8(%rbp),%rdi
call   1090 <rotate_word@plt>
lea    -0xc0(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
mov    $0xa,%edx
call   1050 <getroundkey@plt>
mov    -0x8(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
call   1070 <addroundkey@plt>
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<encryptablock>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x148,%rsp
mov    %rdi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x130(%rsp)
movaps %xmm0,0x120(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
lea    0x90(%rsp),%rbp
mov    %rsi,%rdi
mov    %rbp,%rsi
call   1050 <expandkey@plt>
lea    0x80(%rsp),%r14
mov    %rbp,%rdi
mov    %r14,%rsi
xor    %edx,%edx
call   1040 <getroundkey@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <addroundkey@plt>
lea    0x1(%rbx),%rax
mov    %rax,0x10(%rsp)
lea    0x2(%rbx),%rax
mov    %rax,0x8(%rsp)
lea    0x3(%rbx),%rax
mov    %rax,(%rsp)
lea    0x4(%rbx),%rax
mov    %rax,0x30(%rsp)
lea    0x5(%rbx),%rax
mov    %rax,0x28(%rsp)
lea    0x6(%rbx),%rax
mov    %rax,0x20(%rsp)
lea    0x7(%rbx),%rax
mov    %rax,0x18(%rsp)
lea    0x8(%rbx),%rax
mov    %rax,0x50(%rsp)
lea    0x9(%rbx),%rax
mov    %rax,0x48(%rsp)
lea    0xa(%rbx),%rax
mov    %rax,0x40(%rsp)
lea    0xb(%rbx),%rax
mov    %rax,0x38(%rsp)
lea    0xc(%rbx),%rax
mov    %rax,0x78(%rsp)
lea    0xd(%rbx),%rax
mov    %rax,0x70(%rsp)
lea    0xe(%rbx),%rax
mov    %rax,0x68(%rsp)
mov    %rbx,0x58(%rsp)
lea    0xf(%rbx),%rax
mov    %rax,0x60(%rsp)
mov    $0x1,%ebp
mov    0x58(%rsp),%r14
mov    0x78(%rsp),%r12
mov    0x68(%rsp),%r15
mov    0x60(%rsp),%r13
xchg   %ax,%ax
mov    %r14,%rdi
mov    0x10(%rsp),%rsi
mov    0x8(%rsp),%rdx
mov    (%rsp),%rcx
call   1070 <subbytes@plt>
mov    0x30(%rsp),%rdi
mov    0x28(%rsp),%rsi
mov    0x20(%rsp),%rdx
mov    0x18(%rsp),%rcx
call   1070 <subbytes@plt>
mov    0x50(%rsp),%rdi
mov    0x48(%rsp),%rsi
mov    0x40(%rsp),%rdx
mov    0x38(%rsp),%rcx
call   1070 <subbytes@plt>
mov    %r12,%rdi
mov    0x70(%rsp),%rbx
mov    %rbx,%rsi
mov    %r15,%rdx
mov    %r13,%rcx
call   1070 <subbytes@plt>
mov    %r14,%rdi
call   1080 <rotate_word@plt>
mov    %r14,%rdi
mov    0x10(%rsp),%rsi
mov    0x8(%rsp),%rdx
mov    (%rsp),%rcx
call   1030 <mixcolumns@plt>
mov    0x30(%rsp),%rdi
mov    0x28(%rsp),%rsi
mov    0x20(%rsp),%rdx
mov    0x18(%rsp),%rcx
call   1030 <mixcolumns@plt>
mov    0x50(%rsp),%rdi
mov    0x48(%rsp),%rsi
mov    0x40(%rsp),%rdx
mov    0x38(%rsp),%rcx
call   1030 <mixcolumns@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
mov    %r15,%rdx
mov    %r13,%rcx
call   1030 <mixcolumns@plt>
lea    0x90(%rsp),%rdi
lea    0x80(%rsp),%rbx
mov    %rbx,%rsi
mov    %ebp,%edx
call   1040 <getroundkey@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1060 <addroundkey@plt>
add    $0x1,%ebp
cmp    $0xa,%ebp
jne    12b0 <encryptablock+0x150>
mov    0x58(%rsp),%rbx
mov    %rbx,%rdi
mov    0x10(%rsp),%rsi
mov    0x8(%rsp),%rdx
mov    (%rsp),%rcx
call   1070 <subbytes@plt>
mov    0x30(%rsp),%rdi
mov    0x28(%rsp),%rsi
mov    0x20(%rsp),%rdx
mov    0x18(%rsp),%rcx
call   1070 <subbytes@plt>
mov    0x50(%rsp),%rdi
mov    0x48(%rsp),%rsi
mov    0x40(%rsp),%rdx
mov    0x38(%rsp),%rcx
call   1070 <subbytes@plt>
mov    0x78(%rsp),%rdi
mov    0x70(%rsp),%rsi
mov    0x68(%rsp),%rdx
mov    0x60(%rsp),%rcx
call   1070 <subbytes@plt>
mov    %rbx,%rdi
call   1080 <rotate_word@plt>
lea    0x90(%rsp),%rdi
lea    0x80(%rsp),%rbp
mov    %rbp,%rsi
mov    $0xa,%edx
call   1040 <getroundkey@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1060 <addroundkey@plt>
add    $0x148,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @encryptablock(i8* %0, i8* %1) {
%3 = alloca [176 x i8]
%4 = alloca [16 x i8]
%5 = getelementptr inbounds [176 x i8], [176 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [16 x i8], [16 x i8]* %4, i64 0, i64 0
%7 = call i32 @expandkey(i8* %1, i8* %5)
%8 = call i32 @getroundkey(i8* %5, i8* %6, i32 0)
%9 = call i32 @addroundkey(i8* %0, i8* %6)
%10 = getelementptr inbounds i8, i8* %0, i64 1
%11 = getelementptr inbounds i8, i8* %0, i64 2
%12 = getelementptr inbounds i8, i8* %0, i64 3
%13 = getelementptr inbounds i8, i8* %0, i64 4
%14 = getelementptr inbounds i8, i8* %0, i64 5
%15 = getelementptr inbounds i8, i8* %0, i64 6
%16 = getelementptr inbounds i8, i8* %0, i64 7
%17 = getelementptr inbounds i8, i8* %0, i64 8
%18 = getelementptr inbounds i8, i8* %0, i64 9
%19 = getelementptr inbounds i8, i8* %0, i64 10
%20 = getelementptr inbounds i8, i8* %0, i64 11
%21 = getelementptr inbounds i8, i8* %0, i64 12
%22 = getelementptr inbounds i8, i8* %0, i64 13
%23 = getelementptr inbounds i8, i8* %0, i64 14
%24 = getelementptr inbounds i8, i8* %0, i64 15
br label %33
25: ; preds = %33
%26 = call i32 @subbytes(i8* %0, i8* %10, i8* %11, i8* %12)
%27 = call i32 @subbytes(i8* %13, i8* %14, i8* %15, i8* %16)
%28 = call i32 @subbytes(i8* %17, i8* %18, i8* %19, i8* %20)
%29 = call i32 @subbytes(i8* %21, i8* %22, i8* %23, i8* %24)
%30 = call i32 @rotate_word(i8* %0)
%31 = call i32 @getroundkey(i8* %5, i8* %6, i32 10)
%32 = call i32 @addroundkey(i8* %0, i8* %6)
ret void
33: ; preds = %2, %33
%34 = phi i32 [ 1, %2 ], [ %46, %33 ]
%35 = call i32 @subbytes(i8* %0, i8* %10, i8* %11, i8* %12)
%36 = call i32 @subbytes(i8* %13, i8* %14, i8* %15, i8* %16)
%37 = call i32 @subbytes(i8* %17, i8* %18, i8* %19, i8* %20)
%38 = call i32 @subbytes(i8* %21, i8* %22, i8* %23, i8* %24)
%39 = call i32 @rotate_word(i8* %0)
%40 = call i32 @mixcolumns(i8* %0, i8* %10, i8* %11, i8* %12)
%41 = call i32 @mixcolumns(i8* %13, i8* %14, i8* %15, i8* %16)
%42 = call i32 @mixcolumns(i8* %17, i8* %18, i8* %19, i8* %20)
%43 = call i32 @mixcolumns(i8* %21, i8* %22, i8* %23, i8* %24)
%44 = call i32 @getroundkey(i8* %5, i8* %6, i32 %34)
%45 = call i32 @addroundkey(i8* %0, i8* %6)
%46 = add nuw nsw i32 %34, 1
%47 = icmp eq i32 %46, 10
br i1 %47, label %25, label %33
}