	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evmap_io_del_                  ## -- Begin function evmap_io_del_
	.p2align	4, 0x90
_evmap_io_del_:                         ## @evmap_io_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	%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
	testq	%rsi, %rsi
	js	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	xorl	%edi, %edi
	cmpq	%rsi, (%rdx)
	sete	%dil
	callq	_EVUTIL_ASSERT
	movl	$-1, %eax
	cmpq	%rbx, (%r15)
	jle	LBB0_2
## %bb.4:
	movq	_evmap_io@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_GET_IO_SLOT
	movq	_EV_READ@GOTPCREL(%rip), %rcx
	movzwl	8(%r14), %eax
	testw	%ax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	$1, %edi
	callq	_EVUTIL_ASSERT
	movzwl	8(%r14), %eax
LBB0_6:
	movq	_EV_WRITE@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %r13d
	testw	%ax, %r13w
	je	LBB0_7
## %bb.8:
	movl	$1, %edi
	callq	_EVUTIL_ASSERT
	movzwl	8(%r14), %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%r13d, %r13d
LBB0_9:
	movq	_EV_CLOSED@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ebx
	testw	%ax, %bx
	je	LBB0_11
## %bb.10:
	orl	%r13d, %ebx
	movl	$1, %edi
	callq	_EVUTIL_ASSERT
	movl	%ebx, %r13d
LBB0_11:
	movq	(%r14), %rsi
	movswl	%r13w, %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	*(%r12)
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_evmap_io,4,2                   ## @evmap_io
	.comm	_EV_READ,2,1                    ## @EV_READ
	.comm	_EV_WRITE,2,1                   ## @EV_WRITE
	.comm	_EV_CLOSED,2,1                  ## @EV_CLOSED
	.comm	_ev_io_next,4,2                 ## @ev_io_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evmap_io_del_                  ; -- Begin function evmap_io_del_
	.p2align	2
_evmap_io_del_:                         ; @evmap_io_del_
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	tbnz	x1, #63, LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	ldr	x8, [x2]
	cmp	x8, x1
	cset	w0, eq
	bl	_EVUTIL_ASSERT
	ldr	x8, [x19]
	cmp	x8, x21
	b.gt	LBB0_5
; %bb.2:
	mov	w0, #-1
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x8, _evmap_io@GOTPAGE
Lloh1:
	ldr	x8, [x8, _evmap_io@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x19
	mov	x2, x21
	bl	_GET_IO_SLOT
Lloh3:
	adrp	x8, _EV_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
	ldrh	w9, [x8]
	ldrh	w8, [x20, #8]
	tst	w8, w9
	b.eq	LBB0_7
; %bb.6:
	mov	w0, #1
	bl	_EVUTIL_ASSERT
	ldrh	w8, [x20, #8]
LBB0_7:
Lloh5:
	adrp	x9, _EV_WRITE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EV_WRITE@GOTPAGEOFF]
	ldrh	w21, [x9]
	tst	w21, w8
	b.eq	LBB0_9
; %bb.8:
	mov	w0, #1
	bl	_EVUTIL_ASSERT
	ldrh	w8, [x20, #8]
	b	LBB0_10
LBB0_9:
	mov	w21, #0
LBB0_10:
Lloh7:
	adrp	x9, _EV_CLOSED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _EV_CLOSED@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	orr	w21, w9, w21
	mov	w0, #1
	bl	_EVUTIL_ASSERT
LBB0_12:
	ldr	x8, [x22]
	ldr	x1, [x20]
	sxth	w3, w21
	mov	x0, x19
	mov	w2, #0
	blr	x8
	brk	#0x1
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_evmap_io,4,2                   ; @evmap_io
	.comm	_EV_READ,2,1                    ; @EV_READ
	.comm	_EV_WRITE,2,1                   ; @EV_WRITE
	.comm	_EV_CLOSED,2,1                  ; @EV_CLOSED
	.comm	_ev_io_next,4,2                 ; @ev_io_next
.subsections_via_symbols
