	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eloop_unregister_read_sock     ## -- Begin function eloop_unregister_read_sock
	.p2align	4, 0x90
_eloop_unregister_read_sock:            ## @eloop_unregister_read_sock
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_eloop@GOTPCREL(%rip), %r14
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rbx,8), %eax
	cmpl	%edi, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	addq	$-8, %r15
	cmpq	%rbx, %rdx
	jne	LBB0_3
	jmp	LBB0_9
LBB0_5:
	cmpq	%rbx, %rdx
	je	LBB0_9
## %bb.6:
	movl	4(%rcx,%rbx,8), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_WSAEventSelect
	movq	16(%r14), %rax
	movl	4(%rax,%rbx,8), %edi
	callq	_WSACloseEvent
	movq	(%r14), %rax
	leaq	-1(%rax), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_8
## %bb.7:
	movq	16(%r14), %rdi
	subq	%r15, %rdi
	leaq	8(%rdi), %rsi
	subq	%rbx, %rax
	leaq	-4(,%rax,4), %rdx
	callq	_os_memmove
	movq	(%r14), %rcx
	decq	%rcx
LBB0_8:
	movq	%rcx, (%r14)
	movl	$1, 8(%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eloop,24,3                     ## @eloop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eloop_unregister_read_sock     ; -- Begin function eloop_unregister_read_sock
	.p2align	2
_eloop_unregister_read_sock:            ; @eloop_unregister_read_sock
	.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
Lloh0:
	adrp	x19, _eloop@GOTPAGE
Lloh1:
	ldr	x19, [x19, _eloop@GOTPAGEOFF]
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	cmp	x9, #0
	ccmp	x10, #0, #4, ne
	b.eq	LBB0_9
; %bb.1:
	neg	x11, x10
	mov	w21, #1
	mov	w20, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x9, x20
	ldur	w8, [x8, #-4]
	cmp	w8, w0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	add	x8, x11, x21
	add	x20, x20, #8
	cmp	x8, #1
	b.ne	LBB0_2
	b	LBB0_9
LBB0_4:
	sub	x10, x21, x10
	cmp	x10, #1
	b.eq	LBB0_9
; %bb.5:
	ldr	w1, [x9, x20]
	mov	x0, x8
	mov	w2, #0
	bl	_WSAEventSelect
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x20]
	bl	_WSACloseEvent
	ldr	x9, [x19]
	subs	x8, x9, x21
	b.ne	LBB0_7
; %bb.6:
	sub	x8, x9, #1
	b	LBB0_8
LBB0_7:
	ldr	x9, [x19, #16]
	add	x9, x9, x20
	sub	x0, x9, #4
	add	x1, x9, #4
	lsl	x2, x8, #2
	bl	_os_memmove
	ldr	x8, [x19]
	sub	x8, x8, #1
LBB0_8:
	str	x8, [x19]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_eloop,24,3                     ; @eloop
.subsections_via_symbols
