	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_dma_start_desc
_omap_dma_start_desc:                   ## @omap_dma_start_desc
	.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	%rdi, %r15
	addq	$16, %rdi
	callq	_vchan_next_desc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_list_del
	movq	%rbx, %rdi
	callq	_to_omap_dma_desc
	movq	%rax, %r14
	movq	%rax, 8(%r15)
	movq	$0, (%r15)
	xorl	%eax, %eax
	callq	_mb
	movq	_CCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r15, %rdi
	callq	_omap_dma_chan_write
	xorl	%eax, %eax
	callq	_dma_omap1
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_CCR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movswl	2(%r14), %edx
	movq	%r15, %rdi
	callq	_omap_dma_chan_write
LBB0_3:
	movq	8(%r14), %rax
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_DMA_MEM_TO_MEM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movq	_CDFI@GOTPCREL(%rip), %rax
	cmovneq	_CSFI@GOTPCREL(%rip), %rax
	movq	_CDEI@GOTPCREL(%rip), %rcx
	cmovneq	_CSEI@GOTPCREL(%rip), %rcx
	movq	_CDSA@GOTPCREL(%rip), %rdx
	cmovneq	_CSSA@GOTPCREL(%rip), %rdx
	movl	(%rax), %r12d
	movl	(%rcx), %ebx
	movl	(%rdx), %esi
	movl	16(%r14), %edx
	movq	%r15, %rdi
	callq	_omap_dma_chan_write
	movl	20(%r14), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_omap_dma_chan_write
	movl	24(%r14), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_omap_dma_chan_write
	movq	_CSDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r14), %edx
	movq	%r15, %rdi
	callq	_omap_dma_chan_write
	movq	_CLNK_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %edx
	movq	%r15, %rdi
	callq	_omap_dma_chan_write
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_omap_dma_start_sg              ## TAILCALL
LBB0_4:
	movq	$0, 8(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCR,4,2                        ## @CCR
	.comm	_CCR2,4,2                       ## @CCR2
	.comm	_DMA_DEV_TO_MEM,8,3             ## @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_MEM,8,3             ## @DMA_MEM_TO_MEM
	.comm	_CSSA,4,2                       ## @CSSA
	.comm	_CSEI,4,2                       ## @CSEI
	.comm	_CSFI,4,2                       ## @CSFI
	.comm	_CDSA,4,2                       ## @CDSA
	.comm	_CDEI,4,2                       ## @CDEI
	.comm	_CDFI,4,2                       ## @CDFI
	.comm	_CSDP,4,2                       ## @CSDP
	.comm	_CLNK_CTRL,4,2                  ## @CLNK_CTRL
	.no_dead_strip	_omap_dma_start_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_dma_start_desc
_omap_dma_start_desc:                   ; @omap_dma_start_desc
	.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	x19, x0
	add	x0, x0, #16
	bl	_vchan_next_desc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x0, x0, #4
	bl	_list_del
	mov	x0, x20
	bl	_to_omap_dma_desc
	mov	x20, x0
	stp	xzr, x0, [x19]
	bl	_mb
Lloh0:
	adrp	x8, _CCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_omap_dma_chan_write
	bl	_dma_omap1
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _CCR2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CCR2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldrsh	w2, [x20, #2]
	mov	x0, x19
	bl	_omap_dma_chan_write
LBB0_3:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _DMA_DEV_TO_MEM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh9:
	adrp	x9, _DMA_MEM_TO_MEM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DMA_MEM_TO_MEM@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _CSFI@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CSFI@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
Lloh14:
	adrp	x8, _CDFI@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CDFI@GOTPAGEOFF]
	csel	x8, x10, x8, eq
Lloh16:
	adrp	x9, _CSEI@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CSEI@GOTPAGEOFF]
	ldr	w21, [x8]
Lloh18:
	adrp	x8, _CDEI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CDEI@GOTPAGEOFF]
	csel	x8, x9, x8, eq
Lloh20:
	adrp	x9, _CSSA@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CSSA@GOTPAGEOFF]
	ldr	w22, [x8]
Lloh22:
	adrp	x8, _CDSA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CDSA@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_omap_dma_chan_write
	ldr	w2, [x20, #20]
	mov	x0, x19
	mov	x1, x22
	bl	_omap_dma_chan_write
	ldr	w2, [x20, #24]
	mov	x0, x19
	mov	x1, x21
	bl	_omap_dma_chan_write
Lloh24:
	adrp	x8, _CSDP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CSDP@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
	mov	x0, x19
	bl	_omap_dma_chan_write
Lloh27:
	adrp	x8, _CLNK_CTRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CLNK_CTRL@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x20, #32]
	mov	x0, x19
	bl	_omap_dma_chan_write
	mov	x0, x19
	mov	x1, x20
	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	_omap_dma_start_sg
LBB0_4:
	str	xzr, [x19, #8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CCR,4,2                        ; @CCR
	.comm	_CCR2,4,2                       ; @CCR2
	.comm	_DMA_DEV_TO_MEM,8,3             ; @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_MEM,8,3             ; @DMA_MEM_TO_MEM
	.comm	_CSSA,4,2                       ; @CSSA
	.comm	_CSEI,4,2                       ; @CSEI
	.comm	_CSFI,4,2                       ; @CSFI
	.comm	_CDSA,4,2                       ; @CDSA
	.comm	_CDEI,4,2                       ; @CDEI
	.comm	_CDFI,4,2                       ; @CDFI
	.comm	_CSDP,4,2                       ; @CSDP
	.comm	_CLNK_CTRL,4,2                  ; @CLNK_CTRL
	.no_dead_strip	_omap_dma_start_desc
.subsections_via_symbols
