#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(void *);
int /*<<< orphan*/ logAssignNoOffset(char *, int, ...);
int /*<<< orphan*/ logBlockEntry(char *, int);
int /*<<< orphan*/ logBlockExit(char *, int);
int /*<<< orphan*/ logComment(char *);
int /*<<< orphan*/ logFree(char *, int, char *, void *);
int /*<<< orphan*/ logMallocInfo(char *, int);
int /*<<< orphan*/ logVarInScope(char *, char *, char *, ...);
int /*<<< orphan*/ logVarOutOfScope(char *, ...);
void *malloc(int);
int main(int argc, char **argv) {
  int count;
  char *pointer;
  void *tmp;
  {
    logComment("Function Entered");
    logVarInScope("formal", "argv", "char **", &argv);
    logVarInScope("local", "pointer", "char *", &pointer);
    logVarInScope("local", "tmp", "void *", &tmp);
    logBlockEntry("leak-7-ptr-no-ds.c", 11);
    count = 0;
    pointer = (char *)((void *)0);
    logAssignNoOffset("leak-7-ptr-no-ds.c", 12, &pointer, "char *", "pointer",
                      pointer, "char", "(char *)((void *)0)", 0);
    count = 0;
    logBlockExit("leak-7-ptr-no-ds.c", 14);
    while (count < 10) {
      logComment("Loop-iteration-start_leak-7-ptr-no-ds.c_14");
      {
        logBlockEntry("leak-7-ptr-no-ds.c", 15);
        tmp = malloc(sizeof(char) * 256UL);
        logAssignNoOffset("leak-7-ptr-no-ds.c", 15, &tmp, "void *", "tmp", tmp,
                          "void", "malloc", 1);
        logMallocInfo("sizeof(char ) * 256UL", sizeof(char) * 256UL);
        pointer = (char *)tmp;
        logAssignNoOffset("leak-7-ptr-no-ds.c", 15, &pointer, "char *",
                          "pointer", pointer, "char", "(char *)tmp", 0);
        count++;
        logBlockExit("leak-7-ptr-no-ds.c", 14);
      }
      logComment("Loop-iteration-end");
    }
    logBlockEntry("", -1);
    logFree("leak-7-ptr-no-ds.c", 18, "(void *)pointer", (void *)pointer);
    free((void *)pointer);
    logBlockExit("leak-7-ptr-no-ds.c", 18);
    {
      logVarOutOfScope("argv", &argv);
      logVarOutOfScope("pointer", &pointer);
      logVarOutOfScope("tmp", &tmp);
      {
        logComment("Function Exited");
        return (0);
      }
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe43(%rip),%rdi
call   1050 <logComment@plt>
lea    0xe48(%rip),%rdi
lea    0xe48(%rip),%rsi
lea    0xe46(%rip),%rdx
lea    -0x10(%rbp),%rcx
mov    $0x0,%al
call   1040 <logVarInScope@plt>
lea    0xe3c(%rip),%rdi
lea    0xee9(%rip),%rsi
lea    0xe34(%rip),%rdx
lea    -0x20(%rbp),%rcx
mov    $0x0,%al
call   1040 <logVarInScope@plt>
lea    0xe1c(%rip),%rdi
lea    0xeaa(%rip),%rsi
lea    0xe1b(%rip),%rdx
lea    -0x28(%rbp),%rcx
mov    $0x0,%al
call   1040 <logVarInScope@plt>
lea    0xe10(%rip),%rdi
mov    $0xb,%esi
call   1060 <logBlockEntry@plt>
movl   $0x0,-0x14(%rbp)
movq   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%r9
lea    0xdec(%rip),%rdi
mov    $0xc,%esi
lea    -0x20(%rbp),%rdx
lea    0xdce(%rip),%rcx
lea    0xe75(%rip),%r8
lea    0xde1(%rip),%r10
lea    0xddf(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
mov    $0x0,%al
call   1070 <logAssignNoOffset@plt>
movl   $0x0,-0x14(%rbp)
lea    0xd9e(%rip),%rdi
mov    $0xe,%esi
call   10b0 <logBlockExit@plt>
cmpl   $0xa,-0x14(%rbp)
jge    13b1 <main+0x211>
lea    0xdaf(%rip),%rdi
call   1050 <logComment@plt>
lea    0xd77(%rip),%rdi
mov    $0xf,%esi
call   1060 <logBlockEntry@plt>
mov    $0x100,%edi
call   1090 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%r9
lea    0xd54(%rip),%rdi
mov    $0xf,%esi
lea    -0x28(%rbp),%rdx
lea    0xd3d(%rip),%rcx
lea    0xdbe(%rip),%r8
lea    0xd8d(%rip),%r10
lea    0xd8b(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x1,0x10(%rsp)
mov    $0x0,%al
call   1070 <logAssignNoOffset@plt>
lea    0xd73(%rip),%rdi
mov    $0x100,%esi
call   1080 <logMallocInfo@plt>
mov    -0x28(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%r9
lea    0xcf3(%rip),%rdi
mov    $0xf,%esi
lea    -0x20(%rbp),%rdx
lea    0xcd5(%rip),%rcx
lea    0xd7c(%rip),%r8
lea    0xce8(%rip),%r10
lea    0xd47(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
mov    $0x0,%al
call   1070 <logAssignNoOffset@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xca3(%rip),%rdi
mov    $0xe,%esi
call   10b0 <logBlockExit@plt>
lea    0xd17(%rip),%rdi
call   1050 <logComment@plt>
jmp    12a5 <main+0x105>
lea    0xcac(%rip),%rdi
mov    $0xffffffff,%esi
call   1060 <logBlockEntry@plt>
mov    -0x20(%rbp),%rcx
lea    0xc6c(%rip),%rdi
mov    $0x12,%esi
lea    0xcf8(%rip),%rdx
call   10a0 <logFree@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
lea    0xc4b(%rip),%rdi
mov    $0x12,%esi
call   10b0 <logBlockExit@plt>
lea    0xc19(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   10c0 <logVarOutOfScope@plt>
lea    0xcc8(%rip),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x0,%al
call   10c0 <logVarOutOfScope@plt>
lea    0xc97(%rip),%rdi
lea    -0x28(%rbp),%rsi
mov    $0x0,%al
call   10c0 <logVarOutOfScope@plt>
lea    0xcac(%rip),%rdi
call   1050 <logComment@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,0x10(%rsp)
lea    0xe46(%rip),%rdi
call   1050 <logComment@plt>
lea    0xe4b(%rip),%rdi
lea    0xe4b(%rip),%rsi
lea    0xe49(%rip),%rdx
lea    0x10(%rsp),%rcx
xor    %eax,%eax
call   1040 <logVarInScope@plt>
lea    0xe3e(%rip),%r14
lea    0xeeb(%rip),%r15
lea    0xe36(%rip),%r12
mov    %rsp,%rbx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <logVarInScope@plt>
lea    0xea8(%rip),%rsi
lea    0xe19(%rip),%rdx
lea    0x8(%rsp),%rcx
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <logVarInScope@plt>
lea    0xe0a(%rip),%r14
mov    %r14,%rdi
mov    $0xb,%esi
call   1060 <logBlockEntry@plt>
movq   $0x0,(%rsp)
sub    $0x8,%rsp
lea    0xe02(%rip),%r10
lea    0xdf6(%rip),%rbp
mov    %r14,%rdi
mov    $0xc,%esi
mov    %rbx,%rdx
mov    %r12,%rcx
mov    %r15,%r8
xor    %r9d,%r9d
xor    %eax,%eax
push   $0x0
push   %r10
push   %rbp
call   1070 <logAssignNoOffset@plt>
add    $0x20,%rsp
mov    %r14,%rdi
mov    $0xe,%esi
call   10b0 <logBlockExit@plt>
mov    $0xa,%ebp
lea    0xe09(%rip),%r12
lea    0xe18(%rip),%r15
lea    0xe1d(%rip),%r13
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    0xdae(%rip),%rdi
call   1050 <logComment@plt>
mov    %r14,%rdi
mov    $0xf,%esi
call   1060 <logBlockEntry@plt>
mov    $0x100,%edi
call   1090 <malloc@plt>
mov    %rax,0x8(%rsp)
sub    $0x8,%rsp
mov    %r14,%rdi
mov    $0xf,%esi
lea    0x10(%rsp),%rdx
lea    0xd42(%rip),%rcx
lea    0xdc3(%rip),%r8
mov    %rax,%r9
xor    %eax,%eax
push   $0x1
lea    0xd90(%rip),%rbx
push   %rbx
lea    0xd83(%rip),%rbx
push   %rbx
call   1070 <logAssignNoOffset@plt>
add    $0x20,%rsp
mov    %r12,%rdi
mov    $0x100,%esi
call   1080 <logMallocInfo@plt>
mov    0x8(%rsp),%r9
mov    %r9,(%rsp)
sub    $0x8,%rsp
mov    %r14,%rdi
mov    $0xf,%esi
lea    0x8(%rsp),%rdx
lea    0xce6(%rip),%rcx
lea    0xd8d(%rip),%r8
xor    %eax,%eax
push   $0x0
push   %r15
lea    0xcf3(%rip),%rbx
push   %rbx
call   1070 <logAssignNoOffset@plt>
add    $0x20,%rsp
mov    %r14,%rdi
mov    $0xe,%esi
call   10b0 <logBlockExit@plt>
mov    %r13,%rdi
call   1050 <logComment@plt>
add    $0xffffffff,%ebp
jne    12b0 <main+0x110>
lea    0xcdc(%rip),%rdi
mov    $0xffffffff,%esi
call   1060 <logBlockEntry@plt>
mov    (%rsp),%rcx
lea    0xc9c(%rip),%rbx
lea    0xd2d(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
call   10a0 <logFree@plt>
mov    (%rsp),%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
mov    $0x12,%esi
call   10b0 <logBlockExit@plt>
lea    0xc4a(%rip),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   10c0 <logVarOutOfScope@plt>
lea    0xcf8(%rip),%rdi
mov    %rsp,%rsi
xor    %eax,%eax
call   10c0 <logVarOutOfScope@plt>
lea    0xcc8(%rip),%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   10c0 <logVarOutOfScope@plt>
lea    0xcdc(%rip),%rdi
call   1050 <logComment@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [17 x i8] c"Function Entered\00"
@.str.1 = [7 x i8] c"formal\00"
@.str.2 = [5 x i8] c"argv\00"
@.str.3 = [8 x i8] c"char **\00"
@.str.4 = [6 x i8] c"local\00"
@.str.5 = [8 x i8] c"pointer\00"
@.str.6 = [7 x i8] c"char *\00"
@.str.7 = [4 x i8] c"tmp\00"
@.str.8 = [7 x i8] c"void *\00"
@.str.9 = [19 x i8] c"leak-7-ptr-no-ds.c\00"
@.str.10 = [5 x i8] c"char\00"
@.str.11 = [20 x i8] c"(char *)((void *)0)\00"
@.str.12 = [43 x i8] c"Loop-iteration-start_leak-7-ptr-no-ds.c_14\00"
@.str.13 = [5 x i8] c"void\00"
@.str.14 = [7 x i8] c"malloc\00"
@.str.15 = [22 x i8] c"sizeof(char ) * 256UL\00"
@.str.16 = [12 x i8] c"(char *)tmp\00"
@.str.17 = [19 x i8] c"Loop-iteration-end\00"
@.str.18 = [1 x i8] zeroinitializer
@.str.19 = [16 x i8] c"(void *)pointer\00"
@.str.20 = [16 x i8] c"Function Exited\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = call i32 @logComment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, i8*, i8*, ...) @logVarInScope(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8*** %5)
%11 = call i32 (i8*, i8*, i8*, ...) @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8** %7)
%12 = call i32 (i8*, i8*, i8*, ...) @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8** %8)
%13 = call i32 @logBlockEntry(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 11)
store i32 0, i32* %6
store i8* null, i8** %7
%14 = load i8*, i8** %7
%15 = call i32 (i8*, i32, ...) @logAssignNoOffset(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 12, i8** %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0), i32 0)
store i32 0, i32* %6
%16 = call i32 @logBlockExit(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 14)
br label %17
17: ; preds = %20, %2
%18 = load i32, i32* %6
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %34
20: ; preds = %17
%21 = call i32 @logComment(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.12, i64 0, i64 0))
%22 = call i32 @logBlockEntry(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 15)
%23 = call i8* @malloc(i32 256)
store i8* %23, i8** %8
%24 = load i8*, i8** %8
%25 = call i32 (i8*, i32, ...) @logAssignNoOffset(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 15, i8** %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* %24, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i64 0, i64 0), i32 1)
%26 = call i32 @logMallocInfo(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.15, i64 0, i64 0), i32 256)
%27 = load i8*, i8** %8
store i8* %27, i8** %7
%28 = load i8*, i8** %7
%29 = call i32 (i8*, i32, ...) @logAssignNoOffset(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 15, i8** %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%30 = load i32, i32* %6
%31 = add nsw i32 %30, 1
store i32 %31, i32* %6
%32 = call i32 @logBlockExit(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 14)
%33 = call i32 @logComment(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i64 0, i64 0))
br label %17
34: ; preds = %17
%35 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0), i32 -1)
%36 = load i8*, i8** %7
%37 = call i32 @logFree(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.19, i64 0, i64 0), i8* %36)
%38 = load i8*, i8** %7
%39 = call i32 @free(i8* %38)
%40 = call i32 @logBlockExit(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 18)
%41 = call i32 (i8*, ...) @logVarOutOfScope(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8*** %5)
%42 = call i32 (i8*, ...) @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8** %7)
%43 = call i32 (i8*, ...) @logVarOutOfScope(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8** %8)
%44 = call i32 @logComment(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.20, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"Function Entered\00"
@.str.1 = [7 x i8] c"formal\00"
@.str.2 = [5 x i8] c"argv\00"
@.str.3 = [8 x i8] c"char **\00"
@.str.4 = [6 x i8] c"local\00"
@.str.5 = [8 x i8] c"pointer\00"
@.str.6 = [7 x i8] c"char *\00"
@.str.7 = [4 x i8] c"tmp\00"
@.str.8 = [7 x i8] c"void *\00"
@.str.9 = [19 x i8] c"leak-7-ptr-no-ds.c\00"
@.str.10 = [5 x i8] c"char\00"
@.str.11 = [20 x i8] c"(char *)((void *)0)\00"
@.str.12 = [43 x i8] c"Loop-iteration-start_leak-7-ptr-no-ds.c_14\00"
@.str.13 = [5 x i8] c"void\00"
@.str.14 = [7 x i8] c"malloc\00"
@.str.15 = [22 x i8] c"sizeof(char ) * 256UL\00"
@.str.16 = [12 x i8] c"(char *)tmp\00"
@.str.17 = [19 x i8] c"Loop-iteration-end\00"
@.str.18 = [1 x i8] zeroinitializer
@.str.19 = [16 x i8] c"(void *)pointer\00"
@.str.20 = [16 x i8] c"Function Exited\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i8**
%4 = alloca i8*
%5 = alloca i8*
store i8** %1, i8*** %3
%6 = bitcast i8** %4 to i8*
%7 = bitcast i8** %5 to i8*
%8 = tail call i32 @logComment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%9 = call i32 (i8*, i8*, i8*, ...) @logVarInScope(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8*** %3)
%10 = call i32 (i8*, i8*, i8*, ...) @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8** %4)
%11 = call i32 (i8*, i8*, i8*, ...) @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8** %5)
%12 = call i32 @logBlockEntry(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 11)
store i8* null, i8** %4
%13 = call i32 (i8*, i32, ...) @logAssignNoOffset(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 12, i8** %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* null, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0), i32 0)
%14 = call i32 @logBlockExit(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 14)
br label %15
15: ; preds = %2, %15
%16 = phi i32 [ 0, %2 ], [ %24, %15 ]
%17 = call i32 @logComment(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.12, i64 0, i64 0))
%18 = call i32 @logBlockEntry(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 15)
%19 = call dereferenceable_or_null(256) i8* @malloc(i32 256)
store i8* %19, i8** %5
%20 = call i32 (i8*, i32, ...) @logAssignNoOffset(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 15, i8** %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i64 0, i64 0), i32 1)
%21 = call i32 @logMallocInfo(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.15, i64 0, i64 0), i32 256)
%22 = load i8*, i8** %5
store i8* %22, i8** %4
%23 = call i32 (i8*, i32, ...) @logAssignNoOffset(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 15, i8** %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%24 = add nuw nsw i32 %16, 1
%25 = call i32 @logBlockExit(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 14)
%26 = call i32 @logComment(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i64 0, i64 0))
%27 = icmp eq i32 %24, 10
br i1 %27, label %28, label %15
28: ; preds = %15
%29 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0), i32 -1)
%30 = load i8*, i8** %4
%31 = call i32 @logFree(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.19, i64 0, i64 0), i8* %30)
%32 = load i8*, i8** %4
%33 = call i32 @free(i8* %32)
%34 = call i32 @logBlockExit(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 18)
%35 = call i32 (i8*, ...) @logVarOutOfScope(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8*** %3)
%36 = call i32 (i8*, ...) @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8** %4)
%37 = call i32 (i8*, ...) @logVarOutOfScope(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8** %5)
%38 = call i32 @logComment(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.20, i64 0, i64 0))
ret i32 0
}