	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmu_booke_init
_mmu_booke_init:                        ## @mmu_booke_init
	.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	_PMAP_SHPGPERPROC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_UMA_ALIGN_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_UMA_ZONE_VM@GOTPCREL(%rip), %r14
	movq	_UMA_ZONE_NOFREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%r14), %ebx
	leaq	L_.str(%rip), %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_uma_zcreate
	addq	$16, %rsp
	movq	_pvzone@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	leaq	L_.str.1(%rip), %rdi
	leaq	-28(%rbp), %rsi
	callq	_TUNABLE_INT_FETCH
	movq	_maxproc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	-28(%rbp), %eax
	movq	_vm_cnt@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movq	_pv_entry_max@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TUNABLE_INT_FETCH
	movslq	(%rbx), %rsi
	imulq	$1717986919, %rsi, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax,8), %eax
	movq	_pv_entry_high_water@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r15), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_uma_zone_reserve_kva
	movq	(%r15), %rdi
	movq	_PV_ENTRY_ZONE_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uma_prealloc
	movq	_PMAP_ROOT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UMA_ALIGN_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r14), %ebx
	leaq	L_.str.3(%rip), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_uma_zcreate
	addq	$16, %rsp
	movq	_ptbl_root_zone@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_ptbl_init
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMAP_SHPGPERPROC,4,2           ## @PMAP_SHPGPERPROC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PV ENTRY"

	.comm	_UMA_ALIGN_PTR,4,2              ## @UMA_ALIGN_PTR
	.comm	_UMA_ZONE_VM,4,2                ## @UMA_ZONE_VM
	.comm	_UMA_ZONE_NOFREE,4,2            ## @UMA_ZONE_NOFREE
	.comm	_pvzone,8,3                     ## @pvzone
L_.str.1:                               ## @.str.1
	.asciz	"vm.pmap.shpgperproc"

	.comm	_maxproc,4,2                    ## @maxproc
	.comm	_vm_cnt,4,2                     ## @vm_cnt
	.comm	_pv_entry_max,4,2               ## @pv_entry_max
L_.str.2:                               ## @.str.2
	.asciz	"vm.pmap.pv_entries"

	.comm	_pv_entry_high_water,4,2        ## @pv_entry_high_water
	.comm	_PV_ENTRY_ZONE_MIN,4,2          ## @PV_ENTRY_ZONE_MIN
L_.str.3:                               ## @.str.3
	.asciz	"pmap root"

	.comm	_PMAP_ROOT_SIZE,4,2             ## @PMAP_ROOT_SIZE
	.comm	_UMA_ALIGN_CACHE,4,2            ## @UMA_ALIGN_CACHE
	.comm	_ptbl_root_zone,8,3             ## @ptbl_root_zone
	.no_dead_strip	_mmu_booke_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmu_booke_init
_mmu_booke_init:                        ; @mmu_booke_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _PMAP_SHPGPERPROC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMAP_SHPGPERPROC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _UMA_ALIGN_PTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UMA_ALIGN_PTR@GOTPAGEOFF]
Lloh5:
	adrp	x20, _UMA_ZONE_VM@GOTPAGE
Lloh6:
	ldr	x20, [x20, _UMA_ZONE_VM@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _UMA_ZONE_NOFREE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UMA_ZONE_NOFREE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w7, w9, w8
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #4
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_uma_zcreate
Lloh13:
	adrp	x21, _pvzone@GOTPAGE
Lloh14:
	ldr	x21, [x21, _pvzone@GOTPAGEOFF]
	str	x0, [x21]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #12
	bl	_TUNABLE_INT_FETCH
	ldr	w8, [sp, #12]
Lloh17:
	adrp	x9, _maxproc@GOTPAGE
Lloh18:
	ldr	x9, [x9, _maxproc@GOTPAGEOFF]
Lloh19:
	adrp	x10, _vm_cnt@GOTPAGE
Lloh20:
	ldr	x10, [x10, _vm_cnt@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	ldr	w10, [x10]
	madd	w8, w9, w8, w10
Lloh23:
	adrp	x19, _pv_entry_max@GOTPAGE
Lloh24:
	ldr	x19, [x19, _pv_entry_max@GOTPAGEOFF]
	str	w8, [x19]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_TUNABLE_INT_FETCH
	ldrsw	x1, [x19]
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	mul	x8, x1, x8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	add	w8, w8, w8, lsl #3
Lloh27:
	adrp	x9, _pv_entry_high_water@GOTPAGE
Lloh28:
	ldr	x9, [x9, _pv_entry_high_water@GOTPAGEOFF]
Lloh29:
	str	w8, [x9]
	ldr	x0, [x21]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_uma_zone_reserve_kva
	ldr	x0, [x21]
Lloh30:
	adrp	x8, _PV_ENTRY_ZONE_MIN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PV_ENTRY_ZONE_MIN@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_uma_prealloc
Lloh33:
	adrp	x8, _PMAP_ROOT_SIZE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PMAP_ROOT_SIZE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _UMA_ALIGN_CACHE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _UMA_ALIGN_CACHE@GOTPAGEOFF]
Lloh38:
	ldr	w6, [x8]
	ldr	w7, [x20]
Lloh39:
	adrp	x0, l_.str.3@PAGE
Lloh40:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_uma_zcreate
Lloh41:
	adrp	x8, _ptbl_root_zone@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ptbl_root_zone@GOTPAGEOFF]
Lloh43:
	str	x0, [x8]
	bl	_ptbl_init
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PMAP_SHPGPERPROC,4,2           ; @PMAP_SHPGPERPROC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PV ENTRY"

	.comm	_UMA_ALIGN_PTR,4,2              ; @UMA_ALIGN_PTR
	.comm	_UMA_ZONE_VM,4,2                ; @UMA_ZONE_VM
	.comm	_UMA_ZONE_NOFREE,4,2            ; @UMA_ZONE_NOFREE
	.comm	_pvzone,8,3                     ; @pvzone
l_.str.1:                               ; @.str.1
	.asciz	"vm.pmap.shpgperproc"

	.comm	_maxproc,4,2                    ; @maxproc
	.comm	_vm_cnt,4,2                     ; @vm_cnt
	.comm	_pv_entry_max,4,2               ; @pv_entry_max
l_.str.2:                               ; @.str.2
	.asciz	"vm.pmap.pv_entries"

	.comm	_pv_entry_high_water,4,2        ; @pv_entry_high_water
	.comm	_PV_ENTRY_ZONE_MIN,4,2          ; @PV_ENTRY_ZONE_MIN
l_.str.3:                               ; @.str.3
	.asciz	"pmap root"

	.comm	_PMAP_ROOT_SIZE,4,2             ; @PMAP_ROOT_SIZE
	.comm	_UMA_ALIGN_CACHE,4,2            ; @UMA_ALIGN_CACHE
	.comm	_ptbl_root_zone,8,3             ; @ptbl_root_zone
	.no_dead_strip	_mmu_booke_init
.subsections_via_symbols
