	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_kqueue                    ## -- Begin function init_kqueue
	.p2align	4, 0x90
_init_kqueue:                           ## @init_kqueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_kqueue
	movq	_kq@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_EV_ADD@GOTPCREL(%rip), %rax
	movq	_EV_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_NOTE_DELETE@GOTPCREL(%rip), %rax
	movq	_NOTE_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	_NOTE_EXTEND@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	_target@GOTPCREL(%rip), %rax
	movq	_NOTE_ATTRIB@GOTPCREL(%rip), %rdx
	orl	(%rdx), %r8d
	movq	(%rax), %rsi
	movq	_NOTE_LINK@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	_EVFILT_VNODE@GOTPCREL(%rip), %rax
	movq	_NOTE_RENAME@GOTPCREL(%rip), %rdx
	orl	(%rdx), %r8d
	movl	(%rax), %edx
	movq	_NOTE_REVOKE@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	$0, (%rsp)
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	callq	_EV_SET
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_kevent
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kq,8,3                         ## @kq
	.comm	_target,8,3                     ## @target
	.comm	_EVFILT_VNODE,4,2               ## @EVFILT_VNODE
	.comm	_EV_ADD,4,2                     ## @EV_ADD
	.comm	_EV_ONESHOT,4,2                 ## @EV_ONESHOT
	.comm	_NOTE_DELETE,4,2                ## @NOTE_DELETE
	.comm	_NOTE_WRITE,4,2                 ## @NOTE_WRITE
	.comm	_NOTE_EXTEND,4,2                ## @NOTE_EXTEND
	.comm	_NOTE_ATTRIB,4,2                ## @NOTE_ATTRIB
	.comm	_NOTE_LINK,4,2                  ## @NOTE_LINK
	.comm	_NOTE_RENAME,4,2                ## @NOTE_RENAME
	.comm	_NOTE_REVOKE,4,2                ## @NOTE_REVOKE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_kqueue                    ; -- Begin function init_kqueue
	.p2align	2
_init_kqueue:                           ; @init_kqueue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_kqueue
Lloh0:
	adrp	x19, _kq@GOTPAGE
Lloh1:
	ldr	x19, [x19, _kq@GOTPAGEOFF]
	str	x0, [x19]
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _target@GOTPAGE
Lloh3:
	ldr	x8, [x8, _target@GOTPAGEOFF]
Lloh4:
	adrp	x9, _EVFILT_VNODE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EVFILT_VNODE@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
Lloh7:
	ldr	w2, [x9]
Lloh8:
	adrp	x8, _EV_ADD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EV_ADD@GOTPAGEOFF]
Lloh10:
	adrp	x9, _EV_ONESHOT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EV_ONESHOT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh14:
	adrp	x8, _NOTE_DELETE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NOTE_DELETE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _NOTE_WRITE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NOTE_WRITE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _NOTE_EXTEND@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NOTE_EXTEND@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _NOTE_ATTRIB@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NOTE_ATTRIB@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _NOTE_LINK@GOTPAGE
Lloh27:
	ldr	x9, [x9, _NOTE_LINK@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _NOTE_RENAME@GOTPAGE
Lloh30:
	ldr	x9, [x9, _NOTE_RENAME@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _NOTE_REVOKE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _NOTE_REVOKE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w4, w8, w9
	add	x0, sp, #8
	mov	w5, #0
	mov	w6, #0
	bl	_EV_SET
	ldr	x0, [x19]
	add	x1, sp, #8
	mov	w2, #1
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_kevent
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_kq,8,3                         ; @kq
	.comm	_target,8,3                     ; @target
	.comm	_EVFILT_VNODE,4,2               ; @EVFILT_VNODE
	.comm	_EV_ADD,4,2                     ; @EV_ADD
	.comm	_EV_ONESHOT,4,2                 ; @EV_ONESHOT
	.comm	_NOTE_DELETE,4,2                ; @NOTE_DELETE
	.comm	_NOTE_WRITE,4,2                 ; @NOTE_WRITE
	.comm	_NOTE_EXTEND,4,2                ; @NOTE_EXTEND
	.comm	_NOTE_ATTRIB,4,2                ; @NOTE_ATTRIB
	.comm	_NOTE_LINK,4,2                  ; @NOTE_LINK
	.comm	_NOTE_RENAME,4,2                ; @NOTE_RENAME
	.comm	_NOTE_REVOKE,4,2                ; @NOTE_REVOKE
.subsections_via_symbols
