	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_pte_from_pvo            ## -- Begin function moea64_pte_from_pvo
	.p2align	4, 0x90
_moea64_pte_from_pvo:                   ## @moea64_pte_from_pvo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ADDR_API_SHFT64@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADDR_PIDX_SHFT@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movl	(%rdi), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movq	_LPTE_AVPN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rsi)
	movq	_LPTE_VALID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
	movl	4(%rdi), %ecx
	movq	_PVO_LARGE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_LPTE_BIG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rsi)
LBB0_2:
	movq	_PVO_WIRED@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_LPTE_WIRED@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rsi)
LBB0_4:
	movq	_PVO_HID@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.5:
	movq	_LPTE_HID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
LBB0_6:
	movl	8(%rdi), %eax
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_7
## %bb.8:
	movq	_LPTE_BR@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_7:
	movq	_LPTE_BW@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %ecx
	orl	12(%rdi), %ecx
	movl	%ecx, 4(%rsi)
	movq	_VM_PROT_EXECUTE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_10
## %bb.11:
	popq	%rbp
	retq
LBB0_10:
	movq	_LPTE_NOEXEC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_API_SHFT64,4,2            ## @ADDR_API_SHFT64
	.comm	_ADDR_PIDX_SHFT,4,2             ## @ADDR_PIDX_SHFT
	.comm	_LPTE_AVPN_MASK,4,2             ## @LPTE_AVPN_MASK
	.comm	_LPTE_VALID,4,2                 ## @LPTE_VALID
	.comm	_PVO_LARGE,4,2                  ## @PVO_LARGE
	.comm	_LPTE_BIG,4,2                   ## @LPTE_BIG
	.comm	_PVO_WIRED,4,2                  ## @PVO_WIRED
	.comm	_LPTE_WIRED,4,2                 ## @LPTE_WIRED
	.comm	_PVO_HID,4,2                    ## @PVO_HID
	.comm	_LPTE_HID,4,2                   ## @LPTE_HID
	.comm	_VM_PROT_WRITE,4,2              ## @VM_PROT_WRITE
	.comm	_LPTE_BW,4,2                    ## @LPTE_BW
	.comm	_LPTE_BR,4,2                    ## @LPTE_BR
	.comm	_VM_PROT_EXECUTE,4,2            ## @VM_PROT_EXECUTE
	.comm	_LPTE_NOEXEC,4,2                ## @LPTE_NOEXEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_pte_from_pvo            ; -- Begin function moea64_pte_from_pvo
	.p2align	2
_moea64_pte_from_pvo:                   ; @moea64_pte_from_pvo
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ADDR_API_SHFT64@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDR_API_SHFT64@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ADDR_PIDX_SHFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADDR_PIDX_SHFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w8, w8, w9
	ldp	w10, w9, [x0]
	asr	w8, w10, w8
Lloh6:
	adrp	x10, _LPTE_AVPN_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _LPTE_AVPN_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w8, w8, w10
	str	w8, [x1]
Lloh9:
	adrp	x10, _LPTE_VALID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LPTE_VALID@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x1]
Lloh12:
	adrp	x10, _PVO_LARGE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PVO_LARGE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh15:
	adrp	x10, _LPTE_BIG@GOTPAGE
Lloh16:
	ldr	x10, [x10, _LPTE_BIG@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x1]
LBB0_2:
Lloh18:
	adrp	x10, _PVO_WIRED@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PVO_WIRED@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
Lloh21:
	adrp	x10, _LPTE_WIRED@GOTPAGE
Lloh22:
	ldr	x10, [x10, _LPTE_WIRED@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x1]
LBB0_4:
Lloh24:
	adrp	x10, _PVO_HID@GOTPAGE
Lloh25:
	ldr	x10, [x10, _PVO_HID@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:
Lloh27:
	adrp	x9, _LPTE_HID@GOTPAGE
Lloh28:
	ldr	x9, [x9, _LPTE_HID@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x1]
LBB0_6:
	ldp	w9, w8, [x0, #8]
Lloh30:
	adrp	x10, _VM_PROT_WRITE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh32:
	adrp	x11, _LPTE_BR@GOTPAGE
Lloh33:
	ldr	x11, [x11, _LPTE_BR@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
Lloh35:
	adrp	x12, _LPTE_BW@GOTPAGE
Lloh36:
	ldr	x12, [x12, _LPTE_BW@GOTPAGEOFF]
	tst	w10, w9
	csel	x10, x11, x12, eq
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x1, #4]
Lloh37:
	adrp	x10, _VM_PROT_EXECUTE@GOTPAGE
Lloh38:
	ldr	x10, [x10, _VM_PROT_EXECUTE@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
	ret
LBB0_8:
Lloh40:
	adrp	x9, _LPTE_NOEXEC@GOTPAGE
Lloh41:
	ldr	x9, [x9, _LPTE_NOEXEC@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_API_SHFT64,4,2            ; @ADDR_API_SHFT64
	.comm	_ADDR_PIDX_SHFT,4,2             ; @ADDR_PIDX_SHFT
	.comm	_LPTE_AVPN_MASK,4,2             ; @LPTE_AVPN_MASK
	.comm	_LPTE_VALID,4,2                 ; @LPTE_VALID
	.comm	_PVO_LARGE,4,2                  ; @PVO_LARGE
	.comm	_LPTE_BIG,4,2                   ; @LPTE_BIG
	.comm	_PVO_WIRED,4,2                  ; @PVO_WIRED
	.comm	_LPTE_WIRED,4,2                 ; @LPTE_WIRED
	.comm	_PVO_HID,4,2                    ; @PVO_HID
	.comm	_LPTE_HID,4,2                   ; @LPTE_HID
	.comm	_VM_PROT_WRITE,4,2              ; @VM_PROT_WRITE
	.comm	_LPTE_BW,4,2                    ; @LPTE_BW
	.comm	_LPTE_BR,4,2                    ; @LPTE_BR
	.comm	_VM_PROT_EXECUTE,4,2            ; @VM_PROT_EXECUTE
	.comm	_LPTE_NOEXEC,4,2                ; @LPTE_NOEXEC
.subsections_via_symbols
