#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 */
struct inotify_event {
  int mask;
  int wd;
  scalar_t__ len;
};
typedef int /*<<< orphan*/ eventBuffer;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int EXIT_SUCCESS;
int IN_DELETE_SELF;
int IN_MODIFY;
int NAME_MAX;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int inotify_add_watch(int, char *, int);
int inotify_init();
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, int);
int read(int, char *, int);
int strlen(char *);
int main(int argc, char *argv[]) {
  FILE *conf;
  int notifyHandle;
  int i;
  char line[NAME_MAX + 1];
  int watchHandles[100];
  char eventBuffer[100 * sizeof(struct inotify_event) + NAME_MAX + 1];
  char *p;
  struct inotify_event *eventPtr;
  if ((notifyHandle = inotify_init()) == -1) {
    do {
      perror("inotify_init()");
      exit(EXIT_FAILURE);
    } while (0);
  }
  if ((conf = fopen("monitor.conf", "r")) == NULL) {
    do {
      perror("monitor.conf fopen");
      exit(EXIT_FAILURE);
    } while (0);
  }
  i = 0;
  while (fgets(line, NAME_MAX + 1, conf) != NULL) {
    line[strlen(line) - 1] = '\0';
    if ((watchHandles[i++] = inotify_add_watch(
             notifyHandle, line, IN_DELETE_SELF | IN_MODIFY)) == -1) {
      do {
        perror(line);
        exit(EXIT_FAILURE);
      } while (0);
    }
  }
  while (1) {
    if ((i = read(notifyHandle, eventBuffer, sizeof(eventBuffer))) == -1) {
      do {
        perror("read notifyHandle");
        exit(EXIT_FAILURE);
      } while (0);
    }
    p = eventBuffer;
    while (p < eventBuffer + i) {
      eventPtr = (struct inotify_event *)p;
      if (eventPtr->mask & IN_MODIFY) {
        printf("Got modify event on filehandle: %d\n", eventPtr->wd);
      }
      if (eventPtr->mask & IN_DELETE_SELF) {
        printf("Got delete event on filehandle: %d\n", eventPtr->wd);
      }
      p += sizeof(struct inotify_event) + eventPtr->len;
    }
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1f0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e10(%rip),%rax
mov    (%rax),%ecx
add    $0x1,%ecx
mov    %rsp,%rdx
mov    %rdx,-0x28(%rbp)
mov    %rcx,%rsi
add    $0xf,%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x1f0(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x30(%rbp)
movslq (%rax),%rdx
mov    %rdx,%rax
add    $0x641,%rax
mov    %rax,-0x1e8(%rbp)
add    $0x650,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x1e0(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x1c8(%rbp)
mov    $0x0,%al
call   1070 <inotify_init@plt>
mov    %eax,-0x1c(%rbp)
cmp    $0xffffffff,%eax
jne    1242 <main+0xb2>
jmp    1228 <main+0x98>
lea    0xdd1(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2d9d(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
lea    0xdc6(%rip),%rdi
lea    0xdcc(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
jne    1282 <main+0xf2>
jmp    1268 <main+0xd8>
lea    0xdaf(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2d5d(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x1f0(%rbp),%rdi
mov    0x2d29(%rip),%rax
mov    (%rax),%esi
add    $0x1,%esi
mov    -0x18(%rbp),%rdx
call   1060 <fgets@plt>
cmp    $0x0,%rax
je     1327 <main+0x197>
mov    -0x1f0(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0x1f0(%rbp),%rsi
sub    $0x1,%eax
cltq
movb   $0x0,(%rsi,%rax,1)
mov    -0x1c(%rbp),%edi
mov    0x2cf3(%rip),%rax
mov    (%rax),%edx
mov    0x2d12(%rip),%rax
or     (%rax),%edx
call   1080 <inotify_add_watch@plt>
mov    -0x20(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x20(%rbp)
movslq %ecx,%rcx
mov    %eax,-0x1c0(%rbp,%rcx,4)
cmp    $0xffffffff,%eax
jne    1322 <main+0x192>
jmp    1308 <main+0x178>
mov    -0x1f0(%rbp),%rdi
call   10a0 <perror@plt>
mov    0x2cbd(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
jmp    1289 <main+0xf9>
jmp    132c <main+0x19c>
jmp    1331 <main+0x1a1>
mov    -0x1e0(%rbp),%rsi
mov    -0x1e8(%rbp),%rax
mov    -0x1c(%rbp),%edi
mov    %eax,%edx
call   1050 <read@plt>
mov    %eax,-0x20(%rbp)
cmp    $0xffffffff,%eax
jne    1374 <main+0x1e4>
jmp    135a <main+0x1ca>
lea    0xcd0(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2c6b(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
mov    -0x1e0(%rbp),%rax
mov    %rax,-0x1d0(%rbp)
mov    -0x1e0(%rbp),%rcx
mov    -0x1d0(%rbp),%rax
movslq -0x20(%rbp),%rdx
add    %rdx,%rcx
cmp    %rcx,%rax
jae    1432 <main+0x2a2>
mov    -0x1d0(%rbp),%rax
mov    %rax,-0x1d8(%rbp)
mov    -0x1d8(%rbp),%rax
mov    (%rax),%eax
mov    0x2c32(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     13df <main+0x24f>
mov    -0x1d8(%rbp),%rax
mov    0x4(%rax),%esi
lea    0xc69(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d8(%rbp),%rax
mov    (%rax),%eax
mov    0x2bd9(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1410 <main+0x280>
mov    -0x1d8(%rbp),%rax
mov    0x4(%rax),%esi
lea    0xc5c(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d8(%rbp),%rax
mov    0x8(%rax),%rax
add    $0x10,%rax
add    -0x1d0(%rbp),%rax
mov    %rax,-0x1d0(%rbp)
jmp    1382 <main+0x1f2>
jmp    132c <main+0x19c>

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    0x2e18(%rip),%rax
movslq (%rax),%r12
lea    0x1(%r12),%eax
mov    %rsp,%rbx
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rbx
mov    %rbx,%rsp
mov    %rsp,%r14
lea    0x650(%r12),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r14
mov    %r14,%rsp
xor    %eax,%eax
call   1070 <inotify_init@plt>
cmp    $0xffffffff,%eax
jne    11ee <main+0x5e>
lea    0xe17(%rip),%rdi
jmp    12a1 <main+0x111>
mov    %eax,%r15d
lea    0xe17(%rip),%rdi
lea    0xe1d(%rip),%rsi
call   1090 <fopen@plt>
test   %rax,%rax
jne    1215 <main+0x85>
lea    0xe0e(%rip),%rdi
jmp    12a1 <main+0x111>
mov    %rax,%r13
mov    %r15d,-0x2c(%rbp)
mov    %r14,-0x38(%rbp)
add    $0x641,%r12
mov    0x2d9a(%rip),%r14
mov    0x2dbb(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x2d79(%rip),%rax
mov    (%rax),%esi
add    $0x1,%esi
mov    %rbx,%rdi
mov    %r13,%rdx
call   1060 <fgets@plt>
test   %rax,%rax
je     1286 <main+0xf6>
mov    %rbx,%rdi
call   1030 <strlen@plt>
cltq
movb   $0x0,-0x1(%rax,%rbx,1)
mov    (%r15),%edx
or     (%r14),%edx
mov    -0x2c(%rbp),%edi
mov    %rbx,%rsi
call   1080 <inotify_add_watch@plt>
cmp    $0xffffffff,%eax
jne    1240 <main+0xb0>
mov    %rbx,%rdi
jmp    12a1 <main+0x111>
mov    -0x2c(%rbp),%edi
mov    -0x38(%rbp),%rsi
mov    %r12d,%edx
call   1050 <read@plt>
cmp    $0xffffffff,%eax
jne    12b4 <main+0x124>
lea    0xd90(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2d2b(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
lea    0xd88(%rip),%rbx
mov    %r12,-0x40(%rbp)
jmp    12e8 <main+0x158>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    -0x2c(%rbp),%edi
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%r12
mov    %r12d,%edx
call   1050 <read@plt>
cmp    $0xffffffff,%eax
je     129a <main+0x10a>
test   %eax,%eax
jle    12d0 <main+0x140>
movslq %eax,%r12
mov    -0x38(%rbp),%r13
add    %r13,%r12
jmp    1310 <main+0x180>
nopl   0x0(%rax,%rax,1)
mov    0x8(%r13),%rax
add    %rax,%r13
add    $0x10,%r13
cmp    %r12,%r13
jae    12d0 <main+0x140>
mov    0x0(%r13),%eax
test   %eax,(%r15)
je     1329 <main+0x199>
mov    0x4(%r13),%esi
mov    %rbx,%rdi
call   1040 <printf@plt>
mov    0x0(%r13),%eax
test   %eax,(%r14)
je     1300 <main+0x170>
mov    0x4(%r13),%esi
lea    0xd2e(%rip),%rdi
call   1040 <printf@plt>
jmp    1300 <main+0x170>

LLVM IR (-O0):
%struct.inotify_event = type { i32, i32, i64 }
@NAME_MAX = global i32 0
@.str = [15 x i8] c"inotify_init()\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [13 x i8] c"monitor.conf\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [19 x i8] c"monitor.conf fopen\00"
@IN_DELETE_SELF = global i32 0
@IN_MODIFY = global i32 0
@.str.4 = [18 x i8] c"read notifyHandle\00"
@.str.5 = [36 x i8] c"Got modify event on filehandle: %d\0A\00"
@.str.6 = [36 x i8] c"Got delete event on filehandle: %d\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i64
%11 = alloca [100 x i32]
%12 = alloca i64
%13 = alloca i8*
%14 = alloca %struct.inotify_event*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = load i32, i32* @NAME_MAX
%16 = add nsw i32 %15, 1
%17 = zext i32 %16 to i64
%18 = call i8* @llvm.stacksave()
store i8* %18, i8** %9
%19 = alloca i8, i64 %17
store i64 %17, i64* %10
%20 = load i32, i32* @NAME_MAX
%21 = sext i32 %20 to i64
%22 = add i64 1600, %21
%23 = add i64 %22, 1
%24 = alloca i8, i64 %23
store i64 %23, i64* %12
%25 = call i32 (...) @inotify_init()
store i32 %25, i32* %7
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %34
27: ; preds = %2
br label %28
28: ; preds = %27
%29 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%30 = load i32, i32* @EXIT_FAILURE
%31 = call i32 @exit(i32 %30)
unreachable
32: ; No predecessors!
br label %33
33: ; preds = %32
br label %34
34: ; preds = %33, %2
%35 = call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %35, i32** %6
%36 = icmp eq i32* %35, null
br i1 %36, label %37, label %44
37: ; preds = %34
br label %38
38: ; preds = %37
%39 = call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%40 = load i32, i32* @EXIT_FAILURE
%41 = call i32 @exit(i32 %40)
unreachable
42: ; No predecessors!
br label %43
43: ; preds = %42
br label %44
44: ; preds = %43, %34
store i32 0, i32* %8
br label %45
45: ; preds = %73, %44
%46 = load i32, i32* @NAME_MAX
%47 = add nsw i32 %46, 1
%48 = load i32*, i32** %6
%49 = call i32* @fgets(i8* %19, i32 %47, i32* %48)
%50 = icmp ne i32* %49, null
br i1 %50, label %51, label %74
51: ; preds = %45
%52 = call i32 @strlen(i8* %19)
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, i8* %19, i64 %54
store i8 0, i8* %55
%56 = load i32, i32* %7
%57 = load i32, i32* @IN_DELETE_SELF
%58 = load i32, i32* @IN_MODIFY
%59 = or i32 %57, %58
%60 = call i32 @inotify_add_watch(i32 %56, i8* %19, i32 %59)
%61 = load i32, i32* %8
%62 = add nsw i32 %61, 1
store i32 %62, i32* %8
%63 = sext i32 %61 to i64
%64 = getelementptr inbounds [100 x i32], [100 x i32]* %11, i64 0, i64 %63
store i32 %60, i32* %64
%65 = icmp eq i32 %60, -1
br i1 %65, label %66, label %73
66: ; preds = %51
br label %67
67: ; preds = %66
%68 = call i32 @perror(i8* %19)
%69 = load i32, i32* @EXIT_FAILURE
%70 = call i32 @exit(i32 %69)
unreachable
71: ; No predecessors!
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72, %51
br label %45
74: ; preds = %45
br label %75
75: ; preds = %128, %74
br label %76
76: ; preds = %75
%77 = load i32, i32* %7
%78 = trunc i64 %23 to i32
%79 = call i32 @read(i32 %77, i8* %24, i32 %78)
store i32 %79, i32* %8
%80 = icmp eq i32 %79, -1
br i1 %80, label %81, label %88
81: ; preds = %76
br label %82
82: ; preds = %81
%83 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
%84 = load i32, i32* @EXIT_FAILURE
%85 = call i32 @exit(i32 %84)
unreachable
86: ; No predecessors!
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87, %76
store i8* %24, i8** %13
br label %89
89: ; preds = %121, %88
%90 = load i8*, i8** %13
%91 = load i32, i32* %8
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, i8* %24, i64 %92
%94 = icmp ult i8* %90, %93
br i1 %94, label %95, label %128
95: ; preds = %89
%96 = load i8*, i8** %13
%97 = bitcast i8* %96 to %struct.inotify_event*
store %struct.inotify_event* %97, %struct.inotify_event** %14
%98 = load %struct.inotify_event*, %struct.inotify_event** %14
%99 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %98, i32 0, i32 0
%100 = load i32, i32* %99
%101 = load i32, i32* @IN_MODIFY
%102 = and i32 %100, %101
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %109
104: ; preds = %95
%105 = load %struct.inotify_event*, %struct.inotify_event** %14
%106 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %105, i32 0, i32 1
%107 = load i32, i32* %106
%108 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i32 %107)
br label %109
109: ; preds = %104, %95
%110 = load %struct.inotify_event*, %struct.inotify_event** %14
%111 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %110, i32 0, i32 0
%112 = load i32, i32* %111
%113 = load i32, i32* @IN_DELETE_SELF
%114 = and i32 %112, %113
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %121
116: ; preds = %109
%117 = load %struct.inotify_event*, %struct.inotify_event** %14
%118 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %117, i32 0, i32 1
%119 = load i32, i32* %118
%120 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), i32 %119)
br label %121
121: ; preds = %116, %109
%122 = load %struct.inotify_event*, %struct.inotify_event** %14
%123 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %122, i32 0, i32 2
%124 = load i64, i64* %123
%125 = add i64 16, %124
%126 = load i8*, i8** %13
%127 = getelementptr inbounds i8, i8* %126, i64 %125
store i8* %127, i8** %13
br label %89
128: ; preds = %89
br label %75
}

LLVM IR (-O2):
@NAME_MAX = global i32 0
@.str = [15 x i8] c"inotify_init()\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [13 x i8] c"monitor.conf\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [19 x i8] c"monitor.conf fopen\00"
@IN_DELETE_SELF = global i32 0
@IN_MODIFY = global i32 0
@.str.4 = [18 x i8] c"read notifyHandle\00"
@.str.5 = [36 x i8] c"Got modify event on filehandle: %d\0A\00"
@.str.6 = [36 x i8] c"Got delete event on filehandle: %d\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = load i32, i32* @NAME_MAX
%4 = add nsw i32 %3, 1
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5
%7 = sext i32 %3 to i64
%8 = add nsw i64 %7, 1601
%9 = alloca i8, i64 %8
%10 = tail call i32 (...) @inotify_init()
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = tail call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%14 = load i32, i32* @EXIT_FAILURE
%15 = tail call i32 @exit(i32 %14)
unreachable
16: ; preds = %2
%17 = tail call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%18 = icmp eq i32* %17, null
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = tail call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%21 = load i32, i32* @EXIT_FAILURE
%22 = tail call i32 @exit(i32 %21)
unreachable
23: ; preds = %16, %32
%24 = load i32, i32* @NAME_MAX
%25 = add nsw i32 %24, 1
%26 = call i32* @fgets(i8* %6, i32 %25, i32* %17)
%27 = icmp eq i32* %26, null
br i1 %27, label %28, label %32
28: ; preds = %23
%29 = trunc i64 %8 to i32
%30 = call i32 @read(i32 %10, i8* %9, i32 %29)
%31 = icmp eq i32 %30, -1
br i1 %31, label %54, label %49
32: ; preds = %23
%33 = call i32 @strlen(i8* %6)
%34 = add nsw i32 %33, -1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, i8* %6, i64 %35
store i8 0, i8* %36
%37 = load i32, i32* @IN_DELETE_SELF
%38 = load i32, i32* @IN_MODIFY
%39 = or i32 %38, %37
%40 = call i32 @inotify_add_watch(i32 %10, i8* %6, i32 %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %23
42: ; preds = %32
%43 = call i32 @perror(i8* %6)
%44 = load i32, i32* @EXIT_FAILURE
%45 = call i32 @exit(i32 %44)
unreachable
46: ; preds = %81, %49
%47 = call i32 @read(i32 %10, i8* %9, i32 %29)
%48 = icmp eq i32 %47, -1
br i1 %48, label %54, label %49
49: ; preds = %28, %46
%50 = phi i32 [ %47, %46 ], [ %30, %28 ]
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, i8* %9, i64 %51
%53 = icmp sgt i32 %50, 0
br i1 %53, label %58, label %46
54: ; preds = %46, %28
%55 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
%56 = load i32, i32* @EXIT_FAILURE
%57 = call i32 @exit(i32 %56)
unreachable
58: ; preds = %49, %81
%59 = phi i8* [ %86, %81 ], [ %9, %49 ]
%60 = bitcast i8* %59 to i32*
%61 = load i32, i32* %60
%62 = load i32, i32* @IN_MODIFY
%63 = and i32 %62, %61
%64 = icmp eq i32 %63, 0
br i1 %64, label %71, label %65
65: ; preds = %58
%66 = getelementptr inbounds i8, i8* %59, i64 4
%67 = bitcast i8* %66 to i32*
%68 = load i32, i32* %67
%69 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i32 %68)
%70 = load i32, i32* %60
br label %71
71: ; preds = %65, %58
%72 = phi i32 [ %70, %65 ], [ %61, %58 ]
%73 = load i32, i32* @IN_DELETE_SELF
%74 = and i32 %73, %72
%75 = icmp eq i32 %74, 0
br i1 %75, label %81, label %76
76: ; preds = %71
%77 = getelementptr inbounds i8, i8* %59, i64 4
%78 = bitcast i8* %77 to i32*
%79 = load i32, i32* %78
%80 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), i32 %79)
br label %81
81: ; preds = %76, %71
%82 = getelementptr inbounds i8, i8* %59, i64 8
%83 = bitcast i8* %82 to i64*
%84 = load i64, i64* %83
%85 = add i64 %84, 16
%86 = getelementptr inbounds i8, i8* %59, i64 %85
%87 = icmp ult i8* %86, %52
br i1 %87, label %58, label %46
}