#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_ACCESS;
int IN_ATTRIB;
int IN_CLOSE_NOWRITE;
int IN_CLOSE_WRITE;
int IN_CREATE;
int IN_DELETE;
int IN_DELETE_SELF;
int IN_IGNORED;
int IN_ISDIR;
int IN_MODIFY;
int IN_MOVED_FROM;
int IN_MOVED_TO;
int IN_MOVE_SELF;
int IN_OPEN;
int IN_Q_OVERFLOW;
int IN_UNMOUNT;
int /*<<< orphan*/ printf(char *, ...);
void displayInotifyEvent(struct inotify_event *i) {
  printf("    wd =%2d; ", i->wd);
  if (i->cookie > 0)
    printf("cookie =%4d; ", i->cookie);
  printf("mask = ");
  if (i->mask & IN_ACCESS)
    printf("IN_ACCESS ");
  if (i->mask & IN_ATTRIB)
    printf("IN_ATTRIB ");
  if (i->mask & IN_CLOSE_NOWRITE)
    printf("IN_CLOSE_NOWRITE ");
  if (i->mask & IN_CLOSE_WRITE)
    printf("IN_CLOSE_WRITE ");
  if (i->mask & IN_CREATE)
    printf("IN_CREATE ");
  if (i->mask & IN_DELETE)
    printf("IN_DELETE ");
  if (i->mask & IN_DELETE_SELF)
    printf("IN_DELETE_SELF ");
  if (i->mask & IN_IGNORED)
    printf("IN_IGNORED ");
  if (i->mask & IN_ISDIR)
    printf("IN_ISDIR ");
  if (i->mask & IN_MODIFY)
    printf("IN_MODIFY ");
  if (i->mask & IN_MOVE_SELF)
    printf("IN_MOVE_SELF ");
  if (i->mask & IN_MOVED_FROM)
    printf("IN_MOVED_FROM ");
  if (i->mask & IN_MOVED_TO)
    printf("IN_MOVED_TO ");
  if (i->mask & IN_OPEN)
    printf("IN_OPEN ");
  if (i->mask & IN_Q_OVERFLOW)
    printf("IN_Q_OVERFLOW ");
  if (i->mask & IN_UNMOUNT)
    printf("IN_UNMOUNT ");
  printf("\n");
  if (i->len > 0)
    printf("        name = %s\n", i->name);
}


x86 assembly (clang, -O0):
<displayInotifyEvent>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rsi
lea    0xed6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmpq   $0x0,0x8(%rax)
jle    1156 <displayInotifyEvent+0x46>
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xebf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2e2e(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     118b <displayInotifyEvent+0x7b>
lea    0xea0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2e3f(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     11b2 <displayInotifyEvent+0xa2>
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2e10(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     11d9 <displayInotifyEvent+0xc9>
lea    0xe68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2de1(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1200 <displayInotifyEvent+0xf0>
lea    0xe53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d6a(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1227 <displayInotifyEvent+0x117>
lea    0xe3c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d8b(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     124e <displayInotifyEvent+0x13e>
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d04(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1275 <displayInotifyEvent+0x165>
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d75(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     129c <displayInotifyEvent+0x18c>
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d06(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12c3 <displayInotifyEvent+0x1b3>
lea    0xdd2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2d17(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12ea <displayInotifyEvent+0x1da>
lea    0xdb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2c88(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1311 <displayInotifyEvent+0x201>
lea    0xd99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2c69(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1338 <displayInotifyEvent+0x228>
lea    0xd80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2c52(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     135f <displayInotifyEvent+0x24f>
lea    0xd68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2bfb(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1386 <displayInotifyEvent+0x276>
lea    0xd4e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2bfc(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     13ad <displayInotifyEvent+0x29d>
lea    0xd30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
mov    0x2bfd(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     13d4 <displayInotifyEvent+0x2c4>
lea    0xd18(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmpq   $0x0,0x18(%rax)
jle    1407 <displayInotifyEvent+0x2f7>
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%rsi
lea    0xcf1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<displayInotifyEvent>:
push   %rbx
mov    %rdi,%rbx
mov    (%rdi),%rsi
lea    0xed2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%rsi
test   %rsi,%rsi
jle    114c <displayInotifyEvent+0x2c>
lea    0xec9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2e3c(%rip),%rcx
test   %eax,(%rcx)
je     1179 <displayInotifyEvent+0x59>
lea    0xeb5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2e58(%rip),%rcx
test   %eax,(%rcx)
je     1195 <displayInotifyEvent+0x75>
lea    0xea4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2e34(%rip),%rcx
test   %eax,(%rcx)
je     11b1 <displayInotifyEvent+0x91>
lea    0xe93(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2e10(%rip),%rcx
test   %eax,(%rcx)
je     11cd <displayInotifyEvent+0xad>
lea    0xe89(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2da4(%rip),%rcx
test   %eax,(%rcx)
je     11e9 <displayInotifyEvent+0xc9>
lea    0xe7d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2dd0(%rip),%rcx
test   %eax,(%rcx)
je     1205 <displayInotifyEvent+0xe5>
lea    0xe6c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2d54(%rip),%rcx
test   %eax,(%rcx)
je     1221 <displayInotifyEvent+0x101>
lea    0xe5b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2dd0(%rip),%rcx
test   %eax,(%rcx)
je     123d <displayInotifyEvent+0x11d>
lea    0xe4f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2d6c(%rip),%rcx
test   %eax,(%rcx)
je     1259 <displayInotifyEvent+0x139>
lea    0xe3f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2d88(%rip),%rcx
test   %eax,(%rcx)
je     1275 <displayInotifyEvent+0x155>
lea    0xe2d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2d04(%rip),%rcx
test   %eax,(%rcx)
je     1291 <displayInotifyEvent+0x171>
lea    0xe1c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2cf0(%rip),%rcx
test   %eax,(%rcx)
je     12ad <displayInotifyEvent+0x18d>
lea    0xe0e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2ce4(%rip),%rcx
test   %eax,(%rcx)
je     12c9 <displayInotifyEvent+0x1a9>
lea    0xe01(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2c98(%rip),%rcx
test   %eax,(%rcx)
je     12e5 <displayInotifyEvent+0x1c5>
lea    0xdf2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2ca4(%rip),%rcx
test   %eax,(%rcx)
je     1301 <displayInotifyEvent+0x1e1>
lea    0xddf(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%eax
mov    0x2cb0(%rip),%rcx
test   %eax,(%rcx)
je     131a <displayInotifyEvent+0x1fa>
lea    0xdd2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpq   $0x0,0x18(%rbx)
jle    133e <displayInotifyEvent+0x21e>
mov    0x20(%rbx),%rsi
lea    0xdbb(%rip),%rdi
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>
pop    %rbx
ret

LLVM IR (-O0):
%struct.inotify_event = type { i64, i64, i32, i64, i64 }
@.str = [14 x i8] c" wd =%2d; \00"
@.str.1 = [14 x i8] c"cookie =%4d; \00"
@.str.2 = [8 x i8] c"mask = \00"
@IN_ACCESS = global i32 0
@.str.3 = [11 x i8] c"IN_ACCESS \00"
@IN_ATTRIB = global i32 0
@.str.4 = [11 x i8] c"IN_ATTRIB \00"
@IN_CLOSE_NOWRITE = global i32 0
@.str.5 = [18 x i8] c"IN_CLOSE_NOWRITE \00"
@IN_CLOSE_WRITE = global i32 0
@.str.6 = [16 x i8] c"IN_CLOSE_WRITE \00"
@IN_CREATE = global i32 0
@.str.7 = [11 x i8] c"IN_CREATE \00"
@IN_DELETE = global i32 0
@.str.8 = [11 x i8] c"IN_DELETE \00"
@IN_DELETE_SELF = global i32 0
@.str.9 = [16 x i8] c"IN_DELETE_SELF \00"
@IN_IGNORED = global i32 0
@.str.10 = [12 x i8] c"IN_IGNORED \00"
@IN_ISDIR = global i32 0
@.str.11 = [10 x i8] c"IN_ISDIR \00"
@IN_MODIFY = global i32 0
@.str.12 = [11 x i8] c"IN_MODIFY \00"
@IN_MOVE_SELF = global i32 0
@.str.13 = [14 x i8] c"IN_MOVE_SELF \00"
@IN_MOVED_FROM = global i32 0
@.str.14 = [15 x i8] c"IN_MOVED_FROM \00"
@IN_MOVED_TO = global i32 0
@.str.15 = [13 x i8] c"IN_MOVED_TO \00"
@IN_OPEN = global i32 0
@.str.16 = [9 x i8] c"IN_OPEN \00"
@IN_Q_OVERFLOW = global i32 0
@.str.17 = [15 x i8] c"IN_Q_OVERFLOW \00"
@IN_UNMOUNT = global i32 0
@.str.18 = [12 x i8] c"IN_UNMOUNT \00"
@.str.19 = [2 x i8] c"\0A\00"
@.str.20 = [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 (i8*, ...) @printf(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 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i64 %14)
br label %16
16: ; preds = %11, %1
%17 = call i32 (i8*, ...) @printf(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_ACCESS
%22 = and i32 %20, %21
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 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_ATTRIB
%31 = and i32 %29, %30
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = call i32 (i8*, ...) @printf(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_CLOSE_NOWRITE
%40 = and i32 %38, %39
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %35
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 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_CLOSE_WRITE
%49 = and i32 %47, %48
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %44
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 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_CREATE
%58 = and i32 %56, %57
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %53
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 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_DELETE
%67 = and i32 %65, %66
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %62
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 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_DELETE_SELF
%76 = and i32 %74, %75
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %71
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 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_IGNORED
%85 = and i32 %83, %84
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %80
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 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_ISDIR
%94 = and i32 %92, %93
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %89
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
br label %98
98: ; preds = %96, %89
%99 = load %struct.inotify_event*, %struct.inotify_event** %2
%100 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %99, i32 0, i32 2
%101 = load i32, i32* %100
%102 = load i32, i32* @IN_MODIFY
%103 = and i32 %101, %102
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %98
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0))
br label %107
107: ; preds = %105, %98
%108 = load %struct.inotify_event*, %struct.inotify_event** %2
%109 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %108, i32 0, i32 2
%110 = load i32, i32* %109
%111 = load i32, i32* @IN_MOVE_SELF
%112 = and i32 %110, %111
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %116
114: ; preds = %107
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.13, i64 0, i64 0))
br label %116
116: ; preds = %114, %107
%117 = load %struct.inotify_event*, %struct.inotify_event** %2
%118 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %117, i32 0, i32 2
%119 = load i32, i32* %118
%120 = load i32, i32* @IN_MOVED_FROM
%121 = and i32 %119, %120
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %125
123: ; preds = %116
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0))
br label %125
125: ; preds = %123, %116
%126 = load %struct.inotify_event*, %struct.inotify_event** %2
%127 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %126, i32 0, i32 2
%128 = load i32, i32* %127
%129 = load i32, i32* @IN_MOVED_TO
%130 = and i32 %128, %129
%131 = icmp ne i32 %130, 0
br i1 %131, label %132, label %134
132: ; preds = %125
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0))
br label %134
134: ; preds = %132, %125
%135 = load %struct.inotify_event*, %struct.inotify_event** %2
%136 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %135, i32 0, i32 2
%137 = load i32, i32* %136
%138 = load i32, i32* @IN_OPEN
%139 = and i32 %137, %138
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %143
141: ; preds = %134
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0))
br label %143
143: ; preds = %141, %134
%144 = load %struct.inotify_event*, %struct.inotify_event** %2
%145 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %144, i32 0, i32 2
%146 = load i32, i32* %145
%147 = load i32, i32* @IN_Q_OVERFLOW
%148 = and i32 %146, %147
%149 = icmp ne i32 %148, 0
br i1 %149, label %150, label %152
150: ; preds = %143
%151 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0))
br label %152
152: ; preds = %150, %143
%153 = load %struct.inotify_event*, %struct.inotify_event** %2
%154 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %153, i32 0, i32 2
%155 = load i32, i32* %154
%156 = load i32, i32* @IN_UNMOUNT
%157 = and i32 %155, %156
%158 = icmp ne i32 %157, 0
br i1 %158, label %159, label %161
159: ; preds = %152
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0))
br label %161
161: ; preds = %159, %152
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0))
%163 = load %struct.inotify_event*, %struct.inotify_event** %2
%164 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %163, i32 0, i32 3
%165 = load i64, i64* %164
%166 = icmp sgt i64 %165, 0
br i1 %166, label %167, label %172
167: ; preds = %161
%168 = load %struct.inotify_event*, %struct.inotify_event** %2
%169 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %168, i32 0, i32 4
%170 = load i64, i64* %169
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0), i64 %170)
br label %172
172: ; preds = %167, %161
ret void
}

LLVM IR (-O2):
%struct.inotify_event = type { i64, i64, i32, i64, i64 }
@.str = [14 x i8] c" wd =%2d; \00"
@.str.1 = [14 x i8] c"cookie =%4d; \00"
@.str.2 = [8 x i8] c"mask = \00"
@IN_ACCESS = global i32 0
@.str.3 = [11 x i8] c"IN_ACCESS \00"
@IN_ATTRIB = global i32 0
@.str.4 = [11 x i8] c"IN_ATTRIB \00"
@IN_CLOSE_NOWRITE = global i32 0
@.str.5 = [18 x i8] c"IN_CLOSE_NOWRITE \00"
@IN_CLOSE_WRITE = global i32 0
@.str.6 = [16 x i8] c"IN_CLOSE_WRITE \00"
@IN_CREATE = global i32 0
@.str.7 = [11 x i8] c"IN_CREATE \00"
@IN_DELETE = global i32 0
@.str.8 = [11 x i8] c"IN_DELETE \00"
@IN_DELETE_SELF = global i32 0
@.str.9 = [16 x i8] c"IN_DELETE_SELF \00"
@IN_IGNORED = global i32 0
@.str.10 = [12 x i8] c"IN_IGNORED \00"
@IN_ISDIR = global i32 0
@.str.11 = [10 x i8] c"IN_ISDIR \00"
@IN_MODIFY = global i32 0
@.str.12 = [11 x i8] c"IN_MODIFY \00"
@IN_MOVE_SELF = global i32 0
@.str.13 = [14 x i8] c"IN_MOVE_SELF \00"
@IN_MOVED_FROM = global i32 0
@.str.14 = [15 x i8] c"IN_MOVED_FROM \00"
@IN_MOVED_TO = global i32 0
@.str.15 = [13 x i8] c"IN_MOVED_TO \00"
@IN_OPEN = global i32 0
@.str.16 = [9 x i8] c"IN_OPEN \00"
@IN_Q_OVERFLOW = global i32 0
@.str.17 = [15 x i8] c"IN_Q_OVERFLOW \00"
@IN_UNMOUNT = global i32 0
@.str.18 = [12 x i8] c"IN_UNMOUNT \00"
@.str.20 = [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 (i8*, ...) @printf(i8* dereferenceable(1) 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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i64 %6)
br label %10
10: ; preds = %8, %1
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) 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_ACCESS
%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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 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_ATTRIB
%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 (i8*, ...) @printf(i8* dereferenceable(1) 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_CLOSE_NOWRITE
%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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 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_CLOSE_WRITE
%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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 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_CREATE
%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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 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_DELETE
%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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 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_DELETE_SELF
%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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 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_IGNORED
%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 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 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_ISDIR
%79 = and i32 %78, %77
%80 = icmp eq i32 %79, 0
br i1 %80, label %84, label %81
81: ; preds = %76
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%83 = load i32, i32* %12
br label %84
84: ; preds = %81, %76
%85 = phi i32 [ %83, %81 ], [ %77, %76 ]
%86 = load i32, i32* @IN_MODIFY
%87 = and i32 %86, %85
%88 = icmp eq i32 %87, 0
br i1 %88, label %92, label %89
89: ; preds = %84
%90 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0))
%91 = load i32, i32* %12
br label %92
92: ; preds = %89, %84
%93 = phi i32 [ %91, %89 ], [ %85, %84 ]
%94 = load i32, i32* @IN_MOVE_SELF
%95 = and i32 %94, %93
%96 = icmp eq i32 %95, 0
br i1 %96, label %100, label %97
97: ; preds = %92
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.13, i64 0, i64 0))
%99 = load i32, i32* %12
br label %100
100: ; preds = %97, %92
%101 = phi i32 [ %99, %97 ], [ %93, %92 ]
%102 = load i32, i32* @IN_MOVED_FROM
%103 = and i32 %102, %101
%104 = icmp eq i32 %103, 0
br i1 %104, label %108, label %105
105: ; preds = %100
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0))
%107 = load i32, i32* %12
br label %108
108: ; preds = %105, %100
%109 = phi i32 [ %107, %105 ], [ %101, %100 ]
%110 = load i32, i32* @IN_MOVED_TO
%111 = and i32 %110, %109
%112 = icmp eq i32 %111, 0
br i1 %112, label %116, label %113
113: ; preds = %108
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0))
%115 = load i32, i32* %12
br label %116
116: ; preds = %113, %108
%117 = phi i32 [ %115, %113 ], [ %109, %108 ]
%118 = load i32, i32* @IN_OPEN
%119 = and i32 %118, %117
%120 = icmp eq i32 %119, 0
br i1 %120, label %124, label %121
121: ; preds = %116
%122 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0))
%123 = load i32, i32* %12
br label %124
124: ; preds = %121, %116
%125 = phi i32 [ %123, %121 ], [ %117, %116 ]
%126 = load i32, i32* @IN_Q_OVERFLOW
%127 = and i32 %126, %125
%128 = icmp eq i32 %127, 0
br i1 %128, label %132, label %129
129: ; preds = %124
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0))
%131 = load i32, i32* %12
br label %132
132: ; preds = %129, %124
%133 = phi i32 [ %131, %129 ], [ %125, %124 ]
%134 = load i32, i32* @IN_UNMOUNT
%135 = and i32 %134, %133
%136 = icmp eq i32 %135, 0
br i1 %136, label %139, label %137
137: ; preds = %132
%138 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0))
br label %139
139: ; preds = %137, %132
%140 = tail call i32 @putchar(i32 10)
%141 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %0, i64 0, i32 3
%142 = load i64, i64* %141
%143 = icmp sgt i64 %142, 0
br i1 %143, label %144, label %148
144: ; preds = %139
%145 = getelementptr inbounds %struct.inotify_event, %struct.inotify_event* %0, i64 0, i32 4
%146 = load i64, i64* %145
%147 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0), i64 %146)
br label %148
148: ; preds = %144, %139
ret void
}