	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function se_del
_se_del:                                ## @se_del
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, 24(%rbx)
	sete	%dil
	callq	_ASSERT
	movq	_D_EVENT_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dmsg
	cmpq	%r14, (%rbx)
	jbe	LBB0_2
## %bb.1:
	leaq	20(%rbx), %rsi
	movq	%r14, %rdi
	callq	_FD_CLR
	leaq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_FD_CLR
	movq	8(%rbx), %rax
	movq	$0, (%rax,%r14,8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_D_EVENT_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_msg                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_D_EVENT_WAIT,4,2               ## @D_EVENT_WAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SE_DEL ev=%d"

	.comm	_D_EVENT_ERRORS,4,2             ## @D_EVENT_ERRORS
L_.str.1:                               ## @.str.1
	.asciz	"Error: select/se_del: too many I/O wait events"

	.no_dead_strip	_se_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function se_del
_se_del:                                ; @se_del
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_ASSERT
Lloh0:
	adrp	x8, _D_EVENT_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_EVENT_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dmsg
	ldr	x8, [x20]
	cmp	x8, x19
	b.ls	LBB0_2
; %bb.1:
	add	x1, x20, #20
	mov	x0, x19
	bl	_FD_CLR
	add	x1, x20, #16
	mov	x0, x19
	bl	_FD_CLR
	ldr	x8, [x20, #8]
	str	xzr, [x8, x19, lsl #3]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x8, _D_EVENT_ERRORS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _D_EVENT_ERRORS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_msg
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_D_EVENT_WAIT,4,2               ; @D_EVENT_WAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SE_DEL ev=%d"

	.comm	_D_EVENT_ERRORS,4,2             ; @D_EVENT_ERRORS
l_.str.1:                               ; @.str.1
	.asciz	"Error: select/se_del: too many I/O wait events"

	.no_dead_strip	_se_del
.subsections_via_symbols
