	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen7_rcs_emit_breadcrumb
_gen7_rcs_emit_breadcrumb:              ## @gen7_rcs_emit_breadcrumb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$4, %edi
	callq	_GFX_OP_PIPE_CONTROL
	movl	%eax, (%rbx)
	movq	_PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH@GOTPCREL(%rip), %rax
	movq	_PIPE_CONTROL_DEPTH_CACHE_FLUSH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PIPE_CONTROL_DC_FLUSH_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PIPE_CONTROL_FLUSH_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PIPE_CONTROL_QW_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PIPE_CONTROL_GLOBAL_GTT_IVB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PIPE_CONTROL_CS_STALL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	16(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 12(%rbx)
	movq	_MI_USER_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_MI_NOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	addq	$24, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_intel_ring_offset
	movl	%eax, (%r14)
	movl	4(%r14), %edi
	movl	%eax, %esi
	callq	_assert_ring_tail_valid
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH,4,2 ## @PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH
	.comm	_PIPE_CONTROL_DEPTH_CACHE_FLUSH,4,2 ## @PIPE_CONTROL_DEPTH_CACHE_FLUSH
	.comm	_PIPE_CONTROL_DC_FLUSH_ENABLE,4,2 ## @PIPE_CONTROL_DC_FLUSH_ENABLE
	.comm	_PIPE_CONTROL_FLUSH_ENABLE,4,2  ## @PIPE_CONTROL_FLUSH_ENABLE
	.comm	_PIPE_CONTROL_QW_WRITE,4,2      ## @PIPE_CONTROL_QW_WRITE
	.comm	_PIPE_CONTROL_GLOBAL_GTT_IVB,4,2 ## @PIPE_CONTROL_GLOBAL_GTT_IVB
	.comm	_PIPE_CONTROL_CS_STALL,4,2      ## @PIPE_CONTROL_CS_STALL
	.comm	_MI_USER_INTERRUPT,4,2          ## @MI_USER_INTERRUPT
	.comm	_MI_NOOP,4,2                    ## @MI_NOOP
	.no_dead_strip	_gen7_rcs_emit_breadcrumb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen7_rcs_emit_breadcrumb
_gen7_rcs_emit_breadcrumb:              ; @gen7_rcs_emit_breadcrumb
	.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, x1
	mov	x20, x0
	mov	w0, #4
	bl	_GFX_OP_PIPE_CONTROL
	str	w0, [x19]
Lloh0:
	adrp	x8, _PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PIPE_CONTROL_DEPTH_CACHE_FLUSH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PIPE_CONTROL_DEPTH_CACHE_FLUSH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PIPE_CONTROL_DC_FLUSH_ENABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PIPE_CONTROL_DC_FLUSH_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PIPE_CONTROL_FLUSH_ENABLE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PIPE_CONTROL_FLUSH_ENABLE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _PIPE_CONTROL_QW_WRITE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PIPE_CONTROL_QW_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _PIPE_CONTROL_GLOBAL_GTT_IVB@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PIPE_CONTROL_GLOBAL_GTT_IVB@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _PIPE_CONTROL_CS_STALL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PIPE_CONTROL_CS_STALL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x20, #8]
Lloh21:
	adrp	x9, _MI_USER_INTERRUPT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MI_USER_INTERRUPT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #12]
Lloh24:
	adrp	x8, _MI_NOOP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MI_NOOP@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	add	x21, x19, #24
	str	w8, [x19, #20]
	mov	x0, x20
	mov	x1, x21
	bl	_intel_ring_offset
	mov	x1, x0
	str	w0, [x20]
	ldr	w0, [x20, #4]
	bl	_assert_ring_tail_valid
	mov	x0, x21
	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	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH,4,2 ; @PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH
	.comm	_PIPE_CONTROL_DEPTH_CACHE_FLUSH,4,2 ; @PIPE_CONTROL_DEPTH_CACHE_FLUSH
	.comm	_PIPE_CONTROL_DC_FLUSH_ENABLE,4,2 ; @PIPE_CONTROL_DC_FLUSH_ENABLE
	.comm	_PIPE_CONTROL_FLUSH_ENABLE,4,2  ; @PIPE_CONTROL_FLUSH_ENABLE
	.comm	_PIPE_CONTROL_QW_WRITE,4,2      ; @PIPE_CONTROL_QW_WRITE
	.comm	_PIPE_CONTROL_GLOBAL_GTT_IVB,4,2 ; @PIPE_CONTROL_GLOBAL_GTT_IVB
	.comm	_PIPE_CONTROL_CS_STALL,4,2      ; @PIPE_CONTROL_CS_STALL
	.comm	_MI_USER_INTERRUPT,4,2          ; @MI_USER_INTERRUPT
	.comm	_MI_NOOP,4,2                    ; @MI_NOOP
	.no_dead_strip	_gen7_rcs_emit_breadcrumb
.subsections_via_symbols
