	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_events
_set_events:                            ## @set_events
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_USE_KQUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_action@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_no_files@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %r13
	leaq	(,%r13,4), %rbx
	movq	_ev@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movl	(%r14,%r15,4), %edi
	callq	_fileno
	movq	_EVFILT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_EV_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_EV_ADD@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movq	_EV_CLEAR@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_EV_SET
	incl	%r13d
	movl	(%r12), %eax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpl	%eax, %r15d
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r15,4), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_fileno
	movq	%rax, %rdi
	leaq	-48(%rbp), %rsi
	callq	_fstatfs
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MNT_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -48(%rbp)
	je	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_Fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14,%r15,4), %edi
	callq	_fileno
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %r13
	movq	%r12, %rbx
	leaq	(,%r13,4), %r12
	movq	_ev@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movl	(%r14,%r15,4), %edi
	callq	_fileno
	movq	_EV_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_EV_ADD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EV_CLEAR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EVFILT_VNODE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_NOTE_RENAME@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movq	_NOTE_DELETE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r8d
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %r12
	movq	%rax, %rsi
	xorl	%r9d, %r9d
	callq	_EV_SET
	incl	%r13d
	jmp	LBB0_9
LBB0_1:
	xorl	%r13d, %r13d
LBB0_11:
	movq	_kq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ev@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-64(%rbp), %r9
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_kevent
	testq	%rax, %rax
	jns	LBB0_13
LBB0_12:
	movq	_USE_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_action@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USE_KQUEUE,4,2                 ## @USE_KQUEUE
	.comm	_action,4,2                     ## @action
	.comm	_no_files,4,2                   ## @no_files
	.comm	_MNT_LOCAL,4,2                  ## @MNT_LOCAL
	.comm	_USE_SLEEP,4,2                  ## @USE_SLEEP
	.comm	_Fflag,8,3                      ## @Fflag
	.comm	_STDIN_FILENO,8,3               ## @STDIN_FILENO
	.comm	_ev,8,3                         ## @ev
	.comm	_EVFILT_VNODE,4,2               ## @EVFILT_VNODE
	.comm	_EV_ADD,4,2                     ## @EV_ADD
	.comm	_EV_ENABLE,4,2                  ## @EV_ENABLE
	.comm	_EV_CLEAR,4,2                   ## @EV_CLEAR
	.comm	_NOTE_DELETE,4,2                ## @NOTE_DELETE
	.comm	_NOTE_RENAME,4,2                ## @NOTE_RENAME
	.comm	_EVFILT_READ,4,2                ## @EVFILT_READ
	.comm	_kq,4,2                         ## @kq
	.no_dead_strip	_set_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_events
_set_events:                            ; @set_events
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x8, _USE_KQUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USE_KQUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _action@GOTPAGE
Lloh4:
	ldr	x9, [x9, _action@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x24, _no_files@GOTPAGE
Lloh7:
	ldr	x24, [x24, _no_files@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh8:
	adrp	x23, _ev@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ev@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x20, x0
	mov	x25, #0
	mov	w19, #0
Lloh10:
	adrp	x28, _EVFILT_READ@GOTPAGE
Lloh11:
	ldr	x28, [x28, _EVFILT_READ@GOTPAGEOFF]
Lloh12:
	adrp	x22, _EV_ADD@GOTPAGE
Lloh13:
	ldr	x22, [x22, _EV_ADD@GOTPAGEOFF]
Lloh14:
	adrp	x26, _EV_ENABLE@GOTPAGE
Lloh15:
	ldr	x26, [x26, _EV_ENABLE@GOTPAGEOFF]
Lloh16:
	adrp	x27, _EV_CLEAR@GOTPAGE
Lloh17:
	ldr	x27, [x27, _EV_CLEAR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x21, x8, w19, sxtw #2
	ldr	w0, [x20, x25, lsl #2]
	bl	_fileno
	mov	x1, x0
	ldr	w2, [x28]
	ldr	w8, [x22]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w3, w8, w9
	mov	x0, x21
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_EV_SET
	add	w19, w19, #1
	ldr	w8, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	w25, w8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, x25, lsl #2]
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_fileno
	add	x1, sp, #8
	bl	_fstatfs
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
Lloh18:
	adrp	x9, _MNT_LOCAL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MNT_LOCAL@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh21:
	adrp	x8, _Fflag@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Fflag@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, x25, lsl #2]
	bl	_fileno
Lloh24:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x21, x8, w19, sxtw #2
	ldr	w0, [x20, x25, lsl #2]
	bl	_fileno
	mov	x1, x0
Lloh27:
	adrp	x8, _EVFILT_VNODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EVFILT_VNODE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldr	w8, [x22]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w3, w8, w9
Lloh30:
	adrp	x8, _NOTE_DELETE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NOTE_DELETE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _NOTE_RENAME@GOTPAGE
Lloh34:
	ldr	x9, [x9, _NOTE_RENAME@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x21
	mov	w5, #0
	mov	w6, #0
	bl	_EV_SET
	add	w19, w19, #1
	b	LBB0_2
LBB0_10:
	mov	w19, #0
LBB0_11:
Lloh36:
	adrp	x8, _kq@GOTPAGE
Lloh37:
	ldr	x8, [x8, _kq@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	x1, [x23]
	add	x5, sp, #16
	mov	x2, x19
	mov	x3, #0
	mov	w4, #0
	bl	_kevent
	tbz	x0, #63, LBB0_13
LBB0_12:
Lloh39:
	adrp	x8, _USE_SLEEP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _USE_SLEEP@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _action@GOTPAGE
Lloh43:
	ldr	x9, [x9, _action@GOTPAGEOFF]
Lloh44:
	str	w8, [x9]
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_USE_KQUEUE,4,2                 ; @USE_KQUEUE
	.comm	_action,4,2                     ; @action
	.comm	_no_files,4,2                   ; @no_files
	.comm	_MNT_LOCAL,4,2                  ; @MNT_LOCAL
	.comm	_USE_SLEEP,4,2                  ; @USE_SLEEP
	.comm	_Fflag,8,3                      ; @Fflag
	.comm	_STDIN_FILENO,8,3               ; @STDIN_FILENO
	.comm	_ev,8,3                         ; @ev
	.comm	_EVFILT_VNODE,4,2               ; @EVFILT_VNODE
	.comm	_EV_ADD,4,2                     ; @EV_ADD
	.comm	_EV_ENABLE,4,2                  ; @EV_ENABLE
	.comm	_EV_CLEAR,4,2                   ; @EV_CLEAR
	.comm	_NOTE_DELETE,4,2                ; @NOTE_DELETE
	.comm	_NOTE_RENAME,4,2                ; @NOTE_RENAME
	.comm	_EVFILT_READ,4,2                ; @EVFILT_READ
	.comm	_kq,4,2                         ; @kq
	.no_dead_strip	_set_events
.subsections_via_symbols
