	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_init                    ## -- Begin function moea64_init
	.p2align	4, 0x90
_moea64_init:                           ## @moea64_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_KTR_PMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_CTR0
	movq	_UMA_ALIGN_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_UMA_ZONE_VM@GOTPCREL(%rip), %rcx
	movq	_UMA_ZONE_NOFREE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	leaq	L_.str.1(%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	_moea64_pvo_zone@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_hw_direct_map@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_installed_mmu@GOTPCREL(%rip), %rcx
	movl	%r14d, (%rcx)
	movq	_moea64_uma_page_alloc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_uma_zone_set_allocf
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_moea64_initialized@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KTR_PMAP,4,2                   ## @KTR_PMAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"moea64_init"

L_.str.1:                               ## @.str.1
	.asciz	"UPVO 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	_moea64_pvo_zone,4,2            ## @moea64_pvo_zone
	.comm	_hw_direct_map,4,2              ## @hw_direct_map
	.comm	_installed_mmu,4,2              ## @installed_mmu
	.comm	_moea64_uma_page_alloc,4,2      ## @moea64_uma_page_alloc
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_moea64_initialized,4,2         ## @moea64_initialized
	.comm	_elf32_nxstack,4,2              ## @elf32_nxstack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_init                    ; -- Begin function moea64_init
	.p2align	2
_moea64_init:                           ; @moea64_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _KTR_PMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KTR_PMAP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_CTR0
Lloh5:
	adrp	x8, _UMA_ALIGN_PTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UMA_ALIGN_PTR@GOTPAGEOFF]
Lloh7:
	adrp	x9, _UMA_ZONE_VM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _UMA_ZONE_VM@GOTPAGEOFF]
Lloh9:
	ldr	w6, [x8]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _UMA_ZONE_NOFREE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _UMA_ZONE_NOFREE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w7, w9, w8
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #4
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_uma_zcreate
Lloh16:
	adrp	x8, _moea64_pvo_zone@GOTPAGE
Lloh17:
	ldr	x8, [x8, _moea64_pvo_zone@GOTPAGEOFF]
Lloh18:
	str	w0, [x8]
Lloh19:
	adrp	x8, _hw_direct_map@GOTPAGE
Lloh20:
	ldr	x8, [x8, _hw_direct_map@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh22:
	adrp	x8, _installed_mmu@GOTPAGE
Lloh23:
	ldr	x8, [x8, _installed_mmu@GOTPAGEOFF]
Lloh24:
	str	w19, [x8]
Lloh25:
	adrp	x8, _moea64_uma_page_alloc@GOTPAGE
Lloh26:
	ldr	x8, [x8, _moea64_uma_page_alloc@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_uma_zone_set_allocf
LBB0_2:
Lloh28:
	adrp	x8, _TRUE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _moea64_initialized@GOTPAGE
Lloh32:
	ldr	x9, [x9, _moea64_initialized@GOTPAGEOFF]
Lloh33:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_KTR_PMAP,4,2                   ; @KTR_PMAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"moea64_init"

l_.str.1:                               ; @.str.1
	.asciz	"UPVO 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	_moea64_pvo_zone,4,2            ; @moea64_pvo_zone
	.comm	_hw_direct_map,4,2              ; @hw_direct_map
	.comm	_installed_mmu,4,2              ; @installed_mmu
	.comm	_moea64_uma_page_alloc,4,2      ; @moea64_uma_page_alloc
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_moea64_initialized,4,2         ; @moea64_initialized
	.comm	_elf32_nxstack,4,2              ; @elf32_nxstack
.subsections_via_symbols
