	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i9xx_emit_breadcrumb
_i9xx_emit_breadcrumb:                  ## @i9xx_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	24(%rdi), %rcx
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_GEM_BUG_ON
	movq	16(%r14), %rax
	movl	8(%rax), %edi
	callq	_offset_in_page
	movq	_I915_GEM_HWS_SEQNO_ADDR@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setne	%dil
	callq	_GEM_BUG_ON
	movq	_MI_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_MI_STORE_DWORD_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%r15), %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
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_GEM_HWS_SEQNO_ADDR,8,3    ## @I915_GEM_HWS_SEQNO_ADDR
	.comm	_MI_FLUSH,4,2                   ## @MI_FLUSH
	.comm	_MI_STORE_DWORD_INDEX,4,2       ## @MI_STORE_DWORD_INDEX
	.comm	_MI_USER_INTERRUPT,8,3          ## @MI_USER_INTERRUPT
	.comm	_MI_NOOP,8,3                    ## @MI_NOOP
	.no_dead_strip	_i9xx_emit_breadcrumb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i9xx_emit_breadcrumb
_i9xx_emit_breadcrumb:                  ; @i9xx_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
	ldp	x8, x9, [x0, #16]
	ldr	x8, [x8]
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_GEM_BUG_ON
	ldr	x8, [x20, #16]
	ldr	w0, [x8, #8]
	bl	_offset_in_page
Lloh0:
	adrp	x21, _I915_GEM_HWS_SEQNO_ADDR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I915_GEM_HWS_SEQNO_ADDR@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, ne
	bl	_GEM_BUG_ON
Lloh2:
	adrp	x8, _MI_FLUSH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MI_FLUSH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh5:
	adrp	x8, _MI_STORE_DWORD_INDEX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MI_STORE_DWORD_INDEX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x21]
	stp	w8, w9, [x19, #4]
	ldr	x8, [x20, #8]
Lloh8:
	adrp	x9, _MI_USER_INTERRUPT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MI_USER_INTERRUPT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	stp	w8, w9, [x19, #12]
Lloh11:
	adrp	x8, _MI_NOOP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MI_NOOP@GOTPAGEOFF]
Lloh13:
	ldr	x8, [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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_GEM_HWS_SEQNO_ADDR,8,3    ; @I915_GEM_HWS_SEQNO_ADDR
	.comm	_MI_FLUSH,4,2                   ; @MI_FLUSH
	.comm	_MI_STORE_DWORD_INDEX,4,2       ; @MI_STORE_DWORD_INDEX
	.comm	_MI_USER_INTERRUPT,8,3          ; @MI_USER_INTERRUPT
	.comm	_MI_NOOP,8,3                    ; @MI_NOOP
	.no_dead_strip	_i9xx_emit_breadcrumb
.subsections_via_symbols
