	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_dma_callback
_omap_dma_callback:                     ## @omap_dma_callback
	.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	%rdx, %rbx
	leaq	8(%rdx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	24(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_vchan_cyclic_callback
	jmp	LBB0_7
LBB0_3:
	cmpq	$0, 16(%r15)
	jne	LBB0_5
## %bb.4:
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_omap_dma_start_desc
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_vchan_cookie_complete
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_omap_dma_start_sg
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_omap_dma_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_dma_callback
_omap_dma_callback:                     ; @omap_dma_callback
	.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
	mov	x20, x2
	add	x19, x2, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x21, [x20, #24]
	cbz	x21, LBB0_7
; %bb.1:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x21, #8
	bl	_vchan_cyclic_callback
	b	LBB0_7
LBB0_3:
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_omap_dma_start_desc
	add	x0, x21, #8
	bl	_vchan_cookie_complete
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_omap_dma_start_sg
LBB0_7:
	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	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_omap_dma_callback
.subsections_via_symbols
