	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evmap_io_reinit_iter_fn
_evmap_io_reinit_iter_fn:               ## @evmap_io_reinit_iter_fn
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %r14
	movq	%rdx, %rdi
	callq	_EVUTIL_ASSERT
	xorl	%eax, %eax
	cmpq	$0, 24(%rbx)
	movl	$0, %ecx
	je	LBB0_2
## %bb.1:
	movq	_EV_READ@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
LBB0_2:
	cmpq	$0, 16(%rbx)
	movl	$0, %r15d
	je	LBB0_4
## %bb.3:
	movq	_EV_WRITE@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %r15d
LBB0_4:
	orl	%ecx, %r15d
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_EV_CLOSED@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
LBB0_6:
	leaq	32(%rbx), %r13
	orl	%eax, %r15d
	movq	8(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_memset
LBB0_8:
	testw	%r15w, %r15w
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_EV_ET@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	xorl	%edx, %edx
	testw	%cx, (%rax)
	cmovnel	%ecx, %edx
	orl	%edx, %r15d
	jmp	LBB0_12
LBB0_9:
	xorl	%r15d, %r15d
LBB0_12:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movswl	%r15w, %ecx
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r13, %r8
	callq	*(%r14)
	cmpl	$-1, %eax
	jne	LBB0_14
## %bb.13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$-1, (%rax)
LBB0_14:
	xorl	%eax, %eax
	addq	$24, %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_WRITE,2,1                   ## @EV_WRITE
	.comm	_EV_CLOSED,2,1                  ## @EV_CLOSED
	.comm	_EV_ET,2,1                      ## @EV_ET
	.no_dead_strip	_evmap_io_reinit_iter_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evmap_io_reinit_iter_fn
_evmap_io_reinit_iter_fn:               ; @evmap_io_reinit_iter_fn
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x0]
	mov	x0, x2
	bl	_EVUTIL_ASSERT
	ldp	x10, x8, [x23, #16]
Lloh0:
	adrp	x9, _EV_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EV_READ@GOTPAGEOFF]
	ldrh	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
Lloh2:
	adrp	x9, _EV_WRITE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EV_WRITE@GOTPAGEOFF]
	ldrh	w9, [x9]
	ldr	x11, [x23, #8]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh4:
	adrp	x9, _EV_CLOSED@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EV_CLOSED@GOTPAGEOFF]
	add	x22, x23, #32
	ldrh	w9, [x9]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w25, w8, w9
	ldr	x2, [x24, #8]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	w1, #0
	bl	_memset
LBB0_2:
	tst	w25, #0xffff
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x23
	bl	_LIST_FIRST
	cbz	x0, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _EV_ET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_ET@GOTPAGEOFF]
	ldrh	w9, [x0]
	ldrh	w8, [x8]
	and	w9, w8, w9
	tst	w9, #0xffff
	csel	w8, wzr, w8, eq
	orr	w25, w8, w25
	b	LBB0_6
LBB0_5:
	mov	w25, #0
LBB0_6:
	ldr	x8, [x24]
	sxth	w3, w25
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	x4, x22
	blr	x8
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
	mov	w8, #-1
	str	w8, [x19]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_READ,2,1                    ; @EV_READ
	.comm	_EV_WRITE,2,1                   ; @EV_WRITE
	.comm	_EV_CLOSED,2,1                  ; @EV_CLOSED
	.comm	_EV_ET,2,1                      ; @EV_ET
	.no_dead_strip	_evmap_io_reinit_iter_fn
.subsections_via_symbols
