	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_gem_object_update_fence
_i915_gem_object_update_fence:          ## @i915_gem_object_update_fence
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	(%r15), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_fence_number
	movl	%eax, %r13d
	movq	8(%rbx), %rdi
	callq	_HAS_LLC
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_i915_gem_write_fence__ipi@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_on_each_cpu
LBB0_2:
	xorl	%edx, %edx
	testl	%r12d, %r12d
	cmovneq	%rbx, %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_i915_gem_write_fence
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	movl	%r13d, (%rbx)
	movq	%rbx, 8(%r14)
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_move_tail                 ## TAILCALL
LBB0_4:
	movq	_I915_FENCE_REG_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	$0, 8(%r14)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_del_init                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_i915_gem_write_fence__ipi,4,2  ## @i915_gem_write_fence__ipi
	.comm	_I915_FENCE_REG_NONE,4,2        ## @I915_FENCE_REG_NONE
	.no_dead_strip	_i915_gem_object_update_fence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_gem_object_update_fence
_i915_gem_object_update_fence:          ; @i915_gem_object_update_fence
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x24, [x0, #8]
	ldr	x21, [x24]
	mov	x0, x21
	bl	_fence_number
	mov	x23, x0
	ldr	x0, [x20, #8]
	bl	_HAS_LLC
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _i915_gem_write_fence__ipi@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i915_gem_write_fence__ipi@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #1
	bl	_on_each_cpu
LBB0_2:
	cmp	w22, #0
	csel	x2, xzr, x20, eq
	mov	x0, x24
	mov	x1, x23
	bl	_i915_gem_write_fence
	cbz	w22, LBB0_4
; %bb.3:
	str	w23, [x20]
	str	x20, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_list_move_tail
LBB0_4:
Lloh3:
	adrp	x8, _I915_FENCE_REG_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I915_FENCE_REG_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	str	xzr, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_list_del_init
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_i915_gem_write_fence__ipi,4,2  ; @i915_gem_write_fence__ipi
	.comm	_I915_FENCE_REG_NONE,4,2        ; @I915_FENCE_REG_NONE
	.no_dead_strip	_i915_gem_object_update_fence
.subsections_via_symbols
