	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_fsmonitor                  ## -- Begin function add_fsmonitor
	.p2align	4, 0x90
_add_fsmonitor:                         ## @add_fsmonitor
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 24(%rdi)
	je	LBB0_1
## %bb.11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	_trace_fsmonitor@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_trace_printf_key
	movq	_FSMONITOR_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 28(%r14)
	xorl	%eax, %eax
	callq	_getnanotime
	movl	%eax, 24(%r14)
	movl	(%r14), %r8d
	testq	%r8, %r8
	je	LBB0_8
## %bb.2:
	movq	16(%r14), %rax
	cmpl	$1, %r8d
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_4:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	movq	_CE_FSMONITOR_VALID@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ecx
	notl	%ecx
	movq	(%rax,%rdx,8), %rbx
	andl	%ecx, (%rbx)
	movl	(%rdi), %ecx
	notl	%ecx
	movq	8(%rax,%rdx,8), %rbx
	andl	%ecx, (%rbx)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_5
LBB0_6:
	testb	$1, %r8b
	je	LBB0_8
## %bb.7:
	movq	_CE_FSMONITOR_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	movq	(%rax,%rdx,8), %rax
	andl	%ecx, (%rax)
LBB0_8:
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_add_untracked_cache
	movq	8(%r14), %rax
	movl	$1, (%rax)
LBB0_10:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_refresh_fsmonitor              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_trace_fsmonitor,4,2            ## @trace_fsmonitor
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add fsmonitor"

	.comm	_FSMONITOR_CHANGED,4,2          ## @FSMONITOR_CHANGED
	.comm	_CE_FSMONITOR_VALID,4,2         ## @CE_FSMONITOR_VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_fsmonitor                  ; -- Begin function add_fsmonitor
	.p2align	2
_add_fsmonitor:                         ; @add_fsmonitor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x0, _trace_fsmonitor@GOTPAGE
Lloh1:
	ldr	x0, [x0, _trace_fsmonitor@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trace_printf_key
Lloh4:
	adrp	x8, _FSMONITOR_CHANGED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FSMONITOR_CHANGED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x19, #28]
	orr	w8, w9, w8
	str	w8, [x19, #28]
	bl	_getnanotime
	str	w0, [x19, #24]
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	x9, [x19, #16]
Lloh7:
	adrp	x10, _CE_FSMONITOR_VALID@GOTPAGE
Lloh8:
	ldr	x10, [x10, _CE_FSMONITOR_VALID@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	ldr	x12, [x9], #8
	ldr	w13, [x12]
	bic	w11, w13, w11
	str	w11, [x12]
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_add_untracked_cache
	ldr	x8, [x19, #8]
	mov	w9, #1
	str	w9, [x8]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_refresh_fsmonitor
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_trace_fsmonitor,4,2            ; @trace_fsmonitor
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add fsmonitor"

	.comm	_FSMONITOR_CHANGED,4,2          ; @FSMONITOR_CHANGED
	.comm	_CE_FSMONITOR_VALID,4,2         ; @CE_FSMONITOR_VALID
.subsections_via_symbols
