	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ForgetPrivateRefCountEntry
_ForgetPrivateRefCountEntry:            ## @ForgetPrivateRefCountEntry
	.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
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_Assert
	movq	_PrivateRefCountArray@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rbx, %rax
	ja	LBB0_3
## %bb.1:
	movq	_REFCOUNT_ARRAY_ENTRIES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	cmpq	%rbx, %rax
	jbe	LBB0_3
## %bb.2:
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ReservedRefCountEntry@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	jmp	LBB0_4
LBB0_3:
	movl	8(%rbx), %eax
	movl	%eax, -12(%rbp)
	movq	_PrivateRefCountHash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HASH_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rsi
	leaq	-16(%rbp), %rcx
	callq	_hash_search
	movl	-16(%rbp), %edi
	callq	_Assert
	movq	_PrivateRefCountOverflowed@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setg	%dil
	callq	_Assert
	decq	(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PrivateRefCountArray,8,3       ## @PrivateRefCountArray
	.comm	_REFCOUNT_ARRAY_ENTRIES,8,3     ## @REFCOUNT_ARRAY_ENTRIES
	.comm	_InvalidBuffer,4,2              ## @InvalidBuffer
	.comm	_ReservedRefCountEntry,8,3      ## @ReservedRefCountEntry
	.comm	_PrivateRefCountHash,4,2        ## @PrivateRefCountHash
	.comm	_HASH_REMOVE,4,2                ## @HASH_REMOVE
	.comm	_PrivateRefCountOverflowed,8,3  ## @PrivateRefCountOverflowed
	.no_dead_strip	_ForgetPrivateRefCountEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ForgetPrivateRefCountEntry
_ForgetPrivateRefCountEntry:            ; @ForgetPrivateRefCountEntry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh0:
	adrp	x8, _PrivateRefCountArray@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PrivateRefCountArray@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _REFCOUNT_ARRAY_ENTRIES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REFCOUNT_ARRAY_ENTRIES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x8, x9, lsl #4
	cmp	x8, x19
	ccmp	x9, x19, #0, ls
	b.hi	LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, _PrivateRefCountHash@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PrivateRefCountHash@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _HASH_REMOVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HASH_REMOVE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x1, sp, #8
	add	x3, sp, #12
	bl	_hash_search
	ldr	w0, [sp, #12]
	bl	_Assert
Lloh12:
	adrp	x19, _PrivateRefCountOverflowed@GOTPAGE
Lloh13:
	ldr	x19, [x19, _PrivateRefCountOverflowed@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh15:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh17:
	adrp	x8, _ReservedRefCountEntry@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ReservedRefCountEntry@GOTPAGEOFF]
Lloh19:
	str	x19, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PrivateRefCountArray,8,3       ; @PrivateRefCountArray
	.comm	_REFCOUNT_ARRAY_ENTRIES,8,3     ; @REFCOUNT_ARRAY_ENTRIES
	.comm	_InvalidBuffer,4,2              ; @InvalidBuffer
	.comm	_ReservedRefCountEntry,8,3      ; @ReservedRefCountEntry
	.comm	_PrivateRefCountHash,4,2        ; @PrivateRefCountHash
	.comm	_HASH_REMOVE,4,2                ; @HASH_REMOVE
	.comm	_PrivateRefCountOverflowed,8,3  ; @PrivateRefCountOverflowed
	.no_dead_strip	_ForgetPrivateRefCountEntry
.subsections_via_symbols
