	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kern_mincore                   ## -- Begin function kern_mincore
	.p2align	4, 0x90
_kern_mincore:                          ## @kern_mincore
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_trunc_page
	addq	%r15, %rbx
	movq	%rbx, %rdi
	movq	%rax, %r15
	callq	_round_page
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_vm_map_max
	cmpq	%rax, %rbx
	jg	LBB0_73
## %bb.1:
	movq	%rbx, %rax
	subq	%r15, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	jl	LBB0_73
## %bb.2:
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_vmspace_pmap
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_vm_map_lock_read
	movl	(%r12), %ebx
	leaq	-80(%rbp), %rdx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_vm_map_lookup_entry
	testl	%eax, %eax
	je	LBB0_72
## %bb.3:
	leaq	-80(%rbp), %r12
	movq	%r15, %rdx
	movq	%r15, -128(%rbp)                ## 8-byte Spill
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
                                        ##         Child Loop BB0_17 Depth 4
                                        ##           Child Loop BB0_20 Depth 5
                                        ##         Child Loop BB0_43 Depth 4
                                        ##     Child Loop BB0_67 Depth 2
	movq	-80(%rbp), %rax
	movl	$-1, %r14d
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, (%rax)
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	jge	LBB0_64
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, -60(%rbp)                  ## 4-byte Folded Spill
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
                                        ##         Child Loop BB0_17 Depth 4
                                        ##           Child Loop BB0_20 Depth 5
                                        ##         Child Loop BB0_43 Depth 4
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	_MAP_ENTRY_IS_SUB_MAP@GOTPCREL(%rip), %r15
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=3
	movl	(%r15), %ecx
	testl	%ecx, 16(%r14)
	je	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=3
	movq	%rax, %r14
	cmpq	%rbx, (%rax)
	jge	LBB0_65
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r14, %rdi
	callq	_vm_map_entry_succ
	movq	%rax, -80(%rbp)
	movq	8(%r14), %r12
	cmpq	%rbx, %r12
	jge	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	cmpq	%r12, (%rax)
	jle	LBB0_7
	jmp	LBB0_72
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=3
	cmpq	$0, 32(%r14)
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r14), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rcx, %rdx
	cmovgq	%rdx, %rcx
	cmpq	%rbx, %r12
	cmovgeq	%rbx, %r12
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r12, %rcx
	jge	LBB0_61
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, -120(%rbp)                ## 8-byte Spill
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_17 Depth 4
                                        ##           Child Loop BB0_20 Depth 5
                                        ##         Child Loop BB0_43 Depth 4
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	$0, -96(%rbp)
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	leaq	-96(%rbp), %rdx
	callq	_pmap_mincore
	movl	%eax, %ebx
	movq	_mincore_mapped@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	-96(%rbp), %rdi
	xorl	%r13d, %r13d
	testq	%rdi, %rdi
	je	LBB0_26
LBB0_17:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ##       Parent Loop BB0_14 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_20 Depth 5
	callq	_PHYS_TO_VM_PAGE
	movq	%rax, %r15
	movq	%rax, %rcx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	$16, %r15
	testq	%r13, %r13
	je	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=4
	cmpq	%r13, (%r15)
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=4
	movq	%r13, %rdi
	callq	_VM_OBJECT_WUNLOCK
LBB0_20:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ##       Parent Loop BB0_14 Depth=3
                                        ##         Parent Loop BB0_17 Depth=4
                                        ## =>        This Inner Loop Header: Depth=5
	movq	%r15, %rdi
	callq	_atomic_load_ptr
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=5
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_VM_OBJECT_WLOCK
	testq	%r13, %r13
	jne	LBB0_18
	jmp	LBB0_20
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=4
	xorl	%r13d, %r13d
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=4
	movq	-96(%rbp), %r15
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_pmap_extract
	cmpq	%rax, %r15
	je	LBB0_57
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=4
	movq	$0, -96(%rbp)
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	-96(%rbp), %rdx
	callq	_pmap_mincore
	movl	%eax, %ebx
	movq	_mincore_mapped@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=4
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_17
	jmp	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=3
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=3
	testl	%ebx, %ebx
	je	LBB0_48
LBB0_28:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_14 Depth=3
	movl	%ebx, %esi
	testq	%rdi, %rdi
	je	LBB0_40
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	%rdi, %r15
	movq	16(%rdi), %rdi
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	%r15, %rcx
	cmpq	$0, (%r15)
	jne	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	%r15, %rdi
	callq	_pmap_is_modified
	movq	%r15, %rcx
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	%r15, %rdi
	callq	_vm_page_dirty
	movq	%r15, %rcx
LBB0_33:                                ##   in Loop: Header=BB0_14 Depth=3
	xorl	%esi, %esi
	cmpq	$0, (%rcx)
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	_MINCORE_MODIFIED_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_35:                                ##   in Loop: Header=BB0_14 Depth=3
	orl	%ebx, %esi
	movq	_PGA_REFERENCED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rcx)
	jne	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	%r15, %rdi
	movl	%esi, %ebx
	callq	_pmap_is_referenced
	movl	%ebx, %esi
	testq	%rax, %rax
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	_PGA_REFERENCED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	_MINCORE_REFERENCED_OTHER@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
LBB0_39:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_40:                                ##   in Loop: Header=BB0_14 Depth=3
	testq	%r13, %r13
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	%r13, %rdi
	callq	_VM_OBJECT_WUNLOCK
LBB0_42:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	%r15, %rdi
	callq	_vm_map_unlock_read
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	subq	-128(%rbp), %rdi                ## 8-byte Folded Reload
	callq	_atop
	movslq	-60(%rbp), %r13                 ## 4-byte Folded Reload
	movl	%eax, %ebx
	movslq	%eax, %r15
	incq	%r13
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ##       Parent Loop BB0_14 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	cmpq	%r15, %r13
	jge	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=4
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13), %rdi
	xorl	%esi, %esi
	callq	_subyte
	incq	%r13
	testl	%eax, %eax
	je	LBB0_43
	jmp	LBB0_74
LBB0_45:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	-120(%rbp), %r13                ## 8-byte Reload
	addq	%r13, %r15
	movq	%r15, %rdi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_subyte
	testl	%eax, %eax
	jne	LBB0_74
## %bb.46:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_vm_map_lock_read
	movl	(%r15), %r15d
	cmpl	%r15d, -100(%rbp)               ## 4-byte Folded Reload
	jne	LBB0_71
## %bb.47:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	(%rax), %rsi
	movl	%ebx, %ecx
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	cmpq	%r12, %rsi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jl	LBB0_14
	jmp	LBB0_63
LBB0_48:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	32(%r14), %r15
	cmpq	%r13, %r15
	je	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_14 Depth=3
	testq	%r13, %r13
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	%r13, %rdi
	callq	_VM_OBJECT_WUNLOCK
	movq	32(%r14), %r15
LBB0_51:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	%r15, %rdi
	callq	_VM_OBJECT_WLOCK
	movq	%r15, %r13
LBB0_52:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	_OBJT_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	_OBJT_SWAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_14 Depth=3
	xorl	%ebx, %ebx
	movq	_OBJT_VNODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
LBB0_55:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	24(%r14), %rdi
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	subq	(%r14), %rdi
	callq	_OFF_TO_IDX
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_vm_page_lookup
	testq	%rax, %rax
	je	LBB0_58
## %bb.56:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_vm_page_none_valid
	movq	%rbx, %rdi
	testq	%rax, %rax
	movl	$0, %eax
	cmovneq	%rax, %rdi
	jmp	LBB0_59
LBB0_57:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_vm_page_all_valid
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_KASSERT
	movq	%r15, %rdi
	jmp	LBB0_30
LBB0_58:                                ##   in Loop: Header=BB0_14 Depth=3
	xorl	%edi, %edi
LBB0_59:                                ##   in Loop: Header=BB0_14 Depth=3
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.60:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	_MINCORE_INCORE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_29
LBB0_61:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	-60(%rbp), %r14d                ## 4-byte Reload
LBB0_62:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rbx, (%rax)
	leaq	-80(%rbp), %r12
	jl	LBB0_6
	jmp	LBB0_66
LBB0_63:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	jmp	LBB0_62
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_66
LBB0_65:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	leaq	-80(%rbp), %r12
LBB0_66:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_vm_map_unlock_read
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_atop
	movslq	%r14d, %rbx
	movslq	%eax, %r14
	incq	%rbx
	.p2align	4, 0x90
LBB0_67:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r14, %rbx
	jge	LBB0_69
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=2
	leaq	(%rbx,%r13), %rdi
	xorl	%esi, %esi
	callq	_subyte
	incq	%rbx
	testl	%eax, %eax
	je	LBB0_67
	jmp	LBB0_74
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_vm_map_lock_read
	movq	%r15, %rdi
	movl	(%r15), %r15d
	cmpl	%r15d, -100(%rbp)               ## 4-byte Folded Reload
	je	LBB0_77
LBB0_70:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_vm_map_lookup_entry
	movl	%r15d, %ebx
	movq	%r14, %rdx
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_72
LBB0_71:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	-80(%rbp), %r12
	jmp	LBB0_70
LBB0_72:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_vm_map_unlock_read
LBB0_73:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_75
LBB0_74:
	movq	_EFAULT@GOTPCREL(%rip), %rax
LBB0_75:
	movl	(%rax), %eax
LBB0_76:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_77:
	callq	_vm_map_unlock_read
	xorl	%eax, %eax
	jmp	LBB0_76
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MAP_ENTRY_IS_SUB_MAP,4,2       ## @MAP_ENTRY_IS_SUB_MAP
	.comm	_mincore_mapped,8,3             ## @mincore_mapped
	.comm	_OBJT_DEFAULT,8,3               ## @OBJT_DEFAULT
	.comm	_OBJT_SWAP,8,3                  ## @OBJT_SWAP
	.comm	_OBJT_VNODE,8,3                 ## @OBJT_VNODE
	.comm	_MINCORE_INCORE,4,2             ## @MINCORE_INCORE
	.comm	_MINCORE_MODIFIED_OTHER,4,2     ## @MINCORE_MODIFIED_OTHER
	.comm	_PGA_REFERENCED,4,2             ## @PGA_REFERENCED
	.comm	_MINCORE_REFERENCED_OTHER,4,2   ## @MINCORE_REFERENCED_OTHER
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kern_mincore                   ; -- Begin function kern_mincore
	.p2align	2
_kern_mincore:                          ; @kern_mincore
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_trunc_page
	mov	x20, x0
	add	x0, x21, x22
	bl	_round_page
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x21, [x8]
	mov	x0, x21
	bl	_vm_map_max
	cmp	x22, x0
	ccmp	x22, x20, #8, le
	b.lt	LBB0_66
; %bb.1:
	ldr	x8, [x23]
	ldr	x0, [x8]
	bl	_vmspace_pmap
	mov	x27, x0
	mov	x0, x21
	bl	_vm_map_lock_read
	ldr	w28, [x21]
	add	x2, sp, #56
	mov	x0, x21
	mov	x1, x20
	bl	_vm_map_lookup_entry
	cbz	w0, LBB0_65
; %bb.2:
Lloh0:
	adrp	x25, _MAP_ENTRY_IS_SUB_MAP@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MAP_ENTRY_IS_SUB_MAP@GOTPAGEOFF]
	sub	x26, x22, x20
	mov	x23, x20
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;       Child Loop BB0_13 Depth 3
                                        ;         Child Loop BB0_16 Depth 4
                                        ;           Child Loop BB0_19 Depth 5
                                        ;         Child Loop BB0_49 Depth 4
                                        ;     Child Loop BB0_60 Depth 2
	ldr	x0, [sp, #56]
	ldr	x8, [x0]
	cmp	x8, x22
	b.ge	LBB0_57
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #-1
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;       Child Loop BB0_13 Depth 3
                                        ;         Child Loop BB0_16 Depth 4
                                        ;           Child Loop BB0_19 Depth 5
                                        ;         Child Loop BB0_49 Depth 4
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	mov	x26, x0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=3
	ldr	w9, [x26, #16]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=3
	ldr	x8, [x0]
	mov	x26, x0
	cmp	x8, x22
	b.ge	LBB0_58
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x26
	bl	_vm_map_entry_succ
	str	x0, [sp, #56]
	ldr	x8, [x26, #8]
	cmp	x8, x22
	b.ge	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=3
	ldr	x9, [x0]
	cmp	x9, x8
	b.le	LBB0_6
	b	LBB0_65
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=3
	ldr	x9, [x26, #32]
	cbz	x9, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=2
	ldr	x9, [x26]
	cmp	x23, x9
	csel	x23, x23, x9, gt
	cmp	x8, x22
	csel	x9, x8, x22, lt
	cmp	x23, x9
	b.ge	LBB0_55
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=2
	stp	w28, w27, [sp, #16]             ; 8-byte Folded Spill
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_16 Depth 4
                                        ;           Child Loop BB0_19 Depth 5
                                        ;         Child Loop BB0_49 Depth 4
	str	xzr, [sp, #48]
	add	x2, sp, #48
	mov	x0, x27
	mov	x1, x23
	bl	_pmap_mincore
	mov	x28, x0
Lloh2:
	adrp	x8, _mincore_mapped@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mincore_mapped@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	cbnz	x8, LBB0_48
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=3
	ldr	x0, [sp, #48]
	cbz	x0, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x27, #0
LBB0_16:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ;       Parent Loop BB0_13 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_19 Depth 5
	bl	_PHYS_TO_VM_PAGE
	mov	x24, x0
	add	x23, x0, #16
	cbz	x27, LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_16 Depth=4
	ldr	x8, [x23]
	cmp	x8, x27
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=4
	mov	x0, x27
	bl	_VM_OBJECT_WUNLOCK
LBB0_19:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ;       Parent Loop BB0_13 Depth=3
                                        ;         Parent Loop BB0_16 Depth=4
                                        ; =>        This Inner Loop Header: Depth=5
	mov	x0, x23
	bl	_atomic_load_ptr
	mov	x27, x0
	cbz	x0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=5
	mov	x0, x27
	bl	_VM_OBJECT_WLOCK
	cbnz	x27, LBB0_17
	b	LBB0_19
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=4
	ldp	x1, x23, [sp, #40]              ; 8-byte Folded Reload
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	bl	_pmap_extract
	cmp	x23, x0
	b.eq	LBB0_29
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=4
	str	xzr, [sp, #48]
	add	x2, sp, #48
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x23
	bl	_pmap_mincore
	mov	x28, x0
Lloh5:
	adrp	x8, _mincore_mapped@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mincore_mapped@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbnz	x8, LBB0_38
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=4
	ldr	x0, [sp, #48]
	cbnz	x0, LBB0_16
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	x27, #0
	mov	x24, #0
LBB0_25:                                ;   in Loop: Header=BB0_13 Depth=3
	cbnz	w28, LBB0_38
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=3
	ldr	x8, [x26, #32]
	cmp	x8, x27
	b.eq	LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_13 Depth=3
	cbz	x27, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x27
	bl	_VM_OBJECT_WUNLOCK
	ldr	x27, [x26, #32]
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x24
	bl	_vm_page_all_valid
	mov	x1, x24
	bl	_KASSERT
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_39
LBB0_30:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	x27, x8
LBB0_31:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x27
	bl	_VM_OBJECT_WLOCK
LBB0_32:                                ;   in Loop: Header=BB0_13 Depth=3
	ldr	x8, [x27]
Lloh8:
	adrp	x9, _OBJT_DEFAULT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OBJT_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _OBJT_SWAP@GOTPAGE
Lloh12:
	ldr	x10, [x10, _OBJT_SWAP@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	adrp	x11, _OBJT_VNODE@GOTPAGE
Lloh15:
	ldr	x11, [x11, _OBJT_VNODE@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_13 Depth=3
	ldr	x8, [x26, #24]
	ldr	x9, [x26]
	add	x8, x8, x23
	sub	x0, x8, x9
	bl	_OFF_TO_IDX
	mov	x1, x0
	mov	x0, x27
	bl	_vm_page_lookup
	cbz	x0, LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x23, x0
	bl	_vm_page_none_valid
	cmp	x0, #0
	csel	x24, x23, xzr, eq
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	w28, #0
	b	LBB0_38
LBB0_36:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	x24, #0
LBB0_37:                                ;   in Loop: Header=BB0_13 Depth=3
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
Lloh17:
	adrp	x8, _MINCORE_INCORE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MINCORE_INCORE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	x24, #0
	csel	w28, wzr, w8, eq
LBB0_38:                                ;   in Loop: Header=BB0_13 Depth=3
	cbz	x24, LBB0_46
LBB0_39:                                ;   in Loop: Header=BB0_13 Depth=3
	ldr	x0, [x24, #16]
	bl	_VM_OBJECT_ASSERT_WLOCKED
	ldr	x8, [x24]
	cbnz	x8, LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x24
	bl	_pmap_is_modified
	cbz	x0, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x24
	bl	_vm_page_dirty
LBB0_42:                                ;   in Loop: Header=BB0_13 Depth=3
	ldr	x8, [x24]
Lloh20:
	adrp	x9, _MINCORE_MODIFIED_OTHER@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MINCORE_MODIFIED_OTHER@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	orr	w28, w8, w28
	ldr	w8, [x24, #8]
Lloh23:
	adrp	x9, _PGA_REFERENCED@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PGA_REFERENCED@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_45
; %bb.43:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x24
	bl	_pmap_is_referenced
	cbnz	x0, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_13 Depth=3
	ldr	w8, [x24, #8]
Lloh26:
	adrp	x9, _PGA_REFERENCED@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PGA_REFERENCED@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_13 Depth=3
Lloh29:
	adrp	x8, _MINCORE_REFERENCED_OTHER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MINCORE_REFERENCED_OTHER@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	orr	w28, w8, w28
LBB0_46:                                ;   in Loop: Header=BB0_13 Depth=3
	cbz	x27, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x27
	bl	_VM_OBJECT_WUNLOCK
LBB0_48:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x21
	bl	_vm_map_unlock_read
	sub	x0, x23, x20
	bl	_atop
	mov	x24, x0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	sxtw	x8, w8
	sxtw	x23, w24
	add	x27, x8, #1
LBB0_49:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ;       Parent Loop BB0_13 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	cmp	x27, x23
	b.ge	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=4
	add	x0, x19, x27
	mov	w1, #0
	bl	_subyte
	add	x27, x27, #1
	cbz	w0, LBB0_49
	b	LBB0_67
LBB0_51:                                ;   in Loop: Header=BB0_13 Depth=3
	add	x0, x19, x23
	mov	x1, x28
	bl	_subyte
	cbnz	w0, LBB0_67
; %bb.52:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x21
	bl	_vm_map_lock_read
	ldr	w8, [x21]
	ldr	w28, [sp, #16]                  ; 4-byte Folded Reload
	cmp	w28, w8
	b.ne	LBB0_64
; %bb.53:                               ;   in Loop: Header=BB0_13 Depth=3
Lloh32:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	add	x23, x8, x23
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x23, x9
	mov	x8, x24
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	b.lt	LBB0_13
; %bb.54:                               ;   in Loop: Header=BB0_5 Depth=2
	ldr	x0, [sp, #56]
	b	LBB0_56
LBB0_55:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_56:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x8, [x0]
	mov	x9, x24
	cmp	x8, x22
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	b.lt	LBB0_5
	b	LBB0_59
LBB0_57:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #-1
	b	LBB0_59
LBB0_58:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x26, x24, [sp, #24]             ; 16-byte Folded Reload
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_59:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	mov	x0, x21
	bl	_vm_map_unlock_read
	mov	x0, x26
	bl	_atop
                                        ; kill: def $w0 killed $w0 def $x0
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	sxtw	x8, w24
	sxtw	x23, w0
	add	x24, x8, #1
LBB0_60:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x24, x23
	b.ge	LBB0_62
; %bb.61:                               ;   in Loop: Header=BB0_60 Depth=2
	add	x0, x19, x24
	mov	w1, #0
	bl	_subyte
	add	x24, x24, #1
	cbz	w0, LBB0_60
	b	LBB0_67
LBB0_62:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_vm_map_lock_read
	ldr	w8, [x21]
	cmp	w28, w8
	mov	x28, x8
	b.eq	LBB0_70
LBB0_63:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #56
	mov	x0, x21
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x23
	bl	_vm_map_lookup_entry
	cbnz	w0, LBB0_3
	b	LBB0_65
LBB0_64:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x8
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_63
LBB0_65:
	mov	x0, x21
	bl	_vm_map_unlock_read
LBB0_66:
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_68
LBB0_67:
Lloh37:
	adrp	x8, _EFAULT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_68:
	ldr	w0, [x8]
LBB0_69:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_70:
	mov	x0, x21
	bl	_vm_map_unlock_read
	mov	w0, #0
	b	LBB0_69
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MAP_ENTRY_IS_SUB_MAP,4,2       ; @MAP_ENTRY_IS_SUB_MAP
	.comm	_mincore_mapped,8,3             ; @mincore_mapped
	.comm	_OBJT_DEFAULT,8,3               ; @OBJT_DEFAULT
	.comm	_OBJT_SWAP,8,3                  ; @OBJT_SWAP
	.comm	_OBJT_VNODE,8,3                 ; @OBJT_VNODE
	.comm	_MINCORE_INCORE,4,2             ; @MINCORE_INCORE
	.comm	_MINCORE_MODIFIED_OTHER,4,2     ; @MINCORE_MODIFIED_OTHER
	.comm	_PGA_REFERENCED,4,2             ; @PGA_REFERENCED
	.comm	_MINCORE_REFERENCED_OTHER,4,2   ; @MINCORE_REFERENCED_OTHER
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
.subsections_via_symbols
