#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*/ Parser_DisplayTagInfo(unsigned int, unsigned char);
int /*<<< orphan*/ Parser_TsPacketLog(unsigned int, char *, ...);
int x5B_Tag_DescriptorParser(unsigned int type, unsigned char *buff) {
  unsigned int i = 0, j = 0;
  if (NULL == buff) {
    return -1;
  }
  Parser_DisplayTagInfo(type, buff[0]);
  Parser_TsPacketLog(type, "Descriptor_length = 0x%x\n", buff[1]);
  if (0 != buff[1]) {
    for (i = 0; i < buff[1]; i += j) {
      j = 0;
      Parser_TsPacketLog(type, "ISO_639_language_code = 0x%x\n",
                         ((buff[i + 2] & 0xFF) << 16) |
                             ((buff[i + 3] & 0xFF) << 8) |
                             (buff[i + 4] & 0xFF));
      Parser_TsPacketLog(type, "ISO_639_language_code : %c%c%c\n", buff[i + 2],
                         buff[i + 3], buff[i + 4]);
      Parser_TsPacketLog(type, "network_name_length = 0x%x\n", buff[i + 5]);
      if (0 != buff[i + 5]) {
        Parser_TsPacketLog(type, "network_name: ");
        for (j = 0; j < buff[i + 5]; j++) {
          Parser_TsPacketLog(type, "%c", buff[i + j + 6]);
        }
        Parser_TsPacketLog(type, "\n");
      }
      j += 4;
    }
  }
  Parser_TsPacketLog(type, "******END******\n");
  return buff[1];
}


x86 assembly (clang, -O0):
<x5B_Tag_DescriptorParser>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
xor    %eax,%eax
cmp    -0x10(%rbp),%rax
jne    1155 <x5B_Tag_DescriptorParser+0x35>
movl   $0xffffffff,-0x4(%rbp)
jmp    1336 <x5B_Tag_DescriptorParser+0x216>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rax
movzbl (%rax),%esi
call   1040 <Parser_DisplayTagInfo@plt>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%edx
lea    0xe8a(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%ecx
xor    %eax,%eax
cmp    %ecx,%eax
je     131a <x5B_Tag_DescriptorParser+0x1fa>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    -0x10(%rbp),%rcx
movzbl 0x1(%rcx),%ecx
cmp    %ecx,%eax
jae    1315 <x5B_Tag_DescriptorParser+0x1f5>
movl   $0x0,-0x18(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x2,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%edx
and    $0xff,%edx
shl    $0x10,%edx
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x3,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%eax
and    $0xff,%eax
shl    $0x8,%eax
or     %eax,%edx
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x4,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%eax
and    $0xff,%eax
or     %eax,%edx
lea    0xe16(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x2,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%edx
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x3,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%ecx
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%esi
add    $0x4,%esi
mov    %esi,%esi
movzbl (%rax,%rsi,1),%r8d
lea    0xdf2(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x5,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%edx
lea    0xdf1(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x5,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%ecx
xor    %eax,%eax
cmp    %ecx,%eax
je     12fe <x5B_Tag_DescriptorParser+0x1de>
mov    -0x8(%rbp),%edi
lea    0xde2(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    -0x10(%rbp),%rcx
mov    -0x14(%rbp),%edx
add    $0x5,%edx
mov    %edx,%edx
movzbl (%rcx,%rdx,1),%ecx
cmp    %ecx,%eax
jae    12ed <x5B_Tag_DescriptorParser+0x1cd>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    -0x18(%rbp),%ecx
add    $0x6,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%edx
lea    0xdab(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12a0 <x5B_Tag_DescriptorParser+0x180>
mov    -0x8(%rbp),%edi
lea    0xd9e(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
mov    -0x18(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
add    -0x14(%rbp),%eax
mov    %eax,-0x14(%rbp)
jmp    1196 <x5B_Tag_DescriptorParser+0x76>
jmp    131a <x5B_Tag_DescriptorParser+0x1fa>
mov    -0x8(%rbp),%edi
lea    0xd62(%rip),%rsi
mov    $0x0,%al
call   1030 <Parser_TsPacketLog@plt>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<x5B_Tag_DescriptorParser>:
test   %rsi,%rsi
je     12a0 <x5B_Tag_DescriptorParser+0x180>
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%r15d
movzbl (%rsi),%esi
call   1040 <Parser_DisplayTagInfo@plt>
movzbl 0x1(%rbx),%edx
lea    0xeb3(%rip),%rsi
mov    %r15d,%edi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
cmpb   $0x0,0x1(%rbx)
je     127c <x5B_Tag_DescriptorParser+0x15c>
xor    %r14d,%r14d
jmp    1193 <x5B_Tag_DescriptorParser+0x73>
cs nopw 0x0(%rax,%rax,1)
mov    %r15d,%edi
lea    0xf1b(%rip),%rsi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
add    %r12d,%ebp
movzbl 0x1(%rbx),%eax
mov    %ebp,%r14d
cmp    %eax,%ebp
jae    127c <x5B_Tag_DescriptorParser+0x15c>
lea    0x2(%r14),%eax
mov    %rax,(%rsp)
movzbl (%rbx,%rax,1),%eax
shl    $0x10,%eax
lea    0x3(%r14),%r13d
movzbl (%rbx,%r13,1),%ecx
shl    $0x8,%ecx
or     %eax,%ecx
lea    0x4(%r14),%ebp
movzbl (%rbx,%rbp,1),%edx
or     %ecx,%edx
xor    %r12d,%r12d
mov    %r15d,%edi
lea    0xe53(%rip),%rsi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
mov    (%rsp),%rax
movzbl (%rbx,%rax,1),%edx
movzbl (%rbx,%r13,1),%ecx
movzbl (%rbx,%rbp,1),%r8d
mov    %r15d,%edi
lea    0xe4e(%rip),%rsi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
lea    0x5(%r14),%r13d
movzbl (%rbx,%r13,1),%edx
mov    %r15d,%edi
lea    0xe54(%rip),%rsi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
cmpb   $0x0,(%rbx,%r13,1)
je     1181 <x5B_Tag_DescriptorParser+0x61>
xor    %r12d,%r12d
mov    %r15d,%edi
lea    0xe51(%rip),%rsi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
cmpb   $0x0,(%rbx,%r13,1)
je     1170 <x5B_Tag_DescriptorParser+0x50>
mov    %rbp,(%rsp)
add    $0x6,%r14d
xor    %r12d,%r12d
lea    0xe3c(%rip),%rbp
nopw   0x0(%rax,%rax,1)
lea    (%r14,%r12,1),%eax
movzbl (%rbx,%rax,1),%edx
mov    %r15d,%edi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
add    $0x1,%r12
movzbl (%rbx,%r13,1),%eax
cmp    %rax,%r12
jb     1250 <x5B_Tag_DescriptorParser+0x130>
mov    (%rsp),%rbp
jmp    1170 <x5B_Tag_DescriptorParser+0x50>
lea    0xe03(%rip),%rsi
mov    %r15d,%edi
xor    %eax,%eax
call   1030 <Parser_TsPacketLog@plt>
movzbl 0x1(%rbx),%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0xffffffff,%eax
ret

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

LLVM IR (-O2):
@.str = [26 x i8] c"Descriptor_length = 0x%x\0A\00"
@.str.1 = [30 x i8] c"ISO_639_language_code = 0x%x\0A\00"
@.str.2 = [32 x i8] c"ISO_639_language_code : %c%c%c\0A\00"
@.str.3 = [28 x i8] c"network_name_length = 0x%x\0A\00"
@.str.4 = [15 x i8] c"network_name: \00"
@.str.5 = [3 x i8] c"%c\00"
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [17 x i8] c"******END******\0A\00"
define i32 @x5B_Tag_DescriptorParser(i32 %0, i8* %1) {
%3 = icmp eq i8* %1, null
br i1 %3, label %84, label %4
4: ; preds = %2
%5 = load i8, i8* %1
%6 = tail call i32 @Parser_DisplayTagInfo(i32 %0, i8 zeroext %5)
%7 = getelementptr inbounds i8, i8* %1, i64 1
%8 = load i8, i8* %7
%9 = zext i8 %8 to i32
%10 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %9)
%11 = load i8, i8* %7
%12 = icmp eq i8 %11, 0
br i1 %12, label %80, label %13
13: ; preds = %4, %74
%14 = phi i32 [ %76, %74 ], [ 0, %4 ]
%15 = add i32 %14, 2
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, i8* %1, i64 %16
%18 = load i8, i8* %17
%19 = zext i8 %18 to i32
%20 = shl nuw nsw i32 %19, 16
%21 = add i32 %14, 3
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i8, i8* %1, i64 %22
%24 = load i8, i8* %23
%25 = zext i8 %24 to i32
%26 = shl nuw nsw i32 %25, 8
%27 = or i32 %26, %20
%28 = add i32 %14, 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, i8* %1, i64 %29
%31 = load i8, i8* %30
%32 = zext i8 %31 to i32
%33 = or i32 %27, %32
%34 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i32 %33)
%35 = load i8, i8* %17
%36 = zext i8 %35 to i32
%37 = load i8, i8* %23
%38 = zext i8 %37 to i32
%39 = load i8, i8* %30
%40 = zext i8 %39 to i32
%41 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 %36, i32 %38, i32 %40)
%42 = add i32 %14, 5
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds i8, i8* %1, i64 %43
%45 = load i8, i8* %44
%46 = zext i8 %45 to i32
%47 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i32 %46)
%48 = load i8, i8* %44
%49 = icmp eq i8 %48, 0
br i1 %49, label %74, label %50
50: ; preds = %13
%51 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%52 = load i8, i8* %44
%53 = icmp eq i8 %52, 0
br i1 %53, label %71, label %54
54: ; preds = %50
%55 = add i32 %14, 6
br label %56
56: ; preds = %54, %56
%57 = phi i64 [ 0, %54 ], [ %65, %56 ]
%58 = trunc i64 %57 to i32
%59 = add i32 %55, %58
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds i8, i8* %1, i64 %60
%62 = load i8, i8* %61
%63 = zext i8 %62 to i32
%64 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 %63)
%65 = add nuw nsw i64 %57, 1
%66 = load i8, i8* %44
%67 = zext i8 %66 to i64
%68 = icmp ult i64 %65, %67
br i1 %68, label %56, label %69
69: ; preds = %56
%70 = trunc i64 %65 to i32
br label %71
71: ; preds = %69, %50
%72 = phi i32 [ 0, %50 ], [ %70, %69 ]
%73 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %74
74: ; preds = %71, %13
%75 = phi i32 [ %72, %71 ], [ 0, %13 ]
%76 = add i32 %28, %75
%77 = load i8, i8* %7
%78 = zext i8 %77 to i32
%79 = icmp ult i32 %76, %78
br i1 %79, label %13, label %80
80: ; preds = %74, %4
%81 = tail call i32 (i32, i8*, ...) @Parser_TsPacketLog(i32 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%82 = load i8, i8* %7
%83 = zext i8 %82 to i32
br label %84
84: ; preds = %2, %80
%85 = phi i32 [ %83, %80 ], [ -1, %2 ]
ret i32 %85
}