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

/* Variables and functions */
int ntohl(int);
int /*<<< orphan*/ printClass(int);
int /*<<< orphan*/ printRef(int);
int /*<<< orphan*/ printf(char *, ...);
uint8_t *printObject(uint8_t *p) {
  uint32_t word1 = ntohl(*(uint32_t *)p);
  uint32_t word2 = ntohl(*((uint32_t *)(p + 4)));
  uint32_t word3 = ntohl(*((uint32_t *)(p + 8)));
  if ((word1 & 0x000000ff) == 0x00000041) {
    uint32_t arraySize = (word1 & 0xffffff00) >> 8;
    int alignment = word2 & 0x1;
    printf("Type: Array (0x%X (%u) bytes, %u byte aligned)\n", arraySize,
           arraySize, alignment ? 4 : 8);
    printClass(word3);
    uint32_t word4 = ntohl(*((uint32_t *)(p + 12)));
    printRef(word4);
    p += arraySize;
  } else if ((word1 & 0x000000ff) == 0x00000040) {
    uint32_t binarySize = (word1 & 0xffffff00) >> 8;
    printf("Type: Binary object\n");
    printf("Size: 0x%X bytes (%u)\n", binarySize, binarySize);
    printClass(word3);
    if (word3 == 0x00055552) {
      printf("Symbol: '");
      unsigned char *symbol = p + 16;
      for (int i = 0; i < binarySize - 17; ++i) {
        printf("%c", symbol[i]);
      }
      printf("'\n");
    }
    while ((binarySize % 4) != 0) {
      ++binarySize;
    }
    p += binarySize;
  } else if ((word1 & 0x000000ff) == 0x00000043) {
    uint32_t frameSize = (word1 & 0xffffff00) >> 8;
    printf("Type: Frame\n");
    printf("Size: 0x%X bytes (%u)\n", frameSize, frameSize);
    frameSize -= 8;
    p += 8;
    while (frameSize > 0) {
      uint32_t word = ntohl(*((uint32_t *)(p)));
      printRef(word);
      p += 4;
      frameSize -= 4;
    }
  } else {
  }
  printf("\n");
  return p;
}


x86 assembly (clang, -O0):
<printObject>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
call   1060 <ntohl@plt>
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
call   1060 <ntohl@plt>
mov    %eax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
call   1060 <ntohl@plt>
mov    %eax,-0x14(%rbp)
mov    -0xc(%rbp),%eax
and    $0xff,%eax
cmp    $0x41,%eax
jne    11fc <printObject+0xbc>
mov    -0xc(%rbp),%eax
and    $0xffffff00,%eax
shr    $0x8,%eax
mov    %eax,-0x18(%rbp)
mov    -0x10(%rbp),%eax
and    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%edi
mov    $0x8,%ecx
mov    $0x4,%eax
cmp    $0x0,%edi
cmovne %eax,%ecx
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
call   1050 <printClass@plt>
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
call   1060 <ntohl@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
call   1030 <printRef@plt>
mov    -0x18(%rbp),%ecx
mov    -0x8(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x8(%rbp)
jmp    139b <printObject+0x25b>
mov    -0xc(%rbp),%eax
and    $0xff,%eax
cmp    $0x40,%eax
jne    12f7 <printObject+0x1b7>
mov    -0xc(%rbp),%eax
and    $0xffffff00,%eax
shr    $0x8,%eax
mov    %eax,-0x24(%rbp)
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x24(%rbp),%esi
mov    -0x24(%rbp),%edx
lea    0xe0f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
call   1050 <printClass@plt>
cmpl   $0x55552,-0x14(%rbp)
jne    12ba <printObject+0x17a>
lea    0xe03(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x24(%rbp),%ecx
sub    $0x11,%ecx
cmp    %ecx,%eax
jge    12ac <printObject+0x16c>
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movzbl (%rax,%rcx,1),%esi
lea    0xdcf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1273 <printObject+0x133>
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12bf <printObject+0x17f>
mov    -0x24(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     12e1 <printObject+0x1a1>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12bf <printObject+0x17f>
mov    -0x24(%rbp),%ecx
mov    -0x8(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x8(%rbp)
jmp    1396 <printObject+0x256>
mov    -0xc(%rbp),%eax
and    $0xff,%eax
cmp    $0x43,%eax
jne    138c <printObject+0x24c>
mov    -0xc(%rbp),%eax
and    $0xffffff00,%eax
shr    $0x8,%eax
mov    %eax,-0x38(%rbp)
lea    0xd4f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x38(%rbp),%esi
mov    -0x38(%rbp),%edx
lea    0xd14(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x38(%rbp),%eax
sub    $0x8,%eax
mov    %eax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x8(%rbp)
cmpl   $0x0,-0x38(%rbp)
jle    1387 <printObject+0x247>
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
call   1060 <ntohl@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x3c(%rbp),%edi
call   1030 <printRef@plt>
mov    -0x8(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x8(%rbp)
mov    -0x38(%rbp),%eax
sub    $0x4,%eax
mov    %eax,-0x38(%rbp)
jmp    134d <printObject+0x20d>
jmp    1391 <printObject+0x251>
jmp    1391 <printObject+0x251>
jmp    1396 <printObject+0x256>
jmp    139b <printObject+0x25b>
lea    0xcc8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printObject>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %rdi,%rbx
mov    (%rdi),%edi
call   1080 <ntohl@plt>
mov    %eax,%r14d
mov    0x4(%rbx),%edi
call   1080 <ntohl@plt>
mov    %eax,%ebp
mov    0x8(%rbx),%edi
call   1080 <ntohl@plt>
mov    %eax,%r12d
cmp    $0x40,%r14b
je     124f <printObject+0xef>
cmp    $0x43,%r14b
je     11eb <printObject+0x8b>
cmp    $0x41,%r14b
jne    12ed <printObject+0x18d>
shr    $0x8,%r14d
xor    %eax,%eax
test   $0x1,%bpl
sete   %al
lea    0x4(,%rax,4),%ecx
lea    0xe41(%rip),%rdi
mov    %r14d,%esi
mov    %r14d,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12d,%edi
call   1070 <printClass@plt>
mov    0xc(%rbx),%edi
call   1080 <ntohl@plt>
mov    %eax,%edi
call   1040 <printRef@plt>
add    %r14,%rbx
jmp    12ed <printObject+0x18d>
add    $0x8,%rbx
mov    %r14d,%ebp
shr    $0x8,%ebp
lea    0xe55(%rip),%rdi
call   1050 <puts@plt>
lea    0xe28(%rip),%rdi
mov    %ebp,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x900,%r14d
jb     12ed <printObject+0x18d>
add    $0xfffffffc,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%rbx),%edi
call   1080 <ntohl@plt>
mov    %eax,%edi
call   1040 <printRef@plt>
add    $0x4,%rbx
add    $0xfffffffc,%ebp
cmp    $0x4,%ebp
jg     1230 <printObject+0xd0>
jmp    12ed <printObject+0x18d>
mov    %r14d,%r15d
shr    $0x8,%r15d
lea    0xe00(%rip),%rdi
call   1050 <puts@plt>
lea    0xdc7(%rip),%rdi
mov    %r15d,%esi
mov    %r15d,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12d,%edi
call   1070 <printClass@plt>
cmp    $0x55552,%r12d
jne    12df <printObject+0x17f>
lea    0xdb9(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x1200,%r14d
jb     12d3 <printObject+0x173>
cmp    $0x13,%r15d
mov    $0x12,%r14d
cmovge %r15d,%r14d
add    $0xffffffef,%r14d
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movzbl 0x10(%rbx,%rbp,1),%edi
call   1030 <putchar@plt>
add    $0x1,%rbp
cmp    %rbp,%r14
jne    12c0 <printObject+0x160>
lea    0xd75(%rip),%rdi
call   1050 <puts@plt>
mov    %r15d,%eax
neg    %eax
and    $0x3,%eax
add    %r15d,%eax
add    %rax,%rbx
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [48 x i8] c"Type: Array (0x%X (%u) bytes, %u byte aligned)\0A\00"
@.str.1 = [21 x i8] c"Type: Binary object\0A\00"
@.str.2 = [23 x i8] c"Size: 0x%X bytes (%u)\0A\00"
@.str.3 = [10 x i8] c"Symbol: '\00"
@.str.4 = [3 x i8] c"%c\00"
@.str.5 = [3 x i8] c"'\0A\00"
@.str.6 = [13 x i8] c"Type: Frame\0A\00"
@.str.7 = [2 x i8] c"\0A\00"
define i8* @printObject(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store i8* %0, i8** %2
%14 = load i8*, i8** %2
%15 = bitcast i8* %14 to i32*
%16 = load i32, i32* %15
%17 = call i32 @ntohl(i32 %16)
store i32 %17, i32* %3
%18 = load i8*, i8** %2
%19 = getelementptr inbounds i8, i8* %18, i64 4
%20 = bitcast i8* %19 to i32*
%21 = load i32, i32* %20
%22 = call i32 @ntohl(i32 %21)
store i32 %22, i32* %4
%23 = load i8*, i8** %2
%24 = getelementptr inbounds i8, i8* %23, i64 8
%25 = bitcast i8* %24 to i32*
%26 = load i32, i32* %25
%27 = call i32 @ntohl(i32 %26)
store i32 %27, i32* %5
%28 = load i32, i32* %3
%29 = and i32 %28, 255
%30 = icmp eq i32 %29, 65
br i1 %30, label %31, label %57
31: ; preds = %1
%32 = load i32, i32* %3
%33 = and i32 %32, -256
%34 = lshr i32 %33, 8
store i32 %34, i32* %6
%35 = load i32, i32* %4
%36 = and i32 %35, 1
store i32 %36, i32* %7
%37 = load i32, i32* %6
%38 = load i32, i32* %6
%39 = load i32, i32* %7
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i64
%42 = select i1 %40, i32 4, i32 8
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i32 %37, i32 %38, i32 %42)
%44 = load i32, i32* %5
%45 = call i32 @printClass(i32 %44)
%46 = load i8*, i8** %2
%47 = getelementptr inbounds i8, i8* %46, i64 12
%48 = bitcast i8* %47 to i32*
%49 = load i32, i32* %48
%50 = call i32 @ntohl(i32 %49)
store i32 %50, i32* %8
%51 = load i32, i32* %8
%52 = call i32 @printRef(i32 %51)
%53 = load i32, i32* %6
%54 = load i8*, i8** %2
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i8, i8* %54, i64 %55
store i8* %56, i8** %2
br label %142
57: ; preds = %1
%58 = load i32, i32* %3
%59 = and i32 %58, 255
%60 = icmp eq i32 %59, 64
br i1 %60, label %61, label %108
61: ; preds = %57
%62 = load i32, i32* %3
%63 = and i32 %62, -256
%64 = lshr i32 %63, 8
store i32 %64, i32* %9
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
%66 = load i32, i32* %9
%67 = load i32, i32* %9
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %66, i32 %67)
%69 = load i32, i32* %5
%70 = call i32 @printClass(i32 %69)
%71 = load i32, i32* %5
%72 = icmp eq i32 %71, 349522
br i1 %72, label %73, label %95
73: ; preds = %61
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%75 = load i8*, i8** %2
%76 = getelementptr inbounds i8, i8* %75, i64 16
store i8* %76, i8** %10
store i32 0, i32* %11
br label %77
77: ; preds = %90, %73
%78 = load i32, i32* %11
%79 = load i32, i32* %9
%80 = sub nsw i32 %79, 17
%81 = icmp slt i32 %78, %80
br i1 %81, label %82, label %93
82: ; preds = %77
%83 = load i8*, i8** %10
%84 = load i32, i32* %11
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, i8* %83, i64 %85
%87 = load i8, i8* %86
%88 = zext i8 %87 to i32
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %88)
br label %90
90: ; preds = %82
%91 = load i32, i32* %11
%92 = add nsw i32 %91, 1
store i32 %92, i32* %11
br label %77
93: ; preds = %77
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
br label %95
95: ; preds = %93, %61
br label %96
96: ; preds = %100, %95
%97 = load i32, i32* %9
%98 = srem i32 %97, 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %103
100: ; preds = %96
%101 = load i32, i32* %9
%102 = add nsw i32 %101, 1
store i32 %102, i32* %9
br label %96
103: ; preds = %96
%104 = load i32, i32* %9
%105 = load i8*, i8** %2
%106 = sext i32 %104 to i64
%107 = getelementptr inbounds i8, i8* %105, i64 %106
store i8* %107, i8** %2
br label %141
108: ; preds = %57
%109 = load i32, i32* %3
%110 = and i32 %109, 255
%111 = icmp eq i32 %110, 67
br i1 %111, label %112, label %139
112: ; preds = %108
%113 = load i32, i32* %3
%114 = and i32 %113, -256
%115 = lshr i32 %114, 8
store i32 %115, i32* %12
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%117 = load i32, i32* %12
%118 = load i32, i32* %12
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %117, i32 %118)
%120 = load i32, i32* %12
%121 = sub nsw i32 %120, 8
store i32 %121, i32* %12
%122 = load i8*, i8** %2
%123 = getelementptr inbounds i8, i8* %122, i64 8
store i8* %123, i8** %2
br label %124
124: ; preds = %127, %112
%125 = load i32, i32* %12
%126 = icmp sgt i32 %125, 0
br i1 %126, label %127, label %138
127: ; preds = %124
%128 = load i8*, i8** %2
%129 = bitcast i8* %128 to i32*
%130 = load i32, i32* %129
%131 = call i32 @ntohl(i32 %130)
store i32 %131, i32* %13
%132 = load i32, i32* %13
%133 = call i32 @printRef(i32 %132)
%134 = load i8*, i8** %2
%135 = getelementptr inbounds i8, i8* %134, i64 4
store i8* %135, i8** %2
%136 = load i32, i32* %12
%137 = sub nsw i32 %136, 4
store i32 %137, i32* %12
br label %124
138: ; preds = %124
br label %140
139: ; preds = %108
br label %140
140: ; preds = %139, %138
br label %141
141: ; preds = %140, %103
br label %142
142: ; preds = %141, %31
%143 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%144 = load i8*, i8** %2
ret i8* %144
}

LLVM IR (-O2):
@.str = [48 x i8] c"Type: Array (0x%X (%u) bytes, %u byte aligned)\0A\00"
@.str.2 = [23 x i8] c"Size: 0x%X bytes (%u)\0A\00"
@.str.3 = [10 x i8] c"Symbol: '\00"
@str = [12 x i8] c"Type: Frame\00"
@str.8 = [20 x i8] c"Type: Binary object\00"
@str.9 = [2 x i8] c"'\00"
define i8* @printObject(i8* %0) {
%2 = bitcast i8* %0 to i32*
%3 = load i32, i32* %2
%4 = tail call i32 @ntohl(i32 %3)
%5 = getelementptr inbounds i8, i8* %0, i64 4
%6 = bitcast i8* %5 to i32*
%7 = load i32, i32* %6
%8 = tail call i32 @ntohl(i32 %7)
%9 = getelementptr inbounds i8, i8* %0, i64 8
%10 = bitcast i8* %9 to i32*
%11 = load i32, i32* %10
%12 = tail call i32 @ntohl(i32 %11)
%13 = trunc i32 %4 to i8
switch i8 %13, label %75 [
i8 65, label %14
i8 64, label %28
i8 67, label %58
]
14: ; preds = %1
%15 = lshr i32 %4, 8
%16 = and i32 %8, 1
%17 = icmp eq i32 %16, 0
%18 = select i1 %17, i32 8, i32 4
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i32 %15, i32 %15, i32 %18)
%20 = tail call i32 @printClass(i32 %12)
%21 = getelementptr inbounds i8, i8* %0, i64 12
%22 = bitcast i8* %21 to i32*
%23 = load i32, i32* %22
%24 = tail call i32 @ntohl(i32 %23)
%25 = tail call i32 @printRef(i32 %24)
%26 = zext i32 %15 to i64
%27 = getelementptr inbounds i8, i8* %0, i64 %26
br label %75
28: ; preds = %1
%29 = lshr i32 %4, 8
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.8, i64 0, i64 0))
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %29, i32 %29)
%32 = tail call i32 @printClass(i32 %12)
%33 = icmp eq i32 %12, 349522
br i1 %33, label %34, label %52
34: ; preds = %28
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%36 = getelementptr inbounds i8, i8* %0, i64 16
%37 = icmp ugt i32 %4, 4607
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = call i32 @llvm.smax.i32(i32 %29, i32 18)
%40 = add nsw i32 %39, -17
%41 = zext i32 %40 to i64
br label %44
42: ; preds = %44, %34
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.9, i64 0, i64 0))
br label %52
44: ; preds = %38, %44
%45 = phi i64 [ 0, %38 ], [ %50, %44 ]
%46 = getelementptr inbounds i8, i8* %36, i64 %45
%47 = load i8, i8* %46
%48 = zext i8 %47 to i32
%49 = tail call i32 @putchar(i32 %48)
%50 = add nuw nsw i64 %45, 1
%51 = icmp eq i64 %50, %41
br i1 %51, label %42, label %44
52: ; preds = %42, %28
%53 = sub nsw i32 0, %29
%54 = and i32 %53, 3
%55 = add nuw nsw i32 %29, %54
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i8, i8* %0, i64 %56
br label %75
58: ; preds = %1
%59 = lshr i32 %4, 8
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0))
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %59, i32 %59)
%62 = icmp ugt i32 %4, 2303
br i1 %62, label %63, label %75
63: ; preds = %58
%64 = add nsw i32 %59, -8
br label %65
65: ; preds = %63, %65
%66 = phi i8* [ %72, %65 ], [ %9, %63 ]
%67 = phi i32 [ %73, %65 ], [ %64, %63 ]
%68 = bitcast i8* %66 to i32*
%69 = load i32, i32* %68
%70 = tail call i32 @ntohl(i32 %69)
%71 = tail call i32 @printRef(i32 %70)
%72 = getelementptr inbounds i8, i8* %66, i64 4
%73 = add nsw i32 %67, -4
%74 = icmp sgt i32 %67, 4
br i1 %74, label %65, label %75
75: ; preds = %65, %58, %1, %52, %14
%76 = phi i8* [ %27, %14 ], [ %57, %52 ], [ %0, %1 ], [ %9, %58 ], [ %72, %65 ]
%77 = tail call i32 @putchar(i32 10)
ret i8* %76
}