	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_ggtt_insert_entries
_i915_ggtt_insert_entries:              ## @i915_ggtt_insert_entries
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rdi
	movq	_I915_CACHE_NONE@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_AGP_USER_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AGP_USER_CACHED_MEMORY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%edx, %esi
	movl	%eax, %edx
	popq	%rbp
	jmp	_intel_gtt_insert_sg_entries    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_CACHE_NONE,4,2            ## @I915_CACHE_NONE
	.comm	_AGP_USER_MEMORY,4,2            ## @AGP_USER_MEMORY
	.comm	_AGP_USER_CACHED_MEMORY,4,2     ## @AGP_USER_CACHED_MEMORY
	.no_dead_strip	_i915_ggtt_insert_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_ggtt_insert_entries
_i915_ggtt_insert_entries:              ; @i915_ggtt_insert_entries
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	mov	x0, x1
Lloh0:
	adrp	x9, _I915_CACHE_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I915_CACHE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _AGP_USER_MEMORY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AGP_USER_MEMORY@GOTPAGEOFF]
Lloh5:
	adrp	x11, _AGP_USER_CACHED_MEMORY@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AGP_USER_CACHED_MEMORY@GOTPAGEOFF]
	cmp	w9, w3
	csel	x9, x10, x11, eq
	ldr	w2, [x9]
	mov	x1, x8
	b	_intel_gtt_insert_sg_entries
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_CACHE_NONE,4,2            ; @I915_CACHE_NONE
	.comm	_AGP_USER_MEMORY,4,2            ; @AGP_USER_MEMORY
	.comm	_AGP_USER_CACHED_MEMORY,4,2     ; @AGP_USER_CACHED_MEMORY
	.no_dead_strip	_i915_ggtt_insert_entries
.subsections_via_symbols
