#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 */
scalar_t__ ccnl_ccnb_mkHeader(unsigned char *, int, int);
scalar_t__ ccnl_ccnb_mkStrBlob(unsigned char *, int, int, char *);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ sprintf(char *, char *, int);
int ccnl_mgmt_create_fwds_stmt(int num_fwds, long *fwd, long *fwdnext,
                               long *fwdface, int *fwdfaceid, int *suite,
                               int *fwdprefixlen, char **fwdprefix,
                               unsigned char *stmt, int len3) {
  int it;
  char str[100];
  for (it = 0; it < num_fwds; ++it) {
    len3 += ccnl_ccnb_mkHeader(stmt + len3, 81, 2);
    memset(str, 0, 100);
    sprintf(str, "%p", (void *)fwd[it]);
    len3 += ccnl_ccnb_mkStrBlob(stmt + len3, 99210, 2, str);
    memset(str, 0, 100);
    sprintf(str, "%p", (void *)fwdnext[it]);
    len3 += ccnl_ccnb_mkStrBlob(stmt + len3, 99203, 2, str);
    memset(str, 0, 100);
    sprintf(str, "%p", (void *)fwdface[it]);
    len3 += ccnl_ccnb_mkStrBlob(stmt + len3, 99211, 2, str);
    memset(str, 0, 100);
    sprintf(str, "%d", fwdfaceid[it]);
    len3 += ccnl_ccnb_mkStrBlob(stmt + len3, 74, 2, str);
    memset(str, 0, 100);
    sprintf(str, "%d", suite[it]);
    len3 += ccnl_ccnb_mkStrBlob(stmt + len3, 99300, 2, str);
    len3 += ccnl_ccnb_mkStrBlob(stmt + len3, 99215, 2, fwdprefix[it]);
    stmt[len3++] = 0;
  }
  return len3;
}


x86 assembly (clang, -O0):
<ccnl_mgmt_create_fwds_stmt>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    13e6 <ccnl_mgmt_create_fwds_stmt+0x2a6>
mov    0x20(%rbp),%rdi
movslq 0x28(%rbp),%rax
add    %rax,%rdi
mov    $0x51,%esi
mov    $0x2,%edx
call   1060 <ccnl_ccnb_mkHeader@plt>
mov    %rax,%rcx
movslq 0x28(%rbp),%rax
add    %rcx,%rax
mov    %eax,0x28(%rbp)
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
lea    -0xa0(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %eax,%edx
lea    0xe26(%rip),%rsi
call   1050 <sprintf@plt>
mov    0x20(%rbp),%rdi
movslq 0x28(%rbp),%rax
add    %rax,%rdi
lea    -0xa0(%rbp),%rcx
mov    $0x1838a,%esi
mov    $0x2,%edx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
mov    %rax,%rcx
movslq 0x28(%rbp),%rax
add    %rcx,%rax
mov    %eax,0x28(%rbp)
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
lea    -0xa0(%rbp),%rdi
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %eax,%edx
lea    0xdc4(%rip),%rsi
call   1050 <sprintf@plt>
mov    0x20(%rbp),%rdi
movslq 0x28(%rbp),%rax
add    %rax,%rdi
lea    -0xa0(%rbp),%rcx
mov    $0x18383,%esi
mov    $0x2,%edx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
mov    %rax,%rcx
movslq 0x28(%rbp),%rax
add    %rcx,%rax
mov    %eax,0x28(%rbp)
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
lea    -0xa0(%rbp),%rdi
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %eax,%edx
lea    0xd62(%rip),%rsi
call   1050 <sprintf@plt>
mov    0x20(%rbp),%rdi
movslq 0x28(%rbp),%rax
add    %rax,%rdi
lea    -0xa0(%rbp),%rcx
mov    $0x1838b,%esi
mov    $0x2,%edx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
mov    %rax,%rcx
movslq 0x28(%rbp),%rax
add    %rcx,%rax
mov    %eax,0x28(%rbp)
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
lea    -0xa0(%rbp),%rdi
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0xd06(%rip),%rsi
call   1050 <sprintf@plt>
mov    0x20(%rbp),%rdi
movslq 0x28(%rbp),%rax
add    %rax,%rdi
lea    -0xa0(%rbp),%rcx
mov    $0x4a,%esi
mov    $0x2,%edx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
mov    %rax,%rcx
movslq 0x28(%rbp),%rax
add    %rcx,%rax
mov    %eax,0x28(%rbp)
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
lea    -0xa0(%rbp),%rdi
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0xca7(%rip),%rsi
call   1050 <sprintf@plt>
mov    0x20(%rbp),%rdi
movslq 0x28(%rbp),%rax
add    %rax,%rdi
lea    -0xa0(%rbp),%rcx
mov    $0x183e4,%esi
mov    $0x2,%edx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
mov    %rax,%rcx
movslq 0x28(%rbp),%rax
add    %rcx,%rax
mov    %eax,0x28(%rbp)
mov    0x20(%rbp),%rdi
movslq 0x28(%rbp),%rax
add    %rax,%rdi
mov    0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
mov    $0x1838f,%esi
mov    $0x2,%edx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
mov    %rax,%rcx
movslq 0x28(%rbp),%rax
add    %rcx,%rax
mov    %eax,0x28(%rbp)
mov    0x20(%rbp),%rax
mov    0x28(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,0x28(%rbp)
movslq %ecx,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1178 <ccnl_mgmt_create_fwds_stmt+0x38>
mov    0x28(%rbp),%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ccnl_mgmt_create_fwds_stmt>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rcx,0x20(%rsp)
mov    %rdx,0x28(%rsp)
mov    0xe8(%rsp),%eax
test   %edi,%edi
jle    1356 <ccnl_mgmt_create_fwds_stmt+0x216>
mov    %r9,%r14
mov    %r8,%r12
mov    %rsi,%rbp
mov    %edi,%ecx
mov    %rcx,0x10(%rsp)
xor    %ebx,%ebx
mov    %rsi,0x18(%rsp)
mov    %r9,0x8(%rsp)
cs nopw 0x0(%rax,%rax,1)
movslq %eax,%r13
mov    0xe0(%rsp),%rax
lea    (%rax,%r13,1),%rdi
mov    $0x51,%esi
mov    $0x2,%edx
call   1060 <ccnl_ccnb_mkHeader@plt>
add    %eax,%r13d
lea    0x30(%rsp),%r15
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
mov    0x0(%rbp,%rbx,8),%edx
mov    %r15,%rdi
lea    0xe2d(%rip),%rsi
call   1050 <sprintf@plt>
movslq %r13d,%rbp
mov    %r12,%r14
mov    0xe0(%rsp),%r12
lea    (%r12,%rbp,1),%rdi
mov    $0x1838a,%esi
mov    $0x2,%edx
mov    %r15,%rcx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
add    %eax,%ebp
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
mov    0x28(%rsp),%rax
mov    (%rax,%rbx,8),%edx
mov    %r15,%rdi
lea    0xde1(%rip),%r13
mov    %r13,%rsi
call   1050 <sprintf@plt>
movslq %ebp,%rbp
lea    (%r12,%rbp,1),%rdi
mov    $0x18383,%esi
mov    $0x2,%edx
mov    %r15,%rcx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
add    %eax,%ebp
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
mov    0x20(%rsp),%rax
mov    (%rax,%rbx,8),%edx
mov    %r15,%rdi
mov    %r13,%rsi
call   1050 <sprintf@plt>
movslq %ebp,%rbp
lea    (%r12,%rbp,1),%rdi
mov    $0x1838b,%esi
mov    $0x2,%edx
mov    %r15,%rcx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
add    %eax,%ebp
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
mov    %r14,%r12
mov    (%r14,%rbx,4),%edx
mov    %r15,%rdi
lea    0xd64(%rip),%rsi
call   1050 <sprintf@plt>
movslq %ebp,%rbp
mov    0xe0(%rsp),%r13
mov    %r13,%rdi
add    %rbp,%rdi
mov    $0x4a,%esi
mov    $0x2,%edx
mov    %r15,%rcx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
add    %eax,%ebp
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1030 <memset@plt>
mov    0x8(%rsp),%rax
mov    (%rax,%rbx,4),%edx
mov    %r15,%rdi
lea    0xd19(%rip),%rsi
call   1050 <sprintf@plt>
movslq %ebp,%rbp
mov    %r13,%rdi
add    %rbp,%rdi
mov    $0x183e4,%esi
mov    $0x2,%edx
mov    %r15,%rcx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
add    %eax,%ebp
movslq %ebp,%rbp
mov    %r13,%rdi
add    %rbp,%rdi
mov    0xd8(%rsp),%rax
mov    (%rax,%rbx,8),%rcx
mov    $0x1838f,%esi
mov    $0x2,%edx
call   1040 <ccnl_ccnb_mkStrBlob@plt>
mov    %ebp,%ecx
add    %eax,%ecx
add    %ebp,%eax
add    $0x1,%eax
mov    0x18(%rsp),%rbp
movslq %ecx,%rcx
movb   $0x0,0x0(%r13,%rcx,1)
add    $0x1,%rbx
cmp    %rbx,0x10(%rsp)
jne    1190 <ccnl_mgmt_create_fwds_stmt+0x50>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [3 x i8] c"%p\00"
@.str.1 = [3 x i8] c"%d\00"
define i32 @ccnl_mgmt_create_fwds_stmt(i32 %0, i64* nocapture %1, i64* nocapture %2, i64* nocapture %3, i32* nocapture %4, i32* nocapture %5, i32* nocapture readnone %6, i8** nocapture %7, i8* %8, i32 %9) {
%11 = alloca [100 x i8]
%12 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%13 = icmp sgt i32 %0, 0
br i1 %13, label %14, label %84
14: ; preds = %10
%15 = zext i32 %0 to i64
br label %16
16: ; preds = %14, %16
%17 = phi i64 [ 0, %14 ], [ %82, %16 ]
%18 = phi i32 [ %9, %14 ], [ %79, %16 ]
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, i8* %8, i64 %19
%21 = call i64 @ccnl_ccnb_mkHeader(i8* %20, i32 81, i32 2)
%22 = trunc i64 %21 to i32
%23 = add i32 %18, %22
%24 = call i32 @memset(i8* %12, i32 0, i32 100)
%25 = getelementptr inbounds i64, i64* %1, i64 %17
%26 = load i64, i64* %25
%27 = trunc i64 %26 to i32
%28 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %27)
%29 = sext i32 %23 to i64
%30 = getelementptr inbounds i8, i8* %8, i64 %29
%31 = call i64 @ccnl_ccnb_mkStrBlob(i8* %30, i32 99210, i32 2, i8* %12)
%32 = trunc i64 %31 to i32
%33 = add i32 %23, %32
%34 = call i32 @memset(i8* %12, i32 0, i32 100)
%35 = getelementptr inbounds i64, i64* %2, i64 %17
%36 = load i64, i64* %35
%37 = trunc i64 %36 to i32
%38 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %37)
%39 = sext i32 %33 to i64
%40 = getelementptr inbounds i8, i8* %8, i64 %39
%41 = call i64 @ccnl_ccnb_mkStrBlob(i8* %40, i32 99203, i32 2, i8* %12)
%42 = trunc i64 %41 to i32
%43 = add i32 %33, %42
%44 = call i32 @memset(i8* %12, i32 0, i32 100)
%45 = getelementptr inbounds i64, i64* %3, i64 %17
%46 = load i64, i64* %45
%47 = trunc i64 %46 to i32
%48 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %47)
%49 = sext i32 %43 to i64
%50 = getelementptr inbounds i8, i8* %8, i64 %49
%51 = call i64 @ccnl_ccnb_mkStrBlob(i8* %50, i32 99211, i32 2, i8* %12)
%52 = trunc i64 %51 to i32
%53 = add i32 %43, %52
%54 = call i32 @memset(i8* %12, i32 0, i32 100)
%55 = getelementptr inbounds i32, i32* %4, i64 %17
%56 = load i32, i32* %55
%57 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %56)
%58 = sext i32 %53 to i64
%59 = getelementptr inbounds i8, i8* %8, i64 %58
%60 = call i64 @ccnl_ccnb_mkStrBlob(i8* %59, i32 74, i32 2, i8* %12)
%61 = trunc i64 %60 to i32
%62 = add i32 %53, %61
%63 = call i32 @memset(i8* %12, i32 0, i32 100)
%64 = getelementptr inbounds i32, i32* %5, i64 %17
%65 = load i32, i32* %64
%66 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %65)
%67 = sext i32 %62 to i64
%68 = getelementptr inbounds i8, i8* %8, i64 %67
%69 = call i64 @ccnl_ccnb_mkStrBlob(i8* %68, i32 99300, i32 2, i8* %12)
%70 = trunc i64 %69 to i32
%71 = add i32 %62, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, i8* %8, i64 %72
%74 = getelementptr inbounds i8*, i8** %7, i64 %17
%75 = load i8*, i8** %74
%76 = call i64 @ccnl_ccnb_mkStrBlob(i8* %73, i32 99215, i32 2, i8* %75)
%77 = trunc i64 %76 to i32
%78 = add i32 %71, %77
%79 = add nsw i32 %78, 1
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i8, i8* %8, i64 %80
store i8 0, i8* %81
%82 = add nuw nsw i64 %17, 1
%83 = icmp eq i64 %82, %15
br i1 %83, label %84, label %16
84: ; preds = %16, %10
%85 = phi i32 [ %9, %10 ], [ %79, %16 ]
ret i32 %85
}