	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_page_prune_execute        ## -- Begin function heap_page_prune_execute
	.p2align	4, 0x90
_heap_page_prune_execute:               ## @heap_page_prune_execute
	.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	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r12
	movl	16(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_BufferGetPage
	movl	%eax, %r13d
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movl	%ebx, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r15,8), %esi
	movl	4(%r12,%r15,8), %ebx
	movl	%r13d, %edi
	callq	_PageGetItemId
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ItemIdSetRedirect
	incq	%r15
	cmpl	%r15d, %r14d
	jne	LBB0_2
LBB0_3:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_6
## %bb.4:
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %esi
	movl	%r13d, %edi
	callq	_PageGetItemId
	movl	%eax, %edi
	callq	_ItemIdSetDead
	incq	%rbx
	cmpl	%ebx, %r14d
	jne	LBB0_5
LBB0_6:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_9
## %bb.7:
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %esi
	movl	%r13d, %edi
	callq	_PageGetItemId
	movl	%eax, %edi
	callq	_ItemIdSetUnused
	incq	%rbx
	cmpl	%ebx, %r14d
	jne	LBB0_8
LBB0_9:
	movl	%r13d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PageRepairFragmentation        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_page_prune_execute        ; -- Begin function heap_page_prune_execute
	.p2align	2
_heap_page_prune_execute:               ; @heap_page_prune_execute
	.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, x6
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	bl	_BufferGetPage
	mov	x21, x0
	cmp	w24, #1
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w26, [x25], #8
	mov	x0, x21
	bl	_PageGetItemId
	mov	x1, x26
	bl	_ItemIdSetRedirect
	subs	w24, w24, #1
	b.ne	LBB0_1
LBB0_2:
	cmp	w22, #1
	b.lt	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23], #4
	mov	x0, x21
	bl	_PageGetItemId
	bl	_ItemIdSetDead
	subs	w22, w22, #1
	b.ne	LBB0_3
LBB0_4:
	cmp	w19, #1
	b.lt	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20], #4
	mov	x0, x21
	bl	_PageGetItemId
	bl	_ItemIdSetUnused
	subs	w19, w19, #1
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x21
	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
	b	_PageRepairFragmentation
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
