	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_evfilt_read               ## -- Begin function test_evfilt_read
	.p2align	4, 0x90
_test_evfilt_read:                      ## @test_evfilt_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_AF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_sockfd@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_socketpair
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_kqueue
	movq	_kqfd@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_test_kevent_socket_add
	xorl	%eax, %eax
	callq	_test_kevent_socket_del
	xorl	%eax, %eax
	callq	_test_kevent_socket_get
	xorl	%eax, %eax
	callq	_test_kevent_socket_disable_and_enable
	xorl	%eax, %eax
	callq	_test_kevent_socket_oneshot
	xorl	%eax, %eax
	callq	_test_kevent_socket_clear
	xorl	%eax, %eax
	callq	_test_kevent_socket_eof
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_close                          ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_sockfd,4,2                     ## @sockfd
	.comm	_kqfd,4,2                       ## @kqfd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_evfilt_read               ; -- Begin function test_evfilt_read
	.p2align	2
_test_evfilt_read:                      ; @test_evfilt_read
	.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
Lloh0:
	adrp	x8, _AF_UNIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_UNIX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _sockfd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sockfd@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_socketpair
	tbnz	x0, #63, LBB0_2
; %bb.1:
	bl	_kqueue
Lloh9:
	adrp	x19, _kqfd@GOTPAGE
Lloh10:
	ldr	x19, [x19, _kqfd@GOTPAGEOFF]
	str	w0, [x19]
	bl	_test_kevent_socket_add
	bl	_test_kevent_socket_del
	bl	_test_kevent_socket_get
	bl	_test_kevent_socket_disable_and_enable
	bl	_test_kevent_socket_oneshot
	bl	_test_kevent_socket_clear
	bl	_test_kevent_socket_eof
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_close
LBB0_2:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_sockfd,4,2                     ; @sockfd
	.comm	_kqfd,4,2                       ; @kqfd
.subsections_via_symbols
