	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_pager_swapoff_object
_swap_pager_swapoff_object:             ## @swap_pager_swapoff_object
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_SWAP_PCTRIE_LOOKUP_GE
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %rbx
	xorl	%r14d, %r14d
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $r12
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_SWAP_PCTRIE_LOOKUP_GE
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_19
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	_SWAP_META_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jg	LBB0_3
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %r15d
	jne	LBB0_18
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	8(%rbx), %r12
	addq	%r15, %r12
	movl	$1, %r14d
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=2
	incq	%r15
	movq	_SWAP_META_PAGES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_16
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rax
	movq	(%rax,%r15,8), %r13
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_swp_pager_isondev
	testl	%eax, %eax
	movq	_SWAPBLK_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmoveq	%rax, %r13
	testq	%r14, %r14
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	_MAXPHYS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	cqto
	idivq	%rcx
	cmpq	%rax, %r14
	jl	LBB0_10
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rax, %r13
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	xorl	%r14d, %r14d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%rax, %r14
	jge	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%r14, %rax
	cmpq	%r13, %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=2
	leaq	(%r14,%r12), %rax
	movq	8(%rbx), %rcx
	addq	%r15, %rcx
	cmpq	%rax, %rcx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=2
	incq	%r14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_swp_pager_force_pagein
	movq	_SWAP_META_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	cmpl	%eax, %r15d
	jne	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cltq
	addq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_19:
	testq	%r14, %r14
	jle	LBB0_20
## %bb.21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_swp_pager_force_pagein         ## TAILCALL
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWAP_META_PAGES,4,2            ## @SWAP_META_PAGES
	.comm	_SWAPBLK_NONE,8,3               ## @SWAPBLK_NONE
	.comm	_MAXPHYS,8,3                    ## @MAXPHYS
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_swap_pager_swapoff_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_pager_swapoff_object
_swap_pager_swapoff_object:             ; @swap_pager_swapoff_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	str	x1, [sp]                        ; 8-byte Folded Spill
	mov	x0, x1
	mov	x1, #0
	bl	_SWAP_PCTRIE_LOOKUP_GE
	cbz	x0, LBB0_19
; %bb.1:
	mov	x22, x0
	mov	x24, #0
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x26, _SWAP_META_PAGES@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SWAP_META_PAGES@GOTPAGEOFF]
Lloh2:
	adrp	x27, _SWAPBLK_NONE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SWAPBLK_NONE@GOTPAGEOFF]
                                        ; implicit-def: $x21
                                        ; implicit-def: $x23
Lloh4:
	adrp	x19, _PAGE_SIZE@GOTPAGE
Lloh5:
	ldr	x19, [x19, _PAGE_SIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x0, x1, [sp]                    ; 16-byte Folded Reload
	bl	_SWAP_PCTRIE_LOOKUP_GE
	mov	x22, x0
	cbz	x0, LBB0_17
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x22, #8]
	add	x23, x28, x9
	mov	w24, #1
	mov	x21, x8
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x28, x28, #1
	ldrsw	x8, [x26]
	cmp	x28, x8
	b.ge	LBB0_14
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22]
	ldr	x25, [x8, x28, lsl #3]
	mov	x0, x25
	mov	x1, x20
	bl	_swp_pager_isondev
	ldr	x9, [x27]
	cmp	w0, #0
	csel	x8, x9, x25, eq
	cbz	x24, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
Lloh6:
	adrp	x9, _MAXPHYS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAXPHYS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x10, [x19]
	sdiv	x9, x9, x10
	add	x10, x21, x24
	cmp	x24, x9
	ccmp	x10, x8, #0, lt
	b.ne	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x8, x24, x23
	ldr	x9, [x22, #8]
	add	x9, x28, x9
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x24, #0
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w28, w8
	b.ne	LBB0_2
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x24
	bl	_swp_pager_force_pagein
	mov	x24, #0
	ldr	w8, [x26]
	cmp	w28, w8
	b.ne	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x22, #8]
	add	x8, x9, w8, sxtw
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_2
LBB0_17:
	cmp	x24, #1
	b.lt	LBB0_19
; %bb.18:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_swp_pager_force_pagein
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SWAP_META_PAGES,4,2            ; @SWAP_META_PAGES
	.comm	_SWAPBLK_NONE,8,3               ; @SWAPBLK_NONE
	.comm	_MAXPHYS,8,3                    ; @MAXPHYS
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_swap_pager_swapoff_object
.subsections_via_symbols
