	.file	"12636734.c"
	.intel_syntax noprefix
	.text
	.globl	c
	.bss
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	fp
	.align 8
	.type	fp, @object
	.size	fp, 8
fp:
	.zero	8
	.globl	pid
	.align 4
	.type	pid, @object
	.size	pid, 4
pid:
	.zero	4
	.globl	res_pid
	.type	res_pid, @object
	.size	res_pid, 1
res_pid:
	.zero	1
	.globl	procfile
	.type	procfile, @object
	.size	procfile, 1
procfile:
	.zero	1
	.section	.rodata
.LC0:
	.string	"read"
	.align 8
.LC1:
	.string	"Mismatch of fanotify metadata version.\n"
.LC2:
	.string	"FAN_OPEN_PERM: "
.LC3:
	.string	"FAN_CLOSE_WRITE: "
.LC4:
	.string	"/proc/self/fd/%d"
.LC5:
	.string	"readlink"
.LC6:
	.string	"File %s\n"
.LC7:
	.string	"PID %d\n"
.LC8:
	.string	"%ld"
.LC9:
	.string	"/proc/%s/status"
.LC10:
	.string	"r"
	.text
	.type	handle_events, @function
handle_events:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 768
	mov	DWORD PTR -13044[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L16:
	lea	rcx, -13008[rbp]
	mov	eax, DWORD PTR -13044[rbp]
	mov	edx, 4800
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -13032[rbp], rax
	cmp	QWORD PTR -13032[rbp], -1
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	cmp	QWORD PTR -13032[rbp], 0
	jle	.L19
	lea	rax, -13008[rbp]
	mov	QWORD PTR -13040[rbp], rax
	jmp	.L5
.L15:
	mov	rax, QWORD PTR -13040[rbp]
	movzx	eax, BYTE PTR 4[rax]
	cmp	al, 3
	je	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	js	.L7
	mov	rax, QWORD PTR -13040[rbp]
	mov	rax, QWORD PTR 8[rax]
	and	eax, 65536
	test	rax, rax
	je	.L8
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -13016[rbp], eax
	mov	DWORD PTR -13012[rbp], 1
	lea	rcx, -13016[rbp]
	mov	eax, DWORD PTR -13044[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L8:
	mov	rax, QWORD PTR -13040[rbp]
	mov	rax, QWORD PTR 8[rax]
	and	eax, 8
	test	rax, rax
	je	.L9
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	rax, QWORD PTR -13040[rbp]
	mov	edx, DWORD PTR 16[rax]
	lea	rax, -4112[rbp]
	mov	ecx, edx
	lea	rdx, .LC4[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rcx, -8208[rbp]
	lea	rax, -4112[rbp]
	mov	edx, 4095
	mov	rsi, rcx
	mov	rdi, rax
	call	readlink@PLT
	mov	QWORD PTR -13024[rbp], rax
	cmp	QWORD PTR -13024[rbp], -1
	jne	.L10
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	lea	rdx, -8208[rbp]
	mov	rax, QWORD PTR -13024[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rax, -8208[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	edx, eax
	lea	rsi, .LC8[rip]
	lea	rdi, res_pid[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, res_pid[rip]
	lea	rsi, .LC9[rip]
	lea	rdi, procfile[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, .LC10[rip]
	lea	rdi, procfile[rip]
	call	fopen@PLT
	mov	QWORD PTR fp[rip], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L11
	jmp	.L12
.L13:
	mov	rax, QWORD PTR fp[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR c[rip], eax
	mov	eax, DWORD PTR c[rip]
	mov	edi, eax
	call	putchar@PLT
.L12:
	mov	rax, QWORD PTR fp[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR fp[rip]
	mov	rdi, rax
	call	fclose@PLT
.L11:
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	edi, eax
	call	close@PLT
.L7:
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR [rax]
	mov	eax, eax
	sub	QWORD PTR -13032[rbp], rax
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR [rax]
	mov	eax, eax
	add	QWORD PTR -13040[rbp], rax
.L5:
	cmp	QWORD PTR -13032[rbp], 23
	jle	.L16
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 23
	jbe	.L16
	mov	rax, QWORD PTR -13040[rbp]
	mov	eax, DWORD PTR [rax]
	mov	eax, eax
	cmp	QWORD PTR -13032[rbp], rax
	jge	.L15
	jmp	.L16
.L19:
	nop
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	handle_events, .-handle_events
	.section	.rodata
.LC11:
	.string	"Usage: %s MOUNT\n"
	.align 8
.LC12:
	.string	"Press Q key and enter key to terminate."
.LC13:
	.string	"fanotify_init"
.LC14:
	.string	"fanotify_mark"
.LC15:
	.string	"Listening for events."
.LC16:
	.string	"poll"
.LC17:
	.string	"Listening for events stopped."
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 2
	je	.L21
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	esi, 0
	mov	edi, 7
	call	fanotify_init@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], -1
	jne	.L22
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	mov	r8, rdx
	mov	ecx, -100
	mov	edx, 65544
	mov	esi, 17
	mov	edi, eax
	call	fanotify_mark@PLT
	cmp	eax, -1
	jne	.L23
	lea	rdi, .LC14[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L23:
	mov	QWORD PTR -40[rbp], 2
	mov	DWORD PTR -32[rbp], 0
	mov	WORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	WORD PTR -20[rbp], 1
	lea	rdi, .LC15[rip]
	call	puts@PLT
.L32:
	mov	rcx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	poll@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], -1
	jne	.L24
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L34
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	cmp	DWORD PTR -44[rbp], 0
	jle	.L32
	movzx	eax, WORD PTR -26[rbp]
	cwde
	and	eax, 1
	test	eax, eax
	je	.L27
	jmp	.L28
.L30:
	nop
.L28:
	lea	rax, -49[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	test	rax, rax
	jle	.L35
	movzx	eax, BYTE PTR -49[rbp]
	cmp	al, 81
	jne	.L30
	jmp	.L35
.L27:
	movzx	eax, WORD PTR -18[rbp]
	cwde
	and	eax, 1
	test	eax, eax
	je	.L32
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	handle_events
	jmp	.L32
.L34:
	nop
	jmp	.L32
.L35:
	nop
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"12636734.c"
	.text
	.comm	c,4,4
	.comm	fp,4,4
	.comm	pid,4,4
	.comm	res_pid,1,4
	.comm	procfile,1,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"read\000"
	.align	2
.LC1:
	.ascii	"Mismatch of fanotify metadata version.\012\000"
	.align	2
.LC2:
	.ascii	"FAN_OPEN_PERM: \000"
	.align	2
.LC3:
	.ascii	"FAN_CLOSE_WRITE: \000"
	.align	2
.LC4:
	.ascii	"/proc/self/fd/%d\000"
	.align	2
.LC5:
	.ascii	"readlink\000"
	.align	2
.LC6:
	.ascii	"File %s\012\000"
	.align	2
.LC7:
	.ascii	"PID %d\012\000"
	.align	2
.LC8:
	.ascii	"%ld\000"
	.align	2
.LC9:
	.ascii	"/proc/%s/status\000"
	.align	2
.LC10:
	.ascii	"r\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_events, %function
handle_events:
	@ args = 0, pretend = 0, frame = 13032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #12992
	sub	sp, sp, #44
	sub	r3, fp, #12288
	sub	r3, r3, #28
	str	r0, [r3, #-740]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
.L16:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	mov	r8, r3
	sub	r3, fp, #12992
	sub	r3, r3, #28
	sub	r3, r3, #8
	sub	r2, fp, #12288
	sub	r2, r2, #28
	mov	r0, r2
	mov	r2, #4800
	mov	r1, r3
	ldr	r0, [r0, #-740]
	bl	read
	str	r0, [r8, #-728]
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-728]
	cmn	r3, #1
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L2
	ldr	r0, .L20+4
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-728]
	cmp	r3, #0
	ble	.L19
	sub	r3, fp, #12288
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #12992
	sub	r3, r3, #28
	sub	r3, r3, #8
	str	r3, [r2, #-732]
	b	.L5
.L15:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #3
	beq	.L6
	ldr	r3, .L20+8
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L20+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	blt	.L7
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, #65536
	mov	r1, #0
	and	r4, r2, r0
	and	r5, r3, r1
	orrs	r3, r4, r5
	beq	.L8
	ldr	r0, .L20+16
	bl	printf
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3, #16]
	sub	r2, fp, #12288
	sub	r2, r2, #28
	str	r3, [r2, #-720]
	sub	r3, fp, #12288
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-716]
	sub	r3, fp, #12992
	sub	r3, r3, #28
	sub	r3, r3, #16
	sub	r2, fp, #12288
	sub	r2, r2, #28
	mov	r0, r2
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [r0, #-740]
	bl	write
.L8:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, #8
	mov	r1, #0
	and	r6, r2, r0
	and	r7, r3, r1
	orrs	r3, r6, r7
	beq	.L9
	ldr	r0, .L20+20
	bl	printf
.L9:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3, #16]
	sub	r0, fp, #4096
	sub	r0, r0, #28
	sub	r0, r0, #4
	ldr	r2, .L20+24
	mov	r1, #4096
	bl	snprintf
	sub	r3, fp, #12288
	sub	r3, r3, #28
	mov	r8, r3
	sub	r1, fp, #8192
	sub	r1, r1, #28
	sub	r1, r1, #4
	sub	r3, fp, #4096
	sub	r3, r3, #28
	sub	r3, r3, #4
	ldr	r2, .L20+28
	mov	r0, r3
	bl	readlink
	str	r0, [r8, #-724]
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-724]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L20+32
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-724]
	add	r3, r2, r3
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L20+36
	bl	printf
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L20+40
	bl	printf
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3, #20]
	mov	r2, r3
	ldr	r1, .L20+44
	ldr	r0, .L20+48
	bl	sprintf
	ldr	r2, .L20+48
	ldr	r1, .L20+52
	ldr	r0, .L20+56
	bl	sprintf
	ldr	r1, .L20+60
	ldr	r0, .L20+56
	bl	fopen
	mov	r3, r0
	ldr	r2, .L20+64
	str	r3, [r2]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	b	.L12
.L13:
	ldr	r3, .L20+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	ldr	r2, .L20+68
	str	r3, [r2]
	ldr	r3, .L20+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	putchar
.L12:
	ldr	r3, .L20+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L20+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
.L11:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	close
.L7:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r2, [r3, #-728]
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3]
	sub	r3, r2, r3
	sub	r2, fp, #12288
	sub	r2, r2, #28
	str	r3, [r2, #-728]
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3]
	sub	r2, fp, #12288
	sub	r2, r2, #28
	mov	r1, r2
	sub	r2, fp, #12288
	sub	r2, r2, #28
	ldr	r2, [r2, #-732]
	add	r3, r2, r3
	str	r3, [r1, #-732]
.L5:
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-728]
	cmp	r3, #23
	ble	.L16
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3]
	cmp	r3, #23
	ble	.L16
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-732]
	ldr	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #28
	ldr	r3, [r3, #-728]
	cmp	r3, r2
	bge	.L15
	b	.L16
.L19:
	nop
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC11
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	4095
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	res_pid
	.word	.LC9
	.word	procfile
	.word	.LC10
	.word	fp
	.word	c
	.size	handle_events, .-handle_events
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Usage: %s MOUNT\012\000"
	.align	2
.LC13:
	.ascii	"Press Q key and enter key to terminate.\000"
	.align	2
.LC14:
	.ascii	"fanotify_init\000"
	.align	2
.LC15:
	.ascii	"fanotify_mark\000"
	.align	2
.LC16:
	.ascii	"Listening for events.\000"
	.align	2
.LC17:
	.ascii	"poll\000"
	.align	2
.LC18:
	.ascii	"Listening for events stopped.\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	beq	.L23
	ldr	r3, .L38+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L38+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L23:
	ldr	r0, .L38+12
	bl	puts
	mov	r1, #131072
	mov	r0, #7
	bl	fanotify_init
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L24
	ldr	r0, .L38+16
	bl	perror
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mvn	r3, #99
	str	r3, [sp]
	ldr	r2, .L38+20
	mov	r3, #0
	mov	r1, #17
	ldr	r0, [fp, #-36]
	bl	fanotify_mark
	mov	r3, r0
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L38+24
	bl	perror
	mov	r0, #1
	bl	exit
.L25:
	mov	r3, #2
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	strh	r3, [fp, #-20]	@ movhi
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-16]
	mov	r3, #1
	strh	r3, [fp, #-12]	@ movhi
	ldr	r0, .L38+28
	bl	puts
.L34:
	sub	r3, fp, #24
	mvn	r2, #0
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	poll
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L26
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L36
	ldr	r0, .L38+32
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L34
	ldrsh	r3, [fp, #-18]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L29
	b	.L30
.L32:
	nop
.L30:
	sub	r3, fp, #37
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	mov	r3, r0
	cmp	r3, #0
	ble	.L37
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #81
	bne	.L32
	b	.L37
.L29:
	ldrsh	r3, [fp, #-10]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L34
	ldr	r0, [fp, #-36]
	bl	handle_events
	b	.L34
.L36:
	nop
	b	.L34
.L37:
	nop
	ldr	r0, .L38+36
	bl	puts
	mov	r0, #0
	bl	exit
.L39:
	.align	2
.L38:
	.word	.LC19
	.word	stderr
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	65544
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
