#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__ wd;
  scalar_t__ cookie;
  int mask;
  scalar_t__ len;
  scalar_t__ name;
};

/* Variables and functions */
int IN_CREATE;
int IN_DELETE_SELF;
int IN_IGNORED;
int IN_ISDIR;
int IN_MOVED_FROM;
int IN_MOVED_TO;
int IN_MOVE_SELF;
int IN_Q_OVERFLOW;
int IN_UNMOUNT;
int /*<<< orphan*/ logMessage(int, char *, ...);
void displayInotifyEvent(struct inotify_event *ev) {
  logMessage(2, "==> wd = %d; ", ev->wd);
  if (ev->cookie > 0)
    logMessage(2, "cookie = %4d; ", ev->cookie);
  logMessage(2, "mask = ");
  if (ev->mask & IN_ISDIR)
    logMessage(2, "IN_ISDIR ");
  if (ev->mask & IN_CREATE)
    logMessage(2, "IN_CREATE ");
  if (ev->mask & IN_DELETE_SELF)
    logMessage(2, "IN_DELETE_SELF ");
  if (ev->mask & IN_MOVE_SELF)
    logMessage(2, "IN_MOVE_SELF ");
  if (ev->mask & IN_MOVED_FROM)
    logMessage(2, "IN_MOVED_FROM ");
  if (ev->mask & IN_MOVED_TO)
    logMessage(2, "IN_MOVED_TO ");
  if (ev->mask & IN_IGNORED)
    logMessage(2, "IN_IGNORED ");
  if (ev->mask & IN_Q_OVERFLOW)
    logMessage(2, "IN_Q_OVERFLOW ");
  if (ev->mask & IN_UNMOUNT)
    logMessage(2, "IN_UNMOUNT ");
  logMessage(2, "\n");
  if (ev->len > 0)
    logMessage(2, "        name = %s\n", ev->name);
}


x86 assembly (clang, -O0):
<displayInotifyEvent>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rdx
mov    $0x2,%edi
lea    0xed1(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
cmpq   $0x0,0x8(%rax)
jle    1160 <displayInotifyEvent+0x50>
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rdx
mov    $0x2,%edi
lea    0xeb5(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    $0x2,%edi
lea    0xeb1(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2e57(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     119f <displayInotifyEvent+0x8f>
mov    $0x2,%edi
lea    0xe8d(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2dfb(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     11cb <displayInotifyEvent+0xbb>
mov    $0x2,%edi
lea    0xe6b(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2dbf(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     11f7 <displayInotifyEvent+0xe7>
mov    $0x2,%edi
lea    0xe4a(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2dab(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1223 <displayInotifyEvent+0x113>
mov    $0x2,%edi
lea    0xe2e(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d87(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     124f <displayInotifyEvent+0x13f>
mov    $0x2,%edi
lea    0xe10(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d6b(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     127b <displayInotifyEvent+0x16b>
mov    $0x2,%edi
lea    0xdf3(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d6f(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12a7 <displayInotifyEvent+0x197>
mov    $0x2,%edi
lea    0xdd4(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d0b(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12d3 <displayInotifyEvent+0x1c3>
mov    $0x2,%edi
lea    0xdb4(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2cff(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12ff <displayInotifyEvent+0x1ef>
mov    $0x2,%edi
lea    0xd97(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    $0x2,%edi
lea    0xda1(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
mov    -0x8(%rbp),%rax
cmpq   $0x0,0x18(%rax)
jle    133c <displayInotifyEvent+0x22c>
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%rdx
mov    $0x2,%edi
lea    0xd66(%rip),%rsi
mov    $0x0,%al
call   1030 <logMessage@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<displayInotifyEvent>:
push   %rbx
mov    %rdi,%rbx
mov    (%rdi),%rdx
lea    0xee2(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x8(%rbx),%rdx
test   %rdx,%rdx
jle    1146 <displayInotifyEvent+0x36>
lea    0xed4(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
lea    0xed0(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2e75(%rip),%rcx
test   %eax,(%rcx)
je     117d <displayInotifyEvent+0x6d>
lea    0xeb7(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2e24(%rip),%rcx
test   %eax,(%rcx)
je     119e <displayInotifyEvent+0x8e>
lea    0xea0(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2df3(%rip),%rcx
test   %eax,(%rcx)
je     11bf <displayInotifyEvent+0xaf>
lea    0xe8a(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2dea(%rip),%rcx
test   %eax,(%rcx)
je     11e0 <displayInotifyEvent+0xd0>
lea    0xe79(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2dd1(%rip),%rcx
test   %eax,(%rcx)
je     1201 <displayInotifyEvent+0xf1>
lea    0xe66(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2dc0(%rip),%rcx
test   %eax,(%rcx)
je     1222 <displayInotifyEvent+0x112>
lea    0xe54(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2dcf(%rip),%rcx
test   %eax,(%rcx)
je     1243 <displayInotifyEvent+0x133>
lea    0xe40(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2d76(%rip),%rcx
test   %eax,(%rcx)
je     1264 <displayInotifyEvent+0x154>
lea    0xe2b(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
mov    0x10(%rbx),%eax
mov    0x2d75(%rip),%rcx
test   %eax,(%rcx)
je     1282 <displayInotifyEvent+0x172>
lea    0xe19(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
lea    0xe23(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1030 <logMessage@plt>
cmpq   $0x0,0x18(%rbx)
jle    12b4 <displayInotifyEvent+0x1a4>
mov    0x20(%rbx),%rdx
lea    0xdf4(%rip),%rsi
mov    $0x2,%edi
xor    %eax,%eax
pop    %rbx
jmp    1030 <logMessage@plt>
pop    %rbx
ret

LLVM IR (-O0):
%struct.inotify_event = type { i64, i64, i32, i64, i64 }
@.str = [14 x i8] c"==> wd = %d; \00"
@.str.1 = [15 x i8] c"cookie = %4d; \00"
@.str.2 = [8 x i8] c"mask = \00"
@IN_ISDIR = global i32 0
@.str.3 = [10 x i8] c"IN_ISDIR \00"
@IN_CREATE = global i32 0
@.str.4 = [11 x i8] c"IN_CREATE \00"
@IN_DELETE_SELF = global i32 0
@.str.5 = [16 x i8] c"IN_DELETE_SELF \00"
@IN_MOVE_SELF = global i32 0
@.str.6 = [14 x i8] c"IN_MOVE_SELF \00"
@IN_MOVED_FROM = global i32 0
@.str.7 = [15 x i8] c"IN_MOVED_FROM \00"
@IN_MOVED_TO = global i32 0
@.str.8 = [13 x i8] c"IN_MOVED_TO \00"
@IN_IGNORED = global i32 0
@.str.9 = [12 x i8] c"IN_IGNORED \00"
@IN_Q_OVERFLOW = global i32 0
@.str.10 = [15 x i8] c"IN_Q_OVERFLOW \00"
@IN_UNMOUNT = global i32 0
@.str.11 = [12 x i8] c"IN_UNMOUNT \00"
@.str.12 = [2 x i8] c"\0A\00"
@.str.13 = [19 x i8] c" name = %s\0A\00"
define void @displayInotifyEvent(%struct.inotify_event* %0) {
%2 = alloca %struct.inotify_event*
store %struct.inotify_event* %0, %struct.inotify_event** %2
%3 = load %struct.inotify_event*, %struct.inotify_event** %2
%4 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %3, i32 0, i32 0
%5 = load i64, i64* %4
%6 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i64 %5)
%7 = load %struct.inotify_event*, %struct.inotify_event** %2
%8 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %7, i32 0, i32 1
%9 = load i64, i64* %8
%10 = icmp sgt i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %1
%12 = load %struct.inotify_event*, %struct.inotify_event** %2
%13 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %12, i32 0, i32 1
%14 = load i64, i64* %13
%15 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %14)
br label %16
16: ; preds = %11, %1
%17 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%18 = load %struct.inotify_event*, %struct.inotify_event** %2
%19 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %18, i32 0, i32 2
%20 = load i32, i32* %19
%21 = load i32, i32* @IN_ISDIR
%22 = and i32 %20, %21
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %26
26: ; preds = %24, %16
%27 = load %struct.inotify_event*, %struct.inotify_event** %2
%28 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %27, i32 0, i32 2
%29 = load i32, i32* %28
%30 = load i32, i32* @IN_CREATE
%31 = and i32 %29, %30
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
br label %35
35: ; preds = %33, %26
%36 = load %struct.inotify_event*, %struct.inotify_event** %2
%37 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %36, i32 0, i32 2
%38 = load i32, i32* %37
%39 = load i32, i32* @IN_DELETE_SELF
%40 = and i32 %38, %39
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %35
%43 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
br label %44
44: ; preds = %42, %35
%45 = load %struct.inotify_event*, %struct.inotify_event** %2
%46 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %45, i32 0, i32 2
%47 = load i32, i32* %46
%48 = load i32, i32* @IN_MOVE_SELF
%49 = and i32 %47, %48
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %44
%52 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
br label %53
53: ; preds = %51, %44
%54 = load %struct.inotify_event*, %struct.inotify_event** %2
%55 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %54, i32 0, i32 2
%56 = load i32, i32* %55
%57 = load i32, i32* @IN_MOVED_FROM
%58 = and i32 %56, %57
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %53
%61 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
br label %62
62: ; preds = %60, %53
%63 = load %struct.inotify_event*, %struct.inotify_event** %2
%64 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %63, i32 0, i32 2
%65 = load i32, i32* %64
%66 = load i32, i32* @IN_MOVED_TO
%67 = and i32 %65, %66
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %62
%70 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
br label %71
71: ; preds = %69, %62
%72 = load %struct.inotify_event*, %struct.inotify_event** %2
%73 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %72, i32 0, i32 2
%74 = load i32, i32* %73
%75 = load i32, i32* @IN_IGNORED
%76 = and i32 %74, %75
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %71
%79 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
br label %80
80: ; preds = %78, %71
%81 = load %struct.inotify_event*, %struct.inotify_event** %2
%82 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %81, i32 0, i32 2
%83 = load i32, i32* %82
%84 = load i32, i32* @IN_Q_OVERFLOW
%85 = and i32 %83, %84
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %80
%88 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
br label %89
89: ; preds = %87, %80
%90 = load %struct.inotify_event*, %struct.inotify_event** %2
%91 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %90, i32 0, i32 2
%92 = load i32, i32* %91
%93 = load i32, i32* @IN_UNMOUNT
%94 = and i32 %92, %93
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %89
%97 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %98
98: ; preds = %96, %89
%99 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%100 = load %struct.inotify_event*, %struct.inotify_event** %2
%101 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %100, i32 0, i32 3
%102 = load i64, i64* %101
%103 = icmp sgt i64 %102, 0
br i1 %103, label %104, label %109
104: ; preds = %98
%105 = load %struct.inotify_event*, %struct.inotify_event** %2
%106 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %105, i32 0, i32 4
%107 = load i64, i64* %106
%108 = call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), i64 %107)
br label %109
109: ; preds = %104, %98
ret void
}

LLVM IR (-O2):
%struct.inotify_event = type { i64, i64, i32, i64, i64 }
@.str = [14 x i8] c"==> wd = %d; \00"
@.str.1 = [15 x i8] c"cookie = %4d; \00"
@.str.2 = [8 x i8] c"mask = \00"
@IN_ISDIR = global i32 0
@.str.3 = [10 x i8] c"IN_ISDIR \00"
@IN_CREATE = global i32 0
@.str.4 = [11 x i8] c"IN_CREATE \00"
@IN_DELETE_SELF = global i32 0
@.str.5 = [16 x i8] c"IN_DELETE_SELF \00"
@IN_MOVE_SELF = global i32 0
@.str.6 = [14 x i8] c"IN_MOVE_SELF \00"
@IN_MOVED_FROM = global i32 0
@.str.7 = [15 x i8] c"IN_MOVED_FROM \00"
@IN_MOVED_TO = global i32 0
@.str.8 = [13 x i8] c"IN_MOVED_TO \00"
@IN_IGNORED = global i32 0
@.str.9 = [12 x i8] c"IN_IGNORED \00"
@IN_Q_OVERFLOW = global i32 0
@.str.10 = [15 x i8] c"IN_Q_OVERFLOW \00"
@IN_UNMOUNT = global i32 0
@.str.11 = [12 x i8] c"IN_UNMOUNT \00"
@.str.12 = [2 x i8] c"\0A\00"
@.str.13 = [19 x i8] c" name = %s\0A\00"
define void @displayInotifyEvent(%struct.inotify_event* nocapture %0) {
%2 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %0, i64 0, i32 0
%3 = load i64, i64* %2
%4 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i64 %3)
%5 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %0, i64 0, i32 1
%6 = load i64, i64* %5
%7 = icmp sgt i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %6)
br label %10
10: ; preds = %8, %1
%11 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%12 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %0, i64 0, i32 2
%13 = load i32, i32* %12
%14 = load i32, i32* @IN_ISDIR
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %10
%18 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%19 = load i32, i32* %12
br label %20
20: ; preds = %17, %10
%21 = phi i32 [ %19, %17 ], [ %13, %10 ]
%22 = load i32, i32* @IN_CREATE
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%27 = load i32, i32* %12
br label %28
28: ; preds = %25, %20
%29 = phi i32 [ %27, %25 ], [ %21, %20 ]
%30 = load i32, i32* @IN_DELETE_SELF
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %28
%34 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%35 = load i32, i32* %12
br label %36
36: ; preds = %33, %28
%37 = phi i32 [ %35, %33 ], [ %29, %28 ]
%38 = load i32, i32* @IN_MOVE_SELF
%39 = and i32 %38, %37
%40 = icmp eq i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %36
%42 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
%43 = load i32, i32* %12
br label %44
44: ; preds = %41, %36
%45 = phi i32 [ %43, %41 ], [ %37, %36 ]
%46 = load i32, i32* @IN_MOVED_FROM
%47 = and i32 %46, %45
%48 = icmp eq i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %44
%50 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
%51 = load i32, i32* %12
br label %52
52: ; preds = %49, %44
%53 = phi i32 [ %51, %49 ], [ %45, %44 ]
%54 = load i32, i32* @IN_MOVED_TO
%55 = and i32 %54, %53
%56 = icmp eq i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %52
%58 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%59 = load i32, i32* %12
br label %60
60: ; preds = %57, %52
%61 = phi i32 [ %59, %57 ], [ %53, %52 ]
%62 = load i32, i32* @IN_IGNORED
%63 = and i32 %62, %61
%64 = icmp eq i32 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %60
%66 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%67 = load i32, i32* %12
br label %68
68: ; preds = %65, %60
%69 = phi i32 [ %67, %65 ], [ %61, %60 ]
%70 = load i32, i32* @IN_Q_OVERFLOW
%71 = and i32 %70, %69
%72 = icmp eq i32 %71, 0
br i1 %72, label %76, label %73
73: ; preds = %68
%74 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
%75 = load i32, i32* %12
br label %76
76: ; preds = %73, %68
%77 = phi i32 [ %75, %73 ], [ %69, %68 ]
%78 = load i32, i32* @IN_UNMOUNT
%79 = and i32 %78, %77
%80 = icmp eq i32 %79, 0
br i1 %80, label %83, label %81
81: ; preds = %76
%82 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %83
83: ; preds = %81, %76
%84 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%85 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %0, i64 0, i32 3
%86 = load i64, i64* %85
%87 = icmp sgt i64 %86, 0
br i1 %87, label %88, label %92
88: ; preds = %83
%89 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %0, i64 0, i32 4
%90 = load i64, i64* %89
%91 = tail call i32 (i32, i8*, ...) @logMessage(i32 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), i64 %90)
br label %92
92: ; preds = %88, %83
ret void
}