#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 TapeImage_GetByte(unsigned char *);
unsigned long TapeImage_GetValue(unsigned char *, int);
int TapeImage_GetWord(unsigned char *);
int TapeImage_GetBlockLength(unsigned char *pBlock) {
  unsigned char *pBlockPtr = pBlock;
  unsigned char BlockIndex;
  unsigned long BlockLength = 0;
  BlockIndex = TapeImage_GetByte(pBlockPtr);
  pBlockPtr++;
  switch (BlockIndex) {
  case 0x010: {
    BlockLength = TapeImage_GetWord(pBlockPtr + 0x02);
    return BlockLength + 4 + 1;
  }
  case 0x011: {
    BlockLength = TapeImage_GetValue(pBlockPtr + 0x0f, 3);
    return BlockLength + 0x012 + 1;
  } break;
  case 0x012: {
    return 4 + 1;
  }
  case 0x013: {
    BlockLength = TapeImage_GetByte(pBlockPtr) << 1;
    return BlockLength + 1 + 1;
  }
  case 0x014: {
    BlockLength = TapeImage_GetValue(pBlockPtr + 0x07, 3);
    return BlockLength + 0x0a + 1;
  }
  case 0x015: {
    BlockLength = TapeImage_GetValue(pBlockPtr + 0x05, 3);
    return BlockLength + 0x08 + 1;
  }
  case 0x020: {
    return 0x02 + 1;
  }
  case 0x021: {
    BlockLength = TapeImage_GetByte(pBlockPtr + 0x00);
    return BlockLength + 1 + 1;
  }
  case 0x022: {
    return 1;
  }
  case 0x023: {
    return 0x02 + 1;
  }
  case 0x024: {
    return 0x02 + 1;
  }
  case 0x025: {
    return 1;
  }
  case 0x026: {
    BlockLength = TapeImage_GetWord(pBlockPtr + 0x00) << 1;
    return BlockLength + 2 + 1;
  }
  case 0x027: {
    return 1;
  }
  case 0x028: {
    BlockLength = TapeImage_GetWord(pBlockPtr + 0x00);
    return BlockLength + 2 + 1;
  }
  case 0x02a: {
    BlockLength = TapeImage_GetValue(pBlockPtr + 0x00, 4);
    return BlockLength + 4 + 1;
  }
  case 0x030: {
    BlockLength = TapeImage_GetByte(pBlockPtr + 0x00);
    return BlockLength + 1 + 1;
  }
  case 0x031: {
    BlockLength = TapeImage_GetByte(pBlockPtr + 0x01);
    return BlockLength + 2 + 1;
  }
  case 0x032: {
    BlockLength = TapeImage_GetWord(pBlockPtr + 0x00);
    return BlockLength + 2 + 1;
  }
  case 0x033: {
    BlockLength = TapeImage_GetByte(pBlockPtr + 0x00) * 3;
    return BlockLength + 0x01 + 1;
  }
  case 0x034: {
    return 0x08 + 1;
  }
  case 0x035: {
    BlockLength = TapeImage_GetValue(pBlockPtr + 0x010, 4);
    return BlockLength + 0x014 + 1;
  }
  case 0x040: {
    BlockLength = TapeImage_GetValue(pBlockPtr + 0x01, 3);
    return BlockLength + 1 + 0x04;
  }
  case 'Z': {
    return 0x09 + 1;
  }
  default: {
    BlockLength = TapeImage_GetValue(pBlockPtr, 4);
    return BlockLength + 4 + 1;
  } break;
  }
}


x86 assembly (clang, -O0):
<TapeImage_GetBlockLength>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
movq   $0x0,-0x28(%rbp)
mov    -0x18(%rbp),%rdi
call   1040 <TapeImage_GetByte@plt>
mov    %al,-0x19(%rbp)
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
movzbl -0x19(%rbp),%eax
add    $0xfffffff0,%eax
mov    %eax,%ecx
mov    %rcx,-0x30(%rbp)
sub    $0x4a,%eax
ja     143e <TapeImage_GetBlockLength+0x30e>
mov    -0x30(%rbp),%rax
lea    0xe7b(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x18(%rbp),%rdi
add    $0x2,%rdi
call   1030 <TapeImage_GetWord@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x4,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
add    $0xf,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x12,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x5,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
call   1040 <TapeImage_GetByte@plt>
shl    $0x1,%eax
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
add    $0x7,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0xa,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
add    $0x5,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x8,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x3,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
call   1040 <TapeImage_GetByte@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x1,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x3,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x3,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x1,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
call   1030 <TapeImage_GetWord@plt>
shl    $0x1,%eax
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x2,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x1,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
call   1030 <TapeImage_GetWord@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x2,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
mov    $0x4,%esi
call   1050 <TapeImage_GetValue@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x4,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
call   1040 <TapeImage_GetByte@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1040 <TapeImage_GetByte@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x2,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
call   1030 <TapeImage_GetWord@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x2,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
call   1040 <TapeImage_GetByte@plt>
imul   $0x3,%eax,%eax
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0x9,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
add    $0x10,%rdi
mov    $0x4,%esi
call   1050 <TapeImage_GetValue@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x14,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
add    $0x4,%rax
mov    %eax,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
movl   $0xa,-0x4(%rbp)
jmp    145f <TapeImage_GetBlockLength+0x32f>
mov    -0x18(%rbp),%rdi
mov    $0x4,%esi
call   1050 <TapeImage_GetValue@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0x4,%rax
add    $0x1,%rax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TapeImage_GetBlockLength>:
push   %rbx
mov    %rdi,%rbx
call   1040 <TapeImage_GetByte@plt>
mov    %eax,%ecx
lea    0x1(%rbx),%rdi
add    $0xf0,%cl
cmp    $0x4a,%cl
ja     1181 <TapeImage_GetBlockLength+0x51>
mov    $0x5,%eax
movzbl %cl,%ecx
lea    0xeaa(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
mov    $0x3,%eax
pop    %rbx
ret
mov    $0x1,%eax
pop    %rbx
ret
call   1040 <TapeImage_GetByte@plt>
add    $0x2,%eax
pop    %rbx
ret
call   1030 <TapeImage_GetWord@plt>
jmp    1202 <TapeImage_GetBlockLength+0xd2>
mov    $0x4,%esi
jmp    123d <TapeImage_GetBlockLength+0x10d>
add    $0x3,%rbx
mov    %rbx,%rdi
call   1030 <TapeImage_GetWord@plt>
jmp    1242 <TapeImage_GetBlockLength+0x112>
add    $0x10,%rbx
mov    %rbx,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
add    $0x13,%eax
pop    %rbx
ret
call   1040 <TapeImage_GetByte@plt>
add    %eax,%eax
add    $0x2,%eax
pop    %rbx
ret
add    $0x8,%rbx
mov    %rbx,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
add    $0xb,%eax
pop    %rbx
ret
add    $0x6,%rbx
mov    %rbx,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
add    $0x9,%eax
pop    %rbx
ret
call   1030 <TapeImage_GetWord@plt>
add    %eax,%eax
add    $0x3,%eax
pop    %rbx
ret
add    $0x2,%rbx
mov    %rbx,%rdi
call   1040 <TapeImage_GetByte@plt>
add    $0x3,%eax
pop    %rbx
ret
call   1040 <TapeImage_GetByte@plt>
lea    (%rax,%rax,2),%eax
add    $0x2,%eax
pop    %rbx
ret
mov    $0x9,%eax
pop    %rbx
ret
add    $0x11,%rbx
mov    %rbx,%rdi
mov    $0x4,%esi
call   1050 <TapeImage_GetValue@plt>
add    $0x15,%eax
pop    %rbx
ret
add    $0x2,%rbx
mov    %rbx,%rdi
mov    $0x3,%esi
call   1050 <TapeImage_GetValue@plt>
add    $0x5,%eax
pop    %rbx
ret
mov    $0xa,%eax
pop    %rbx
ret

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

LLVM IR (-O2):
define i32 @TapeImage_GetBlockLength(i8* %0) {
%2 = tail call i32 @TapeImage_GetByte(i8* %0)
%3 = getelementptr inbounds i8, i8* %0, i64 1
%4 = trunc i32 %2 to i8
switch i8 %4, label %74 [
i8 16, label %5
i8 17, label %9
i8 18, label %78
i8 19, label %14
i8 20, label %18
i8 21, label %23
i8 32, label %28
i8 33, label %29
i8 34, label %32
i8 35, label %33
i8 36, label %34
i8 37, label %35
i8 38, label %36
i8 39, label %40
i8 40, label %41
i8 42, label %44
i8 48, label %48
i8 49, label %51
i8 50, label %55
i8 51, label %58
i8 52, label %62
i8 53, label %63
i8 64, label %68
i8 90, label %73
]
5: ; preds = %1
%6 = getelementptr inbounds i8, i8* %0, i64 3
%7 = tail call i32 @TapeImage_GetWord(i8* %6)
%8 = add i32 %7, 5
br label %78
9: ; preds = %1
%10 = getelementptr inbounds i8, i8* %0, i64 16
%11 = tail call i64 @TapeImage_GetValue(i8* %10, i32 3)
%12 = trunc i64 %11 to i32
%13 = add i32 %12, 19
br label %78
14: ; preds = %1
%15 = tail call i32 @TapeImage_GetByte(i8* %3)
%16 = shl i32 %15, 1
%17 = add i32 %16, 2
br label %78
18: ; preds = %1
%19 = getelementptr inbounds i8, i8* %0, i64 8
%20 = tail call i64 @TapeImage_GetValue(i8* %19, i32 3)
%21 = trunc i64 %20 to i32
%22 = add i32 %21, 11
br label %78
23: ; preds = %1
%24 = getelementptr inbounds i8, i8* %0, i64 6
%25 = tail call i64 @TapeImage_GetValue(i8* %24, i32 3)
%26 = trunc i64 %25 to i32
%27 = add i32 %26, 9
br label %78
28: ; preds = %1
br label %78
29: ; preds = %1
%30 = tail call i32 @TapeImage_GetByte(i8* %3)
%31 = add i32 %30, 2
br label %78
32: ; preds = %1
br label %78
33: ; preds = %1
br label %78
34: ; preds = %1
br label %78
35: ; preds = %1
br label %78
36: ; preds = %1
%37 = tail call i32 @TapeImage_GetWord(i8* %3)
%38 = shl i32 %37, 1
%39 = add i32 %38, 3
br label %78
40: ; preds = %1
br label %78
41: ; preds = %1
%42 = tail call i32 @TapeImage_GetWord(i8* %3)
%43 = add i32 %42, 3
br label %78
44: ; preds = %1
%45 = tail call i64 @TapeImage_GetValue(i8* %3, i32 4)
%46 = trunc i64 %45 to i32
%47 = add i32 %46, 5
br label %78
48: ; preds = %1
%49 = tail call i32 @TapeImage_GetByte(i8* %3)
%50 = add i32 %49, 2
br label %78
51: ; preds = %1
%52 = getelementptr inbounds i8, i8* %0, i64 2
%53 = tail call i32 @TapeImage_GetByte(i8* %52)
%54 = add i32 %53, 3
br label %78
55: ; preds = %1
%56 = tail call i32 @TapeImage_GetWord(i8* %3)
%57 = add i32 %56, 3
br label %78
58: ; preds = %1
%59 = tail call i32 @TapeImage_GetByte(i8* %3)
%60 = mul nsw i32 %59, 3
%61 = add i32 %60, 2
br label %78
62: ; preds = %1
br label %78
63: ; preds = %1
%64 = getelementptr inbounds i8, i8* %0, i64 17
%65 = tail call i64 @TapeImage_GetValue(i8* %64, i32 4)
%66 = trunc i64 %65 to i32
%67 = add i32 %66, 21
br label %78
68: ; preds = %1
%69 = getelementptr inbounds i8, i8* %0, i64 2
%70 = tail call i64 @TapeImage_GetValue(i8* %69, i32 3)
%71 = trunc i64 %70 to i32
%72 = add i32 %71, 5
br label %78
73: ; preds = %1
br label %78
74: ; preds = %1
%75 = tail call i64 @TapeImage_GetValue(i8* %3, i32 4)
%76 = trunc i64 %75 to i32
%77 = add i32 %76, 5
br label %78
78: ; preds = %1, %74, %73, %68, %63, %62, %58, %55, %51, %48, %44, %41, %40, %36, %35, %34, %33, %32, %29, %28, %23, %18, %14, %9, %5
%79 = phi i32 [ %77, %74 ], [ 10, %73 ], [ %72, %68 ], [ %67, %63 ], [ 9, %62 ], [ %61, %58 ], [ %57, %55 ], [ %54, %51 ], [ %50, %48 ], [ %47, %44 ], [ %43, %41 ], [ 1, %40 ], [ %39, %36 ], [ 1, %35 ], [ 3, %34 ], [ 3, %33 ], [ 1, %32 ], [ %31, %29 ], [ 3, %28 ], [ %27, %23 ], [ %22, %18 ], [ %17, %14 ], [ %13, %9 ], [ %8, %5 ], [ 5, %1 ]
ret i32 %79
}