	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_init_l1
_pmap_init_l1:                          ## @pmap_init_l1
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, 32(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movq	_PMAP_DOMAINS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdx), %rsi
	movl	%esi, (%rcx,%rdx,4)
	movslq	(%rax), %rdi
	movq	%rsi, %rdx
	cmpq	%rdi, %rsi
	jl	LBB0_2
LBB0_3:
	movq	_kernel_pmap@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	cmpq	%r14, %rsi
	je	LBB0_5
## %bb.4:
	movq	_L1_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_memcpy
	movq	(%r15), %rdi
LBB0_5:
	movl	%r14d, %esi
	callq	_pmap_extract
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_panic
LBB0_7:
	movq	_l1_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_l1_list@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_SLIST_INSERT_HEAD
	movq	_l1_lru@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_l1_lru_list@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TAILQ_INSERT_TAIL              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PMAP_DOMAINS,4,2               ## @PMAP_DOMAINS
	.comm	_kernel_pmap,8,3                ## @kernel_pmap
	.comm	_L1_TABLE_SIZE,4,2              ## @L1_TABLE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pmap_init_l1: can't get PA of L1 at %p"

	.comm	_l1_list,4,2                    ## @l1_list
	.comm	_l1_link,4,2                    ## @l1_link
	.comm	_l1_lru_list,4,2                ## @l1_lru_list
	.comm	_l1_lru,4,2                     ## @l1_lru
	.no_dead_strip	_pmap_init_l1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_init_l1
_pmap_init_l1:                          ; @pmap_init_l1
	.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
	stp	xzr, x1, [x0, #24]
	str	xzr, [x0, #16]
Lloh0:
	adrp	x8, _PMAP_DOMAINS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMAP_DOMAINS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x10, #0
	ldr	x9, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x10, #1
	str	w11, [x9, x10, lsl #2]
	ldrsw	x12, [x8]
	mov	x10, x11
	cmp	x11, x12
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x21, _kernel_pmap@GOTPAGE
Lloh3:
	ldr	x21, [x21, _kernel_pmap@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	x8, [x0]
	ldr	x1, [x8]
	cmp	x1, x20
	b.eq	LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _L1_TABLE_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _L1_TABLE_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcpy
	ldr	x0, [x21]
LBB0_5:
	mov	x1, x20
	bl	_pmap_extract
	str	w0, [x19, #8]
	cbnz	w0, LBB0_7
; %bb.6:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_panic
LBB0_7:
Lloh9:
	adrp	x8, _l1_link@GOTPAGE
Lloh10:
	ldr	x8, [x8, _l1_link@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x0, _l1_list@GOTPAGE
Lloh13:
	ldr	x0, [x0, _l1_list@GOTPAGEOFF]
	mov	x1, x19
	bl	_SLIST_INSERT_HEAD
Lloh14:
	adrp	x8, _l1_lru@GOTPAGE
Lloh15:
	ldr	x8, [x8, _l1_lru@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x0, _l1_lru_list@GOTPAGE
Lloh18:
	ldr	x0, [x0, _l1_lru_list@GOTPAGEOFF]
	mov	x1, x19
	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
	b	_TAILQ_INSERT_TAIL
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PMAP_DOMAINS,4,2               ; @PMAP_DOMAINS
	.comm	_kernel_pmap,8,3                ; @kernel_pmap
	.comm	_L1_TABLE_SIZE,4,2              ; @L1_TABLE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pmap_init_l1: can't get PA of L1 at %p"

	.comm	_l1_list,4,2                    ; @l1_list
	.comm	_l1_link,4,2                    ; @l1_link
	.comm	_l1_lru_list,4,2                ; @l1_lru_list
	.comm	_l1_lru,4,2                     ; @l1_lru
	.no_dead_strip	_pmap_init_l1
.subsections_via_symbols
