	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_pager_getpages
_swap_pager_getpages:                   ## @swap_pager_getpages
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	(%rsi), %rax
	movl	(%rax), %esi
	leaq	-92(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_swap_pager_haspage
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%r15, %r15
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.3:
	movq	%r12, %rax
	leal	-1(%r12), %ebx
	xorl	%edi, %edi
	cmpl	-72(%rbp), %ebx
	setle	%dil
	movslq	%eax, %r14
	movq	%r14, %rsi
	callq	_KASSERT
	movl	(%r15), %edi
	movl	-72(%rbp), %esi
	subl	%ebx, %esi
	callq	_imin
	movl	%eax, (%r15)
	movq	-8(%r13,%r14,8), %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%rdi), %ebx
	movq	_listq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TAILQ_NEXT
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	notl	%ebx
	addl	(%rax), %ebx
	cmpl	(%r15), %ebx
	jge	LBB0_6
## %bb.5:
	movl	%ebx, (%r15)
LBB0_6:
	testq	%r14, %r14
	je	LBB0_10
## %bb.7:
	movl	(%r14), %edi
	movl	-92(%rbp), %esi
	callq	_imin
	movl	%eax, (%r14)
	movq	(%r13), %rdi
	movl	(%rdi), %ebx
	movq	_pglist@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_listq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_TAILQ_PREV
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	(%rax), %eax
	notl	%eax
	addl	%eax, %ebx
	cmpl	(%r14), %ebx
	jge	LBB0_10
## %bb.9:
	movl	%ebx, (%r14)
LBB0_10:
	movq	(%r13), %r8
	movq	%r12, %r9
	testl	%r9d, %r9d
	jle	LBB0_19
## %bb.11:
	movq	_VPO_SWAPINPROG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r8)
	cmpl	$1, %r9d
	je	LBB0_19
## %bb.12:
	movl	%r9d, %edi
	leaq	-1(%rdi), %rdx
	addq	$-2, %rdi
	movl	%edx, %ecx
	andl	$3, %ecx
	movl	$1, %esi
	cmpq	$3, %rdi
	jb	LBB0_16
## %bb.13:
	andq	$-4, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13,%rsi,8), %rdi
	orl	%eax, 4(%rdi)
	movq	16(%r13,%rsi,8), %rdi
	orl	%eax, 4(%rdi)
	movq	24(%r13,%rsi,8), %rdi
	orl	%eax, 4(%rdi)
	movq	32(%r13,%rsi,8), %rdi
	orl	%eax, 4(%rdi)
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_14
## %bb.15:
	incq	%rsi
LBB0_16:
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.17:
	leaq	(,%rsi,8), %rdx
	addq	%r13, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	orl	%eax, 4(%rdi)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_18
LBB0_19:
	testq	%r14, %r14
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_20
## %bb.21:
	xorl	%r15d, %r15d
	cmpl	$0, (%r14)
	jle	LBB0_22
## %bb.23:
	movq	%r8, %r12
	movl	(%r8), %esi
	decl	%esi
	movq	_VM_ALLOC_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_vm_page_alloc
	testq	%rax, %rax
	je	LBB0_27
## %bb.24:
	movl	$1, %r13d
	movl	$-2, %ebx
	movq	_VPO_SWAPINPROG@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movl	(%r14), %eax
	movq	%rcx, %r12
	orl	%eax, 4(%rcx)
	movl	%r13d, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jge	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	leal	1(%r15), %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %esi
	addl	%ebx, %esi
	movq	_VM_ALLOC_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_vm_page_alloc
	decl	%ebx
	testq	%rax, %rax
	jne	LBB0_25
	jmp	LBB0_27
LBB0_1:
	movq	_VM_PAGER_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_58
LBB0_20:
	movq	%r8, %r12
	testq	%r15, %r15
	jne	LBB0_29
	jmp	LBB0_35
LBB0_22:
	movq	%r8, %r12
LBB0_27:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r15d, (%r14)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_35
LBB0_29:
	cmpl	$0, (%r15)
	jle	LBB0_30
## %bb.31:
	leal	-1(%r9), %eax
	movslq	%eax, %r14
	xorl	%ebx, %ebx
	movq	_VM_ALLOC_NORMAL@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14,8), %rax
	movl	(%rax), %eax
	leal	(%rbx,%rax), %esi
	incl	%esi
	movl	(%r15), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_vm_page_alloc
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	_VPO_SWAPINPROG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
	incl	%ebx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %ebx
	jl	LBB0_32
	jmp	LBB0_34
LBB0_30:
	xorl	%ebx, %ebx
LBB0_34:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%ebx, (%r15)
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_35:
	movl	%r9d, %ebx
	testq	%r14, %r14
	je	LBB0_37
## %bb.36:
	movl	(%r14), %ebx
	addl	%r9d, %ebx
LBB0_37:
	testq	%r15, %r15
	je	LBB0_39
## %bb.38:
	addl	(%r15), %ebx
LBB0_39:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_vm_object_pip_add
	movq	%r12, %r13
	movl	(%r12), %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_swp_pager_meta_ctl
	movq	_SWAPBLK_NONE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpq	(%rcx), %rax
	setne	%dil
	movslq	%r14d, %rsi
	callq	_KASSERT
	movq	%r15, %rdi
	callq	_VM_OBJECT_WUNLOCK
	movq	_swrbuf_zone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uma_zalloc
	movq	%rax, %r14
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_42
## %bb.40:
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	xorl	%ebx, %ebx
	movq	%r13, %r12
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	addl	%ebx, %eax
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	sete	%dil
	callq	_MPASS
	movq	72(%r14), %rax
	movq	%r12, (%rax,%rbx,8)
	incq	%rbx
	movq	_listq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %r12
	cmpq	%rbx, %r15
	jne	LBB0_41
LBB0_42:
	movq	_B_PAGING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%r14)
	movq	_BIO_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_swp_pager_async_iodone@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_thread0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_crhold
	movq	%rax, 48(%r14)
	movl	(%rbx), %edi
	callq	_crhold
	movq	%rax, 40(%r14)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 24(%r14)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	imull	%ebx, %ecx
	movl	%ecx, (%r14)
	movl	(%rax), %eax
	imull	%ebx, %eax
	movl	%eax, 4(%r14)
	movl	%ebx, 8(%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movl	$0, %ecx
	je	LBB0_44
## %bb.43:
	movl	(%rax), %ecx
LBB0_44:
	movl	%ecx, 12(%r14)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_45
## %bb.46:
	movl	(%rax), %eax
	jmp	LBB0_47
LBB0_45:
	xorl	%eax, %eax
LBB0_47:
	movl	%eax, 16(%r14)
	movq	_v_swapin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_CNT_INC
	movq	_v_swappgsin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_VM_CNT_ADD
	movq	%r14, %rdi
	callq	_BUF_KERNPROC
	movq	%r14, %rdi
	callq	_swp_pager_strategy
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_VM_OBJECT_WLOCK
	movq	(%r15), %rcx
	movl	4(%rcx), %eax
	movq	_VPO_SWAPINPROG@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_52
## %bb.48:
	addq	$4, %rcx
	movq	_v_intrans@GOTPCREL(%rip), %r12
	movq	_PSWP@GOTPCREL(%rip), %r13
	movq	_hz@GOTPCREL(%rip), %r15
	leaq	L_.str.2(%rip), %rbx
	movq	%rcx, %rdx
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_49 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	leaq	4(%rcx), %rdx
	movl	4(%rcx), %eax
	movq	_VPO_SWAPINPROG@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_52
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	movq	_VPO_SWAPSLEEP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdx)
	movl	(%r12), %edi
	callq	_VM_CNT_INC
	movl	(%r13), %edx
	movl	(%r15), %eax
	shll	$2, %eax
	leal	(%rax,%rax,4), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movq	%rbx, %rcx
	callq	_VM_OBJECT_SLEEP
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movl	32(%r14), %esi
	movl	(%r14), %ecx
	movl	24(%r14), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
	jmp	LBB0_51
LBB0_52:
	movq	_VM_PAGER_OK@GOTPCREL(%rip), %rax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	testl	%edi, %edi
	jle	LBB0_58
## %bb.53:
	movq	_VM_PAGE_BITS_ALL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	_VM_PAGER_ERROR@GOTPCREL(%rip), %r8
	cmpq	%rsi, 8(%rcx)
	jne	LBB0_57
## %bb.54:
	movl	%edi, %ecx
	movl	$1, %edi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rcx
	je	LBB0_58
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	(%rdx,%rdi,8), %rbx
	incq	%rdi
	cmpq	%rsi, 8(%rbx)
	je	LBB0_55
LBB0_57:
	movq	%r8, %rax
LBB0_58:
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_PAGER_FAIL,4,2              ## @VM_PAGER_FAIL
	.comm	_listq,4,2                      ## @listq
	.comm	_pglist,4,2                     ## @pglist
	.comm	_VPO_SWAPINPROG,4,2             ## @VPO_SWAPINPROG
	.comm	_VM_ALLOC_NORMAL,4,2            ## @VM_ALLOC_NORMAL
	.comm	_SWAPBLK_NONE,8,3               ## @SWAPBLK_NONE
	.comm	_swrbuf_zone,4,2                ## @swrbuf_zone
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_B_PAGING,4,2                   ## @B_PAGING
	.comm	_BIO_READ,4,2                   ## @BIO_READ
	.comm	_swp_pager_async_iodone,4,2     ## @swp_pager_async_iodone
	.comm	_thread0,4,2                    ## @thread0
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_v_swapin,4,2                   ## @v_swapin
	.comm	_v_swappgsin,4,2                ## @v_swappgsin
	.comm	_VPO_SWAPSLEEP,4,2              ## @VPO_SWAPSLEEP
	.comm	_v_intrans,4,2                  ## @v_intrans
	.comm	_PSWP,4,2                       ## @PSWP
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"swread"

	.comm	_hz,4,2                         ## @hz
L_.str.3:                               ## @.str.3
	.asciz	"swap_pager: indefinite wait buffer: bufobj: %p, blkno: %jd, size: %ld\n"

	.comm	_VM_PAGE_BITS_ALL,8,3           ## @VM_PAGE_BITS_ALL
	.comm	_VM_PAGER_ERROR,4,2             ## @VM_PAGER_ERROR
	.comm	_VM_PAGER_OK,4,2                ## @VM_PAGER_OK
	.no_dead_strip	_swap_pager_getpages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_pager_getpages
_swap_pager_getpages:                   ; @swap_pager_getpages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x4
	mov	x23, x3
	mov	x25, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1]
	ldr	w1, [x8]
	add	x2, sp, #40
	add	x3, sp, #44
	bl	_swap_pager_haspage
	cbz	w0, LBB0_19
; %bb.1:
Lloh0:
	adrp	x24, _listq@GOTPAGE
Lloh1:
	ldr	x24, [x24, _listq@GOTPAGEOFF]
	cbz	x22, LBB0_5
; %bb.2:
	sxtw	x1, w25
	sub	x20, x1, #1
	ldr	w8, [sp, #44]
	cmp	w20, w8
	cset	w0, le
	bl	_KASSERT
	ldr	w0, [x22]
	ldr	w8, [sp, #44]
	sub	w1, w8, w20
	bl	_imin
	str	w0, [x22]
	ldr	x0, [x19, x20, lsl #3]
	ldr	w20, [x0]
	ldr	w1, [x24]
	bl	_TAILQ_NEXT
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x0]
	mvn	w9, w20
	ldr	w10, [x22]
	add	w8, w8, w9
	cmp	w8, w10
	b.ge	LBB0_5
; %bb.4:
	str	w8, [x22]
LBB0_5:
	cbz	x23, LBB0_9
; %bb.6:
	ldr	w0, [x23]
	ldr	w1, [sp, #40]
	bl	_imin
	str	w0, [x23]
	ldr	x0, [x19]
	ldr	w20, [x0]
Lloh2:
	adrp	x8, _pglist@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pglist@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x24]
	bl	_TAILQ_PREV
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w8, [x0]
	mvn	w8, w8
	ldr	w9, [x23]
	add	w8, w20, w8
	cmp	w8, w9
	b.ge	LBB0_9
; %bb.8:
	str	w8, [x23]
LBB0_9:
	ldr	x26, [x19]
Lloh5:
	adrp	x28, _VPO_SWAPINPROG@GOTPAGE
Lloh6:
	ldr	x28, [x28, _VPO_SWAPINPROG@GOTPAGEOFF]
	mov	w8, w25
	str	x8, [sp]                        ; 8-byte Folded Spill
	cmp	w25, #1
	b.lt	LBB0_13
; %bb.10:
	ldr	w8, [x28]
	ldr	w9, [x26, #4]
	orr	w9, w9, w8
	str	w9, [x26, #4]
	cmp	w25, #1
	b.eq	LBB0_13
; %bb.11:
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	sub	x9, x9, #1
	add	x10, x19, #8
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	ldr	w12, [x11, #4]
	orr	w12, w12, w8
	str	w12, [x11, #4]
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_13:
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	cbz	x23, LBB0_22
; %bb.14:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.15:
	ldr	w8, [x26]
	sub	w1, w8, #1
Lloh7:
	adrp	x24, _VM_ALLOC_NORMAL@GOTPAGE
Lloh8:
	ldr	x24, [x24, _VM_ALLOC_NORMAL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_vm_page_alloc
	cbz	x0, LBB0_20
; %bb.16:
	mov	w20, #1
	mov	w27, #-2
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x20
	mov	x26, x0
	ldr	w8, [x28]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	ldr	w8, [x23]
	cmp	w20, w8
	b.ge	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w20, w25, #1
	ldr	x8, [x19]
	ldr	w8, [x8]
	add	w1, w27, w8
	ldr	w2, [x24]
	mov	x0, x21
	bl	_vm_page_alloc
	sub	w27, w27, #1
	cbnz	x0, LBB0_17
	b	LBB0_21
LBB0_19:
Lloh9:
	adrp	x8, _VM_PAGER_FAIL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VM_PAGER_FAIL@GOTPAGEOFF]
	b	LBB0_54
LBB0_20:
	mov	w25, #0
LBB0_21:
	str	w25, [x23]
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
LBB0_22:
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	cbz	x22, LBB0_29
; %bb.23:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.24:
	mov	w24, #0
	mov	x8, x25
	sxtw	x8, w8
	sub	x20, x8, #1
Lloh11:
	adrp	x23, _VM_ALLOC_NORMAL@GOTPAGE
Lloh12:
	ldr	x23, [x23, _VM_ALLOC_NORMAL@GOTPAGEOFF]
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, x20, lsl #3]
	ldr	w8, [x8]
	add	w8, w24, w8
	add	w1, w8, #1
	ldr	w2, [x23]
	mov	x0, x21
	bl	_vm_page_alloc
	cbz	x0, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	add	w24, w24, #1
	ldr	w8, [x28]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	ldr	w8, [x22]
	cmp	w24, w8
	b.lt	LBB0_25
	b	LBB0_28
LBB0_27:
	mov	w24, #0
LBB0_28:
	str	w24, [x22]
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
LBB0_29:
	cbz	x23, LBB0_31
; %bb.30:
	mov	x9, x25
	ldr	w8, [x23]
	add	w25, w8, w9
LBB0_31:
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	cbz	x22, LBB0_33
; %bb.32:
	ldr	w8, [x22]
	add	w25, w8, w25
LBB0_33:
	mov	x0, x21
	mov	x1, x25
	bl	_vm_object_pip_add
	ldr	w24, [x26]
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	bl	_swp_pager_meta_ctl
Lloh13:
	adrp	x8, _SWAPBLK_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SWAPBLK_NONE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cmp	x0, x8
	cset	w0, ne
	sxtw	x1, w24
	bl	_KASSERT
	mov	x0, x21
	bl	_VM_OBJECT_WUNLOCK
Lloh16:
	adrp	x8, _swrbuf_zone@GOTPAGE
Lloh17:
	ldr	x8, [x8, _swrbuf_zone@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_uma_zalloc
	mov	x24, x0
	cmp	w25, #1
Lloh22:
	adrp	x22, _listq@GOTPAGE
Lloh23:
	ldr	x22, [x22, _listq@GOTPAGEOFF]
	b.lt	LBB0_36
; %bb.34:
	mov	x20, #0
	mov	w23, w25
	mov	x27, x26
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x27]
	ldr	w9, [x26]
	add	w9, w20, w9
	cmp	w9, w8
	cset	w0, eq
	bl	_MPASS
	ldr	x8, [x24, #72]
	str	x27, [x8, x20, lsl #3]
	add	x20, x20, #1
	ldr	w1, [x22]
	mov	x0, x27
	bl	_TAILQ_NEXT
	mov	x27, x0
	cmp	x23, x20
	b.ne	LBB0_35
LBB0_36:
Lloh24:
	adrp	x8, _B_PAGING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _B_PAGING@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x24, #64]
	orr	w8, w9, w8
	str	w8, [x24, #64]
Lloh27:
	adrp	x8, _BIO_READ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BIO_READ@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _swp_pager_async_iodone@GOTPAGE
Lloh31:
	ldr	x9, [x9, _swp_pager_async_iodone@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x24, #56]
Lloh33:
	adrp	x20, _thread0@GOTPAGE
Lloh34:
	ldr	x20, [x20, _thread0@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_crhold
	str	x0, [x24, #48]
	ldr	w0, [x20]
	bl	_crhold
	str	x0, [x24, #40]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [x24, #24]
Lloh35:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w9, [x8]
	mul	w9, w9, w25
	str	w9, [x24]
	ldr	w8, [x8]
	mul	w8, w8, w25
	stp	w8, w25, [x24, #4]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_38
; %bb.37:
	ldr	w8, [x8]
LBB0_38:
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x24, #12]
	cbz	x9, LBB0_40
; %bb.39:
	ldr	w8, [x9]
	b	LBB0_41
LBB0_40:
	mov	w8, #0
LBB0_41:
	str	w8, [x24, #16]
Lloh37:
	adrp	x8, _v_swapin@GOTPAGE
Lloh38:
	ldr	x8, [x8, _v_swapin@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_VM_CNT_INC
Lloh40:
	adrp	x8, _v_swappgsin@GOTPAGE
Lloh41:
	ldr	x8, [x8, _v_swappgsin@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_VM_CNT_ADD
	mov	x0, x24
	bl	_BUF_KERNPROC
	mov	x0, x24
	bl	_swp_pager_strategy
	mov	x0, x21
	bl	_VM_OBJECT_WLOCK
	ldr	x8, [x19]
	mov	x9, x8
	ldr	w10, [x9, #4]!
	ldr	w11, [x28]
	tst	w11, w10
	b.eq	LBB0_46
; %bb.42:
Lloh43:
	adrp	x20, _VPO_SWAPSLEEP@GOTPAGE
Lloh44:
	ldr	x20, [x20, _VPO_SWAPSLEEP@GOTPAGEOFF]
Lloh45:
	adrp	x25, _v_intrans@GOTPAGE
Lloh46:
	ldr	x25, [x25, _v_intrans@GOTPAGEOFF]
Lloh47:
	adrp	x22, l_.str.2@PAGE
Lloh48:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh49:
	adrp	x26, _PSWP@GOTPAGE
Lloh50:
	ldr	x26, [x26, _PSWP@GOTPAGEOFF]
Lloh51:
	adrp	x27, _hz@GOTPAGE
Lloh52:
	ldr	x27, [x27, _hz@GOTPAGEOFF]
Lloh53:
	adrp	x23, l_.str.3@PAGE
Lloh54:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	x8, [x19]
	mov	x9, x8
	ldr	w10, [x9, #4]!
	ldr	w11, [x28]
	tst	w11, w10
	b.eq	LBB0_46
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	orr	w8, w8, w10
	str	w8, [x9]
	ldr	w0, [x25]
	bl	_VM_CNT_INC
	ldr	w2, [x26]
	ldr	w8, [x27]
	add	w8, w8, w8, lsl #2
	lsl	w4, w8, #2
	mov	x0, x21
	mov	x1, x21
	mov	x3, x22
	bl	_VM_OBJECT_SLEEP
	cbz	x0, LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	w1, [x24, #32]
	ldr	w2, [x24, #24]
	ldr	w3, [x24]
	mov	x0, x23
	bl	_printf
	b	LBB0_43
LBB0_46:
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	cmp	w9, #1
	b.lt	LBB0_52
; %bb.47:
Lloh55:
	adrp	x9, _VM_PAGE_BITS_ALL@GOTPAGE
Lloh56:
	ldr	x9, [x9, _VM_PAGE_BITS_ALL@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	ldr	x8, [x8, #8]
	cmp	x8, x9
	b.ne	LBB0_53
; %bb.48:
	add	x10, x19, #8
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	sub	x11, x8, #1
Lloh58:
	adrp	x8, _VM_PAGER_OK@GOTPAGE
Lloh59:
	ldr	x8, [x8, _VM_PAGER_OK@GOTPAGEOFF]
Lloh60:
	adrp	x12, _VM_PAGER_ERROR@GOTPAGE
Lloh61:
	ldr	x12, [x12, _VM_PAGER_ERROR@GOTPAGEOFF]
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	cbz	x11, LBB0_54
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=1
	ldr	x13, [x10], #8
	ldr	x13, [x13, #8]
	sub	x11, x11, #1
	cmp	x13, x9
	b.eq	LBB0_49
; %bb.51:
	mov	x8, x12
	b	LBB0_54
LBB0_52:
Lloh62:
	adrp	x8, _VM_PAGER_OK@GOTPAGE
Lloh63:
	ldr	x8, [x8, _VM_PAGER_OK@GOTPAGEOFF]
	b	LBB0_54
LBB0_53:
Lloh64:
	adrp	x8, _VM_PAGER_ERROR@GOTPAGE
Lloh65:
	ldr	x8, [x8, _VM_PAGER_ERROR@GOTPAGEOFF]
LBB0_54:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_PAGER_FAIL,4,2              ; @VM_PAGER_FAIL
	.comm	_listq,4,2                      ; @listq
	.comm	_pglist,4,2                     ; @pglist
	.comm	_VPO_SWAPINPROG,4,2             ; @VPO_SWAPINPROG
	.comm	_VM_ALLOC_NORMAL,4,2            ; @VM_ALLOC_NORMAL
	.comm	_SWAPBLK_NONE,8,3               ; @SWAPBLK_NONE
	.comm	_swrbuf_zone,4,2                ; @swrbuf_zone
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_B_PAGING,4,2                   ; @B_PAGING
	.comm	_BIO_READ,4,2                   ; @BIO_READ
	.comm	_swp_pager_async_iodone,4,2     ; @swp_pager_async_iodone
	.comm	_thread0,4,2                    ; @thread0
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_v_swapin,4,2                   ; @v_swapin
	.comm	_v_swappgsin,4,2                ; @v_swappgsin
	.comm	_VPO_SWAPSLEEP,4,2              ; @VPO_SWAPSLEEP
	.comm	_v_intrans,4,2                  ; @v_intrans
	.comm	_PSWP,4,2                       ; @PSWP
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"swread"

	.comm	_hz,4,2                         ; @hz
l_.str.3:                               ; @.str.3
	.asciz	"swap_pager: indefinite wait buffer: bufobj: %p, blkno: %jd, size: %ld\n"

	.comm	_VM_PAGE_BITS_ALL,8,3           ; @VM_PAGE_BITS_ALL
	.comm	_VM_PAGER_ERROR,4,2             ; @VM_PAGER_ERROR
	.comm	_VM_PAGER_OK,4,2                ; @VM_PAGER_OK
	.no_dead_strip	_swap_pager_getpages
.subsections_via_symbols
