	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timer_i915_sw_fence_wake
_timer_i915_sw_fence_wake:              ## @timer_i915_sw_fence_wake
	.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
	movq	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	leaq	8(%rax), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_xchg
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%rbx), %rdi
	movq	8(%rdi), %rax
	callq	*8(%rax)
	movl	%eax, %r12d
	movq	(%rbx), %rdi
	movq	8(%rdi), %rax
	callq	*(%rax)
	movl	%eax, %r13d
	movq	(%rbx), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_i915_sw_fence_debug_hint
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_pr_notice
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_i915_sw_fence_set_error_once
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i915_sw_fence_complete         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Asynchronous wait on fence %s:%s:%llx timed out (hint:%pS)\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_cb,8,3                         ## @cb
	.no_dead_strip	_timer_i915_sw_fence_wake
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timer_i915_sw_fence_wake
_timer_i915_sw_fence_wake:              ; @timer_i915_sw_fence_wake
	.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
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x20, x0
	add	x0, x0, #8
	mov	x1, #0
	bl	_xchg
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20]
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x21, x0
	ldr	x0, [x20]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	blr	x8
	mov	x22, x0
	ldr	x8, [x20]
	ldr	w20, [x8]
	mov	x0, x19
	bl	_i915_sw_fence_debug_hint
	mov	x4, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_pr_notice
Lloh5:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	bl	_i915_sw_fence_set_error_once
	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
	b	_i915_sw_fence_complete
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Asynchronous wait on fence %s:%s:%llx timed out (hint:%pS)\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_cb,8,3                         ; @cb
	.no_dead_strip	_timer_i915_sw_fence_wake
.subsections_via_symbols
