	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GenerationFree
_GenerationFree:                        ## @GenerationFree
	.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	%rdi, %r14
	movq	%rsi, %rdi
	callq	_GenerationPointerGetChunk
	movq	%rax, %r15
	movq	_GENERATIONCHUNK_PRIVATE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_VALGRIND_MAKE_MEM_DEFINED
	movq	24(%r15), %rbx
	movq	$0, 16(%r15)
	incq	(%rbx)
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setg	%dil
	callq	_Assert
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	setle	%dil
	callq	_Assert
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jge	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	24(%rbx), %rdi
	callq	_dlist_delete
	movq	(%r14), %rax
	cmpq	%rbx, %rax
	jne	LBB0_3
## %bb.2:
	movq	$0, (%r14)
	xorl	%eax, %eax
LBB0_3:
	subl	16(%rbx), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GENERATIONCHUNK_PRIVATE_LEN,4,2 ## @GENERATIONCHUNK_PRIVATE_LEN
	.comm	_WARNING,4,2                    ## @WARNING
	.no_dead_strip	_GenerationFree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GenerationFree
_GenerationFree:                        ; @GenerationFree
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_GenerationPointerGetChunk
	mov	x21, x0
Lloh0:
	adrp	x8, _GENERATIONCHUNK_PRIVATE_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENERATIONCHUNK_PRIVATE_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_VALGRIND_MAKE_MEM_DEFINED
	ldr	x20, [x21, #24]
	str	xzr, [x21, #16]
	ldp	x8, x9, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	cmp	x9, #0
	cset	w0, gt
	bl	_Assert
	ldp	x8, x9, [x20]
	cmp	x8, x9
	cset	w0, le
	bl	_Assert
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	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_2:
	add	x0, x20, #24
	bl	_dlist_delete
	ldr	x8, [x19]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #0
	str	xzr, [x19]
LBB0_4:
	ldr	w9, [x20, #16]
	sub	w8, w8, w9
	str	w8, [x19]
	mov	x0, x20
	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
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GENERATIONCHUNK_PRIVATE_LEN,4,2 ; @GENERATIONCHUNK_PRIVATE_LEN
	.comm	_WARNING,4,2                    ; @WARNING
	.no_dead_strip	_GenerationFree
.subsections_via_symbols
