	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_lri
_emit_lri:                              ## @emit_lri
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	leal	-64(%r15), %eax
	xorl	%edi, %edi
	cmpl	$-63, %eax
	setb	%dil
	callq	_GEM_BUG_ON
	movl	%r15d, %edi
	callq	_MI_LOAD_REGISTER_IMM
	movl	%eax, (%r12)
	addq	$8, %r12
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r14,%rbx,8), %edi
	callq	_i915_mmio_reg_offset
	movl	%eax, -4(%r12)
	movl	(%r14,%rbx,8), %eax
	movl	%eax, (%r12)
	addq	$8, %r12
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_MI_NOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%r12)
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MI_NOOP,4,2                    ## @MI_NOOP
	.no_dead_strip	_emit_lri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_lri
_emit_lri:                              ; @emit_lri
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	sub	w8, w2, #64
	cmn	w8, #63
	cset	w0, lo
	bl	_GEM_BUG_ON
	mov	x0, x20
	bl	_MI_LOAD_REGISTER_IMM
	str	w0, [x19], #8
	add	x21, x21, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_i915_mmio_reg_offset
	stur	w0, [x19, #-4]
	ldur	w8, [x21, #-4]
	str	w8, [x19], #8
	add	x21, x21, #8
	subs	w20, w20, #1
	b.ne	LBB0_1
; %bb.2:
Lloh0:
	adrp	x8, _MI_NOOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MI_NOOP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x19, #-4]
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MI_NOOP,4,2                    ; @MI_NOOP
	.no_dead_strip	_emit_lri
.subsections_via_symbols
