	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function byt_pte_encode
_byt_pte_encode:                        ## @byt_pte_encode
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	_GEN6_PTE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_GEN6_PTE_ADDR_ENCODE
	orl	%ebx, %eax
	movq	_PTE_READ_ONLY@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	movl	$0, %edx
	testl	%r15d, (%rsi)
	jne	LBB0_2
## %bb.1:
	movq	_BYT_PTE_WRITEABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_2:
	orl	%edx, %eax
	movq	_I915_CACHE_NONE@GOTPCREL(%rip), %rdx
	cmpl	%r14d, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_BYT_PTE_SNOOPED_BY_CPU_CACHES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN6_PTE_VALID,4,2             ## @GEN6_PTE_VALID
	.comm	_PTE_READ_ONLY,4,2              ## @PTE_READ_ONLY
	.comm	_BYT_PTE_WRITEABLE,4,2          ## @BYT_PTE_WRITEABLE
	.comm	_I915_CACHE_NONE,4,2            ## @I915_CACHE_NONE
	.comm	_BYT_PTE_SNOOPED_BY_CPU_CACHES,4,2 ## @BYT_PTE_SNOOPED_BY_CPU_CACHES
	.no_dead_strip	_byt_pte_encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function byt_pte_encode
_byt_pte_encode:                        ; @byt_pte_encode
	.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	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _GEN6_PTE_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN6_PTE_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_GEN6_PTE_ADDR_ENCODE
Lloh3:
	adrp	x8, _PTE_READ_ONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTE_READ_ONLY@GOTPAGEOFF]
	orr	w9, w0, w21
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x10, _BYT_PTE_WRITEABLE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BYT_PTE_WRITEABLE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w8, w19
	csel	w8, w10, wzr, eq
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _I915_CACHE_NONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I915_CACHE_NONE@GOTPAGEOFF]
Lloh11:
	adrp	x10, _BYT_PTE_SNOOPED_BY_CPU_CACHES@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BYT_PTE_SNOOPED_BY_CPU_CACHES@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	ldr	w10, [x10]
	cmp	w9, w20
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	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
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN6_PTE_VALID,4,2             ; @GEN6_PTE_VALID
	.comm	_PTE_READ_ONLY,4,2              ; @PTE_READ_ONLY
	.comm	_BYT_PTE_WRITEABLE,4,2          ; @BYT_PTE_WRITEABLE
	.comm	_I915_CACHE_NONE,4,2            ; @I915_CACHE_NONE
	.comm	_BYT_PTE_SNOOPED_BY_CPU_CACHES,4,2 ; @BYT_PTE_SNOOPED_BY_CPU_CACHES
	.no_dead_strip	_byt_pte_encode
.subsections_via_symbols
