#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 */
unsigned char int_pow(int, int);
int calculate_int(unsigned char *four_bytes) {
  int i, j, res = 0;
  for (i = 3; i >= 0; i--) {
    for (j = 0; j < 8; j++) {
      int p = int_pow(2, j);
      if (i == 3 && (four_bytes[i] & 128))
        res -= (four_bytes[i] & p);
      else
        res += (four_bytes[i] & p) * int_pow(256, i);
    }
  }
  return res;
}


x86 assembly (clang, -O0):
<calculate_int>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x3,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     11ee <calculate_int+0xde>
movl   $0x0,-0x10(%rbp)
cmpl   $0x8,-0x10(%rbp)
jge    11db <calculate_int+0xcb>
mov    -0x10(%rbp),%esi
mov    $0x2,%edi
call   1030 <int_pow@plt>
movzbl %al,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0x3,-0xc(%rbp)
jne    1198 <calculate_int+0x88>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1198 <calculate_int+0x88>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
movzbl (%rax,%rcx,1),%ecx
and    -0x18(%rbp),%ecx
mov    -0x14(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    11c8 <calculate_int+0xb8>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
and    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x100,%edi
call   1030 <int_pow@plt>
mov    %al,%cl
mov    -0x1c(%rbp),%eax
movzbl %cl,%ecx
imul   %ecx,%eax
add    -0x14(%rbp),%eax
mov    %eax,-0x14(%rbp)
jmp    11cd <calculate_int+0xbd>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    113b <calculate_int+0x2b>
jmp    11e0 <calculate_int+0xd0>
mov    -0xc(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0xc(%rbp)
jmp    112a <calculate_int+0x1a>
mov    -0x14(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<calculate_int>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %rdi,%r15
mov    $0x2,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebx
test   %cl,%cl
js     1151 <calculate_int+0x41>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebx
jmp    1153 <calculate_int+0x43>
neg    %ebx
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebp
test   %cl,%cl
js     1188 <calculate_int+0x78>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebp
add    %ebp,%ebx
jmp    118a <calculate_int+0x7a>
sub    %ebp,%ebx
mov    $0x2,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebp
test   %cl,%cl
js     11bf <calculate_int+0xaf>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebp
add    %ebp,%ebx
jmp    11c1 <calculate_int+0xb1>
sub    %ebp,%ebx
mov    $0x2,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebp
test   %cl,%cl
js     11f6 <calculate_int+0xe6>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebp
add    %ebp,%ebx
jmp    11f8 <calculate_int+0xe8>
sub    %ebp,%ebx
mov    $0x2,%edi
mov    $0x4,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebp
test   %cl,%cl
js     122d <calculate_int+0x11d>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebp
add    %ebp,%ebx
jmp    122f <calculate_int+0x11f>
sub    %ebp,%ebx
mov    $0x2,%edi
mov    $0x5,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebp
test   %cl,%cl
js     1264 <calculate_int+0x154>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebp
add    %ebp,%ebx
jmp    1266 <calculate_int+0x156>
sub    %ebp,%ebx
mov    $0x2,%edi
mov    $0x6,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebp
test   %cl,%cl
js     129b <calculate_int+0x18b>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebp
add    %ebp,%ebx
jmp    129d <calculate_int+0x18d>
sub    %ebp,%ebx
mov    $0x2,%edi
mov    $0x7,%esi
call   1030 <int_pow@plt>
mov    0x3(%r15),%cl
and    %cl,%al
movzbl %al,%ebp
test   %cl,%cl
js     12d2 <calculate_int+0x1c2>
mov    $0x100,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %eax,%ebp
add    %ebp,%ebx
jmp    12d4 <calculate_int+0x1c4>
sub    %ebp,%ebx
mov    %ebx,0x2c(%rsp)
mov    $0x2,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
mov    %al,0x23(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x6c(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x22(%rsp)
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %al,0x21(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x3c(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x20(%rsp)
mov    $0x2,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x1f(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x68(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x1e(%rsp)
mov    $0x2,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
mov    %al,0x1d(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x64(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x1c(%rsp)
mov    $0x2,%edi
mov    $0x4,%esi
call   1030 <int_pow@plt>
mov    %al,0x1b(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x60(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x1a(%rsp)
mov    $0x2,%edi
mov    $0x5,%esi
call   1030 <int_pow@plt>
mov    %al,0x19(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x5c(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x18(%rsp)
mov    $0x2,%edi
mov    $0x6,%esi
call   1030 <int_pow@plt>
mov    %al,0x17(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x58(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x16(%rsp)
mov    $0x2,%edi
mov    $0x7,%esi
call   1030 <int_pow@plt>
mov    %al,0x15(%rsp)
movzbl 0x2(%r15),%eax
mov    %eax,0x54(%rsp)
mov    $0x100,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x14(%rsp)
mov    $0x2,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
mov    %al,0x28(%rsp)
movzbl 0x1(%r15),%eax
mov    %eax,0x50(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %al,0x13(%rsp)
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %al,0x24(%rsp)
movzbl 0x1(%r15),%eax
mov    %eax,0x4c(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %al,0x12(%rsp)
mov    $0x2,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
mov    %al,0x11(%rsp)
movzbl 0x1(%r15),%eax
mov    %eax,0x48(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %al,0x10(%rsp)
mov    $0x2,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
mov    %al,0xf(%rsp)
movzbl 0x1(%r15),%eax
mov    %eax,0x44(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %al,0xe(%rsp)
mov    $0x2,%edi
mov    $0x4,%esi
call   1030 <int_pow@plt>
mov    %al,0xd(%rsp)
movzbl 0x1(%r15),%eax
mov    %eax,0x40(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %al,0xc(%rsp)
mov    $0x2,%edi
mov    $0x5,%esi
call   1030 <int_pow@plt>
mov    %al,0xb(%rsp)
movzbl 0x1(%r15),%eax
mov    %eax,0x38(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %eax,%r14d
mov    $0x2,%edi
mov    $0x6,%esi
call   1030 <int_pow@plt>
mov    %eax,%ebx
movzbl 0x1(%r15),%eax
mov    %eax,0x34(%rsp)
mov    %r15,0x70(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
mov    %eax,%r13d
mov    $0x2,%edi
mov    $0x7,%esi
call   1030 <int_pow@plt>
mov    %eax,%ebp
movzbl 0x1(%r15),%eax
mov    %eax,0x30(%rsp)
mov    $0x100,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
movzbl %bpl,%r12d
movzbl %al,%r15d
movzbl %bl,%edx
movzbl %r13b,%ecx
movzbl 0xb(%rsp),%eax
movzbl %r14b,%r11d
movzbl 0xd(%rsp),%esi
movzbl 0xc(%rsp),%r9d
movzbl 0xf(%rsp),%edi
movzbl 0xe(%rsp),%r10d
movzbl 0x11(%rsp),%ebp
movzbl 0x10(%rsp),%r8d
movzbl 0x24(%rsp),%r14d
movzbl 0x12(%rsp),%r13d
movzbl 0x28(%rsp),%ebx
and    0x30(%rsp),%r12d
imul   %r12d,%r15d
mov    %r15d,0x28(%rsp)
and    0x34(%rsp),%edx
imul   %edx,%ecx
mov    %ecx,0x24(%rsp)
and    0x38(%rsp),%eax
imul   %eax,%r11d
and    0x40(%rsp),%esi
imul   %esi,%r9d
and    0x44(%rsp),%edi
imul   %edi,%r10d
and    0x48(%rsp),%ebp
imul   %ebp,%r8d
and    0x4c(%rsp),%r14d
imul   %r14d,%r13d
and    0x50(%rsp),%ebx
movzbl 0x13(%rsp),%r14d
imul   %ebx,%r14d
movzbl 0x15(%rsp),%eax
and    0x54(%rsp),%eax
movzbl 0x14(%rsp),%edx
imul   %eax,%edx
movzbl 0x17(%rsp),%eax
and    0x58(%rsp),%eax
movzbl 0x16(%rsp),%edi
imul   %eax,%edi
movzbl 0x19(%rsp),%eax
and    0x5c(%rsp),%eax
movzbl 0x18(%rsp),%esi
imul   %eax,%esi
movzbl 0x1b(%rsp),%ebx
and    0x60(%rsp),%ebx
movzbl 0x1a(%rsp),%eax
imul   %ebx,%eax
movzbl 0x1d(%rsp),%ebx
and    0x64(%rsp),%ebx
movzbl 0x1c(%rsp),%ecx
imul   %ebx,%ecx
movzbl 0x1f(%rsp),%ebx
and    0x68(%rsp),%ebx
movzbl 0x1e(%rsp),%r15d
imul   %ebx,%r15d
movzbl 0x21(%rsp),%ebx
and    0x3c(%rsp),%ebx
movzbl 0x20(%rsp),%r12d
imul   %ebx,%r12d
movzbl 0x23(%rsp),%ebx
and    0x6c(%rsp),%ebx
movzbl 0x22(%rsp),%ebp
imul   %ebx,%ebp
add    0x2c(%rsp),%ebp
add    %r12d,%ebp
add    %r15d,%ebp
add    %ecx,%ebp
add    %eax,%ebp
add    %esi,%ebp
add    %edi,%ebp
add    %edx,%ebp
add    %r14d,%ebp
add    %r13d,%ebp
add    %r8d,%ebp
add    %r10d,%ebp
add    %r9d,%ebp
add    %r11d,%ebp
add    0x24(%rsp),%ebp
add    0x28(%rsp),%ebp
mov    $0x2,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
mov    0x70(%rsp),%r15
movzbl (%r15),%ecx
movzbl %al,%r14d
and    %ecx,%r14d
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%ebx
imul   %r14d,%ebx
add    %ebp,%ebx
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <int_pow@plt>
movzbl (%r15),%ecx
movzbl %al,%r14d
and    %ecx,%r14d
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%ebp
imul   %r14d,%ebp
add    %ebx,%ebp
mov    $0x2,%edi
mov    $0x2,%esi
call   1030 <int_pow@plt>
movzbl (%r15),%ecx
movzbl %al,%r14d
and    %ecx,%r14d
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%ebx
imul   %r14d,%ebx
add    %ebp,%ebx
mov    $0x2,%edi
mov    $0x3,%esi
call   1030 <int_pow@plt>
movzbl (%r15),%ecx
movzbl %al,%r14d
and    %ecx,%r14d
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%ebp
imul   %r14d,%ebp
add    %ebx,%ebp
mov    $0x2,%edi
mov    $0x4,%esi
call   1030 <int_pow@plt>
movzbl (%r15),%ecx
movzbl %al,%r14d
and    %ecx,%r14d
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%ebx
imul   %r14d,%ebx
add    %ebp,%ebx
mov    $0x2,%edi
mov    $0x5,%esi
call   1030 <int_pow@plt>
movzbl (%r15),%ecx
movzbl %al,%r14d
and    %ecx,%r14d
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%ebp
imul   %r14d,%ebp
add    %ebx,%ebp
mov    $0x2,%edi
mov    $0x6,%esi
call   1030 <int_pow@plt>
movzbl (%r15),%ecx
movzbl %al,%r14d
and    %ecx,%r14d
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%ebx
imul   %r14d,%ebx
add    %ebp,%ebx
mov    $0x2,%edi
mov    $0x7,%esi
call   1030 <int_pow@plt>
movzbl (%r15),%ecx
movzbl %al,%ebp
and    %ecx,%ebp
mov    $0x100,%edi
xor    %esi,%esi
call   1030 <int_pow@plt>
movzbl %al,%eax
imul   %ebp,%eax
add    %ebx,%eax
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @calculate_int(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i8* %0, i8** %2
store i32 0, i32* %5
store i32 3, i32* %3
br label %7
7: ; preds = %60, %1
%8 = load i32, i32* %3
%9 = icmp sge i32 %8, 0
br i1 %9, label %10, label %63
10: ; preds = %7
store i32 0, i32* %4
br label %11
11: ; preds = %56, %10
%12 = load i32, i32* %4
%13 = icmp slt i32 %12, 8
br i1 %13, label %14, label %59
14: ; preds = %11
%15 = load i32, i32* %4
%16 = call zeroext i8 @int_pow(i32 2, i32 %15)
%17 = zext i8 %16 to i32
store i32 %17, i32* %6
%18 = load i32, i32* %3
%19 = icmp eq i32 %18, 3
br i1 %19, label %20, label %40
20: ; preds = %14
%21 = load i8*, i8** %2
%22 = load i32, i32* %3
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, i8* %21, i64 %23
%25 = load i8, i8* %24
%26 = zext i8 %25 to i32
%27 = and i32 %26, 128
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %40
29: ; preds = %20
%30 = load i8*, i8** %2
%31 = load i32, i32* %3
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, i8* %30, i64 %32
%34 = load i8, i8* %33
%35 = zext i8 %34 to i32
%36 = load i32, i32* %6
%37 = and i32 %35, %36
%38 = load i32, i32* %5
%39 = sub nsw i32 %38, %37
store i32 %39, i32* %5
br label %55
40: ; preds = %20, %14
%41 = load i8*, i8** %2
%42 = load i32, i32* %3
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, i8* %41, i64 %43
%45 = load i8, i8* %44
%46 = zext i8 %45 to i32
%47 = load i32, i32* %6
%48 = and i32 %46, %47
%49 = load i32, i32* %3
%50 = call zeroext i8 @int_pow(i32 256, i32 %49)
%51 = zext i8 %50 to i32
%52 = mul nsw i32 %48, %51
%53 = load i32, i32* %5
%54 = add nsw i32 %53, %52
store i32 %54, i32* %5
br label %55
55: ; preds = %40, %29
br label %56
56: ; preds = %55
%57 = load i32, i32* %4
%58 = add nsw i32 %57, 1
store i32 %58, i32* %4
br label %11
59: ; preds = %11
br label %60
60: ; preds = %59
%61 = load i32, i32* %3
%62 = add nsw i32 %61, -1
store i32 %62, i32* %3
br label %7
63: ; preds = %7
%64 = load i32, i32* %5
ret i32 %64
}

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