	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function davinci_mcasp_start
_davinci_mcasp_start:                   ## @davinci_mcasp_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
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_DAVINCI_MCASP_WFIFOCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	_FIFO_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mcasp_set_bits
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mcasp_start_tx                 ## TAILCALL
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_DAVINCI_MCASP_RFIFOCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	_FIFO_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mcasp_set_bits
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mcasp_start_rx                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_DAVINCI_MCASP_WFIFOCTL,8,3     ## @DAVINCI_MCASP_WFIFOCTL
	.comm	_FIFO_ENABLE,4,2                ## @FIFO_ENABLE
	.comm	_DAVINCI_MCASP_RFIFOCTL,8,3     ## @DAVINCI_MCASP_RFIFOCTL
	.no_dead_strip	_davinci_mcasp_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function davinci_mcasp_start
_davinci_mcasp_start:                   ; @davinci_mcasp_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
Lloh0:
	adrp	x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _DAVINCI_MCASP_WFIFOCTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DAVINCI_MCASP_WFIFOCTL@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh6:
	adrp	x8, _FIFO_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIFO_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_mcasp_set_bits
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mcasp_start_tx
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _DAVINCI_MCASP_RFIFOCTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DAVINCI_MCASP_RFIFOCTL@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh11:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh12:
	adrp	x8, _FIFO_ENABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FIFO_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_mcasp_set_bits
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mcasp_start_rx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_DAVINCI_MCASP_WFIFOCTL,8,3     ; @DAVINCI_MCASP_WFIFOCTL
	.comm	_FIFO_ENABLE,4,2                ; @FIFO_ENABLE
	.comm	_DAVINCI_MCASP_RFIFOCTL,8,3     ; @DAVINCI_MCASP_RFIFOCTL
	.no_dead_strip	_davinci_mcasp_start
.subsections_via_symbols
