	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function via_dmablit_timer
_via_dmablit_timer:                     ## @via_dmablit_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_poll_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r15
	movq	8(%rax), %r14
	movq	(%r14), %rax
	movl	(%rax), %eax
	shll	$4, %eax
	movl	%r15d, %ebx
	subl	%eax, %ebx
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_DRM_DEBUG
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_via_dmablit_handler
	movq	%r15, %rdi
	callq	_timer_pending
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r12), %rsi
	incq	%rsi
	movq	%r15, %rdi
	callq	_mod_timer
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_via_dmablit_handler            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_poll_timer,4,2                 ## @poll_timer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Polling timer called for engine %d, jiffies %lu\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_blitq,8,3                      ## @blitq
	.no_dead_strip	_via_dmablit_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function via_dmablit_timer
_via_dmablit_timer:                     ; @via_dmablit_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, _poll_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _poll_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x21, x0
	ldr	x19, [x0, #8]
	ldr	x8, [x19]
	ldr	w8, [x8]
	sub	w20, w21, w8, lsl #4
Lloh3:
	adrp	x22, _jiffies@GOTPAGE
Lloh4:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x2, [x22]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_DRM_DEBUG
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_via_dmablit_handler
	mov	x0, x21
	bl	_timer_pending
	cbz	w0, LBB0_2
; %bb.1:
	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
LBB0_2:
	ldr	x8, [x22]
	add	x1, x8, #1
	mov	x0, x21
	bl	_mod_timer
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	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	_via_dmablit_handler
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_poll_timer,4,2                 ; @poll_timer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Polling timer called for engine %d, jiffies %lu\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_blitq,8,3                      ; @blitq
	.no_dead_strip	_via_dmablit_timer
.subsections_via_symbols
