#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*/ put_hp71_length(unsigned char *, unsigned int, int);
int /*<<< orphan*/ put_lif_int(unsigned char *, int, unsigned int);
int /*<<< orphan*/ put_time(unsigned char *);
int /*<<< orphan*/ zero_time(unsigned char *);
void create_entry(unsigned char *entry, char *name, unsigned int filetype,
                  unsigned int start, unsigned int length, int odd_flag) {
  int i;
  unsigned int blocks;
  unsigned int imp_length;
  for (i = 0; (i < 10) && name[i]; i++) {
    entry[i] = name[i];
  }
  for (; i < 10; i++) {
    entry[i] = ' ';
  }
  put_lif_int(entry + 10, 2, filetype);
  put_lif_int(entry + 12, 4, start);
  blocks = (length + 255) / 256;
  put_lif_int(entry + 16, 4, blocks);
  entry[26] = 128;
  entry[27] = 1;
  switch (filetype) {
  case 1:
  case 0xE0D1:
    put_lif_int(entry + 28, 4, 0);
    put_time(entry);
    break;
  case 0xE0D0:
    imp_length = (length + 7) / 8;
    put_lif_int(entry + 28, 2, imp_length);
    put_lif_int(entry + 30, 2, 0);
    put_time(entry);
    break;
  case 0xE0F0:
  case 0xE0F1:
    entry[28] = length & 0xFF;
    entry[29] = (length >> 8) & 0xFF;
    entry[30] = 1;
    entry[31] = 0;
    put_time(entry);
    break;
  case 0xE204:
  case 0xE205:
  case 0xE206:
  case 0xE207:
  case 0xE208:
  case 0xE209:
  case 0xE20C:
  case 0xE20D:
  case 0xE214:
  case 0xE215:
  case 0xE216:
  case 0xE217:
  case 0xE218:
  case 0xE219:
  case 0xE21A:
  case 0xE21B:
    put_hp71_length(entry, length, odd_flag);
    put_time(entry);
    break;
  case 0xE080:
    put_lif_int(entry + 28, 2, length);
    put_lif_int(entry + 30, 2, 0);
    zero_time(entry);
    break;
  case 0xE050:
  case 0xE060:
  case 0xE070:
  case 0xE040:
    imp_length = (length + 7) / 8;
    put_lif_int(entry + 28, 2, imp_length);
    put_lif_int(entry + 30, 2, 0);
    zero_time(entry);
    break;
  case 0xE052:
  case 0xE053:
  case 0xE089:
  case 0xE088:
  case 0xE08B:
    put_lif_int(entry + 28, 4, 0);
    put_time(entry);
    break;
  default:
    put_lif_int(entry + 28, 4, 0);
    put_time(entry);
    break;
  }
}


x86 assembly (clang, -O0):
<create_entry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9d,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
xor    %eax,%eax
cmpl   $0xa,-0x24(%rbp)
mov    %al,-0x2d(%rbp)
jge    1189 <create_entry+0x49>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x2d(%rbp)
mov    -0x2d(%rbp),%al
test   $0x1,%al
jne    1199 <create_entry+0x59>
jmp    11bd <create_entry+0x7d>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,1),%dl
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1165 <create_entry+0x25>
jmp    11c2 <create_entry+0x82>
cmpl   $0xa,-0x24(%rbp)
jge    11e6 <create_entry+0xa6>
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
movb   $0x20,(%rax,%rcx,1)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11c2 <create_entry+0x82>
mov    -0x8(%rbp),%rdi
add    $0xa,%rdi
mov    -0x14(%rbp),%edx
mov    $0x2,%esi
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
add    $0xc,%rdi
mov    -0x18(%rbp),%edx
mov    $0x4,%esi
mov    %esi,-0x38(%rbp)
call   1030 <put_lif_int@plt>
mov    -0x38(%rbp),%esi
mov    -0x1c(%rbp),%eax
add    $0xff,%eax
shr    $0x8,%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x10,%rdi
mov    -0x28(%rbp),%edx
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rax
movb   $0x80,0x1a(%rax)
mov    -0x8(%rbp),%rax
movb   $0x1,0x1b(%rax)
mov    -0x14(%rbp),%eax
mov    %eax,-0x34(%rbp)
sub    $0x1,%eax
je     1374 <create_entry+0x234>
jmp    1258 <create_entry+0x118>
mov    -0x34(%rbp),%eax
sub    $0xe040,%eax
je     1470 <create_entry+0x330>
jmp    126b <create_entry+0x12b>
mov    -0x34(%rbp),%eax
sub    $0xe050,%eax
je     1470 <create_entry+0x330>
jmp    127e <create_entry+0x13e>
mov    -0x34(%rbp),%eax
add    $0xffff1fae,%eax
sub    $0x2,%eax
jb     14b3 <create_entry+0x373>
jmp    1294 <create_entry+0x154>
mov    -0x34(%rbp),%eax
sub    $0xe060,%eax
je     1470 <create_entry+0x330>
jmp    12a7 <create_entry+0x167>
mov    -0x34(%rbp),%eax
sub    $0xe070,%eax
je     1470 <create_entry+0x330>
jmp    12ba <create_entry+0x17a>
mov    -0x34(%rbp),%eax
sub    $0xe080,%eax
je     1439 <create_entry+0x2f9>
jmp    12cd <create_entry+0x18d>
mov    -0x34(%rbp),%eax
add    $0xffff1f78,%eax
sub    $0x2,%eax
jb     14b3 <create_entry+0x373>
jmp    12e3 <create_entry+0x1a3>
mov    -0x34(%rbp),%eax
sub    $0xe08b,%eax
je     14b3 <create_entry+0x373>
jmp    12f6 <create_entry+0x1b6>
mov    -0x34(%rbp),%eax
sub    $0xe0d0,%eax
je     1396 <create_entry+0x256>
jmp    1309 <create_entry+0x1c9>
mov    -0x34(%rbp),%eax
sub    $0xe0d1,%eax
je     1374 <create_entry+0x234>
jmp    131c <create_entry+0x1dc>
mov    -0x34(%rbp),%eax
add    $0xffff1f10,%eax
sub    $0x2,%eax
jb     13d9 <create_entry+0x299>
jmp    1332 <create_entry+0x1f2>
mov    -0x34(%rbp),%eax
add    $0xffff1dfc,%eax
sub    $0x6,%eax
jb     141c <create_entry+0x2dc>
jmp    1348 <create_entry+0x208>
mov    -0x34(%rbp),%eax
add    $0xffff1df4,%eax
sub    $0x2,%eax
jb     141c <create_entry+0x2dc>
jmp    135e <create_entry+0x21e>
mov    -0x34(%rbp),%eax
add    $0xffff1dec,%eax
sub    $0x8,%eax
jb     141c <create_entry+0x2dc>
jmp    14d5 <create_entry+0x395>
mov    -0x8(%rbp),%rdi
add    $0x1c,%rdi
mov    $0x4,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
call   1040 <put_time@plt>
jmp    14f2 <create_entry+0x3b2>
mov    -0x1c(%rbp),%eax
add    $0x7,%eax
shr    $0x3,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x1c,%rdi
mov    -0x2c(%rbp),%edx
mov    $0x2,%esi
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
add    $0x1e,%rdi
mov    $0x2,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
call   1040 <put_time@plt>
jmp    14f2 <create_entry+0x3b2>
mov    -0x1c(%rbp),%eax
and    $0xff,%eax
mov    %al,%cl
mov    -0x8(%rbp),%rax
mov    %cl,0x1c(%rax)
mov    -0x1c(%rbp),%eax
shr    $0x8,%eax
and    $0xff,%eax
mov    %al,%cl
mov    -0x8(%rbp),%rax
mov    %cl,0x1d(%rax)
mov    -0x8(%rbp),%rax
movb   $0x1,0x1e(%rax)
mov    -0x8(%rbp),%rax
movb   $0x0,0x1f(%rax)
mov    -0x8(%rbp),%rdi
call   1040 <put_time@plt>
jmp    14f2 <create_entry+0x3b2>
mov    -0x8(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
call   1050 <put_hp71_length@plt>
mov    -0x8(%rbp),%rdi
call   1040 <put_time@plt>
jmp    14f2 <create_entry+0x3b2>
mov    -0x8(%rbp),%rdi
add    $0x1c,%rdi
mov    -0x1c(%rbp),%edx
mov    $0x2,%esi
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
add    $0x1e,%rdi
mov    $0x2,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
call   1060 <zero_time@plt>
jmp    14f2 <create_entry+0x3b2>
mov    -0x1c(%rbp),%eax
add    $0x7,%eax
shr    $0x3,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x1c,%rdi
mov    -0x2c(%rbp),%edx
mov    $0x2,%esi
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
add    $0x1e,%rdi
mov    $0x2,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
call   1060 <zero_time@plt>
jmp    14f2 <create_entry+0x3b2>
mov    -0x8(%rbp),%rdi
add    $0x1c,%rdi
mov    $0x4,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
call   1040 <put_time@plt>
jmp    14f2 <create_entry+0x3b2>
mov    -0x8(%rbp),%rdi
add    $0x1c,%rdi
mov    $0x4,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    -0x8(%rbp),%rdi
call   1040 <put_time@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<create_entry>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %ecx,%ebp
mov    %edx,%r14d
mov    %r9d,%r15d
mov    %r8d,%r12d
mov    %rdi,%rbx
mov    (%rsi),%al
test   %al,%al
je     11ca <create_entry+0x7a>
mov    %al,(%rbx)
mov    0x1(%rsi),%al
test   %al,%al
je     11ce <create_entry+0x7e>
mov    %al,0x1(%rbx)
mov    0x2(%rsi),%al
test   %al,%al
je     11d5 <create_entry+0x85>
mov    %al,0x2(%rbx)
mov    0x3(%rsi),%al
test   %al,%al
je     11dc <create_entry+0x8c>
mov    %al,0x3(%rbx)
mov    0x4(%rsi),%al
test   %al,%al
je     11e3 <create_entry+0x93>
mov    %al,0x4(%rbx)
mov    0x5(%rsi),%al
test   %al,%al
je     11ea <create_entry+0x9a>
mov    %al,0x5(%rbx)
mov    0x6(%rsi),%al
test   %al,%al
je     11f1 <create_entry+0xa1>
mov    %al,0x6(%rbx)
mov    0x7(%rsi),%al
test   %al,%al
je     11f8 <create_entry+0xa8>
mov    %al,0x7(%rbx)
mov    0x8(%rsi),%al
test   %al,%al
je     11ff <create_entry+0xaf>
mov    %al,0x8(%rbx)
mov    0x9(%rsi),%al
test   %al,%al
je     1206 <create_entry+0xb6>
mov    %al,0x9(%rbx)
jmp    1225 <create_entry+0xd5>
xor    %eax,%eax
jmp    120b <create_entry+0xbb>
mov    $0x1,%eax
jmp    120b <create_entry+0xbb>
mov    $0x2,%eax
jmp    120b <create_entry+0xbb>
mov    $0x3,%eax
jmp    120b <create_entry+0xbb>
mov    $0x4,%eax
jmp    120b <create_entry+0xbb>
mov    $0x5,%eax
jmp    120b <create_entry+0xbb>
mov    $0x6,%eax
jmp    120b <create_entry+0xbb>
mov    $0x7,%eax
jmp    120b <create_entry+0xbb>
mov    $0x8,%eax
jmp    120b <create_entry+0xbb>
mov    $0x9,%eax
mov    %eax,%edi
add    %rbx,%rdi
mov    $0x9,%edx
sub    %eax,%edx
add    $0x1,%rdx
mov    $0x20,%esi
call   1050 <memset@plt>
lea    0xa(%rbx),%rdi
mov    $0x2,%esi
mov    %r14d,%edx
call   1030 <put_lif_int@plt>
lea    0xc(%rbx),%rdi
mov    $0x4,%esi
mov    %ebp,%edx
call   1030 <put_lif_int@plt>
lea    0xff(%r12),%edx
shr    $0x8,%edx
lea    0x10(%rbx),%rdi
mov    $0x4,%esi
call   1030 <put_lif_int@plt>
movw   $0x180,0x1a(%rbx)
cmp    $0xe0d0,%r14d
jle    129c <create_entry+0x14c>
lea    -0xe204(%r14),%eax
cmp    $0x17,%eax
ja     1315 <create_entry+0x1c5>
mov    $0xff033f,%ecx
bt     %eax,%ecx
jae    1315 <create_entry+0x1c5>
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
call   1060 <put_hp71_length@plt>
jmp    12cc <create_entry+0x17c>
lea    -0xe040(%r14),%eax
cmp    $0x4b,%eax
ja     1332 <create_entry+0x1e2>
lea    0xd4d(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1c(%rbx),%rdi
mov    $0x4,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    %rbx,%rdi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <put_time@plt>
add    $0x7,%r12d
shr    $0x3,%r12d
lea    0x1c(%rbx),%rdi
mov    $0x2,%esi
mov    %r12d,%edx
call   1030 <put_lif_int@plt>
lea    0x1e(%rbx),%rdi
mov    $0x2,%esi
xor    %edx,%edx
call   1030 <put_lif_int@plt>
mov    %rbx,%rdi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1070 <zero_time@plt>
lea    -0xe0f0(%r14),%eax
cmp    $0x2,%eax
jae    136c <create_entry+0x21c>
mov    %r12,%rax
mov    %al,0x1c(%rbx)
mov    %ah,0x1d(%rbx)
movw   $0x1,0x1e(%rbx)
jmp    12cc <create_entry+0x17c>
cmp    $0x1,%r14d
je     12bc <create_entry+0x16c>
cmp    $0xe0d0,%r14d
jne    12bc <create_entry+0x16c>
add    $0x7,%r12d
shr    $0x3,%r12d
lea    0x1c(%rbx),%rdi
mov    $0x2,%esi
mov    %r12d,%edx
call   1030 <put_lif_int@plt>
lea    0x1e(%rbx),%rdi
mov    $0x2,%esi
jmp    12c5 <create_entry+0x175>
cmp    $0xe0d1,%r14d
jmp    12bc <create_entry+0x16c>

LLVM IR (-O0):
define void @create_entry(i8* %0, i8* %1, i32 %2, i32 %3, i32 %4, i32 %5) {
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store i8* %0, i8** %7
store i8* %1, i8** %8
store i32 %2, i32* %9
store i32 %3, i32* %10
store i32 %4, i32* %11
store i32 %5, i32* %12
store i32 0, i32* %13
br label %16
16: ; preds = %39, %6
%17 = load i32, i32* %13
%18 = icmp slt i32 %17, 10
br i1 %18, label %19, label %27
19: ; preds = %16
%20 = load i8*, i8** %8
%21 = load i32, i32* %13
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, i8* %20, i64 %22
%24 = load i8, i8* %23
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %19, %16
%28 = phi i1 [ false, %16 ], [ %26, %19 ]
br i1 %28, label %29, label %42
29: ; preds = %27
%30 = load i8*, i8** %8
%31 = load i32, i32* %13
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, i8* %30, i64 %32
%34 = load i8, i8* %33
%35 = load i8*, i8** %7
%36 = load i32, i32* %13
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, i8* %35, i64 %37
store i8 %34, i8* %38
br label %39
39: ; preds = %29
%40 = load i32, i32* %13
%41 = add nsw i32 %40, 1
store i32 %41, i32* %13
br label %16
42: ; preds = %27
br label %43
43: ; preds = %51, %42
%44 = load i32, i32* %13
%45 = icmp slt i32 %44, 10
br i1 %45, label %46, label %54
46: ; preds = %43
%47 = load i8*, i8** %7
%48 = load i32, i32* %13
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, i8* %47, i64 %49
store i8 32, i8* %50
br label %51
51: ; preds = %46
%52 = load i32, i32* %13
%53 = add nsw i32 %52, 1
store i32 %53, i32* %13
br label %43
54: ; preds = %43
%55 = load i8*, i8** %7
%56 = getelementptr inbounds i8, i8* %55, i64 10
%57 = load i32, i32* %9
%58 = call i32 @put_lif_int(i8* %56, i32 2, i32 %57)
%59 = load i8*, i8** %7
%60 = getelementptr inbounds i8, i8* %59, i64 12
%61 = load i32, i32* %10
%62 = call i32 @put_lif_int(i8* %60, i32 4, i32 %61)
%63 = load i32, i32* %11
%64 = add i32 %63, 255
%65 = udiv i32 %64, 256
store i32 %65, i32* %14
%66 = load i8*, i8** %7
%67 = getelementptr inbounds i8, i8* %66, i64 16
%68 = load i32, i32* %14
%69 = call i32 @put_lif_int(i8* %67, i32 4, i32 %68)
%70 = load i8*, i8** %7
%71 = getelementptr inbounds i8, i8* %70, i64 26
store i8 -128, i8* %71
%72 = load i8*, i8** %7
%73 = getelementptr inbounds i8, i8* %72, i64 27
store i8 1, i8* %73
%74 = load i32, i32* %9
switch i32 %74, label %148 [
i32 1, label %75
i32 57553, label %75
i32 57552, label %81
i32 57584, label %94
i32 57585, label %94
i32 57860, label %112
i32 57861, label %112
i32 57862, label %112
i32 57863, label %112
i32 57864, label %112
i32 57865, label %112
i32 57868, label %112
i32 57869, label %112
i32 57876, label %112
i32 57877, label %112
i32 57878, label %112
i32 57879, label %112
i32 57880, label %112
i32 57881, label %112
i32 57882, label %112
i32 57883, label %112
i32 57472, label %119
i32 57424, label %129
i32 57440, label %129
i32 57456, label %129
i32 57408, label %129
i32 57426, label %142
i32 57427, label %142
i32 57481, label %142
i32 57480, label %142
i32 57483, label %142
]
75: ; preds = %54, %54
%76 = load i8*, i8** %7
%77 = getelementptr inbounds i8, i8* %76, i64 28
%78 = call i32 @put_lif_int(i8* %77, i32 4, i32 0)
%79 = load i8*, i8** %7
%80 = call i32 @put_time(i8* %79)
br label %154
81: ; preds = %54
%82 = load i32, i32* %11
%83 = add i32 %82, 7
%84 = udiv i32 %83, 8
store i32 %84, i32* %15
%85 = load i8*, i8** %7
%86 = getelementptr inbounds i8, i8* %85, i64 28
%87 = load i32, i32* %15
%88 = call i32 @put_lif_int(i8* %86, i32 2, i32 %87)
%89 = load i8*, i8** %7
%90 = getelementptr inbounds i8, i8* %89, i64 30
%91 = call i32 @put_lif_int(i8* %90, i32 2, i32 0)
%92 = load i8*, i8** %7
%93 = call i32 @put_time(i8* %92)
br label %154
94: ; preds = %54, %54
%95 = load i32, i32* %11
%96 = and i32 %95, 255
%97 = trunc i32 %96 to i8
%98 = load i8*, i8** %7
%99 = getelementptr inbounds i8, i8* %98, i64 28
store i8 %97, i8* %99
%100 = load i32, i32* %11
%101 = lshr i32 %100, 8
%102 = and i32 %101, 255
%103 = trunc i32 %102 to i8
%104 = load i8*, i8** %7
%105 = getelementptr inbounds i8, i8* %104, i64 29
store i8 %103, i8* %105
%106 = load i8*, i8** %7
%107 = getelementptr inbounds i8, i8* %106, i64 30
store i8 1, i8* %107
%108 = load i8*, i8** %7
%109 = getelementptr inbounds i8, i8* %108, i64 31
store i8 0, i8* %109
%110 = load i8*, i8** %7
%111 = call i32 @put_time(i8* %110)
br label %154
112: ; preds = %54, %54, %54, %54, %54, %54, %54, %54, %54, %54, %54, %54, %54, %54, %54, %54
%113 = load i8*, i8** %7
%114 = load i32, i32* %11
%115 = load i32, i32* %12
%116 = call i32 @put_hp71_length(i8* %113, i32 %114, i32 %115)
%117 = load i8*, i8** %7
%118 = call i32 @put_time(i8* %117)
br label %154
119: ; preds = %54
%120 = load i8*, i8** %7
%121 = getelementptr inbounds i8, i8* %120, i64 28
%122 = load i32, i32* %11
%123 = call i32 @put_lif_int(i8* %121, i32 2, i32 %122)
%124 = load i8*, i8** %7
%125 = getelementptr inbounds i8, i8* %124, i64 30
%126 = call i32 @put_lif_int(i8* %125, i32 2, i32 0)
%127 = load i8*, i8** %7
%128 = call i32 @zero_time(i8* %127)
br label %154
129: ; preds = %54, %54, %54, %54
%130 = load i32, i32* %11
%131 = add i32 %130, 7
%132 = udiv i32 %131, 8
store i32 %132, i32* %15
%133 = load i8*, i8** %7
%134 = getelementptr inbounds i8, i8* %133, i64 28
%135 = load i32, i32* %15
%136 = call i32 @put_lif_int(i8* %134, i32 2, i32 %135)
%137 = load i8*, i8** %7
%138 = getelementptr inbounds i8, i8* %137, i64 30
%139 = call i32 @put_lif_int(i8* %138, i32 2, i32 0)
%140 = load i8*, i8** %7
%141 = call i32 @zero_time(i8* %140)
br label %154
142: ; preds = %54, %54, %54, %54, %54
%143 = load i8*, i8** %7
%144 = getelementptr inbounds i8, i8* %143, i64 28
%145 = call i32 @put_lif_int(i8* %144, i32 4, i32 0)
%146 = load i8*, i8** %7
%147 = call i32 @put_time(i8* %146)
br label %154
148: ; preds = %54
%149 = load i8*, i8** %7
%150 = getelementptr inbounds i8, i8* %149, i64 28
%151 = call i32 @put_lif_int(i8* %150, i32 4, i32 0)
%152 = load i8*, i8** %7
%153 = call i32 @put_time(i8* %152)
br label %154
154: ; preds = %148, %142, %129, %119, %112, %94, %81, %75
ret void
}

LLVM IR (-O2):
define void @create_entry(i8* %0, i8* nocapture %1, i32 %2, i32 %3, i32 %4, i32 %5) {
%7 = load i8, i8* %1
%8 = icmp eq i8 %7, 0
br i1 %8, label %55, label %9
9: ; preds = %6
store i8 %7, i8* %0
%10 = getelementptr inbounds i8, i8* %1, i64 1
%11 = load i8, i8* %10
%12 = icmp eq i8 %11, 0
br i1 %12, label %55, label %13
13: ; preds = %9
%14 = getelementptr inbounds i8, i8* %0, i64 1
store i8 %11, i8* %14
%15 = getelementptr inbounds i8, i8* %1, i64 2
%16 = load i8, i8* %15
%17 = icmp eq i8 %16, 0
br i1 %17, label %55, label %18
18: ; preds = %13
%19 = getelementptr inbounds i8, i8* %0, i64 2
store i8 %16, i8* %19
%20 = getelementptr inbounds i8, i8* %1, i64 3
%21 = load i8, i8* %20
%22 = icmp eq i8 %21, 0
br i1 %22, label %55, label %23
23: ; preds = %18
%24 = getelementptr inbounds i8, i8* %0, i64 3
store i8 %21, i8* %24
%25 = getelementptr inbounds i8, i8* %1, i64 4
%26 = load i8, i8* %25
%27 = icmp eq i8 %26, 0
br i1 %27, label %55, label %28
28: ; preds = %23
%29 = getelementptr inbounds i8, i8* %0, i64 4
store i8 %26, i8* %29
%30 = getelementptr inbounds i8, i8* %1, i64 5
%31 = load i8, i8* %30
%32 = icmp eq i8 %31, 0
br i1 %32, label %55, label %33
33: ; preds = %28
%34 = getelementptr inbounds i8, i8* %0, i64 5
store i8 %31, i8* %34
%35 = getelementptr inbounds i8, i8* %1, i64 6
%36 = load i8, i8* %35
%37 = icmp eq i8 %36, 0
br i1 %37, label %55, label %38
38: ; preds = %33
%39 = getelementptr inbounds i8, i8* %0, i64 6
store i8 %36, i8* %39
%40 = getelementptr inbounds i8, i8* %1, i64 7
%41 = load i8, i8* %40
%42 = icmp eq i8 %41, 0
br i1 %42, label %55, label %43
43: ; preds = %38
%44 = getelementptr inbounds i8, i8* %0, i64 7
store i8 %41, i8* %44
%45 = getelementptr inbounds i8, i8* %1, i64 8
%46 = load i8, i8* %45
%47 = icmp eq i8 %46, 0
br i1 %47, label %55, label %48
48: ; preds = %43
%49 = getelementptr inbounds i8, i8* %0, i64 8
store i8 %46, i8* %49
%50 = getelementptr inbounds i8, i8* %1, i64 9
%51 = load i8, i8* %50
%52 = icmp eq i8 %51, 0
br i1 %52, label %55, label %53
53: ; preds = %48
%54 = getelementptr inbounds i8, i8* %0, i64 9
store i8 %51, i8* %54
br label %62
55: ; preds = %48, %43, %38, %33, %28, %23, %18, %13, %9, %6
%56 = phi i32 [ 0, %6 ], [ 1, %9 ], [ 2, %13 ], [ 3, %18 ], [ 4, %23 ], [ 5, %28 ], [ 6, %33 ], [ 7, %38 ], [ 8, %43 ], [ 9, %48 ]
%57 = zext i32 %56 to i64
%58 = getelementptr i8, i8* %0, i64 %57
%59 = sub nuw nsw i32 9, %56
%60 = zext i32 %59 to i64
%61 = add nuw nsw i64 %60, 1
br label %62
62: ; preds = %53, %55
%63 = getelementptr inbounds i8, i8* %0, i64 10
%64 = tail call i32 @put_lif_int(i8* %63, i32 2, i32 %2)
%65 = getelementptr inbounds i8, i8* %0, i64 12
%66 = tail call i32 @put_lif_int(i8* %65, i32 4, i32 %3)
%67 = add i32 %4, 255
%68 = lshr i32 %67, 8
%69 = getelementptr inbounds i8, i8* %0, i64 16
%70 = tail call i32 @put_lif_int(i8* %69, i32 4, i32 %68)
%71 = getelementptr inbounds i8, i8* %0, i64 26
store i8 -128, i8* %71
%72 = getelementptr inbounds i8, i8* %0, i64 27
store i8 1, i8* %72
switch i32 %2, label %115 [
i32 1, label %73
i32 57553, label %73
i32 57552, label %77
i32 57584, label %85
i32 57585, label %85
i32 57860, label %94
i32 57861, label %94
i32 57862, label %94
i32 57863, label %94
i32 57864, label %94
i32 57865, label %94
i32 57868, label %94
i32 57869, label %94
i32 57876, label %94
i32 57877, label %94
i32 57878, label %94
i32 57879, label %94
i32 57880, label %94
i32 57881, label %94
i32 57882, label %94
i32 57883, label %94
i32 57472, label %97
i32 57424, label %103
i32 57440, label %103
i32 57456, label %103
i32 57408, label %103
i32 57426, label %111
i32 57427, label %111
i32 57481, label %111
i32 57480, label %111
i32 57483, label %111
]
73: ; preds = %62, %62
%74 = getelementptr inbounds i8, i8* %0, i64 28
%75 = tail call i32 @put_lif_int(i8* %74, i32 4, i32 0)
%76 = tail call i32 @put_time(i8* %0)
br label %119
77: ; preds = %62
%78 = add i32 %4, 7
%79 = lshr i32 %78, 3
%80 = getelementptr inbounds i8, i8* %0, i64 28
%81 = tail call i32 @put_lif_int(i8* %80, i32 2, i32 %79)
%82 = getelementptr inbounds i8, i8* %0, i64 30
%83 = tail call i32 @put_lif_int(i8* %82, i32 2, i32 0)
%84 = tail call i32 @put_time(i8* %0)
br label %119
85: ; preds = %62, %62
%86 = trunc i32 %4 to i8
%87 = getelementptr inbounds i8, i8* %0, i64 28
store i8 %86, i8* %87
%88 = lshr i32 %4, 8
%89 = trunc i32 %88 to i8
%90 = getelementptr inbounds i8, i8* %0, i64 29
store i8 %89, i8* %90
%91 = getelementptr inbounds i8, i8* %0, i64 30
store i8 1, i8* %91
%92 = getelementptr inbounds i8, i8* %0, i64 31
store i8 0, i8* %92
%93 = tail call i32 @put_time(i8* %0)
br label %119
94: ; preds = %62, %62, %62, %62, %62, %62, %62, %62, %62, %62, %62, %62, %62, %62, %62, %62
%95 = tail call i32 @put_hp71_length(i8* %0, i32 %4, i32 %5)
%96 = tail call i32 @put_time(i8* %0)
br label %119
97: ; preds = %62
%98 = getelementptr inbounds i8, i8* %0, i64 28
%99 = tail call i32 @put_lif_int(i8* %98, i32 2, i32 %4)
%100 = getelementptr inbounds i8, i8* %0, i64 30
%101 = tail call i32 @put_lif_int(i8* %100, i32 2, i32 0)
%102 = tail call i32 @zero_time(i8* %0)
br label %119
103: ; preds = %62, %62, %62, %62
%104 = add i32 %4, 7
%105 = lshr i32 %104, 3
%106 = getelementptr inbounds i8, i8* %0, i64 28
%107 = tail call i32 @put_lif_int(i8* %106, i32 2, i32 %105)
%108 = getelementptr inbounds i8, i8* %0, i64 30
%109 = tail call i32 @put_lif_int(i8* %108, i32 2, i32 0)
%110 = tail call i32 @zero_time(i8* %0)
br label %119
111: ; preds = %62, %62, %62, %62, %62
%112 = getelementptr inbounds i8, i8* %0, i64 28
%113 = tail call i32 @put_lif_int(i8* %112, i32 4, i32 0)
%114 = tail call i32 @put_time(i8* %0)
br label %119
115: ; preds = %62
%116 = getelementptr inbounds i8, i8* %0, i64 28
%117 = tail call i32 @put_lif_int(i8* %116, i32 4, i32 0)
%118 = tail call i32 @put_time(i8* %0)
br label %119
119: ; preds = %115, %111, %103, %97, %94, %85, %77, %73
ret void
}