#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;
  char *name;
  scalar_t__ len;
};

/* Variables and functions */
int IN_CREATE;
int IN_DELETE;
int IN_ISDIR;
int IN_MODIFY;
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int inotify_add_watch(int, char *, int);
int inotify_init();
int /*<<< orphan*/ inotify_rm_watch(int, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, char *);
int read(int, char *, int);
int main(int argc, char **argv) {
  int length, i = 0;
  int fd;
  int wd;
  char buffer[(1024 * ((sizeof(struct inotify_event)) + 16))];
  fd = inotify_init();
  if (fd < 0) {
    perror("inotify_init");
  }
  wd = inotify_add_watch(fd, "/home/fred", IN_MODIFY | IN_CREATE | IN_DELETE);
  length = read(fd, buffer, (1024 * ((sizeof(struct inotify_event)) + 16)));
  if (length < 0) {
    perror("read");
  }
  while (i < length) {
    struct inotify_event *event = (struct inotify_event *)&buffer[i];
    if (event->len) {
      if (event->mask & IN_CREATE) {
        if (event->mask & IN_ISDIR) {
          printf("The directory %s was created.\n", event->name);
        } else {
          printf("The file %s was created.\n", event->name);
        }
      } else if (event->mask & IN_DELETE) {
        if (event->mask & IN_ISDIR) {
          printf("The directory %s was deleted.\n", event->name);
        } else {
          printf("The file %s was deleted.\n", event->name);
        }
      } else if (event->mask & IN_MODIFY) {
        if (event->mask & IN_ISDIR) {
          printf("The directory %s was modified.\n", event->name);
        } else {
          printf("The file %s was modified.\n", event->name);
        }
      }
    }
    i += (sizeof(struct inotify_event)) + event->len;
  }
  (void)inotify_rm_watch(fd, wd);
  (void)close(fd);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa030,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
mov    $0x0,%al
call   1060 <inotify_init@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jge    11c0 <main+0x40>
lea    0xe45(%rip),%rdi
call   1080 <perror@plt>
mov    -0x1c(%rbp),%edi
mov    0x2e26(%rip),%rax
mov    (%rax),%edx
mov    0x2df5(%rip),%rax
or     (%rax),%edx
mov    0x2e04(%rip),%rax
or     (%rax),%edx
lea    0xe28(%rip),%rsi
call   1070 <inotify_add_watch@plt>
mov    %eax,-0x20(%rbp)
mov    -0x1c(%rbp),%edi
lea    -0xa020(%rbp),%rsi
mov    $0xa000,%edx
call   1050 <read@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    121a <main+0x9a>
lea    0xe03(%rip),%rdi
call   1080 <perror@plt>
jmp    121f <main+0x9f>
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13c9 <main+0x249>
movslq -0x18(%rbp),%rcx
lea    -0xa020(%rbp),%rax
add    %rcx,%rax
mov    %rax,-0xa028(%rbp)
mov    -0xa028(%rbp),%rax
cmpq   $0x0,0x10(%rax)
je     13ab <main+0x22b>
mov    -0xa028(%rbp),%rax
mov    (%rax),%eax
mov    0x2d66(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12c0 <main+0x140>
mov    -0xa028(%rbp),%rax
mov    (%rax),%eax
mov    0x2d5b(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12a4 <main+0x124>
mov    -0xa028(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd83(%rip),%rdi
call   1030 <printf@plt>
jmp    12bb <main+0x13b>
mov    -0xa028(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd86(%rip),%rdi
call   1030 <printf@plt>
jmp    13a6 <main+0x226>
mov    -0xa028(%rbp),%rax
mov    (%rax),%eax
mov    0x2d10(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     132e <main+0x1ae>
mov    -0xa028(%rbp),%rax
mov    (%rax),%eax
mov    0x2ced(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1312 <main+0x192>
mov    -0xa028(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd4e(%rip),%rdi
call   1030 <printf@plt>
jmp    1329 <main+0x1a9>
mov    -0xa028(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd51(%rip),%rdi
call   1030 <printf@plt>
jmp    13a1 <main+0x221>
mov    -0xa028(%rbp),%rax
mov    (%rax),%eax
mov    0x2cb2(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     139c <main+0x21c>
mov    -0xa028(%rbp),%rax
mov    (%rax),%eax
mov    0x2c7f(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1380 <main+0x200>
mov    -0xa028(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd19(%rip),%rdi
call   1030 <printf@plt>
jmp    1397 <main+0x217>
mov    -0xa028(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd1d(%rip),%rdi
call   1030 <printf@plt>
jmp    139c <main+0x21c>
jmp    13a1 <main+0x221>
jmp    13a6 <main+0x226>
jmp    13ab <main+0x22b>
mov    -0xa028(%rbp),%rax
mov    0x10(%rax),%rcx
add    $0x18,%rcx
movslq -0x18(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x18(%rbp)
jmp    121f <main+0x9f>
mov    -0x1c(%rbp),%edi
mov    -0x20(%rbp),%esi
call   10a0 <inotify_rm_watch@plt>
mov    -0x1c(%rbp),%edi
call   1040 <close@plt>
xor    %edi,%edi
call   1090 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa018,%rsp
xor    %eax,%eax
call   1060 <inotify_init@plt>
mov    %eax,%ebx
test   %eax,%eax
jns    11aa <main+0x2a>
lea    0xe5b(%rip),%rdi
call   1080 <perror@plt>
mov    0x2e3f(%rip),%rax
mov    0x2e10(%rip),%r12
mov    (%r12),%edx
or     (%rax),%edx
mov    0x2e1b(%rip),%rax
or     (%rax),%edx
lea    0xe3f(%rip),%rsi
mov    %ebx,%edi
call   1070 <inotify_add_watch@plt>
mov    %eax,0xc(%rsp)
lea    0x10(%rsp),%rsi
mov    %ebx,%edi
mov    $0xa000,%edx
call   1050 <read@plt>
test   %eax,%eax
jns    1213 <main+0x93>
lea    0xe23(%rip),%rdi
call   1080 <perror@plt>
mov    %ebx,%edi
mov    0xc(%rsp),%esi
call   10a0 <inotify_rm_watch@plt>
mov    %ebx,%edi
call   1040 <close@plt>
xor    %edi,%edi
call   1090 <exit@plt>
je     11fa <main+0x7a>
mov    %eax,%ebp
xor    %r15d,%r15d
mov    0x2db7(%rip),%r13
jmp    123b <main+0xbb>
lea    0xe12(%rip),%rdi
call   1030 <printf@plt>
add    %r14d,%r15d
add    $0x18,%r15d
cmp    %ebp,%r15d
jge    11fa <main+0x7a>
movslq %r15d,%rax
mov    0x20(%rsp,%rax,1),%r14
test   %r14,%r14
je     122f <main+0xaf>
mov    0x10(%rsp,%rax,1),%ecx
test   %ecx,(%r12)
je     1270 <main+0xf0>
mov    0x18(%rsp,%rax,1),%rsi
test   %ecx,0x0(%r13)
je     1223 <main+0xa3>
lea    0xdb9(%rip),%rdi
jmp    122a <main+0xaa>
cs nopw 0x0(%rax,%rax,1)
mov    0x2d69(%rip),%rdx
test   %ecx,(%rdx)
je     128f <main+0x10f>
mov    0x18(%rsp,%rax,1),%rsi
test   %ecx,0x0(%r13)
je     12b1 <main+0x131>
lea    0xdc9(%rip),%rdi
jmp    122a <main+0xaa>
mov    0x2d5a(%rip),%rdx
test   %ecx,(%rdx)
je     122f <main+0xaf>
mov    0x18(%rsp,%rax,1),%rsi
test   %ecx,0x0(%r13)
je     12bd <main+0x13d>
lea    0xde3(%rip),%rdi
jmp    122a <main+0xaa>
lea    0xdbd(%rip),%rdi
jmp    122a <main+0xaa>
lea    0xdeb(%rip),%rdi
jmp    122a <main+0xaa>

LLVM IR (-O0):
%struct.inotify_event = type { i32, i8*, i64 }
@.str = [13 x i8] c"inotify_init\00"
@.str.1 = [11 x i8] c"/home/fred\00"
@IN_MODIFY = global i32 0
@IN_CREATE = global i32 0
@IN_DELETE = global i32 0
@.str.2 = [5 x i8] c"read\00"
@IN_ISDIR = global i32 0
@.str.3 = [31 x i8] c"The directory %s was created.\0A\00"
@.str.4 = [26 x i8] c"The file %s was created.\0A\00"
@.str.5 = [31 x i8] c"The directory %s was deleted.\0A\00"
@.str.6 = [26 x i8] c"The file %s was deleted.\0A\00"
@.str.7 = [32 x i8] c"The directory %s was modified.\0A\00"
@.str.8 = [27 x i8] c"The file %s was modified.\0A\00"
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 i32
%10 = alloca [40960 x i8]
%11 = alloca %struct.inotify_event*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
%12 = call i32 (...) @inotify_init()
store i32 %12, i32* %8
%13 = load i32, i32* %8
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
br label %17
17: ; preds = %15, %2
%18 = load i32, i32* %8
%19 = load i32, i32* @IN_MODIFY
%20 = load i32, i32* @IN_CREATE
%21 = or i32 %19, %20
%22 = load i32, i32* @IN_DELETE
%23 = or i32 %21, %22
%24 = call i32 @inotify_add_watch(i32 %18, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %23)
store i32 %24, i32* %9
%25 = load i32, i32* %8
%26 = getelementptr inbounds [40960 x i8], [40960 x i8]* %10, i64 0, i64 0
%27 = call i32 @read(i32 %25, i8* %26, i32 40960)
store i32 %27, i32* %6
%28 = load i32, i32* %6
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %17
%31 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
br label %32
32: ; preds = %30, %17
br label %33
33: ; preds = %124, %32
%34 = load i32, i32* %7
%35 = load i32, i32* %6
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %133
37: ; preds = %33
%38 = load i32, i32* %7
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [40960 x i8], [40960 x i8]* %10, i64 0, i64 %39
%41 = bitcast i8* %40 to %struct.inotify_event*
store %struct.inotify_event* %41, %struct.inotify_event** %11
%42 = load %struct.inotify_event*, %struct.inotify_event** %11
%43 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %42, i32 0, i32 2
%44 = load i64, i64* %43
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %124
46: ; preds = %37
%47 = load %struct.inotify_event*, %struct.inotify_event** %11
%48 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %47, i32 0, i32 0
%49 = load i32, i32* %48
%50 = load i32, i32* @IN_CREATE
%51 = and i32 %49, %50
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %71
53: ; preds = %46
%54 = load %struct.inotify_event*, %struct.inotify_event** %11
%55 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %54, i32 0, i32 0
%56 = load i32, i32* %55
%57 = load i32, i32* @IN_ISDIR
%58 = and i32 %56, %57
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %53
%61 = load %struct.inotify_event*, %struct.inotify_event** %11
%62 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %61, i32 0, i32 1
%63 = load i8*, i8** %62
%64 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %63)
br label %70
65: ; preds = %53
%66 = load %struct.inotify_event*, %struct.inotify_event** %11
%67 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %66, i32 0, i32 1
%68 = load i8*, i8** %67
%69 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), i8* %68)
br label %70
70: ; preds = %65, %60
br label %123
71: ; preds = %46
%72 = load %struct.inotify_event*, %struct.inotify_event** %11
%73 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %72, i32 0, i32 0
%74 = load i32, i32* %73
%75 = load i32, i32* @IN_DELETE
%76 = and i32 %74, %75
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %96
78: ; preds = %71
%79 = load %struct.inotify_event*, %struct.inotify_event** %11
%80 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %79, i32 0, i32 0
%81 = load i32, i32* %80
%82 = load i32, i32* @IN_ISDIR
%83 = and i32 %81, %82
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %90
85: ; preds = %78
%86 = load %struct.inotify_event*, %struct.inotify_event** %11
%87 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %86, i32 0, i32 1
%88 = load i8*, i8** %87
%89 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i8* %88)
br label %95
90: ; preds = %78
%91 = load %struct.inotify_event*, %struct.inotify_event** %11
%92 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %91, i32 0, i32 1
%93 = load i8*, i8** %92
%94 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %93)
br label %95
95: ; preds = %90, %85
br label %122
96: ; preds = %71
%97 = load %struct.inotify_event*, %struct.inotify_event** %11
%98 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %97, i32 0, i32 0
%99 = load i32, i32* %98
%100 = load i32, i32* @IN_MODIFY
%101 = and i32 %99, %100
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %121
103: ; preds = %96
%104 = load %struct.inotify_event*, %struct.inotify_event** %11
%105 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %104, i32 0, i32 0
%106 = load i32, i32* %105
%107 = load i32, i32* @IN_ISDIR
%108 = and i32 %106, %107
%109 = icmp ne i32 %108, 0
br i1 %109, label %110, label %115
110: ; preds = %103
%111 = load %struct.inotify_event*, %struct.inotify_event** %11
%112 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %111, i32 0, i32 1
%113 = load i8*, i8** %112
%114 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i8* %113)
br label %120
115: ; preds = %103
%116 = load %struct.inotify_event*, %struct.inotify_event** %11
%117 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %116, i32 0, i32 1
%118 = load i8*, i8** %117
%119 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i8* %118)
br label %120
120: ; preds = %115, %110
br label %121
121: ; preds = %120, %96
br label %122
122: ; preds = %121, %95
br label %123
123: ; preds = %122, %70
br label %124
124: ; preds = %123, %37
%125 = load %struct.inotify_event*, %struct.inotify_event** %11
%126 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %125, i32 0, i32 2
%127 = load i64, i64* %126
%128 = add i64 24, %127
%129 = load i32, i32* %7
%130 = sext i32 %129 to i64
%131 = add i64 %130, %128
%132 = trunc i64 %131 to i32
store i32 %132, i32* %7
br label %33
133: ; preds = %33
%134 = load i32, i32* %8
%135 = load i32, i32* %9
%136 = call i32 @inotify_rm_watch(i32 %134, i32 %135)
%137 = load i32, i32* %8
%138 = call i32 @close(i32 %137)
%139 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [13 x i8] c"inotify_init\00"
@.str.1 = [11 x i8] c"/home/fred\00"
@IN_MODIFY = global i32 0
@IN_CREATE = global i32 0
@IN_DELETE = global i32 0
@.str.2 = [5 x i8] c"read\00"
@IN_ISDIR = global i32 0
@.str.3 = [31 x i8] c"The directory %s was created.\0A\00"
@.str.4 = [26 x i8] c"The file %s was created.\0A\00"
@.str.5 = [31 x i8] c"The directory %s was deleted.\0A\00"
@.str.6 = [26 x i8] c"The file %s was deleted.\0A\00"
@.str.7 = [32 x i8] c"The directory %s was modified.\0A\00"
@.str.8 = [27 x i8] c"The file %s was modified.\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [40960 x i8]
%4 = getelementptr inbounds [40960 x i8], [40960 x i8]* %3, i64 0, i64 0
%5 = tail call i32 (...) @inotify_init()
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
br label %9
9: ; preds = %7, %2
%10 = load i32, i32* @IN_MODIFY
%11 = load i32, i32* @IN_CREATE
%12 = or i32 %11, %10
%13 = load i32, i32* @IN_DELETE
%14 = or i32 %12, %13
%15 = tail call i32 @inotify_add_watch(i32 %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %14)
%16 = call i32 @read(i32 %5, i8* %4, i32 40960)
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %9
%19 = tail call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
br label %82
20: ; preds = %9
%21 = icmp eq i32 %16, 0
br i1 %21, label %82, label %22
22: ; preds = %20, %77
%23 = phi i32 [ %80, %77 ], [ 0, %20 ]
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [40960 x i8], [40960 x i8]* %3, i64 0, i64 %24
%26 = getelementptr inbounds i8, i8* %25, i64 16
%27 = bitcast i8* %26 to i64*
%28 = load i64, i64* %27
%29 = icmp eq i64 %28, 0
br i1 %29, label %77, label %30
30: ; preds = %22
%31 = bitcast i8* %25 to i32*
%32 = load i32, i32* %31
%33 = load i32, i32* @IN_CREATE
%34 = and i32 %33, %32
%35 = icmp eq i32 %34, 0
br i1 %35, label %47, label %36
36: ; preds = %30
%37 = load i32, i32* @IN_ISDIR
%38 = and i32 %37, %32
%39 = icmp eq i32 %38, 0
%40 = getelementptr inbounds i8, i8* %25, i64 8
%41 = bitcast i8* %40 to i8**
%42 = load i8*, i8** %41
br i1 %39, label %45, label %43
43: ; preds = %36
%44 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %42)
br label %77
45: ; preds = %36
%46 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), i8* %42)
br label %77
47: ; preds = %30
%48 = load i32, i32* @IN_DELETE
%49 = and i32 %48, %32
%50 = icmp eq i32 %49, 0
br i1 %50, label %62, label %51
51: ; preds = %47
%52 = load i32, i32* @IN_ISDIR
%53 = and i32 %52, %32
%54 = icmp eq i32 %53, 0
%55 = getelementptr inbounds i8, i8* %25, i64 8
%56 = bitcast i8* %55 to i8**
%57 = load i8*, i8** %56
br i1 %54, label %60, label %58
58: ; preds = %51
%59 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i8* %57)
br label %77
60: ; preds = %51
%61 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %57)
br label %77
62: ; preds = %47
%63 = load i32, i32* @IN_MODIFY
%64 = and i32 %63, %32
%65 = icmp eq i32 %64, 0
br i1 %65, label %77, label %66
66: ; preds = %62
%67 = load i32, i32* @IN_ISDIR
%68 = and i32 %67, %32
%69 = icmp eq i32 %68, 0
%70 = getelementptr inbounds i8, i8* %25, i64 8
%71 = bitcast i8* %70 to i8**
%72 = load i8*, i8** %71
br i1 %69, label %75, label %73
73: ; preds = %66
%74 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i8* %72)
br label %77
75: ; preds = %66
%76 = tail call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i8* %72)
br label %77
77: ; preds = %45, %43, %62, %75, %73, %58, %60, %22
%78 = trunc i64 %28 to i32
%79 = add i32 %23, 24
%80 = add i32 %79, %78
%81 = icmp slt i32 %80, %16
br i1 %81, label %22, label %82
82: ; preds = %77, %18, %20
%83 = tail call i32 @inotify_rm_watch(i32 %5, i32 %15)
%84 = tail call i32 @close(i32 %5)
%85 = tail call i32 @exit(i32 0)
unreachable
}