	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_kqueue                    ## -- Begin function test_kqueue
	.p2align	4, 0x90
_test_kqueue:                           ## @test_kqueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_test_begin
	xorl	%eax, %eax
	callq	_kqueue
	movq	_kqfd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	xorl	%eax, %eax
	callq	_test_no_kevents
	xorl	%eax, %eax
	popq	%rbp
	jmp	_success                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kqueue()"

	.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_kqueue                    ; -- Begin function test_kqueue
	.p2align	2
_test_kqueue:                           ; @test_kqueue
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_test_begin
	bl	_kqueue
Lloh2:
	adrp	x8, _kqfd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kqfd@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	bl	_test_no_kevents
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_success
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kqueue()"

	.comm	_kqfd,4,2                       ; @kqfd
.subsections_via_symbols
