#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*/ free(char *);
char *malloc(int);
int /*<<< orphan*/ memcpy(char *, unsigned char const *, int);
int /*<<< orphan*/ print_name(int);
int /*<<< orphan*/ printf(char *, ...);
void show_data(const unsigned char *data, int type, int name, int size) {
  unsigned short us;
  short ss;
  unsigned int u32;
  int s32;
  char *x;
  print_name(name);
  switch (type) {
  case 0x00:
    printf("(enum)%d %02X\n", data[0], data[0]);
    break;
  case 0x01:
    printf("(s8)%d %02X\n", (signed)data[0], data[0]);
    break;
  case 0x02:
    printf("(u8)%d %02X\n", data[0], data[0]);
    break;
  case 0x07:
    x = malloc(size + 1);
    if (x) {
      memcpy(x, data, size);
      x[size] = '\0';
      printf("(string)%s\n", x);
      free(x);
    } else {
      printf("(string)[malloc(%d+1) failed]\n", size);
    }
    break;
  case 0x83:
    ss = (int)data[0] * 256 + data[1];
    printf("(short)%d %04X\n", ss, ss);
    break;
  case 0x84:
    us = (unsigned int)data[0] * 256 + data[1];
    printf("(unsigned short)%d %04X\n", us, us);
    break;
  case 0x85:
    s32 = ((int)data[0] << 24) + ((unsigned int)data[1] << 16) +
          ((unsigned int)data[2] << 8) + data[3];
    printf("(int32)%d %08X\n", s32, s32);
    break;
  case 0x86:
  case 0x8C:
    u32 = ((unsigned int)data[0] << 24) + ((unsigned int)data[1] << 16) +
          ((unsigned int)data[2] << 8) + data[3];
    printf("(unsigned int32)%d %08X\n", u32, u32);
    break;
  default:
    printf("Unknown type %d %X\n", type, type);
    break;
  }
}


x86 assembly (clang, -O0):
<show_data>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    -0x10(%rbp),%edi
call   1050 <print_name@plt>
mov    -0xc(%rbp),%eax
mov    %eax,-0x2c(%rbp)
test   %eax,%eax
je     1212 <show_data+0xc2>
jmp    1180 <show_data+0x30>
mov    -0x2c(%rbp),%eax
sub    $0x1,%eax
je     1233 <show_data+0xe3>
jmp    1191 <show_data+0x41>
mov    -0x2c(%rbp),%eax
sub    $0x2,%eax
je     1254 <show_data+0x104>
jmp    11a2 <show_data+0x52>
mov    -0x2c(%rbp),%eax
sub    $0x7,%eax
je     1275 <show_data+0x125>
jmp    11b3 <show_data+0x63>
mov    -0x2c(%rbp),%eax
sub    $0x83,%eax
je     12e1 <show_data+0x191>
jmp    11c6 <show_data+0x76>
mov    -0x2c(%rbp),%eax
sub    $0x84,%eax
je     1314 <show_data+0x1c4>
jmp    11d9 <show_data+0x89>
mov    -0x2c(%rbp),%eax
sub    $0x85,%eax
je     1347 <show_data+0x1f7>
jmp    11ec <show_data+0x9c>
mov    -0x2c(%rbp),%eax
sub    $0x86,%eax
je     1391 <show_data+0x241>
jmp    11ff <show_data+0xaf>
mov    -0x2c(%rbp),%eax
sub    $0x8c,%eax
je     1391 <show_data+0x241>
jmp    13db <show_data+0x28b>
mov    -0x8(%rbp),%rax
movzbl (%rax),%esi
mov    -0x8(%rbp),%rax
movzbl (%rax),%edx
lea    0xdd9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0x8(%rbp),%rax
movzbl (%rax),%esi
mov    -0x8(%rbp),%rax
movzbl (%rax),%edx
lea    0xdc7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0x8(%rbp),%rax
movzbl (%rax),%esi
mov    -0x8(%rbp),%rax
movzbl (%rax),%edx
lea    0xdb3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0x14(%rbp),%edi
add    $0x1,%edi
call   1070 <malloc@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
je     12cb <show_data+0x17b>
mov    -0x28(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1060 <memcpy@plt>
mov    -0x28(%rbp),%rax
movslq -0x14(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x28(%rbp),%rsi
lea    0xd73(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
jmp    12dc <show_data+0x18c>
mov    -0x14(%rbp),%esi
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0x8(%rbp),%rax
movzbl (%rax),%eax
shl    $0x8,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x1(%rcx),%ecx
add    %ecx,%eax
mov    %ax,-0x18(%rbp)
movswl -0x18(%rbp),%esi
movswl -0x18(%rbp),%edx
lea    0xd4c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0x8(%rbp),%rax
movzbl (%rax),%eax
shl    $0x8,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x1(%rcx),%ecx
add    %ecx,%eax
mov    %ax,-0x16(%rbp)
movzwl -0x16(%rbp),%esi
movzwl -0x16(%rbp),%edx
lea    0xd29(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0x8(%rbp),%rax
movzbl (%rax),%eax
shl    $0x18,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x1(%rcx),%ecx
shl    $0x10,%ecx
add    %ecx,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x2(%rcx),%ecx
shl    $0x8,%ecx
add    %ecx,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x3(%rcx),%ecx
add    %ecx,%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%esi
mov    -0x20(%rbp),%edx
lea    0xcf8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0x8(%rbp),%rax
movzbl (%rax),%eax
shl    $0x18,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x1(%rcx),%ecx
shl    $0x10,%ecx
add    %ecx,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x2(%rcx),%ecx
shl    $0x8,%ecx
add    %ecx,%eax
mov    -0x8(%rbp),%rcx
movzbl 0x3(%rcx),%ecx
add    %ecx,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%esi
mov    -0x1c(%rbp),%edx
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13ef <show_data+0x29f>
mov    -0xc(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_data>:
push   %r15
push   %r14
push   %rbx
mov    %ecx,%r14d
mov    %esi,%ebx
mov    %rdi,%r15
mov    %edx,%edi
call   1050 <print_name@plt>
lea    -0x83(%rbx),%eax
cmp    $0x9,%eax
ja     1190 <show_data+0x40>
lea    0xeaa(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    (%r15),%edx
bswap  %edx
lea    0xf4a(%rip),%rdi
jmp    1213 <show_data+0xc3>
cmp    $0x7,%ebx
ja     11ee <show_data+0x9e>
mov    %ebx,%eax
lea    0xe62(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movzbl (%r15),%edx
lea    0xe96(%rip),%rdi
jmp    1213 <show_data+0xc3>
movzbl (%r15),%eax
shl    $0x8,%eax
movzbl 0x1(%r15),%ecx
movswl %ax,%edx
or     %ecx,%edx
lea    0xed0(%rip),%rdi
jmp    1213 <show_data+0xc3>
movzwl (%r15),%edx
shl    $0x10,%edx
bswap  %edx
lea    0xece(%rip),%rdi
jmp    1213 <show_data+0xc3>
mov    (%r15),%edx
bswap  %edx
lea    0xed9(%rip),%rdi
jmp    1213 <show_data+0xc3>
lea    0xef9(%rip),%rdi
mov    %ebx,%esi
mov    %ebx,%edx
jmp    1215 <show_data+0xc5>
movzbl (%r15),%edx
lea    0xe51(%rip),%rdi
jmp    1213 <show_data+0xc3>
movzbl (%r15),%edx
lea    0xe51(%rip),%rdi
mov    %edx,%esi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1040 <printf@plt>
lea    0x1(%r14),%edi
call   1070 <malloc@plt>
test   %rax,%rax
je     1265 <show_data+0x115>
mov    %rax,%rbx
mov    %rax,%rdi
mov    %r15,%rsi
mov    %r14d,%edx
call   1060 <memcpy@plt>
movslq %r14d,%rax
movb   $0x0,(%rbx,%rax,1)
lea    0xe23(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <free@plt>
lea    0xe11(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1040 <printf@plt>

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

LLVM IR (-O2):
@.str = [15 x i8] c"(enum)%d %02X\0A\00"
@.str.1 = [13 x i8] c"(s8)%d %02X\0A\00"
@.str.2 = [13 x i8] c"(u8)%d %02X\0A\00"
@.str.3 = [12 x i8] c"(string)%s\0A\00"
@.str.4 = [31 x i8] c"(string)[malloc(%d+1) failed]\0A\00"
@.str.5 = [16 x i8] c"(short)%d %04X\0A\00"
@.str.6 = [25 x i8] c"(unsigned short)%d %04X\0A\00"
@.str.7 = [16 x i8] c"(int32)%d %08X\0A\00"
@.str.8 = [25 x i8] c"(unsigned int32)%d %08X\0A\00"
@.str.9 = [20 x i8] c"Unknown type %d %X\0A\00"
define void @show_data(i8* %0, i32 %1, i32 %2, i32 %3) {
%5 = tail call i32 @print_name(i32 %2)
switch i32 %1, label %87 [
i32 0, label %6
i32 1, label %10
i32 2, label %14
i32 7, label %18
i32 131, label %30
i32 132, label %40
i32 133, label %49
i32 134, label %68
i32 140, label %68
]
6: ; preds = %4
%7 = load i8, i8* %0
%8 = zext i8 %7 to i32
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %8, i32 %8)
br label %89
10: ; preds = %4
%11 = load i8, i8* %0
%12 = zext i8 %11 to i32
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 %12, i32 %12)
br label %89
14: ; preds = %4
%15 = load i8, i8* %0
%16 = zext i8 %15 to i32
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 %16, i32 %16)
br label %89
18: ; preds = %4
%19 = add nsw i32 %3, 1
%20 = tail call i8* @malloc(i32 %19)
%21 = icmp eq i8* %20, null
br i1 %21, label %28, label %22
22: ; preds = %18
%23 = tail call i32 @memcpy(i8* %20, i8* %0, i32 %3)
%24 = sext i32 %3 to i64
%25 = getelementptr inbounds i8, i8* %20, i64 %24
store i8 0, i8* %25
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* %20)
%27 = tail call i32 @free(i8* %20)
br label %89
28: ; preds = %18
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 %3)
br label %89
30: ; preds = %4
%31 = load i8, i8* %0
%32 = zext i8 %31 to i16
%33 = shl nuw i16 %32, 8
%34 = getelementptr inbounds i8, i8* %0, i64 1
%35 = load i8, i8* %34
%36 = zext i8 %35 to i16
%37 = or i16 %33, %36
%38 = sext i16 %37 to i32
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 %38, i32 %38)
br label %89
40: ; preds = %4
%41 = load i8, i8* %0
%42 = zext i8 %41 to i32
%43 = shl nuw nsw i32 %42, 8
%44 = getelementptr inbounds i8, i8* %0, i64 1
%45 = load i8, i8* %44
%46 = zext i8 %45 to i32
%47 = or i32 %43, %46
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i32 %47, i32 %47)
br label %89
49: ; preds = %4
%50 = load i8, i8* %0
%51 = zext i8 %50 to i32
%52 = shl nuw i32 %51, 24
%53 = getelementptr inbounds i8, i8* %0, i64 1
%54 = load i8, i8* %53
%55 = zext i8 %54 to i32
%56 = shl nuw nsw i32 %55, 16
%57 = or i32 %56, %52
%58 = getelementptr inbounds i8, i8* %0, i64 2
%59 = load i8, i8* %58
%60 = zext i8 %59 to i32
%61 = shl nuw nsw i32 %60, 8
%62 = or i32 %57, %61
%63 = getelementptr inbounds i8, i8* %0, i64 3
%64 = load i8, i8* %63
%65 = zext i8 %64 to i32
%66 = or i32 %62, %65
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %66, i32 %66)
br label %89
68: ; preds = %4, %4
%69 = load i8, i8* %0
%70 = zext i8 %69 to i32
%71 = shl nuw i32 %70, 24
%72 = getelementptr inbounds i8, i8* %0, i64 1
%73 = load i8, i8* %72
%74 = zext i8 %73 to i32
%75 = shl nuw nsw i32 %74, 16
%76 = or i32 %75, %71
%77 = getelementptr inbounds i8, i8* %0, i64 2
%78 = load i8, i8* %77
%79 = zext i8 %78 to i32
%80 = shl nuw nsw i32 %79, 8
%81 = or i32 %76, %80
%82 = getelementptr inbounds i8, i8* %0, i64 3
%83 = load i8, i8* %82
%84 = zext i8 %83 to i32
%85 = or i32 %81, %84
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 %85, i32 %85)
br label %89
87: ; preds = %4
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i32 %1, i32 %1)
br label %89
89: ; preds = %22, %28, %87, %68, %49, %40, %30, %14, %10, %6
ret void
}