	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a5xx_preempt_timer
_a5xx_preempt_timer:                    ## @a5xx_preempt_timer
	.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	_preempt_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	8(%rax), %r15
	movq	8(%r15), %r14
	movq	_PREEMPT_TRIGGERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PREEMPT_FAULTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_try_preempt_state
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_ERROR
	movl	(%r14), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_preempt_timer,4,2              ## @preempt_timer
	.comm	_PREEMPT_TRIGGERED,4,2          ## @PREEMPT_TRIGGERED
	.comm	_PREEMPT_FAULTED,4,2            ## @PREEMPT_FAULTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: preemption timed out\n"

	.comm	_a5xx_gpu,8,3                   ## @a5xx_gpu
	.no_dead_strip	_a5xx_preempt_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a5xx_preempt_timer
_a5xx_preempt_timer:                    ; @a5xx_preempt_timer
	.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, _preempt_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _preempt_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x20, [x21, #8]
Lloh3:
	adrp	x8, _PREEMPT_TRIGGERED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PREEMPT_TRIGGERED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _PREEMPT_FAULTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PREEMPT_FAULTED@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_try_preempt_state
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	ldr	w2, [x19, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_ERROR
	ldr	w0, [x20]
	mov	x1, 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	_queue_work
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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_preempt_timer,4,2              ; @preempt_timer
	.comm	_PREEMPT_TRIGGERED,4,2          ; @PREEMPT_TRIGGERED
	.comm	_PREEMPT_FAULTED,4,2            ; @PREEMPT_FAULTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: preemption timed out\n"

	.comm	_a5xx_gpu,8,3                   ; @a5xx_gpu
	.no_dead_strip	_a5xx_preempt_timer
.subsections_via_symbols
