	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_entry_control
_get_entry_control:                     ## @get_entry_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	%esi, %ecx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	cmpq	$0, 8(%rax,%rdx)
	jne	LBB0_2
## %bb.1:
	movq	_I915_MOCS_PTE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_2:
	shlq	$4, %rcx
	movl	(%rax,%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_MOCS_PTE,8,3              ## @I915_MOCS_PTE
	.no_dead_strip	_get_entry_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_entry_control
_get_entry_control:                     ; @get_entry_control
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	mov	w9, w1
	add	x10, x8, w1, uxtw #4
	ldr	x10, [x10, #8]
Lloh0:
	adrp	x11, _I915_MOCS_PTE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _I915_MOCS_PTE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, #0
	csel	x9, x11, x9, eq
	lsl	x9, x9, #4
	ldr	w0, [x8, x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_MOCS_PTE,8,3              ; @I915_MOCS_PTE
	.no_dead_strip	_get_entry_control
.subsections_via_symbols
