	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_get_mapping               ## -- Begin function pmap_get_mapping
	.p2align	4, 0x90
_pmap_get_mapping:                      ## @pmap_get_mapping
	.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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %ebx
	callq	_pmap_valid_bit
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_PMAP_LOCK
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_pmap_pml4e
	movl	(%rax), %ecx
	movl	%ecx, (%r15)
	testl	%r13d, (%rax)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_pmap_pml4e_to_pdpe
	movl	(%rax), %ecx
	movl	%ecx, 4(%r15)
	movl	(%rax), %ecx
	movl	$2, %r14d
	testl	%r13d, %ecx
	je	LBB0_7
## %bb.3:
	movq	_PG_PS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_7
## %bb.4:
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_pmap_pdpe_to_pde
	movl	(%rax), %ecx
	movl	%ecx, 8(%r15)
	movl	(%rax), %ecx
	movl	$3, %r14d
	testl	%r13d, %ecx
	je	LBB0_7
## %bb.5:
	movq	_PG_PS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_pmap_pde_to_pte
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movl	$4, %r14d
	jmp	LBB0_7
LBB0_1:
	movl	$1, %r14d
LBB0_7:
	movl	%ebx, %edi
	callq	_PMAP_UNLOCK
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_PS,4,2                      ## @PG_PS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_get_mapping               ; -- Begin function pmap_get_mapping
	.p2align	2
_pmap_get_mapping:                      ; @pmap_get_mapping
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_pmap_valid_bit
	mov	x23, x0
	mov	x0, x20
	bl	_PMAP_LOCK
	mov	x0, x20
	mov	x1, x22
	bl	_pmap_pml4e
	ldr	w8, [x0]
	str	w8, [x21]
	ldr	w8, [x0]
	tst	w8, w23
	b.eq	LBB0_4
; %bb.1:
	mov	x1, x22
	bl	_pmap_pml4e_to_pdpe
	ldr	w8, [x0]
	str	w8, [x21, #4]
	ldr	w8, [x0]
	tst	w8, w23
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x24, _PG_PS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PG_PS@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_3:
	mov	w21, #2
	b	LBB0_9
LBB0_4:
	mov	w21, #1
	b	LBB0_9
LBB0_5:
	mov	x1, x22
	bl	_pmap_pdpe_to_pde
	ldr	w8, [x0]
	str	w8, [x21, #8]
	ldr	w8, [x0]
	tst	w8, w23
	b.eq	LBB0_7
; %bb.6:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_7:
	mov	w21, #3
	b	LBB0_9
LBB0_8:
	mov	x1, x22
	bl	_pmap_pde_to_pte
	ldr	w8, [x0]
	str	w8, [x21, #12]
	mov	w21, #4
LBB0_9:
	mov	x0, x20
	bl	_PMAP_UNLOCK
	str	w21, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_PS,4,2                      ; @PG_PS
.subsections_via_symbols
