	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swp_pager_meta_free_all
_swp_pager_meta_free_all:               ## @swp_pager_meta_free_all
	.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	%rdi, %r15
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	(%r15), %rax
	movq	_OBJT_SWAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.1:
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_swp_pager_init_freerange
	addq	$8, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_SWAP_PCTRIE_LOOKUP_GE
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	movq	_SWAP_META_PAGES@GOTPCREL(%rip), %r14
	movq	_SWAPBLK_NONE@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r12
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_SWAP_PCTRIE_REMOVE
	movq	_swblk_zone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_uma_zfree
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_SWAP_PCTRIE_LOOKUP_GE
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	8(%rbx), %rsi
	movslq	(%r14), %rax
	leaq	(%rsi,%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rcx
	movq	(%rcx,%r15,8), %rdx
	cmpq	(%r13), %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	leaq	-44(%rbp), %rdi
	movq	%r12, %rsi
	callq	_swp_pager_update_freerange
	movl	(%r14), %eax
	jmp	LBB0_7
LBB0_10:
	movl	-44(%rbp), %edi
	movl	-48(%rbp), %esi
	callq	_swp_pager_freeswapspace
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJT_SWAP,8,3                  ## @OBJT_SWAP
	.comm	_SWAP_META_PAGES,4,2            ## @SWAP_META_PAGES
	.comm	_SWAPBLK_NONE,8,3               ## @SWAPBLK_NONE
	.comm	_swblk_zone,4,2                 ## @swblk_zone
	.no_dead_strip	_swp_pager_meta_free_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swp_pager_meta_free_all
_swp_pager_meta_free_all:               ; @swp_pager_meta_free_all
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
	bl	_VM_OBJECT_ASSERT_WLOCKED
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _OBJT_SWAP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJT_SWAP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.1:
	add	x0, sp, #8
	add	x1, sp, #12
	bl	_swp_pager_init_freerange
	add	x19, x19, #8
	mov	x0, x19
	mov	x1, #0
	bl	_SWAP_PCTRIE_LOOKUP_GE
	cbz	x0, LBB0_11
; %bb.2:
	mov	x20, x0
Lloh3:
	adrp	x22, _SWAP_META_PAGES@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SWAP_META_PAGES@GOTPAGEOFF]
Lloh5:
	adrp	x23, _SWAPBLK_NONE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _SWAPBLK_NONE@GOTPAGEOFF]
Lloh7:
	adrp	x24, _swblk_zone@GOTPAGE
Lloh8:
	ldr	x24, [x24, _swblk_zone@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x20, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, x25
	mov	x0, x19
	bl	_SWAP_PCTRIE_REMOVE
	ldr	w0, [x24]
	mov	x1, x20
	bl	_uma_zfree
	mov	x0, x19
	mov	x1, x21
	bl	_SWAP_PCTRIE_LOOKUP_GE
	mov	x20, x0
	cbz	x0, LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x21, [x20, #8]
	ldrsw	x25, [x22]
	cmp	w25, #1
	b.lt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, #0
	mov	x8, x25
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x26, x26, #1
	cmp	x26, w8, sxtw
	b.ge	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x20]
	ldr	x2, [x9, x26, lsl #3]
	ldr	x9, [x23]
	cmp	x2, x9
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x0, sp, #8
	add	x1, sp, #12
	bl	_swp_pager_update_freerange
	ldr	w8, [x22]
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x21
	b	LBB0_4
LBB0_11:
	ldp	w0, w1, [sp, #8]
	bl	_swp_pager_freeswapspace
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJT_SWAP,8,3                  ; @OBJT_SWAP
	.comm	_SWAP_META_PAGES,4,2            ; @SWAP_META_PAGES
	.comm	_SWAPBLK_NONE,8,3               ; @SWAPBLK_NONE
	.comm	_swblk_zone,4,2                 ; @swblk_zone
	.no_dead_strip	_swp_pager_meta_free_all
.subsections_via_symbols
