	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_kextract                  ## -- Begin function pmap_kextract
	.p2align	4, 0x90
_pmap_kextract:                         ## @pmap_kextract
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_DMAP_MIN_ADDRESS@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jg	LBB0_2
## %bb.1:
	movq	_DMAP_MAX_ADDRESS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_2
## %bb.7:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DMAP_TO_PHYS                   ## TAILCALL
LBB0_2:
	movl	%ebx, %edi
	callq	_PMAP_ADDRESS_IN_LARGEMAP
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pmap_large_map_kextract        ## TAILCALL
LBB0_3:
	movl	%ebx, %edi
	callq	_vtopde
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_PG_PS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_PG_PS_FRAME@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_PDRMASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	orl	%eax, %ebx
	jmp	LBB0_6
LBB0_5:
	leaq	-12(%rbp), %rdi
	movl	%ebx, %esi
	callq	_pmap_pde_to_pte
	movq	_PG_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	orl	%ecx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAP_MIN_ADDRESS,4,2           ## @DMAP_MIN_ADDRESS
	.comm	_DMAP_MAX_ADDRESS,4,2           ## @DMAP_MAX_ADDRESS
	.comm	_PG_PS,4,2                      ## @PG_PS
	.comm	_PG_PS_FRAME,4,2                ## @PG_PS_FRAME
	.comm	_PDRMASK,4,2                    ## @PDRMASK
	.comm	_PG_FRAME,4,2                   ## @PG_FRAME
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_kextract                  ; -- Begin function pmap_kextract
	.p2align	2
_pmap_kextract:                         ; @pmap_kextract
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _DMAP_MIN_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAP_MIN_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DMAP_MAX_ADDRESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMAP_MAX_ADDRESS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_PMAP_ADDRESS_IN_LARGEMAP
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_pmap_large_map_kextract
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_DMAP_TO_PHYS
LBB0_4:
	mov	x0, x19
	bl	_vtopde
	ldr	w8, [x0]
	str	w8, [sp, #12]
Lloh6:
	adrp	x9, _PG_PS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PG_PS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x9, _PG_PS_FRAME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PG_PS_FRAME@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh12:
	adrp	x9, _PDRMASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PDRMASK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	add	x0, sp, #12
	mov	x1, x19
	bl	_pmap_pde_to_pte
	ldr	w8, [x0]
Lloh14:
	adrp	x9, _PG_FRAME@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PG_FRAME@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh17:
	adrp	x9, _PAGE_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PAGE_MASK@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	and	w9, w9, w19
	orr	w0, w9, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAP_MIN_ADDRESS,4,2           ; @DMAP_MIN_ADDRESS
	.comm	_DMAP_MAX_ADDRESS,4,2           ; @DMAP_MAX_ADDRESS
	.comm	_PG_PS,4,2                      ; @PG_PS
	.comm	_PG_PS_FRAME,4,2                ; @PG_PS_FRAME
	.comm	_PDRMASK,4,2                    ; @PDRMASK
	.comm	_PG_FRAME,4,2                   ; @PG_FRAME
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
.subsections_via_symbols
