#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 {
  scalar_t__ len;
};
typedef int ssize_t;

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ IN_ALL_EVENTS;
int NAME_MAX;
int /*<<< orphan*/ display_events(struct inotify_event *);
int errno;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int inotify_add_watch(int, char *, int /*<<< orphan*/);
int inotify_init();
int /*<<< orphan*/ printf(char *, ...);
int read(int, char *, int);
int /*<<< orphan*/ stderr;
char *strerror(int);
int main(int argc, char *argv[]) {
  int intf_fd, i, wd;
  ssize_t nread;
  char buf[512 * (sizeof(struct inotify_event) + 13)];
  char *p;
  struct inotify_event *event;
  if (argc < 2) {
    fprintf(stderr, "Usage: %s <pathname,...>\n", argv[0]);
    exit(EXIT_FAILURE);
  }
  intf_fd = inotify_init();
  if (intf_fd == -1) {
    fprintf(stderr, "Err: %d inotify_init(); %s\n", errno, strerror(errno));
    exit(EXIT_FAILURE);
  }
  for (i = 1; i < argc; i++) {
    wd = inotify_add_watch(intf_fd, argv[i], IN_ALL_EVENTS);
    if (wd == -1) {
      fprintf(stderr, "Usage: %s <pathname,...>\n", argv[0]);
      exit(EXIT_FAILURE);
    }
    printf("Wathing %s using watch descriptor (wd) %d\n", argv[i], wd);
  }
  while (1) {
    nread = read(intf_fd, buf,
                 (10 * (sizeof(struct inotify_event) + NAME_MAX + 1)));
    if (nread == 0) {
      fprintf(stderr, "returned 0 from inotify read(), it's not good\n");
      exit(EXIT_FAILURE);
    }
    if (nread == -1) {
      fprintf(stderr, "Err. %d read(); %s\n", errno, strerror(errno));
      exit(EXIT_FAILURE);
    }
    printf("Read %ld bytes from inotify fd\n", (long)nread);
    for (p = buf; p < (buf + nread);) {
      event = (struct inotify_event *)p;
      display_events(event);
      p += sizeof(struct inotify_event) + event->len;
    }
  }
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2a40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11cf <main+0x4f>
mov    0x2e36(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe46(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2e08(%rip),%rax
mov    (%rax),%edi
call   1080 <exit@plt>
mov    $0x0,%al
call   1060 <inotify_init@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    123a <main+0xba>
mov    0x2df6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x2a38(%rbp)
mov    0x2ddf(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x2a34(%rbp)
mov    0x2dd0(%rip),%rax
mov    (%rax),%edi
call   10a0 <strerror@plt>
mov    -0x2a38(%rbp),%edi
mov    -0x2a34(%rbp),%edx
mov    %rax,%rcx
lea    0xdf5(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2d9d(%rip),%rax
mov    (%rax),%edi
call   1080 <exit@plt>
movl   $0x1,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12ce <main+0x14e>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    0x2d65(%rip),%rax
mov    (%rax),%edx
call   1070 <inotify_add_watch@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0xffffffff,-0x1c(%rbp)
jne    12a3 <main+0x123>
mov    0x2d62(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xd72(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2d34(%rip),%rax
mov    (%rax),%edi
call   1080 <exit@plt>
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    -0x1c(%rbp),%edx
lea    0xd7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1241 <main+0xc1>
jmp    12d3 <main+0x153>
mov    -0x14(%rbp),%edi
lea    -0x2a20(%rbp),%rsi
mov    0x2cd4(%rip),%rax
movslq (%rax),%rax
add    $0x8,%rax
add    $0x1,%rax
imul   $0xa,%rax,%rax
mov    %eax,%edx
call   1040 <read@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
jne    132c <main+0x1ac>
mov    0x2cd2(%rip),%rax
mov    (%rax),%edi
lea    0xd4a(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2cab(%rip),%rax
mov    (%rax),%edi
call   1080 <exit@plt>
cmpl   $0xffffffff,-0x20(%rbp)
jne    138d <main+0x20d>
mov    0x2ca3(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x2a40(%rbp)
mov    0x2c8c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x2a3c(%rbp)
mov    0x2c7d(%rip),%rax
mov    (%rax),%edi
call   10a0 <strerror@plt>
mov    -0x2a40(%rbp),%edi
mov    -0x2a3c(%rbp),%edx
mov    %rax,%rcx
lea    0xd18(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2c4a(%rip),%rax
mov    (%rax),%edi
call   1080 <exit@plt>
movslq -0x20(%rbp),%rsi
lea    0xd0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x2a20(%rbp),%rax
mov    %rax,-0x2a28(%rbp)
mov    -0x2a28(%rbp),%rax
lea    -0x2a20(%rbp),%rcx
movslq -0x20(%rbp),%rdx
add    %rdx,%rcx
cmp    %rcx,%rax
jae    1406 <main+0x286>
mov    -0x2a28(%rbp),%rax
mov    %rax,-0x2a30(%rbp)
mov    -0x2a30(%rbp),%rdi
call   1090 <display_events@plt>
mov    -0x2a30(%rbp),%rax
mov    (%rax),%rax
add    $0x8,%rax
add    -0x2a28(%rbp),%rax
mov    %rax,-0x2a28(%rbp)
jmp    13ad <main+0x22d>
jmp    12d3 <main+0x153>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2a08,%rsp
mov    %rsi,%rbx
cmp    $0x1,%edi
jg     11b8 <main+0x38>
mov    0x2e40(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xe54(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    12e7 <main+0x167>
mov    %edi,%r14d
xor    %eax,%eax
call   1060 <inotify_init@plt>
cmp    $0xffffffff,%eax
jne    11ec <main+0x6c>
mov    0x2e12(%rip),%rax
mov    (%rax),%ebx
mov    0x2e01(%rip),%rax
mov    (%rax),%ebp
mov    %ebp,%edi
call   10a0 <strerror@plt>
lea    0xe33(%rip),%rsi
jmp    12d9 <main+0x159>
mov    %eax,%r12d
mov    %r14d,%r15d
mov    $0x1,%ebp
mov    0x2dca(%rip),%r13
lea    0xe31(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%rbx,%rbp,8),%rsi
mov    0x0(%r13),%edx
mov    %r12d,%edi
call   1070 <inotify_add_watch@plt>
cmp    $0xffffffff,%eax
je     1199 <main+0x19>
mov    (%rbx,%rbp,8),%rsi
mov    %r14,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    1210 <main+0x90>
mov    0x2d6f(%rip),%r13
mov    %rsp,%r15
lea    0xe51(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x0(%r13),%eax
lea    (%rax,%rax,4),%eax
lea    (%rax,%rax,1),%edx
add    $0x5a,%edx
mov    %r12d,%edi
mov    %r15,%rsi
call   1040 <read@plt>
cmp    $0xffffffff,%eax
je     12b9 <main+0x139>
mov    %eax,%ebx
test   %eax,%eax
je     12f5 <main+0x175>
movslq %ebx,%rbp
mov    %r14,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   %ebx,%ebx
jle    1260 <main+0xe0>
add    %rsp,%rbp
mov    %r15,%rbx
nopl   (%rax)
mov    %rbx,%rdi
call   1090 <display_events@plt>
mov    (%rbx),%rax
add    %rax,%rbx
add    $0x8,%rbx
cmp    %rbp,%rbx
jb     12a0 <main+0x120>
jmp    1260 <main+0xe0>
mov    0x2d20(%rip),%rax
mov    (%rax),%ebx
mov    0x2d0f(%rip),%rax
mov    (%rax),%ebp
mov    %ebp,%edi
call   10a0 <strerror@plt>
lea    0xdb7(%rip),%rsi
mov    %ebx,%edi
mov    %ebp,%edx
mov    %rax,%rcx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x2ce2(%rip),%rax
mov    (%rax),%edi
call   1080 <exit@plt>
mov    0x2ce4(%rip),%rax
mov    (%rax),%edi
lea    0xd5c(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    12e7 <main+0x167>

LLVM IR (-O0):
%struct.inotify_event = type { i64 }
@stderr = global i32 0
@.str = [26 x i8] c"Usage: %s <pathname,...>\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [28 x i8] c"Err: %d inotify_init(); %s\0A\00"
@errno = global i32 0
@IN_ALL_EVENTS = global i32 0
@.str.2 = [43 x i8] c"Wathing %s using watch descriptor (wd) %d\0A\00"
@NAME_MAX = global i32 0
@.str.3 = [47 x i8] c"returned 0 from inotify read(), it's not good\0A\00"
@.str.4 = [20 x i8] c"Err. %d read(); %s\0A\00"
@.str.5 = [32 x i8] c"Read %ld bytes from inotify fd\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 i32
%10 = alloca [10752 x i8]
%11 = alloca i8*
%12 = alloca %struct.inotify_event*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = load i32, i32* %4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load i32, i32* @stderr
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 0
%19 = load i8*, i8** %18
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i8* %19)
%21 = load i32, i32* @EXIT_FAILURE
%22 = call i32 @exit(i32 %21)
unreachable
23: ; preds = %2
%24 = call i32 (...) @inotify_init()
store i32 %24, i32* %6
%25 = load i32, i32* %6
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load i32, i32* @stderr
%29 = load i32, i32* @errno
%30 = load i32, i32* @errno
%31 = call i8* @strerror(i32 %30)
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 %29, i8* %31)
%33 = load i32, i32* @EXIT_FAILURE
%34 = call i32 @exit(i32 %33)
unreachable
35: ; preds = %23
store i32 1, i32* %7
br label %36
36: ; preds = %67, %35
%37 = load i32, i32* %7
%38 = load i32, i32* %4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %70
40: ; preds = %36
%41 = load i32, i32* %6
%42 = load i8**, i8*** %5
%43 = load i32, i32* %7
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8*, i8** %42, i64 %44
%46 = load i8*, i8** %45
%47 = load i32, i32* @IN_ALL_EVENTS
%48 = call i32 @inotify_add_watch(i32 %41, i8* %46, i32 %47)
store i32 %48, i32* %8
%49 = load i32, i32* %8
%50 = icmp eq i32 %49, -1
br i1 %50, label %51, label %59
51: ; preds = %40
%52 = load i32, i32* @stderr
%53 = load i8**, i8*** %5
%54 = getelementptr inbounds i8*, i8** %53, i64 0
%55 = load i8*, i8** %54
%56 = call i32 (i32, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i8* %55)
%57 = load i32, i32* @EXIT_FAILURE
%58 = call i32 @exit(i32 %57)
unreachable
59: ; preds = %40
%60 = load i8**, i8*** %5
%61 = load i32, i32* %7
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8*, i8** %60, i64 %62
%64 = load i8*, i8** %63
%65 = load i32, i32* %8
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i8* %64, i32 %65)
br label %67
67: ; preds = %59
%68 = load i32, i32* %7
%69 = add nsw i32 %68, 1
store i32 %69, i32* %7
br label %36
70: ; preds = %36
br label %71
71: ; preds = %70, %122
%72 = load i32, i32* %6
%73 = getelementptr inbounds [10752 x i8], [10752 x i8]* %10, i64 0, i64 0
%74 = load i32, i32* @NAME_MAX
%75 = sext i32 %74 to i64
%76 = add i64 8, %75
%77 = add i64 %76, 1
%78 = mul i64 10, %77
%79 = trunc i64 %78 to i32
%80 = call i32 @read(i32 %72, i8* %73, i32 %79)
store i32 %80, i32* %9
%81 = load i32, i32* %9
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %88
83: ; preds = %71
%84 = load i32, i32* @stderr
%85 = call i32 (i32, i8*, ...) @fprintf(i32 %84, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%86 = load i32, i32* @EXIT_FAILURE
%87 = call i32 @exit(i32 %86)
unreachable
88: ; preds = %71
%89 = load i32, i32* %9
%90 = icmp eq i32 %89, -1
br i1 %90, label %91, label %99
91: ; preds = %88
%92 = load i32, i32* @stderr
%93 = load i32, i32* @errno
%94 = load i32, i32* @errno
%95 = call i8* @strerror(i32 %94)
%96 = call i32 (i32, i8*, ...) @fprintf(i32 %92, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %93, i8* %95)
%97 = load i32, i32* @EXIT_FAILURE
%98 = call i32 @exit(i32 %97)
unreachable
99: ; preds = %88
%100 = load i32, i32* %9
%101 = sext i32 %100 to i64
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i64 %101)
%103 = getelementptr inbounds [10752 x i8], [10752 x i8]* %10, i64 0, i64 0
store i8* %103, i8** %11
br label %104
104: ; preds = %111, %99
%105 = load i8*, i8** %11
%106 = getelementptr inbounds [10752 x i8], [10752 x i8]* %10, i64 0, i64 0
%107 = load i32, i32* %9
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8, i8* %106, i64 %108
%110 = icmp ult i8* %105, %109
br i1 %110, label %111, label %122
111: ; preds = %104
%112 = load i8*, i8** %11
%113 = bitcast i8* %112 to %struct.inotify_event*
store %struct.inotify_event* %113, %struct.inotify_event** %12
%114 = load %struct.inotify_event*, %struct.inotify_event** %12
%115 = call i32 @display_events(%struct.inotify_event* %114)
%116 = load %struct.inotify_event*, %struct.inotify_event** %12
%117 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %116, i32 0, i32 0
%118 = load i64, i64* %117
%119 = add i64 8, %118
%120 = load i8*, i8** %11
%121 = getelementptr inbounds i8, i8* %120, i64 %119
store i8* %121, i8** %11
br label %104
122: ; preds = %104
br label %71
}

LLVM IR (-O2):
%struct.inotify_event = type { i64 }
@stderr = global i32 0
@.str = [26 x i8] c"Usage: %s <pathname,...>\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [28 x i8] c"Err: %d inotify_init(); %s\0A\00"
@errno = global i32 0
@IN_ALL_EVENTS = global i32 0
@.str.2 = [43 x i8] c"Wathing %s using watch descriptor (wd) %d\0A\00"
@NAME_MAX = global i32 0
@.str.3 = [47 x i8] c"returned 0 from inotify read(), it's not good\0A\00"
@.str.4 = [20 x i8] c"Err. %d read(); %s\0A\00"
@.str.5 = [32 x i8] c"Read %ld bytes from inotify fd\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [10752 x i8]
%4 = getelementptr inbounds [10752 x i8], [10752 x i8]* %3, i64 0, i64 0
%5 = icmp slt i32 %0, 2
br i1 %5, label %6, label %12
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = load i8*, i8** %1
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = load i32, i32* @EXIT_FAILURE
%11 = tail call i32 @exit(i32 %10)
unreachable
12: ; preds = %2
%13 = tail call i32 (...) @inotify_init()
%14 = icmp eq i32 %13, -1
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = zext i32 %0 to i64
br label %24
17: ; preds = %12
%18 = load i32, i32* @stderr
%19 = load i32, i32* @errno
%20 = tail call i8* @strerror(i32 %19)
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 %19, i8* %20)
%22 = load i32, i32* @EXIT_FAILURE
%23 = tail call i32 @exit(i32 %22)
unreachable
24: ; preds = %15, %37
%25 = phi i64 [ 1, %15 ], [ %40, %37 ]
%26 = getelementptr inbounds i8*, i8** %1, i64 %25
%27 = load i8*, i8** %26
%28 = load i32, i32* @IN_ALL_EVENTS
%29 = tail call i32 @inotify_add_watch(i32 %13, i8* %27, i32 %28)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %37
31: ; preds = %24
%32 = load i32, i32* @stderr
%33 = load i8*, i8** %1
%34 = tail call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i8* %33)
%35 = load i32, i32* @EXIT_FAILURE
%36 = tail call i32 @exit(i32 %35)
unreachable
37: ; preds = %24
%38 = load i8*, i8** %26
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i8* %38, i32 %29)
%40 = add nuw nsw i64 %25, 1
%41 = icmp eq i64 %40, %16
br i1 %41, label %42, label %24
42: ; preds = %37, %64
%43 = load i32, i32* @NAME_MAX
%44 = mul i32 %43, 10
%45 = add i32 %44, 90
%46 = call i32 @read(i32 %13, i8* %4, i32 %45)
switch i32 %46, label %59 [
i32 0, label %47
i32 -1, label %52
]
47: ; preds = %42
%48 = load i32, i32* @stderr
%49 = call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%50 = load i32, i32* @EXIT_FAILURE
%51 = call i32 @exit(i32 %50)
unreachable
52: ; preds = %42
%53 = load i32, i32* @stderr
%54 = load i32, i32* @errno
%55 = call i8* @strerror(i32 %54)
%56 = call i32 (i32, i8*, ...) @fprintf(i32 %53, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %54, i8* %55)
%57 = load i32, i32* @EXIT_FAILURE
%58 = call i32 @exit(i32 %57)
unreachable
59: ; preds = %42
%60 = sext i32 %46 to i64
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i64 %60)
%62 = getelementptr inbounds [10752 x i8], [10752 x i8]* %3, i64 0, i64 %60
%63 = icmp sgt i32 %46, 0
br i1 %63, label %65, label %64
64: ; preds = %65, %59
br label %42
65: ; preds = %59, %65
%66 = phi i8* [ %72, %65 ], [ %4, %59 ]
%67 = bitcast i8* %66 to %struct.inotify_event*
%68 = call i32 @display_events(%struct.inotify_event* %67)
%69 = bitcast i8* %66 to i64*
%70 = load i64, i64* %69
%71 = add i64 %70, 8
%72 = getelementptr inbounds i8, i8* %66, i64 %71
%73 = icmp ult i8* %72, %62
br i1 %73, label %65, label %64
}