	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_tc_handle
_dma_tc_handle:                         ## @dma_tc_handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$0, 24(%rdi)
	je	LBB0_5
## %bb.1:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	leaq	20(%rbx), %rdi
	callq	_list_empty
	movl	%eax, %edi
	callq	_BUG_ON
	incl	16(%rbx)
	movq	%rbx, %rdi
	callq	_coh901318_queue_start
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	$0, 8(%rbx)
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_cohc_chan_conf
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tasklet_hi_schedule            ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	callq	_COHC_2_DEV
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"spurious interrupt from unallocated channel\n"

	.no_dead_strip	_dma_tc_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_tc_handle
_dma_tc_handle:                         ; @dma_tc_handle
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_5
; %bb.1:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock
	add	x0, x19, #20
	bl	_list_empty
	bl	_BUG_ON
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_coh901318_queue_start
	cbnz	x0, LBB0_3
; %bb.2:
	str	xzr, [x19, #8]
LBB0_3:
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x19
	bl	_cohc_chan_conf
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tasklet_hi_schedule
LBB0_5:
	mov	x0, x19
	bl	_COHC_2_DEV
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tasklet_schedule
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spurious interrupt from unallocated channel\n"

	.no_dead_strip	_dma_tc_handle
.subsections_via_symbols
