	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eloop_unregister_event         ## -- Begin function eloop_unregister_event
	.p2align	4, 0x90
_eloop_unregister_event:                ## @eloop_unregister_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$8, %rsi
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %rax
	movq	_eloop@GOTPCREL(%rip), %rbx
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.2:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.3:
	leaq	-4(,%rcx,4), %rdx
	movq	%rcx, %rsi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rdi
	addq	$-4, %rdx
	decq	%rsi
	jne	LBB0_4
	jmp	LBB0_10
LBB0_6:
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.7:
	cmpq	$1, %rsi
	je	LBB0_9
## %bb.8:
	leaq	8(%rdi), %rsi
	callq	_os_memmove
	movq	(%rbx), %rcx
LBB0_9:
	decq	%rcx
	movq	%rcx, (%rbx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eloop,16,3                     ## @eloop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eloop_unregister_event         ; -- Begin function eloop_unregister_event
	.p2align	2
_eloop_unregister_event:                ; @eloop_unregister_event
	.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
	cmp	x1, #8
	b.ne	LBB0_10
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x19, _eloop@GOTPAGE
Lloh1:
	ldr	x19, [x19, _eloop@GOTPAGEOFF]
	ldp	x9, x0, [x19]
	cmp	x0, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_10
; %bb.2:
	lsl	x10, x9, #2
	sub	x2, x10, #4
	mov	x10, x9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0]
	cmp	x11, x8
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #8
	sub	x2, x2, #4
	sub	x10, x10, #1
	cbnz	x10, LBB0_3
	b	LBB0_10
LBB0_5:
	cbz	x10, LBB0_10
; %bb.6:
	cmp	x10, #1
	b.ne	LBB0_8
; %bb.7:
	sub	x8, x9, #1
	b	LBB0_9
LBB0_8:
	add	x1, x0, #8
	bl	_os_memmove
	ldr	x8, [x19]
	sub	x8, x8, #1
LBB0_9:
	str	x8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_eloop,16,3                     ; @eloop
.subsections_via_symbols
