	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_changelist_add_          ## -- Begin function event_changelist_add_
	.p2align	4, 0x90
_event_changelist_add_:                 ## @event_changelist_add_
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_event_changelist_check
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_event_changelist_get_or_construct
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_EV_READ@GOTPCREL(%rip), %rsi
	movq	_EV_SIGNAL@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %edx
	movzwl	(%rsi), %esi
	orw	%dx, %si
	testw	%r15w, %si
	je	LBB0_4
## %bb.3:
	movq	_EV_CHANGE_ADD@GOTPCREL(%rip), %rsi
	movq	_EV_ET@GOTPCREL(%rip), %rdi
	movq	_EV_PERSIST@GOTPCREL(%rip), %rbx
	orw	(%rdi), %dx
	orw	(%rbx), %dx
	movl	%r15d, %edi
	andl	%edx, %edi
	orw	(%rsi), %di
	movw	%di, (%rax)
LBB0_4:
	movq	_EV_WRITE@GOTPCREL(%rip), %rdx
	testw	%r15w, (%rdx)
	je	LBB0_6
## %bb.5:
	movq	_EV_CHANGE_ADD@GOTPCREL(%rip), %rdx
	movq	_EV_ET@GOTPCREL(%rip), %rsi
	movq	_EV_PERSIST@GOTPCREL(%rip), %rdi
	movzwl	(%rdi), %edi
	orw	(%rsi), %di
	orw	(%rcx), %di
	movl	%r15d, %esi
	andl	%edi, %esi
	orw	(%rdx), %si
	movw	%si, 2(%rax)
LBB0_6:
	movq	_EV_CLOSED@GOTPCREL(%rip), %rdx
	testw	%r15w, (%rdx)
	je	LBB0_8
## %bb.7:
	movq	_EV_CHANGE_ADD@GOTPCREL(%rip), %rdx
	movq	_EV_ET@GOTPCREL(%rip), %rsi
	movq	_EV_PERSIST@GOTPCREL(%rip), %rdi
	movzwl	(%rdi), %edi
	orw	(%rsi), %di
	orw	(%rcx), %di
	andl	%edi, %r15d
	orw	(%rdx), %r15w
	movw	%r15w, 4(%rax)
LBB0_8:
	movq	%r14, %rdi
	callq	_event_changelist_check
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movl	$-1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_READ,2,1                    ## @EV_READ
	.comm	_EV_SIGNAL,2,1                  ## @EV_SIGNAL
	.comm	_EV_CHANGE_ADD,2,1              ## @EV_CHANGE_ADD
	.comm	_EV_ET,2,1                      ## @EV_ET
	.comm	_EV_PERSIST,2,1                 ## @EV_PERSIST
	.comm	_EV_WRITE,2,1                   ## @EV_WRITE
	.comm	_EV_CLOSED,2,1                  ## @EV_CLOSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_changelist_add_          ; -- Begin function event_changelist_add_
	.p2align	2
_event_changelist_add_:                 ; @event_changelist_add_
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	bl	_event_changelist_check
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_event_changelist_get_or_construct
	cbz	x0, LBB0_8
; %bb.1:
	and	w8, w20, #0xffff
Lloh0:
	adrp	x9, _EV_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EV_READ@GOTPAGEOFF]
	ldrh	w11, [x9]
Lloh2:
	adrp	x9, _EV_SIGNAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EV_SIGNAL@GOTPAGEOFF]
	ldrh	w13, [x9]
Lloh4:
	adrp	x10, _EV_CHANGE_ADD@GOTPAGE
Lloh5:
	ldr	x10, [x10, _EV_CHANGE_ADD@GOTPAGEOFF]
	orr	w14, w13, w11
Lloh6:
	adrp	x11, _EV_ET@GOTPAGE
Lloh7:
	ldr	x11, [x11, _EV_ET@GOTPAGEOFF]
Lloh8:
	adrp	x12, _EV_PERSIST@GOTPAGE
Lloh9:
	ldr	x12, [x12, _EV_PERSIST@GOTPAGEOFF]
	tst	w14, w8
	b.eq	LBB0_3
; %bb.2:
	ldrh	w14, [x10]
	ldrh	w15, [x11]
	ldrh	w16, [x12]
	orr	w13, w15, w13
	orr	w13, w13, w16
	and	w13, w13, w8
	orr	w13, w13, w14
	strh	w13, [x0]
LBB0_3:
Lloh10:
	adrp	x13, _EV_WRITE@GOTPAGE
Lloh11:
	ldr	x13, [x13, _EV_WRITE@GOTPAGEOFF]
	ldrh	w13, [x13]
	tst	w13, w8
	b.eq	LBB0_5
; %bb.4:
	ldrh	w13, [x10]
	ldrh	w14, [x11]
	ldrh	w15, [x12]
	orr	w14, w15, w14
	ldrh	w15, [x9]
	orr	w14, w14, w15
	and	w14, w14, w8
	orr	w13, w14, w13
	strh	w13, [x0, #2]
LBB0_5:
Lloh12:
	adrp	x13, _EV_CLOSED@GOTPAGE
Lloh13:
	ldr	x13, [x13, _EV_CLOSED@GOTPAGEOFF]
	ldrh	w13, [x13]
	tst	w13, w8
	b.eq	LBB0_7
; %bb.6:
	ldrh	w10, [x10]
	ldrh	w11, [x11]
	ldrh	w12, [x12]
	orr	w11, w12, w11
	ldrh	w9, [x9]
	orr	w9, w11, w9
	and	w8, w9, w8
	orr	w8, w8, w10
	strh	w8, [x0, #4]
LBB0_7:
	mov	x0, x19
	bl	_event_changelist_check
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_READ,2,1                    ; @EV_READ
	.comm	_EV_SIGNAL,2,1                  ; @EV_SIGNAL
	.comm	_EV_CHANGE_ADD,2,1              ; @EV_CHANGE_ADD
	.comm	_EV_ET,2,1                      ; @EV_ET
	.comm	_EV_PERSIST,2,1                 ; @EV_PERSIST
	.comm	_EV_WRITE,2,1                   ; @EV_WRITE
	.comm	_EV_CLOSED,2,1                  ; @EV_CLOSED
.subsections_via_symbols
