	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_extract                   ## -- Begin function pmap_extract
	.p2align	4, 0x90
_pmap_extract:                          ## @pmap_extract
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_pmap_valid_bit
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_PMAP_LOCK
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_pmap_pdpe
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movl	(%rax), %ecx
	testl	%r12d, %ecx
	je	LBB0_9
## %bb.2:
	movq	_PG_PS@GOTPCREL(%rip), %r13
	testl	%ecx, (%r13)
	je	LBB0_4
## %bb.3:
	movq	_PG_PS_FRAME@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	_PDPMASK@GOTPCREL(%rip), %rax
LBB0_8:
	andl	(%rax), %r14d
	orl	%ecx, %r14d
	movl	%r14d, %r15d
LBB0_9:
	movl	%ebx, %edi
	callq	_PMAP_UNLOCK
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_pmap_pdpe_to_pde
	movl	(%rax), %ecx
	testl	%r12d, %ecx
	je	LBB0_9
## %bb.5:
	testl	%ecx, (%r13)
	je	LBB0_7
## %bb.6:
	movq	_PG_PS_FRAME@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	_PDRMASK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_pmap_pde_to_pte
	movq	_PG_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_PS,4,2                      ## @PG_PS
	.comm	_PG_PS_FRAME,4,2                ## @PG_PS_FRAME
	.comm	_PDPMASK,4,2                    ## @PDPMASK
	.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_extract                   ; -- Begin function pmap_extract
	.p2align	2
_pmap_extract:                          ; @pmap_extract
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_pmap_valid_bit
	mov	x21, x0
	mov	x0, x19
	bl	_PMAP_LOCK
	mov	x0, x19
	mov	x1, x20
	bl	_pmap_pdpe
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w8, [x0]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.2:
Lloh0:
	adrp	x22, _PG_PS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PG_PS@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh2:
	adrp	x9, _PG_PS_FRAME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PG_PS_FRAME@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh5:
	adrp	x9, _PDPMASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PDPMASK@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	and	w9, w9, w20
	orr	w20, w9, w8
	b	LBB0_9
LBB0_5:
	mov	x1, x20
	bl	_pmap_pdpe_to_pde
	ldr	w8, [x0]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.6:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
Lloh7:
	adrp	x9, _PG_PS_FRAME@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PG_PS_FRAME@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh10:
	adrp	x9, _PDRMASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PDRMASK@GOTPAGEOFF]
	b	LBB0_4
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x19
	bl	_PMAP_UNLOCK
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x1, x20
	bl	_pmap_pde_to_pte
	ldr	w8, [x0]
Lloh12:
	adrp	x9, _PG_FRAME@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PG_FRAME@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh15:
	adrp	x9, _PAGE_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PAGE_MASK@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_PS,4,2                      ; @PG_PS
	.comm	_PG_PS_FRAME,4,2                ; @PG_PS_FRAME
	.comm	_PDPMASK,4,2                    ; @PDPMASK
	.comm	_PDRMASK,4,2                    ; @PDRMASK
	.comm	_PG_FRAME,4,2                   ; @PG_FRAME
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
.subsections_via_symbols
