	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_dma_start_sg
_omap_dma_start_sg:                     ## @omap_dma_start_sg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	8(%rsi), %r13
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_DMA_MEM_TO_MEM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movslq	(%rdi), %rax
	sete	%dl
	orb	%cl, %dl
	movq	_CSFI@GOTPCREL(%rip), %rcx
	cmovneq	_CDFI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_CSEI@GOTPCREL(%rip), %rcx
	cmovneq	_CDEI@GOTPCREL(%rip), %rcx
	movq	_CSSA@GOTPCREL(%rip), %rdx
	cmovneq	_CDSA@GOTPCREL(%rip), %rdx
	movl	(%rcx), %r12d
	movl	(%rdx), %esi
	leaq	(%rax,%rax,4), %r15
	movl	16(%r13,%r15,4), %edx
	callq	_omap_dma_chan_write
	movl	12(%r13,%r15,4), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_omap_dma_chan_write
	movl	8(%r13,%r15,4), %edx
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_omap_dma_chan_write
	movq	_CEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r13,%r15,4), %edx
	movq	%rbx, %rdi
	callq	_omap_dma_chan_write
	movq	_CFN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13,%r15,4), %edx
	movq	%rbx, %rdi
	callq	_omap_dma_chan_write
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_omap_dma_start
	incl	(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_DEV_TO_MEM,8,3             ## @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_MEM,8,3             ## @DMA_MEM_TO_MEM
	.comm	_CDSA,4,2                       ## @CDSA
	.comm	_CDEI,4,2                       ## @CDEI
	.comm	_CDFI,4,2                       ## @CDFI
	.comm	_CSSA,4,2                       ## @CSSA
	.comm	_CSEI,4,2                       ## @CSEI
	.comm	_CSFI,4,2                       ## @CSFI
	.comm	_CEN,4,2                        ## @CEN
	.comm	_CFN,4,2                        ## @CFN
	.no_dead_strip	_omap_dma_start_sg
.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_sg
_omap_dma_start_sg:                     ; @omap_dma_start_sg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldrsw	x8, [x0]
	ldp	x10, x9, [x1]
Lloh0:
	adrp	x11, _DMA_DEV_TO_MEM@GOTPAGE
Lloh1:
	ldr	x11, [x11, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
Lloh3:
	adrp	x12, _DMA_MEM_TO_MEM@GOTPAGE
Lloh4:
	ldr	x12, [x12, _DMA_MEM_TO_MEM@GOTPAGEOFF]
	cmp	x10, x11
Lloh5:
	ldr	x11, [x12]
Lloh6:
	adrp	x12, _CDFI@GOTPAGE
Lloh7:
	ldr	x12, [x12, _CDFI@GOTPAGEOFF]
Lloh8:
	adrp	x13, _CSFI@GOTPAGE
Lloh9:
	ldr	x13, [x13, _CSFI@GOTPAGEOFF]
	ccmp	x10, x11, #4, ne
	csel	x10, x12, x13, eq
Lloh10:
	adrp	x11, _CDEI@GOTPAGE
Lloh11:
	ldr	x11, [x11, _CDEI@GOTPAGEOFF]
Lloh12:
	adrp	x12, _CSEI@GOTPAGE
Lloh13:
	ldr	x12, [x12, _CSEI@GOTPAGEOFF]
	ldr	w21, [x10]
	csel	x10, x11, x12, eq
Lloh14:
	adrp	x11, _CDSA@GOTPAGE
Lloh15:
	ldr	x11, [x11, _CDSA@GOTPAGEOFF]
Lloh16:
	adrp	x12, _CSSA@GOTPAGE
Lloh17:
	ldr	x12, [x12, _CSSA@GOTPAGEOFF]
	ldr	w22, [x10]
	csel	x10, x11, x12, eq
	ldr	w1, [x10]
	mov	w10, #20
	madd	x23, x8, x10, x9
	ldr	w2, [x23, #16]
	bl	_omap_dma_chan_write
	ldr	w2, [x23, #12]
	mov	x0, x19
	mov	x1, x22
	bl	_omap_dma_chan_write
	ldr	w2, [x23, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_omap_dma_chan_write
Lloh18:
	adrp	x8, _CEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CEN@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x23, #4]
	mov	x0, x19
	bl	_omap_dma_chan_write
Lloh21:
	adrp	x8, _CFN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CFN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_omap_dma_chan_write
	mov	x0, x19
	mov	x1, x20
	bl	_omap_dma_start
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_DEV_TO_MEM,8,3             ; @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_MEM,8,3             ; @DMA_MEM_TO_MEM
	.comm	_CDSA,4,2                       ; @CDSA
	.comm	_CDEI,4,2                       ; @CDEI
	.comm	_CDFI,4,2                       ; @CDFI
	.comm	_CSSA,4,2                       ; @CSSA
	.comm	_CSEI,4,2                       ; @CSEI
	.comm	_CSFI,4,2                       ; @CSFI
	.comm	_CEN,4,2                        ; @CEN
	.comm	_CFN,4,2                        ; @CFN
	.no_dead_strip	_omap_dma_start_sg
.subsections_via_symbols
