	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_large_map                 ## -- Begin function pmap_large_map
	.p2align	4, 0x90
_pmap_large_map:                        ## @pmap_large_map
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	js	LBB0_2
## %bb.3:
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	(%rsi,%rdi), %r15
	movq	_dmaplimit@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jle	LBB0_23
## %bb.4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_amd_feature@GOTPCREL(%rip), %rcx
	movq	_AMDID_PAGE1GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.5:
	movq	_NBPDP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_rounddown2
	movq	%rax, %rbx
	movq	_NBPDP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_roundup2
	movq	_NBPDP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	%rsi, %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
## %bb.6:
	movq	_PDPMASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	andq	%r13, %rdx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	callq	_pmap_large_map_getva
	movl	%eax, %r14d
LBB0_7:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.8:
	movq	_NBPDR@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_rounddown2
	movq	%rax, %rbx
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_roundup2
	movq	(%r14), %rsi
	addq	%rsi, %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
## %bb.9:
	movq	_PDRMASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	andq	%r13, %rdx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	callq	_pmap_large_map_getva
	testl	%eax, %eax
	je	LBB0_11
LBB0_10:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_pmap_large_map_getva
	testl	%eax, %eax
	jne	LBB0_22
LBB0_11:
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PMAP_LOCK
	movq	-56(%rbp), %r15
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	callq	_pmap_large_map_pte
	movq	%rax, %r14
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_MPASS
	movq	_pg_g@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	orq	%r13, %rbx
	movq	_X86_PG_RW@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_V@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_A@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_pg_nx@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_pmap_cache_bits
	orq	%rbx, %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_DMAP_TO_PHYS
	movl	%eax, %edi
	callq	_PHYS_TO_VM_PAGE
	incl	(%rax)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rax), %rax
	addq	%rax, %r13
	addq	%rax, %r15
	subq	%rax, %r12
	jle	LBB0_21
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	_AMDID_PAGE1GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_amd_feature@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_NBPDP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jl	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rax
	orq	%r15, %rax
	movq	_PDPMASK@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	callq	_pmap_large_map_pdpe
	movq	%rax, %r14
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_MPASS
	movq	_pg_g@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	orq	%r13, %rbx
	movq	_X86_PG_PS@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_RW@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_V@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_A@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_pg_nx@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_pmap_cache_bits
	orq	%rbx, %rax
	movq	%rax, (%r14)
	movq	_NBPDP@GOTPCREL(%rip), %rax
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_NBPDR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jl	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rax
	orq	%r15, %rax
	movq	_PDRMASK@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	callq	_pmap_large_map_pde
	movq	%rax, %r14
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_MPASS
	movq	_pg_g@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	orq	%r13, %rbx
	movq	_X86_PG_PS@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_RW@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_V@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_X86_PG_A@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_pg_nx@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_pmap_cache_bits
	orq	%rbx, %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_DMAP_TO_PHYS
	movl	%eax, %edi
	callq	_PHYS_TO_VM_PAGE
	incl	(%rax)
	movq	_NBPDR@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r13, %rdi
	callq	_PHYS_TO_DMAP
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pmap_change_attr               ## TAILCALL
LBB0_21:
	sete	%al
	movzbl	%al, %ebx
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PMAP_UNLOCK
	movl	%ebx, %edi
	callq	_MPASS
	movq	-56(%rbp), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_dmaplimit,8,3                  ## @dmaplimit
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_amd_feature,4,2                ## @amd_feature
	.comm	_AMDID_PAGE1GB,4,2              ## @AMDID_PAGE1GB
	.comm	_NBPDP,8,3                      ## @NBPDP
	.comm	_PDPMASK,8,3                    ## @PDPMASK
	.comm	_NBPDR,8,3                      ## @NBPDR
	.comm	_PDRMASK,8,3                    ## @PDRMASK
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_kernel_pmap,4,2                ## @kernel_pmap
	.comm	_pg_g,8,3                       ## @pg_g
	.comm	_X86_PG_PS,8,3                  ## @X86_PG_PS
	.comm	_X86_PG_RW,8,3                  ## @X86_PG_RW
	.comm	_X86_PG_V,8,3                   ## @X86_PG_V
	.comm	_X86_PG_A,8,3                   ## @X86_PG_A
	.comm	_pg_nx,8,3                      ## @pg_nx
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_large_map                 ; -- Begin function pmap_large_map
	.p2align	2
_pmap_large_map:                        ; @pmap_large_map
	.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
	cbz	x1, LBB0_19
; %bb.1:
	mov	x21, x1
	tbnz	x1, #63, LBB0_19
; %bb.2:
	mov	x20, x3
	mov	x19, x2
	mov	x22, x0
Lloh0:
	adrp	x8, _dmaplimit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dmaplimit@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x23, x21, x0
	cmp	x23, x8
	b.le	LBB0_21
; %bb.3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x8, _amd_feature@GOTPAGE
Lloh7:
	ldr	x8, [x8, _amd_feature@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _AMDID_PAGE1GB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AMDID_PAGE1GB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x27, _NBPDP@GOTPAGE
Lloh13:
	ldr	x27, [x27, _NBPDP@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	x1, [x27]
	mov	x0, x23
	bl	_rounddown2
	mov	x25, x0
	ldr	x1, [x27]
	mov	x0, x22
	bl	_roundup2
	ldr	x1, [x27]
	add	x8, x1, x0
	cmp	x25, x8
	b.lt	LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _PDPMASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PDPMASK@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	and	x2, x8, x22
	add	x3, sp, #8
	mov	x0, x21
	bl	_pmap_large_map_getva
	mov	x24, x0
LBB0_6:
	cbz	w24, LBB0_10
; %bb.7:
Lloh17:
	adrp	x24, _NBPDR@GOTPAGE
Lloh18:
	ldr	x24, [x24, _NBPDR@GOTPAGEOFF]
	ldr	x1, [x24]
	mov	x0, x23
	bl	_rounddown2
	mov	x23, x0
	ldr	x1, [x24]
	mov	x0, x22
	bl	_roundup2
	ldr	x1, [x24]
	add	x8, x1, x0
	cmp	x23, x8
	b.lt	LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _PDRMASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PDRMASK@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	and	x2, x8, x22
	add	x3, sp, #8
	mov	x0, x21
	bl	_pmap_large_map_getva
	cbz	w0, LBB0_10
LBB0_9:
Lloh22:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh24:
	ldr	x1, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, #0
	bl	_pmap_large_map_getva
	cbnz	w0, LBB0_20
LBB0_10:
	str	x19, [sp]                       ; 8-byte Folded Spill
Lloh25:
	adrp	x19, _kernel_pmap@GOTPAGE
Lloh26:
	ldr	x19, [x19, _kernel_pmap@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_PMAP_LOCK
	ldr	x23, [sp, #8]
Lloh27:
	adrp	x28, _X86_PG_A@GOTPAGE
Lloh28:
	ldr	x28, [x28, _X86_PG_A@GOTPAGEOFF]
Lloh29:
	adrp	x26, _pg_nx@GOTPAGE
Lloh30:
	ldr	x26, [x26, _pg_nx@GOTPAGEOFF]
	mov	x25, x27
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	bl	_pmap_large_map_pte
	mov	x24, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_MPASS
Lloh31:
	adrp	x8, _pg_g@GOTPAGE
Lloh32:
	ldr	x8, [x8, _pg_g@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	orr	x8, x8, x22
Lloh34:
	adrp	x9, _X86_PG_RW@GOTPAGE
Lloh35:
	ldr	x9, [x9, _X86_PG_RW@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh37:
	adrp	x9, _X86_PG_V@GOTPAGE
Lloh38:
	ldr	x9, [x9, _X86_PG_V@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	orr	x8, x8, x9
	ldr	x9, [x28]
	orr	x8, x8, x9
	ldr	x9, [x26]
	orr	x27, x8, x9
	ldr	w0, [x19]
Lloh40:
	adrp	x8, _FALSE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_pmap_cache_bits
	orr	x8, x27, x0
	mov	x27, x25
	str	x8, [x24]
	mov	x0, x24
	bl	_DMAP_TO_PHYS
	bl	_PHYS_TO_VM_PAGE
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
Lloh43:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x8]
	add	x22, x8, x22
	add	x23, x8, x23
	sub	x21, x21, x8
	cmp	x21, #0
	b.le	LBB0_22
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
Lloh45:
	adrp	x8, _amd_feature@GOTPAGE
Lloh46:
	ldr	x8, [x8, _amd_feature@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _AMDID_PAGE1GB@GOTPAGE
Lloh49:
	ldr	x9, [x9, _AMDID_PAGE1GB@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	x9, [x27]
	cmp	w8, #0
	ccmp	x21, x9, #8, ne
	b.lt	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh51:
	adrp	x8, _PDPMASK@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PDPMASK@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	orr	x9, x22, x23
	tst	x8, x9
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	bl	_pmap_large_map_pdpe
	mov	x24, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_MPASS
Lloh54:
	adrp	x8, _pg_g@GOTPAGE
Lloh55:
	ldr	x8, [x8, _pg_g@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	orr	x8, x8, x22
Lloh57:
	adrp	x9, _X86_PG_PS@GOTPAGE
Lloh58:
	ldr	x9, [x9, _X86_PG_PS@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh60:
	adrp	x9, _X86_PG_RW@GOTPAGE
Lloh61:
	ldr	x9, [x9, _X86_PG_RW@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh63:
	adrp	x9, _X86_PG_V@GOTPAGE
Lloh64:
	ldr	x9, [x9, _X86_PG_V@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	orr	x8, x8, x9
	ldr	x9, [x28]
	orr	x8, x8, x9
	ldr	x9, [x26]
	orr	x27, x8, x9
	ldr	w0, [x19]
Lloh66:
	adrp	x8, _TRUE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_pmap_cache_bits
	orr	x8, x27, x0
	mov	x27, x25
	str	x8, [x24]
	mov	x8, x25
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
Lloh69:
	adrp	x8, _NBPDR@GOTPAGE
Lloh70:
	ldr	x8, [x8, _NBPDR@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
	cmp	x21, x8
	b.lt	LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh72:
	adrp	x8, _PDRMASK@GOTPAGE
Lloh73:
	ldr	x8, [x8, _PDRMASK@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
	orr	x9, x22, x23
	tst	x8, x9
	b.ne	LBB0_11
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	bl	_pmap_large_map_pde
	mov	x24, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_MPASS
Lloh75:
	adrp	x8, _pg_g@GOTPAGE
Lloh76:
	ldr	x8, [x8, _pg_g@GOTPAGEOFF]
Lloh77:
	ldr	x8, [x8]
	orr	x8, x8, x22
Lloh78:
	adrp	x9, _X86_PG_PS@GOTPAGE
Lloh79:
	ldr	x9, [x9, _X86_PG_PS@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh81:
	adrp	x9, _X86_PG_RW@GOTPAGE
Lloh82:
	ldr	x9, [x9, _X86_PG_RW@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh84:
	adrp	x9, _X86_PG_V@GOTPAGE
Lloh85:
	ldr	x9, [x9, _X86_PG_V@GOTPAGEOFF]
Lloh86:
	ldr	x9, [x9]
	orr	x8, x8, x9
	ldr	x9, [x28]
	orr	x8, x8, x9
	ldr	x9, [x26]
	orr	x27, x8, x9
	ldr	w0, [x19]
Lloh87:
	adrp	x8, _TRUE@GOTPAGE
Lloh88:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_pmap_cache_bits
	orr	x8, x27, x0
	mov	x27, x25
	str	x8, [x24]
	mov	x0, x24
	bl	_DMAP_TO_PHYS
	bl	_PHYS_TO_VM_PAGE
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
Lloh90:
	adrp	x8, _NBPDR@GOTPAGE
Lloh91:
	ldr	x8, [x8, _NBPDR@GOTPAGEOFF]
	b	LBB0_12
LBB0_19:
Lloh92:
	adrp	x8, _EINVAL@GOTPAGE
Lloh93:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh94:
	ldr	w0, [x8]
LBB0_20:
	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
LBB0_21:
	mov	x0, x22
	bl	_PHYS_TO_DMAP
	str	x0, [x19]
	mov	x1, x21
	mov	x2, x20
	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	_pmap_change_attr
LBB0_22:
	cset	w20, eq
	ldr	w0, [x19]
	bl	_PMAP_UNLOCK
	mov	x0, x20
	bl	_MPASS
	mov	w0, #0
	ldp	x9, x8, [sp]                    ; 8-byte Folded Reload
	str	x8, [x9]
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_dmaplimit,8,3                  ; @dmaplimit
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_amd_feature,4,2                ; @amd_feature
	.comm	_AMDID_PAGE1GB,4,2              ; @AMDID_PAGE1GB
	.comm	_NBPDP,8,3                      ; @NBPDP
	.comm	_PDPMASK,8,3                    ; @PDPMASK
	.comm	_NBPDR,8,3                      ; @NBPDR
	.comm	_PDRMASK,8,3                    ; @PDRMASK
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_kernel_pmap,4,2                ; @kernel_pmap
	.comm	_pg_g,8,3                       ; @pg_g
	.comm	_X86_PG_PS,8,3                  ; @X86_PG_PS
	.comm	_X86_PG_RW,8,3                  ; @X86_PG_RW
	.comm	_X86_PG_V,8,3                   ; @X86_PG_V
	.comm	_X86_PG_A,8,3                   ; @X86_PG_A
	.comm	_pg_nx,8,3                      ; @pg_nx
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
