	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FreePagePopSpanLeader
_FreePagePopSpanLeader:                 ## @FreePagePopSpanLeader
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_fpm_segment_base
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_fpm_page_to_pointer
	movq	%rax, %r12
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_relptr_access
	movq	%rax, %r14
	movq	16(%r12), %rsi
	movq	%rbx, %rdi
	callq	_relptr_access
	movq	%rax, %r13
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	16(%r14), %rdi
	movq	16(%r12), %rsi
	callq	_relptr_copy
LBB0_2:
	testq	%r13, %r13
	jne	LBB0_4
## %bb.3:
	movl	8(%r12), %edi
	movq	_FPM_NUM_FREELISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Min
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rcx
	leaq	-8(,%rax,8), %r13
	movq	_FPM_PAGE_SIZE@GOTPCREL(%rip), %rdx
	imulq	(%rdx), %r15
	xorl	%edi, %edi
	cmpq	%r15, -8(%rcx,%rax,8)
	sete	%dil
	callq	_Assert
	addq	(%rbx), %r13
LBB0_4:
	movq	(%r13), %rdi
	movq	(%r12), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_relptr_copy                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FPM_NUM_FREELISTS,4,2          ## @FPM_NUM_FREELISTS
	.comm	_FPM_PAGE_SIZE,8,3              ## @FPM_PAGE_SIZE
	.no_dead_strip	_FreePagePopSpanLeader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FreePagePopSpanLeader
_FreePagePopSpanLeader:                 ; @FreePagePopSpanLeader
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_fpm_segment_base
	mov	x22, x0
	mov	x1, x21
	bl	_fpm_page_to_pointer
	mov	x19, x0
	ldr	x1, [x0]
	mov	x0, x22
	bl	_relptr_access
	mov	x23, x0
	ldr	x1, [x19, #16]
	mov	x0, x22
	bl	_relptr_access
	mov	x22, x0
	cbz	x23, LBB0_2
; %bb.1:
	ldr	x0, [x23, #16]
	ldr	x1, [x19, #16]
	bl	_relptr_copy
LBB0_2:
	cbnz	x22, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _FPM_NUM_FREELISTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FPM_NUM_FREELISTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_Min
	lsl	x8, x0, #3
	ldr	x9, [x20]
	sub	x22, x8, #8
	ldr	x8, [x9, x22]
Lloh3:
	adrp	x9, _FPM_PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FPM_PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mul	x9, x9, x21
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x20]
	add	x22, x8, x22
LBB0_4:
	ldr	x0, [x22]
	ldr	x1, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_relptr_copy
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FPM_NUM_FREELISTS,4,2          ; @FPM_NUM_FREELISTS
	.comm	_FPM_PAGE_SIZE,8,3              ; @FPM_PAGE_SIZE
	.no_dead_strip	_FreePagePopSpanLeader
.subsections_via_symbols
