#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 int /*<<< orphan*/ pcb_str;

/* Variables and functions */
int /*<<< orphan*/ dStrHex(char const *, int, int);
int /*<<< orphan*/ get_pcb_str(int, char *, int);
int /*<<< orphan*/ printf(char *, ...);
void show_temperature_page(unsigned char *resp, int len, int show_pcb, int hdr,
                           int show_unknown) {
  int k, num, extra, pc, pcb;
  unsigned char *ucp;
  char pcb_str[128];
  num = len - 4;
  ucp = &resp[0] + 4;
  if (num < 4) {
    printf("badly formed Temperature log page\n");
    return;
  }
  if (hdr)
    printf("Temperature log page\n");
  for (k = num; k > 0; k -= extra, ucp += extra) {
    if (k < 3) {
      printf("short Temperature log page\n");
      return;
    }
    extra = ucp[3] + 4;
    pc = (ucp[0] << 8) + ucp[1];
    pcb = ucp[2];
    if (0 == pc) {
      if ((extra > 5) && (k > 5)) {
        if (ucp[5] < 0xff)
          printf("  Current temperature = %d C", ucp[5]);
        else
          printf("  Current temperature = <not available>");
      }
    } else if (1 == pc) {
      if ((extra > 5) && (k > 5)) {
        if (ucp[5] < 0xff)
          printf("  Reference temperature = %d C", ucp[5]);
        else
          printf("  Reference temperature = <not available>");
      }
    } else if (show_unknown) {
      printf("  unknown parameter code = 0x%x, contents in hex:\n", pc);
      dStrHex((const char *)ucp, extra, 1);
    } else
      continue;
    if (show_pcb) {
      get_pcb_str(pcb, pcb_str, sizeof(pcb_str));
      printf("\n        <%s>\n", pcb_str);
    } else
      printf("\n");
  }
}


x86 assembly (clang, -O0):
<show_temperature_page>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    -0xc(%rbp),%eax
sub    $0x4,%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x38(%rbp)
cmpl   $0x4,-0x20(%rbp)
jge    117e <show_temperature_page+0x4e>
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136c <show_temperature_page+0x23c>
cmpl   $0x0,-0x14(%rbp)
je     1196 <show_temperature_page+0x66>
lea    0xe7e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jle    136c <show_temperature_page+0x23c>
cmpl   $0x3,-0x1c(%rbp)
jge    11c3 <show_temperature_page+0x93>
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136c <show_temperature_page+0x23c>
mov    -0x38(%rbp),%rax
movzbl 0x3(%rax),%eax
add    $0x4,%eax
mov    %eax,-0x24(%rbp)
mov    -0x38(%rbp),%rax
movzbl (%rax),%eax
shl    $0x8,%eax
mov    -0x38(%rbp),%rcx
movzbl 0x1(%rcx),%ecx
add    %ecx,%eax
mov    %eax,-0x28(%rbp)
mov    -0x38(%rbp),%rax
movzbl 0x2(%rax),%eax
mov    %eax,-0x2c(%rbp)
xor    %eax,%eax
cmp    -0x28(%rbp),%eax
jne    1258 <show_temperature_page+0x128>
cmpl   $0x5,-0x24(%rbp)
jle    1253 <show_temperature_page+0x123>
cmpl   $0x5,-0x1c(%rbp)
jle    1253 <show_temperature_page+0x123>
mov    -0x38(%rbp),%rax
movzbl 0x5(%rax),%eax
cmp    $0xff,%eax
jge    1240 <show_temperature_page+0x110>
mov    -0x38(%rbp),%rax
movzbl 0x5(%rax),%esi
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    124e <show_temperature_page+0x11e>
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1253 <show_temperature_page+0x123>
jmp    1300 <show_temperature_page+0x1d0>
mov    $0x1,%eax
cmp    -0x28(%rbp),%eax
jne    12c0 <show_temperature_page+0x190>
cmpl   $0x5,-0x24(%rbp)
jle    12bb <show_temperature_page+0x18b>
cmpl   $0x5,-0x1c(%rbp)
jle    12bb <show_temperature_page+0x18b>
mov    -0x38(%rbp),%rax
movzbl 0x5(%rax),%eax
cmp    $0xff,%eax
jge    12a8 <show_temperature_page+0x178>
mov    -0x38(%rbp),%rax
movzbl 0x5(%rax),%esi
lea    0xde8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12b6 <show_temperature_page+0x186>
lea    0xdf4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12bb <show_temperature_page+0x18b>
jmp    12fb <show_temperature_page+0x1cb>
cmpl   $0x0,-0x18(%rbp)
je     12f1 <show_temperature_page+0x1c1>
mov    -0x28(%rbp),%esi
lea    0xdf9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x38(%rbp),%rdi
mov    -0x24(%rbp),%esi
mov    $0x1,%edx
call   1030 <dStrHex@plt>
jmp    12f6 <show_temperature_page+0x1c6>
jmp    134b <show_temperature_page+0x21b>
jmp    12fb <show_temperature_page+0x1cb>
jmp    1300 <show_temperature_page+0x1d0>
cmpl   $0x0,-0x10(%rbp)
je     1338 <show_temperature_page+0x208>
mov    -0x2c(%rbp),%edi
lea    -0xc0(%rbp),%rsi
mov    $0x80,%edx
call   1050 <get_pcb_str@plt>
lea    -0xc0(%rbp),%rsi
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1346 <show_temperature_page+0x216>
lea    0xdbf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    134b <show_temperature_page+0x21b>
mov    -0x24(%rbp),%ecx
mov    -0x1c(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x24(%rbp),%ecx
mov    -0x38(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x38(%rbp)
jmp    119c <show_temperature_page+0x6c>
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_temperature_page>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
cmp    $0x7,%esi
jg     1183 <show_temperature_page+0x33>
lea    0xf7e(%rip),%rdi
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <puts@plt>
mov    %edx,%r15d
mov    %esi,%ebx
mov    %rdi,%rbp
mov    %r8d,0xc(%rsp)
test   %ecx,%ecx
je     11a0 <show_temperature_page+0x50>
lea    0xf5d(%rip),%rdi
call   1040 <puts@plt>
add    $0xfffffffc,%ebx
add    $0x4,%rbp
lea    0x10(%rsp),%r12
jmp    11c6 <show_temperature_page+0x76>
xchg   %ax,%ax
mov    $0xa,%edi
call   1030 <putchar@plt>
add    %r13,%rbp
sub    %r13d,%ebx
jle    12d5 <show_temperature_page+0x185>
cmp    $0x2,%ebx
jbe    12c9 <show_temperature_page+0x179>
movzbl 0x3(%rbp),%eax
mov    %rax,%r13
add    $0x4,%r13
movzwl 0x0(%rbp),%esi
shl    $0x10,%esi
bswap  %esi
movzbl 0x2(%rbp),%r14d
cmp    $0x1,%si
je     1220 <show_temperature_page+0xd0>
test   %si,%si
jne    1250 <show_temperature_page+0x100>
cmp    $0x2,%al
jb     1279 <show_temperature_page+0x129>
cmp    $0x6,%ebx
jb     1279 <show_temperature_page+0x129>
movzbl 0x5(%rbp),%esi
cmp    $0xff,%esi
je     12a8 <show_temperature_page+0x158>
lea    0xde9(%rip),%rdi
jmp    123c <show_temperature_page+0xec>
nopl   0x0(%rax)
cmp    $0x2,%al
jb     1279 <show_temperature_page+0x129>
cmp    $0x6,%ebx
jb     1279 <show_temperature_page+0x129>
movzbl 0x5(%rbp),%esi
cmp    $0xff,%esi
je     12b1 <show_temperature_page+0x161>
lea    0xe09(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %r15d,%r15d
jne    1282 <show_temperature_page+0x132>
jmp    11b0 <show_temperature_page+0x60>
nopl   (%rax)
cmpl   $0x0,0xc(%rsp)
je     11ba <show_temperature_page+0x6a>
lea    0xe2c(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbp,%rdi
mov    %r13d,%esi
mov    $0x1,%edx
call   1050 <dStrHex@plt>
test   %r15d,%r15d
je     11b0 <show_temperature_page+0x60>
mov    %r14d,%edi
mov    %r12,%rsi
mov    $0x80,%edx
call   1070 <get_pcb_str@plt>
lea    0xe28(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    11ba <show_temperature_page+0x6a>
lea    0xd6e(%rip),%rdi
jmp    12b8 <show_temperature_page+0x168>
lea    0xdac(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %r15d,%r15d
jne    1282 <show_temperature_page+0x132>
jmp    11b0 <show_temperature_page+0x60>
lea    0xe00(%rip),%rdi
call   1040 <puts@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [35 x i8] c"badly formed Temperature log page\0A\00"
@.str.1 = [22 x i8] c"Temperature log page\0A\00"
@.str.2 = [28 x i8] c"short Temperature log page\0A\00"
@.str.3 = [29 x i8] c" Current temperature = %d C\00"
@.str.4 = [40 x i8] c" Current temperature = <not available>\00"
@.str.5 = [31 x i8] c" Reference temperature = %d C\00"
@.str.6 = [42 x i8] c" Reference temperature = <not available>\00"
@.str.7 = [51 x i8] c" unknown parameter code = 0x%x, contents in hex:\0A\00"
@.str.8 = [15 x i8] c"\0A <%s>\0A\00"
@.str.9 = [2 x i8] c"\0A\00"
define void @show_temperature_page(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i8*
%17 = alloca [128 x i8]
store i8* %0, i8** %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%18 = load i32, i32* %7
%19 = sub nsw i32 %18, 4
store i32 %19, i32* %12
%20 = load i8*, i8** %6
%21 = getelementptr inbounds i8, i8* %20, i64 0
%22 = getelementptr inbounds i8, i8* %21, i64 4
store i8* %22, i8** %16
%23 = load i32, i32* %12
%24 = icmp slt i32 %23, 4
br i1 %24, label %25, label %27
25: ; preds = %5
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
br label %143
27: ; preds = %5
%28 = load i32, i32* %9
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
br label %32
32: ; preds = %30, %27
%33 = load i32, i32* %12
store i32 %33, i32* %11
br label %34
34: ; preds = %135, %32
%35 = load i32, i32* %11
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %143
37: ; preds = %34
%38 = load i32, i32* %11
%39 = icmp slt i32 %38, 3
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
br label %143
42: ; preds = %37
%43 = load i8*, i8** %16
%44 = getelementptr inbounds i8, i8* %43, i64 3
%45 = load i8, i8* %44
%46 = zext i8 %45 to i32
%47 = add nsw i32 %46, 4
store i32 %47, i32* %13
%48 = load i8*, i8** %16
%49 = getelementptr inbounds i8, i8* %48, i64 0
%50 = load i8, i8* %49
%51 = zext i8 %50 to i32
%52 = shl i32 %51, 8
%53 = load i8*, i8** %16
%54 = getelementptr inbounds i8, i8* %53, i64 1
%55 = load i8, i8* %54
%56 = zext i8 %55 to i32
%57 = add nsw i32 %52, %56
store i32 %57, i32* %14
%58 = load i8*, i8** %16
%59 = getelementptr inbounds i8, i8* %58, i64 2
%60 = load i8, i8* %59
%61 = zext i8 %60 to i32
store i32 %61, i32* %15
%62 = load i32, i32* %14
%63 = icmp eq i32 0, %62
br i1 %63, label %64, label %86
64: ; preds = %42
%65 = load i32, i32* %13
%66 = icmp sgt i32 %65, 5
br i1 %66, label %67, label %85
67: ; preds = %64
%68 = load i32, i32* %11
%69 = icmp sgt i32 %68, 5
br i1 %69, label %70, label %85
70: ; preds = %67
%71 = load i8*, i8** %16
%72 = getelementptr inbounds i8, i8* %71, i64 5
%73 = load i8, i8* %72
%74 = zext i8 %73 to i32
%75 = icmp slt i32 %74, 255
br i1 %75, label %76, label %82
76: ; preds = %70
%77 = load i8*, i8** %16
%78 = getelementptr inbounds i8, i8* %77, i64 5
%79 = load i8, i8* %78
%80 = zext i8 %79 to i32
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i32 %80)
br label %84
82: ; preds = %70
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
br label %84
84: ; preds = %82, %76
br label %85
85: ; preds = %84, %67, %64
br label %123
86: ; preds = %42
%87 = load i32, i32* %14
%88 = icmp eq i32 1, %87
br i1 %88, label %89, label %111
89: ; preds = %86
%90 = load i32, i32* %13
%91 = icmp sgt i32 %90, 5
br i1 %91, label %92, label %110
92: ; preds = %89
%93 = load i32, i32* %11
%94 = icmp sgt i32 %93, 5
br i1 %94, label %95, label %110
95: ; preds = %92
%96 = load i8*, i8** %16
%97 = getelementptr inbounds i8, i8* %96, i64 5
%98 = load i8, i8* %97
%99 = zext i8 %98 to i32
%100 = icmp slt i32 %99, 255
br i1 %100, label %101, label %107
101: ; preds = %95
%102 = load i8*, i8** %16
%103 = getelementptr inbounds i8, i8* %102, i64 5
%104 = load i8, i8* %103
%105 = zext i8 %104 to i32
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i32 %105)
br label %109
107: ; preds = %95
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
br label %109
109: ; preds = %107, %101
br label %110
110: ; preds = %109, %92, %89
br label %122
111: ; preds = %86
%112 = load i32, i32* %10
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %120
114: ; preds = %111
%115 = load i32, i32* %14
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0), i32 %115)
%117 = load i8*, i8** %16
%118 = load i32, i32* %13
%119 = call i32 @dStrHex(i8* %117, i32 %118, i32 1)
br label %121
120: ; preds = %111
br label %135
121: ; preds = %114
br label %122
122: ; preds = %121, %110
br label %123
123: ; preds = %122, %85
%124 = load i32, i32* %8
%125 = icmp ne i32 %124, 0
br i1 %125, label %126, label %132
126: ; preds = %123
%127 = load i32, i32* %15
%128 = getelementptr inbounds [128 x i8], [128 x i8]* %17, i64 0, i64 0
%129 = call i32 @get_pcb_str(i32 %127, i8* %128, i32 128)
%130 = getelementptr inbounds [128 x i8], [128 x i8]* %17, i64 0, i64 0
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* %130)
br label %134
132: ; preds = %123
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %134
134: ; preds = %132, %126
br label %135
135: ; preds = %134, %120
%136 = load i32, i32* %13
%137 = load i32, i32* %11
%138 = sub nsw i32 %137, %136
store i32 %138, i32* %11
%139 = load i32, i32* %13
%140 = load i8*, i8** %16
%141 = sext i32 %139 to i64
%142 = getelementptr inbounds i8, i8* %140, i64 %141
store i8* %142, i8** %16
br label %34
143: ; preds = %25, %40, %34
ret void
}

LLVM IR (-O2):
@.str.3 = [29 x i8] c" Current temperature = %d C\00"
@.str.4 = [40 x i8] c" Current temperature = <not available>\00"
@.str.5 = [31 x i8] c" Reference temperature = %d C\00"
@.str.6 = [42 x i8] c" Reference temperature = <not available>\00"
@.str.7 = [51 x i8] c" unknown parameter code = 0x%x, contents in hex:\0A\00"
@.str.8 = [15 x i8] c"\0A <%s>\0A\00"
@str = [27 x i8] c"short Temperature log page\00"
@str.10 = [21 x i8] c"Temperature log page\00"
@str.11 = [34 x i8] c"badly formed Temperature log page\00"
define void @show_temperature_page(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca [128 x i8]
%7 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%8 = add nsw i32 %1, -4
%9 = getelementptr inbounds i8, i8* %0, i64 4
%10 = icmp slt i32 %1, 8
br i1 %10, label %11, label %13
11: ; preds = %5
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.11, i64 0, i64 0))
br label %83
13: ; preds = %5
%14 = icmp eq i32 %3, 0
br i1 %14, label %17, label %15
15: ; preds = %13
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.10, i64 0, i64 0))
br label %17
17: ; preds = %13, %15
%18 = icmp eq i32 %4, 0
%19 = icmp eq i32 %2, 0
br label %20
20: ; preds = %17, %78
%21 = phi i8* [ %9, %17 ], [ %81, %78 ]
%22 = phi i32 [ %8, %17 ], [ %79, %78 ]
%23 = icmp ult i32 %22, 3
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
br label %83
26: ; preds = %20
%27 = getelementptr inbounds i8, i8* %21, i64 3
%28 = load i8, i8* %27
%29 = zext i8 %28 to i32
%30 = add nuw nsw i32 %29, 4
%31 = load i8, i8* %21
%32 = zext i8 %31 to i32
%33 = shl nuw nsw i32 %32, 8
%34 = getelementptr inbounds i8, i8* %21, i64 1
%35 = load i8, i8* %34
%36 = zext i8 %35 to i32
%37 = or i32 %33, %36
%38 = getelementptr inbounds i8, i8* %21, i64 2
%39 = load i8, i8* %38
%40 = zext i8 %39 to i32
%41 = trunc i32 %37 to i16
switch i16 %41, label %68 [
i16 0, label %42
i16 1, label %55
]
42: ; preds = %26
%43 = icmp ugt i8 %28, 1
%44 = icmp ugt i32 %22, 5
%45 = select i1 %43, i1 %44, i1 false
br i1 %45, label %46, label %72
46: ; preds = %42
%47 = getelementptr inbounds i8, i8* %21, i64 5
%48 = load i8, i8* %47
%49 = icmp eq i8 %48, -1
br i1 %49, label %53, label %50
50: ; preds = %46
%51 = zext i8 %48 to i32
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i32 %51)
br label %72
53: ; preds = %46
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
br label %72
55: ; preds = %26
%56 = icmp ugt i8 %28, 1
%57 = icmp ugt i32 %22, 5
%58 = select i1 %56, i1 %57, i1 false
br i1 %58, label %59, label %72
59: ; preds = %55
%60 = getelementptr inbounds i8, i8* %21, i64 5
%61 = load i8, i8* %60
%62 = icmp eq i8 %61, -1
br i1 %62, label %66, label %63
63: ; preds = %59
%64 = zext i8 %61 to i32
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i32 %64)
br label %72
66: ; preds = %59
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
br label %72
68: ; preds = %26
br i1 %18, label %78, label %69
69: ; preds = %68
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0), i32 %37)
%71 = call i32 @dStrHex(i8* %21, i32 %30, i32 1)
br label %72
72: ; preds = %69, %63, %66, %55, %42, %53, %50
br i1 %19, label %76, label %73
73: ; preds = %72
%74 = call i32 @get_pcb_str(i32 %40, i8* %7, i32 128)
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* %7)
br label %78
76: ; preds = %72
%77 = call i32 @putchar(i32 10)
br label %78
78: ; preds = %73, %76, %68
%79 = sub nsw i32 %22, %30
%80 = zext i32 %30 to i64
%81 = getelementptr inbounds i8, i8* %21, i64 %80
%82 = icmp sgt i32 %79, 0
br i1 %82, label %20, label %83
83: ; preds = %78, %24, %11
ret void
}