	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_extract_locked
_pmap_extract_locked:                   ## @pmap_extract_locked
	.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
	movq	%rdi, %rbx
	movq	_kernel_pmap@GOTPCREL(%rip), %r13
	cmpq	%rdi, (%r13)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PMAP_ASSERT_LOCKED
LBB0_2:
	movl	%r14d, %edi
	callq	_L1_IDX
	movq	%rax, %r12
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %r15d
	movl	%r15d, %edi
	callq	_l1pte_section_p
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	xorl	%edi, %edi
	cmpq	%rbx, (%r13)
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_L1_S_SUPERSEC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.4:
	movq	_L1_SUP_FRAME@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	_L1_SUP_OFFSET@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	(%rbx), %rbx
	movq	%r12, %rdi
	callq	_L2_IDX
	movq	(%rbx,%rax,8), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	(%rax), %r15
	movq	%r12, %rdi
	callq	_L2_BUCKET
	movq	(%r15,%rax,8), %r15
	testq	%r15, %r15
	je	LBB0_15
## %bb.9:
	movl	%r14d, %edi
	callq	_l2pte_index
	movl	(%r15,%rax,4), %eax
	testl	%eax, %eax
	je	LBB0_15
## %bb.10:
	movq	_L2_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_L2_TYPE_L@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_12
## %bb.11:
	movq	_L2_L_FRAME@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_L2_L_OFFSET@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_6:
	movq	_L1_S_FRAME@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	_L1_S_OFFSET@GOTPCREL(%rip), %rax
LBB0_5:
	andl	(%rax), %r14d
	orl	%r15d, %r14d
LBB0_14:
	movl	%r14d, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_L2_S_FRAME@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_L2_S_OFFSET@GOTPCREL(%rip), %rcx
LBB0_13:
	andl	(%rcx), %r14d
	orl	%eax, %r14d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_kernel_pmap,8,3                ## @kernel_pmap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected section"

	.comm	_L1_S_SUPERSEC,4,2              ## @L1_S_SUPERSEC
	.comm	_L1_SUP_FRAME,4,2               ## @L1_SUP_FRAME
	.comm	_L1_SUP_OFFSET,4,2              ## @L1_SUP_OFFSET
	.comm	_L1_S_FRAME,4,2                 ## @L1_S_FRAME
	.comm	_L1_S_OFFSET,4,2                ## @L1_S_OFFSET
	.comm	_L2_TYPE_MASK,4,2               ## @L2_TYPE_MASK
	.comm	_L2_TYPE_L,4,2                  ## @L2_TYPE_L
	.comm	_L2_L_FRAME,4,2                 ## @L2_L_FRAME
	.comm	_L2_L_OFFSET,4,2                ## @L2_L_OFFSET
	.comm	_L2_S_FRAME,4,2                 ## @L2_S_FRAME
	.comm	_L2_S_OFFSET,4,2                ## @L2_S_OFFSET
	.no_dead_strip	_pmap_extract_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_extract_locked
_pmap_extract_locked:                   ; @pmap_extract_locked
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _kernel_pmap@GOTPAGE
Lloh1:
	ldr	x23, [x23, _kernel_pmap@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_PMAP_ASSERT_LOCKED
LBB0_2:
	mov	x0, x19
	bl	_L1_IDX
	mov	x22, x0
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w21, [x8, x0, lsl #2]
	mov	x0, x21
	bl	_l1pte_section_p
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x23]
	cmp	x8, x20
	cset	w0, eq
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
Lloh4:
	adrp	x8, _L1_S_SUPERSEC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _L1_S_SUPERSEC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.4:
Lloh7:
	adrp	x8, _L1_SUP_FRAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _L1_SUP_FRAME@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh10:
	adrp	x9, _L1_SUP_OFFSET@GOTPAGE
Lloh11:
	ldr	x9, [x9, _L1_SUP_OFFSET@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
	ldr	x20, [x20]
	mov	x0, x22
	bl	_L2_IDX
	ldr	x8, [x20, x0, lsl #3]
	cbz	x8, LBB0_10
; %bb.6:
	ldr	x20, [x8]
	mov	x0, x22
	bl	_L2_BUCKET
	ldr	x20, [x20, x0, lsl #3]
	cbz	x20, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_l2pte_index
	ldr	w8, [x20, x0, lsl #2]
	cbz	w8, LBB0_10
; %bb.8:
Lloh12:
	adrp	x9, _L2_TYPE_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _L2_TYPE_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh15:
	adrp	x10, _L2_TYPE_L@GOTPAGE
Lloh16:
	ldr	x10, [x10, _L2_TYPE_L@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_14
; %bb.9:
Lloh18:
	adrp	x9, _L2_L_FRAME@GOTPAGE
Lloh19:
	ldr	x9, [x9, _L2_L_FRAME@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh21:
	adrp	x9, _L2_L_OFFSET@GOTPAGE
Lloh22:
	ldr	x9, [x9, _L2_L_OFFSET@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh23:
	adrp	x8, _L1_S_FRAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _L1_S_FRAME@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh26:
	adrp	x9, _L1_S_OFFSET@GOTPAGE
Lloh27:
	ldr	x9, [x9, _L1_S_OFFSET@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	and	w9, w9, w19
	orr	w0, w9, w8
LBB0_13:
	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
LBB0_14:
Lloh28:
	adrp	x9, _L2_S_FRAME@GOTPAGE
Lloh29:
	ldr	x9, [x9, _L2_S_FRAME@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh31:
	adrp	x9, _L2_S_OFFSET@GOTPAGE
Lloh32:
	ldr	x9, [x9, _L2_S_OFFSET@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_kernel_pmap,8,3                ; @kernel_pmap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected section"

	.comm	_L1_S_SUPERSEC,4,2              ; @L1_S_SUPERSEC
	.comm	_L1_SUP_FRAME,4,2               ; @L1_SUP_FRAME
	.comm	_L1_SUP_OFFSET,4,2              ; @L1_SUP_OFFSET
	.comm	_L1_S_FRAME,4,2                 ; @L1_S_FRAME
	.comm	_L1_S_OFFSET,4,2                ; @L1_S_OFFSET
	.comm	_L2_TYPE_MASK,4,2               ; @L2_TYPE_MASK
	.comm	_L2_TYPE_L,4,2                  ; @L2_TYPE_L
	.comm	_L2_L_FRAME,4,2                 ; @L2_L_FRAME
	.comm	_L2_L_OFFSET,4,2                ; @L2_L_OFFSET
	.comm	_L2_S_FRAME,4,2                 ; @L2_S_FRAME
	.comm	_L2_S_OFFSET,4,2                ; @L2_S_OFFSET
	.no_dead_strip	_pmap_extract_locked
.subsections_via_symbols
