	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnode_pager_setsize            ## -- Begin function vnode_pager_setsize
	.p2align	4, 0x90
_vnode_pager_setsize:                   ## @vnode_pager_setsize
	.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	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.1:
	movl	%esi, %r14d
	movq	%rbx, %rdi
	callq	_VM_OBJECT_WLOCK
	movq	(%rbx), %rax
	movq	_OBJT_DEAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.2:
	movq	_OBJT_VNODE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	cmpl	%r14d, 16(%rbx)
	je	LBB0_12
## %bb.3:
	movq	_PAGE_MASK@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	addl	%r14d, %edi
	callq	_OFF_TO_IDX
	movq	%rax, %r15
	cmpl	%r14d, 16(%rbx)
	jle	LBB0_11
## %bb.4:
	movq	8(%rbx), %rdx
	cmpq	%rdx, %r15
	jge	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_vm_object_page_remove
LBB0_6:
	testl	%r14d, (%r13)
	je	LBB0_11
## %bb.7:
	movl	%r14d, %edi
	callq	_OFF_TO_IDX
	movq	_VM_ALLOC_NOCREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_vm_page_grab
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_vm_page_none_valid
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	(%r13), %r13d
	andl	%r14d, %r13d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subl	%r13d, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_pmap_zero_page_area
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_vm_page_set_valid_range
	movq	_DEV_BSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_roundup2
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	subl	%eax, %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_vm_page_clear_dirty
LBB0_10:
	movq	%r12, %rdi
	callq	_vm_page_xunbusy
LBB0_11:
	movl	%r14d, 16(%rbx)
	movq	%r15, 8(%rbx)
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VM_OBJECT_WUNLOCK              ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJT_DEAD,8,3                  ## @OBJT_DEAD
	.comm	_OBJT_VNODE,8,3                 ## @OBJT_VNODE
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
	.comm	_VM_ALLOC_NOCREAT,4,2           ## @VM_ALLOC_NOCREAT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DEV_BSIZE,4,2                  ## @DEV_BSIZE
	.comm	_MNTK_VMSETSIZE_BUG,4,2         ## @MNTK_VMSETSIZE_BUG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnode_pager_setsize            ; -- Begin function vnode_pager_setsize
	.p2align	2
_vnode_pager_setsize:                   ; @vnode_pager_setsize
	.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
	ldr	x19, [x0, #8]
	cbz	x19, LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x0, x19
	bl	_VM_OBJECT_WLOCK
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _OBJT_DEAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJT_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.2:
Lloh3:
	adrp	x9, _OBJT_VNODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OBJT_VNODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	mov	x1, x19
	bl	_KASSERT
	ldr	w8, [x19, #16]
	cmp	w8, w20
	b.eq	LBB0_12
; %bb.3:
Lloh6:
	adrp	x23, _PAGE_MASK@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PAGE_MASK@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w0, w8, w20
	bl	_OFF_TO_IDX
	mov	x21, x0
	ldr	w8, [x19, #16]
	cmp	w8, w20
	b.le	LBB0_11
; %bb.4:
	ldr	x2, [x19, #8]
	cmp	x21, x2
	b.ge	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_vm_object_page_remove
LBB0_6:
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.7:
	mov	x0, x20
	bl	_OFF_TO_IDX
	mov	x1, x0
Lloh8:
	adrp	x8, _VM_ALLOC_NOCREAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VM_ALLOC_NOCREAT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_vm_page_grab
	cbz	x0, LBB0_11
; %bb.8:
	mov	x22, x0
	bl	_vm_page_none_valid
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	w8, [x23]
	and	w23, w8, w20
Lloh11:
	adrp	x25, _PAGE_SIZE@GOTPAGE
Lloh12:
	ldr	x25, [x25, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	sub	w24, w8, w23
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_pmap_zero_page_area
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_vm_page_set_valid_range
Lloh13:
	adrp	x8, _DEV_BSIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DEV_BSIZE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_roundup2
	mov	x1, x0
	ldr	w8, [x25]
	sub	w2, w8, w0
	mov	x0, x22
	bl	_vm_page_clear_dirty
LBB0_10:
	mov	x0, x22
	bl	_vm_page_xunbusy
LBB0_11:
	str	w20, [x19, #16]
	str	x21, [x19, #8]
LBB0_12:
	mov	x0, x19
	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	_VM_OBJECT_WUNLOCK
LBB0_13:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJT_DEAD,8,3                  ; @OBJT_DEAD
	.comm	_OBJT_VNODE,8,3                 ; @OBJT_VNODE
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
	.comm	_VM_ALLOC_NOCREAT,4,2           ; @VM_ALLOC_NOCREAT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DEV_BSIZE,4,2                  ; @DEV_BSIZE
	.comm	_MNTK_VMSETSIZE_BUG,4,2         ; @MNTK_VMSETSIZE_BUG
.subsections_via_symbols
