#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 */
typedef struct TYPE_2__ TYPE_1__;

/* Type definitions */
struct TYPE_2__ {
  int fd;
};
struct epoll_event {
  TYPE_1__ data;
};
typedef int /*<<< orphan*/ events;
typedef int /*<<< orphan*/ buf;

/* Variables and functions */
int /*<<< orphan*/ EPOLL_CTL_DEL;
int O_NONBLOCK;
int O_RDONLY;
int /*<<< orphan*/ addEvent(int, int);
int /*<<< orphan*/ close(int);
int epoll_create(int);
scalar_t__ epoll_ctl(int, int /*<<< orphan*/, int, struct epoll_event *);
int epoll_wait(int, struct epoll_event *, int, int);
int open(char *, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, char *);
int read(int, char *, int);
int main(void) {
  char buf[4096];
  int i, rc;
  int epfd;
  struct epoll_event events[2];
  int num;
  int numFds;
  int fd1, fd2;
  epfd = epoll_create(2);
  if (epfd < 0) {
    perror("epoll_create");
    return 1;
  }
  if ((fd1 = open("p1", O_RDONLY | O_NONBLOCK)) < 0) {
    perror("open_p1");
    return 1;
  }
  if ((fd2 = open("p2", O_RDONLY | O_NONBLOCK)) < 0) {
    perror("open_p2");
    return 1;
  }
  addEvent(epfd, fd1);
  addEvent(epfd, fd2);
  numFds = 2;
  while (numFds) {
    if ((num = epoll_wait(epfd, events, sizeof(events) / sizeof(*events),
                          -1)) <= 0) {
      perror("epoll_wait");
      return 1;
    }
    for (i = 0; i < num; ++i) {
      rc = read(events[i].data.fd, buf, sizeof(buf) - 1);
      if (rc < 0) {
        perror("read");
        return 1;
      } else if (!rc) {
        if (epoll_ctl(epfd, EPOLL_CTL_DEL, events[i].data.fd, &events[i])) {
          perror("epoll_ctl(DEL)");
          return 1;
        }
        close(events[i].data.fd);
        numFds--;
      } else {
        buf[rc] = '\0';
        printf("read: %s", buf);
      }
    }
  }
  close(epfd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1040,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x2,%edi
call   10a0 <epoll_create@plt>
mov    %eax,-0x101c(%rbp)
cmpl   $0x0,-0x101c(%rbp)
jge    11d7 <main+0x47>
lea    0xe3a(%rip),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1427 <main+0x297>
mov    0x2dfa(%rip),%rax
mov    (%rax),%esi
mov    0x2df9(%rip),%rax
or     (%rax),%esi
lea    0xe22(%rip),%rdi
call   1080 <open@plt>
mov    %eax,-0x1034(%rbp)
cmp    $0x0,%eax
jge    121c <main+0x8c>
lea    0xe02(%rip),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1427 <main+0x297>
mov    0x2db5(%rip),%rax
mov    (%rax),%esi
mov    0x2db4(%rip),%rax
or     (%rax),%esi
lea    0xde5(%rip),%rdi
call   1080 <open@plt>
mov    %eax,-0x1038(%rbp)
cmp    $0x0,%eax
jge    1261 <main+0xd1>
lea    0xdc5(%rip),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1427 <main+0x297>
mov    -0x101c(%rbp),%edi
mov    -0x1034(%rbp),%esi
call   10b0 <addEvent@plt>
mov    -0x101c(%rbp),%edi
mov    -0x1038(%rbp),%esi
call   10b0 <addEvent@plt>
movl   $0x2,-0x1030(%rbp)
cmpl   $0x0,-0x1030(%rbp)
je     1415 <main+0x285>
mov    -0x101c(%rbp),%edi
lea    -0x1028(%rbp),%rsi
mov    $0x2,%edx
mov    $0xffffffff,%ecx
call   1070 <epoll_wait@plt>
mov    %eax,-0x102c(%rbp)
cmp    $0x0,%eax
jg     12dd <main+0x14d>
lea    0xd51(%rip),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1427 <main+0x297>
movl   $0x0,-0x1014(%rbp)
mov    -0x1014(%rbp),%eax
cmp    -0x102c(%rbp),%eax
jge    1410 <main+0x280>
movslq -0x1014(%rbp),%rax
mov    -0x1028(%rbp,%rax,4),%edi
lea    -0x1010(%rbp),%rsi
mov    $0xfff,%edx
call   1060 <read@plt>
mov    %eax,-0x1018(%rbp)
cmpl   $0x0,-0x1018(%rbp)
jge    1343 <main+0x1b3>
lea    0xcf6(%rip),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1427 <main+0x297>
cmpl   $0x0,-0x1018(%rbp)
jne    13d0 <main+0x240>
mov    -0x101c(%rbp),%edi
mov    0x2c9b(%rip),%rax
mov    (%rax),%esi
movslq -0x1014(%rbp),%rax
mov    -0x1028(%rbp,%rax,4),%edx
movslq -0x1014(%rbp),%rax
lea    -0x1028(%rbp),%rcx
shl    $0x2,%rax
add    %rax,%rcx
call   1050 <epoll_ctl@plt>
cmp    $0x0,%rax
je     13a9 <main+0x219>
lea    0xc95(%rip),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1427 <main+0x297>
movslq -0x1014(%rbp),%rax
mov    -0x1028(%rbp,%rax,4),%edi
call   1040 <close@plt>
mov    -0x1030(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x1030(%rbp)
jmp    13f2 <main+0x262>
movslq -0x1018(%rbp),%rax
movb   $0x0,-0x1010(%rbp,%rax,1)
lea    -0x1010(%rbp),%rsi
lea    0xc4f(%rip),%rdi
call   1030 <printf@plt>
jmp    13f7 <main+0x267>
jmp    13fc <main+0x26c>
mov    -0x1014(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1014(%rbp)
jmp    12e7 <main+0x157>
jmp    128d <main+0xfd>
mov    -0x101c(%rbp),%edi
call   1040 <close@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1040,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1018,%rsp
mov    $0x2,%edi
call   10a0 <epoll_create@plt>
test   %eax,%eax
js     12da <main+0x14a>
mov    %eax,%r15d
mov    0x2e1b(%rip),%r14
mov    0x2e1c(%rip),%rbp
mov    0x0(%rbp),%esi
or     (%r14),%esi
lea    0xe41(%rip),%rdi
call   1080 <open@plt>
test   %eax,%eax
js     12e3 <main+0x153>
mov    %eax,%ebx
mov    0x0(%rbp),%esi
or     (%r14),%esi
lea    0xe2d(%rip),%rdi
call   1080 <open@plt>
test   %eax,%eax
js     12ec <main+0x15c>
mov    %eax,%ebp
mov    %r15d,%edi
mov    %ebx,%esi
call   10b0 <addEvent@plt>
mov    %r15d,%edi
mov    %ebp,%esi
call   10b0 <addEvent@plt>
mov    $0x2,%r13d
lea    0x8(%rsp),%rbp
lea    0x10(%rsp),%rbx
lea    0xe15(%rip),%r12
jmp    123e <main+0xae>
nopl   0x0(%rax)
test   %r13d,%r13d
lea    0x8(%rsp),%rbp
je     12c5 <main+0x135>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x2,%edx
mov    $0xffffffff,%ecx
call   1070 <epoll_wait@plt>
test   %eax,%eax
jle    12f5 <main+0x165>
mov    %eax,%r14d
jmp    127c <main+0xec>
mov    %eax,%eax
movb   $0x0,0x10(%rsp,%rax,1)
mov    %r12,%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
add    $0x4,%rbp
add    $0xffffffffffffffff,%r14
je     1230 <main+0xa0>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
mov    $0xfff,%edx
call   1060 <read@plt>
test   %eax,%eax
js     12bc <main+0x12c>
jne    1260 <main+0xd0>
mov    0x2d5f(%rip),%rax
mov    (%rax),%esi
mov    0x0(%rbp),%edx
mov    %r15d,%edi
mov    %rbp,%rcx
call   1050 <epoll_ctl@plt>
test   %rax,%rax
jne    12d1 <main+0x141>
mov    0x0(%rbp),%edi
call   1040 <close@plt>
add    $0xffffffff,%r13d
jmp    1272 <main+0xe2>
lea    0xd65(%rip),%rdi
jmp    12fc <main+0x16c>
mov    %r15d,%edi
call   1040 <close@plt>
xor    %eax,%eax
jmp    1306 <main+0x176>
lea    0xd55(%rip),%rdi
jmp    12fc <main+0x16c>
lea    0xd1f(%rip),%rdi
jmp    12fc <main+0x16c>
lea    0xd23(%rip),%rdi
jmp    12fc <main+0x16c>
lea    0xd22(%rip),%rdi
jmp    12fc <main+0x16c>
lea    0xd21(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%eax
add    $0x1018,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.epoll_event = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = [13 x i8] c"epoll_create\00"
@.str.1 = [3 x i8] c"p1\00"
@O_RDONLY = global i32 0
@O_NONBLOCK = global i32 0
@.str.2 = [8 x i8] c"open_p1\00"
@.str.3 = [3 x i8] c"p2\00"
@.str.4 = [8 x i8] c"open_p2\00"
@.str.5 = [11 x i8] c"epoll_wait\00"
@.str.6 = [5 x i8] c"read\00"
@EPOLL_CTL_DEL = global i32 0
@.str.7 = [15 x i8] c"epoll_ctl(DEL)\00"
@.str.8 = [9 x i8] c"read: %s\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [4096 x i8]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca [2 x %struct.epoll_event]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 0, i32* %1
%11 = call i32 @epoll_create(i32 2)
store i32 %11, i32* %5
%12 = load i32, i32* %5
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %1
br label %111
16: ; preds = %0
%17 = load i32, i32* @O_RDONLY
%18 = load i32, i32* @O_NONBLOCK
%19 = or i32 %17, %18
%20 = call i32 @open(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %19)
store i32 %20, i32* %9
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %1
br label %111
24: ; preds = %16
%25 = load i32, i32* @O_RDONLY
%26 = load i32, i32* @O_NONBLOCK
%27 = or i32 %25, %26
%28 = call i32 @open(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %27)
store i32 %28, i32* %10
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
store i32 1, i32* %1
br label %111
32: ; preds = %24
%33 = load i32, i32* %5
%34 = load i32, i32* %9
%35 = call i32 @addEvent(i32 %33, i32 %34)
%36 = load i32, i32* %5
%37 = load i32, i32* %10
%38 = call i32 @addEvent(i32 %36, i32 %37)
store i32 2, i32* %8
br label %39
39: ; preds = %107, %32
%40 = load i32, i32* %8
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %108
42: ; preds = %39
%43 = load i32, i32* %5
%44 = getelementptr inbounds [2 x %struct.epoll_event], [2 x %struct.epoll_event]* %6, i64 0, i64 0
%45 = call i32 @epoll_wait(i32 %43, %struct.epoll_event* %44, i32 2, i32 -1)
store i32 %45, i32* %7
%46 = icmp sle i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %42
%48 = call i32 @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
store i32 1, i32* %1
br label %111
49: ; preds = %42
store i32 0, i32* %3
br label %50
50: ; preds = %104, %49
%51 = load i32, i32* %3
%52 = load i32, i32* %7
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %107
54: ; preds = %50
%55 = load i32, i32* %3
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [2 x %struct.epoll_event], [2 x %struct.epoll_event]* %6, i64 0, i64 %56
%58 = getelementptr inbounds %struct.epoll_event, %struct.epoll_event* %57, i32 0, i32 0
%59 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %58, i32 0, i32 0
%60 = load i32, i32* %59
%61 = getelementptr inbounds [4096 x i8], [4096 x i8]* %2, i64 0, i64 0
%62 = call i32 @read(i32 %60, i8* %61, i32 4095)
store i32 %62, i32* %4
%63 = load i32, i32* %4
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %54
%66 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
store i32 1, i32* %1
br label %111
67: ; preds = %54
%68 = load i32, i32* %4
%69 = icmp ne i32 %68, 0
br i1 %69, label %96, label %70
70: ; preds = %67
%71 = load i32, i32* %5
%72 = load i32, i32* @EPOLL_CTL_DEL
%73 = load i32, i32* %3
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [2 x %struct.epoll_event], [2 x %struct.epoll_event]* %6, i64 0, i64 %74
%76 = getelementptr inbounds %struct.epoll_event, %struct.epoll_event* %75, i32 0, i32 0
%77 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %76, i32 0, i32 0
%78 = load i32, i32* %77
%79 = load i32, i32* %3
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [2 x %struct.epoll_event], [2 x %struct.epoll_event]* %6, i64 0, i64 %80
%82 = call i64 @epoll_ctl(i32 %71, i32 %72, i32 %78, %struct.epoll_event* %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %70
%85 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
store i32 1, i32* %1
br label %111
86: ; preds = %70
%87 = load i32, i32* %3
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [2 x %struct.epoll_event], [2 x %struct.epoll_event]* %6, i64 0, i64 %88
%90 = getelementptr inbounds %struct.epoll_event, %struct.epoll_event* %89, i32 0, i32 0
%91 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %90, i32 0, i32 0
%92 = load i32, i32* %91
%93 = call i32 @close(i32 %92)
%94 = load i32, i32* %8
%95 = add nsw i32 %94, -1
store i32 %95, i32* %8
br label %102
96: ; preds = %67
%97 = load i32, i32* %4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [4096 x i8], [4096 x i8]* %2, i64 0, i64 %98
store i8 0, i8* %99
%100 = getelementptr inbounds [4096 x i8], [4096 x i8]* %2, i64 0, i64 0
%101 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* %100)
br label %102
102: ; preds = %96, %86
br label %103
103: ; preds = %102
br label %104
104: ; preds = %103
%105 = load i32, i32* %3
%106 = add nsw i32 %105, 1
store i32 %106, i32* %3
br label %50
107: ; preds = %50
br label %39
108: ; preds = %39
%109 = load i32, i32* %5
%110 = call i32 @close(i32 %109)
store i32 0, i32* %1
br label %111
111: ; preds = %108, %84, %65, %47, %30, %22, %14
%112 = load i32, i32* %1
ret i32 %112
}

LLVM IR (-O2):
%struct.epoll_event = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = [13 x i8] c"epoll_create\00"
@.str.1 = [3 x i8] c"p1\00"
@O_RDONLY = global i32 0
@O_NONBLOCK = global i32 0
@.str.2 = [8 x i8] c"open_p1\00"
@.str.3 = [3 x i8] c"p2\00"
@.str.4 = [8 x i8] c"open_p2\00"
@.str.5 = [11 x i8] c"epoll_wait\00"
@.str.6 = [5 x i8] c"read\00"
@EPOLL_CTL_DEL = global i32 0
@.str.7 = [15 x i8] c"epoll_ctl(DEL)\00"
@.str.8 = [9 x i8] c"read: %s\00"
define i32 @main() {
%1 = alloca [4096 x i8]
%2 = alloca [2 x %struct.epoll_event]
%3 = getelementptr inbounds [4096 x i8], [4096 x i8]* %1, i64 0, i64 0
%4 = bitcast [2 x %struct.epoll_event]* %2 to i8*
%5 = tail call i32 @epoll_create(i32 2)
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = tail call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
br label %72
9: ; preds = %0
%10 = load i32, i32* @O_RDONLY
%11 = load i32, i32* @O_NONBLOCK
%12 = or i32 %11, %10
%13 = tail call i32 @open(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %12)
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = tail call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %72
17: ; preds = %9
%18 = load i32, i32* @O_RDONLY
%19 = load i32, i32* @O_NONBLOCK
%20 = or i32 %19, %18
%21 = tail call i32 @open(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %20)
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = tail call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %72
25: ; preds = %17
%26 = tail call i32 @addEvent(i32 %5, i32 %13)
%27 = tail call i32 @addEvent(i32 %5, i32 %21)
%28 = getelementptr inbounds [2 x %struct.epoll_event], [2 x %struct.epoll_event]* %2, i64 0, i64 0
br label %31
29: ; preds = %66
%30 = icmp eq i32 %67, 0
br i1 %30, label %70, label %31
31: ; preds = %25, %29
%32 = phi i32 [ 2, %25 ], [ %67, %29 ]
%33 = call i32 @epoll_wait(i32 %5, %struct.epoll_event* %28, i32 2, i32 -1)
%34 = icmp slt i32 %33, 1
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = zext i32 %33 to i64
br label %39
37: ; preds = %31
%38 = call i32 @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
br label %72
39: ; preds = %35, %66
%40 = phi i64 [ 0, %35 ], [ %68, %66 ]
%41 = phi i32 [ %32, %35 ], [ %67, %66 ]
%42 = getelementptr inbounds [2 x %struct.epoll_event], [2 x %struct.epoll_event]* %2, i64 0, i64 %40
%43 = getelementptr inbounds %struct.epoll_event, %struct.epoll_event* %42, i64 0, i32 0, i32 0
%44 = load i32, i32* %43
%45 = call i32 @read(i32 %44, i8* %3, i32 4095)
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %39
%48 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %72
49: ; preds = %39
%50 = icmp eq i32 %45, 0
br i1 %50, label %51, label %62
51: ; preds = %49
%52 = load i32, i32* @EPOLL_CTL_DEL
%53 = load i32, i32* %43
%54 = call i64 @epoll_ctl(i32 %5, i32 %52, i32 %53, %struct.epoll_event* %42)
%55 = icmp eq i64 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %51
%57 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
br label %72
58: ; preds = %51
%59 = load i32, i32* %43
%60 = call i32 @close(i32 %59)
%61 = add nsw i32 %41, -1
br label %66
62: ; preds = %49
%63 = zext i32 %45 to i64
%64 = getelementptr inbounds [4096 x i8], [4096 x i8]* %1, i64 0, i64 %63
store i8 0, i8* %64
%65 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* %3)
br label %66
66: ; preds = %62, %58
%67 = phi i32 [ %41, %62 ], [ %61, %58 ]
%68 = add nuw nsw i64 %40, 1
%69 = icmp eq i64 %68, %36
br i1 %69, label %29, label %39
70: ; preds = %29
%71 = call i32 @close(i32 %5)
br label %72
72: ; preds = %70, %56, %47, %37, %23, %15, %7
%73 = phi i32 [ 1, %7 ], [ 1, %15 ], [ 1, %23 ], [ 1, %37 ], [ 1, %47 ], [ 1, %56 ], [ 0, %70 ]
ret i32 %73
}