	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sport_tx_dma_start
_sport_tx_dma_start:                    ## @sport_tx_dma_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	24(%rbx), %rsi
	movq	%rsi, 8(%rsi)
	jmp	LBB0_3
LBB0_2:
	movq	16(%rbx), %rsi
LBB0_3:
	movq	%rsi, (%rbx)
	movl	8(%rbx), %edi
	callq	_set_dma_next_desc_addr
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	callq	_set_dma_x_count
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	callq	_set_dma_x_modify
	movq	_DMAFLOW_LARGE@GOTPCREL(%rip), %rax
	movq	_NDSIZE_9@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	8(%rbx), %edi
	movq	_WDSIZE_32@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_set_dma_config
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	callq	_set_dma_curr_addr
	xorl	%eax, %eax
	callq	_SSYNC
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAFLOW_LARGE,4,2              ## @DMAFLOW_LARGE
	.comm	_NDSIZE_9,4,2                   ## @NDSIZE_9
	.comm	_WDSIZE_32,4,2                  ## @WDSIZE_32
	.no_dead_strip	_sport_tx_dma_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sport_tx_dma_start
_sport_tx_dma_start:                    ; @sport_tx_dma_start
	.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
	cbz	w1, LBB0_2
; %bb.1:
	ldr	x1, [x19, #24]
	str	x1, [x1, #8]
	b	LBB0_3
LBB0_2:
	ldr	x1, [x19, #16]
LBB0_3:
	str	x1, [x19]
	ldr	w0, [x19, #8]
	bl	_set_dma_next_desc_addr
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_set_dma_x_count
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_set_dma_x_modify
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _DMAFLOW_LARGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAFLOW_LARGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NDSIZE_9@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NDSIZE_9@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _WDSIZE_32@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WDSIZE_32@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_set_dma_config
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	w1, [x8]
	bl	_set_dma_curr_addr
	bl	_SSYNC
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAFLOW_LARGE,4,2              ; @DMAFLOW_LARGE
	.comm	_NDSIZE_9,4,2                   ; @NDSIZE_9
	.comm	_WDSIZE_32,4,2                  ; @WDSIZE_32
	.no_dead_strip	_sport_tx_dma_start
.subsections_via_symbols
