	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ravb_stop_dma
_ravb_stop_dma:                         ## @ravb_stop_dma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_TCCR_TSRQ0@GOTPCREL(%rip), %rax
	movq	_TCCR_TSRQ1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_TCCR@GOTPCREL(%rip), %rax
	movq	_TCCR_TSRQ2@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_TCCR_TSRQ3@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_ravb_wait
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_CSR_TPO0@GOTPCREL(%rip), %rax
	movq	_CSR_TPO1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_CSR@GOTPCREL(%rip), %r14
	movq	_CSR_TPO2@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r14), %esi
	movq	_CSR_TPO3@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ravb_wait
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ravb_rcv_snd_disable
	movl	(%r14), %esi
	movq	_CSR_RPO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ravb_wait
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ravb_config                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TCCR,4,2                       ## @TCCR
	.comm	_TCCR_TSRQ0,4,2                 ## @TCCR_TSRQ0
	.comm	_TCCR_TSRQ1,4,2                 ## @TCCR_TSRQ1
	.comm	_TCCR_TSRQ2,4,2                 ## @TCCR_TSRQ2
	.comm	_TCCR_TSRQ3,4,2                 ## @TCCR_TSRQ3
	.comm	_CSR,4,2                        ## @CSR
	.comm	_CSR_TPO0,4,2                   ## @CSR_TPO0
	.comm	_CSR_TPO1,4,2                   ## @CSR_TPO1
	.comm	_CSR_TPO2,4,2                   ## @CSR_TPO2
	.comm	_CSR_TPO3,4,2                   ## @CSR_TPO3
	.comm	_CSR_RPO,4,2                    ## @CSR_RPO
	.no_dead_strip	_ravb_stop_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ravb_stop_dma
_ravb_stop_dma:                         ; @ravb_stop_dma
	.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, _TCCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _TCCR_TSRQ0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCCR_TSRQ0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _TCCR_TSRQ1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TCCR_TSRQ1@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _TCCR_TSRQ2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TCCR_TSRQ2@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _TCCR_TSRQ3@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TCCR_TSRQ3@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	w3, #0
	bl	_ravb_wait
	cbnz	w0, LBB0_3
; %bb.1:
Lloh15:
	adrp	x20, _CSR@GOTPAGE
Lloh16:
	ldr	x20, [x20, _CSR@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh17:
	adrp	x8, _CSR_TPO0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CSR_TPO0@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _CSR_TPO1@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CSR_TPO1@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _CSR_TPO2@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CSR_TPO2@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _CSR_TPO3@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CSR_TPO3@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	mov	w3, #0
	bl	_ravb_wait
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ravb_rcv_snd_disable
	ldr	w1, [x20]
Lloh29:
	adrp	x8, _CSR_RPO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CSR_RPO@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_ravb_wait
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ravb_config
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_TCCR,4,2                       ; @TCCR
	.comm	_TCCR_TSRQ0,4,2                 ; @TCCR_TSRQ0
	.comm	_TCCR_TSRQ1,4,2                 ; @TCCR_TSRQ1
	.comm	_TCCR_TSRQ2,4,2                 ; @TCCR_TSRQ2
	.comm	_TCCR_TSRQ3,4,2                 ; @TCCR_TSRQ3
	.comm	_CSR,4,2                        ; @CSR
	.comm	_CSR_TPO0,4,2                   ; @CSR_TPO0
	.comm	_CSR_TPO1,4,2                   ; @CSR_TPO1
	.comm	_CSR_TPO2,4,2                   ; @CSR_TPO2
	.comm	_CSR_TPO3,4,2                   ; @CSR_TPO3
	.comm	_CSR_RPO,4,2                    ; @CSR_RPO
	.no_dead_strip	_ravb_stop_dma
.subsections_via_symbols
