	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_large_map_pde
_pmap_large_map_pde:                    ## @pmap_large_map_pde
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_pmap_large_map_pdpe
	movq	%rax, %rbx
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_pmap_large_map_getptp
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rdi
	callq	_VM_PAGE_TO_PHYS
	movl	%eax, %edi
	movq	_X86_PG_A@GOTPCREL(%rip), %rax
	movl	%edi, %ecx
	orl	(%rax), %ecx
	movq	_X86_PG_RW@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_X86_PG_V@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_pg_nx@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	_X86_PG_PS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	callq	_MPASS
	movq	_PG_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
LBB0_5:
	callq	_PHYS_TO_DMAP
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_pmap_pde_index
	cltq
	leaq	(%rbx,%rax,4), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_PG_A,4,2                   ## @X86_PG_A
	.comm	_X86_PG_RW,4,2                  ## @X86_PG_RW
	.comm	_X86_PG_V,4,2                   ## @X86_PG_V
	.comm	_pg_nx,4,2                      ## @pg_nx
	.comm	_X86_PG_PS,4,2                  ## @X86_PG_PS
	.comm	_PG_FRAME,4,2                   ## @PG_FRAME
	.no_dead_strip	_pmap_large_map_pde
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_large_map_pde
_pmap_large_map_pde:                    ; @pmap_large_map_pde
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_pmap_large_map_pdpe
	mov	x20, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_pmap_large_map_getptp
	cbz	x0, LBB0_1
; %bb.3:
	bl	_VM_PAGE_TO_PHYS
Lloh0:
	adrp	x8, _X86_PG_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X86_PG_A@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _X86_PG_RW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _X86_PG_RW@GOTPAGEOFF]
	orr	w8, w8, w0
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh6:
	adrp	x9, _X86_PG_V@GOTPAGE
Lloh7:
	ldr	x9, [x9, _X86_PG_V@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _pg_nx@GOTPAGE
Lloh10:
	ldr	x9, [x9, _pg_nx@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x9, _X86_PG_PS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _X86_PG_PS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_MPASS
	ldr	w8, [x20]
Lloh15:
	adrp	x9, _PG_FRAME@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PG_FRAME@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w0, w9, w8
LBB0_5:
	bl	_PHYS_TO_DMAP
	mov	x20, x0
	mov	x0, x19
	bl	_pmap_pde_index
	add	x0, x20, w0, sxtw #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_PG_A,4,2                   ; @X86_PG_A
	.comm	_X86_PG_RW,4,2                  ; @X86_PG_RW
	.comm	_X86_PG_V,4,2                   ; @X86_PG_V
	.comm	_pg_nx,4,2                      ; @pg_nx
	.comm	_X86_PG_PS,4,2                  ; @X86_PG_PS
	.comm	_PG_FRAME,4,2                   ; @PG_FRAME
	.no_dead_strip	_pmap_large_map_pde
.subsections_via_symbols
