	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx8802_stop_dma
_cx8802_stop_dma:                       ## @cx8802_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
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movq	_MO_TS_DMACNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$17, %esi
	callq	_cx_clear
	movq	_MO_PCI_INTMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PCI_INT_TSINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cx_clear
	movq	_MO_TS_INTMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2031633, %esi                  ## imm = 0x1F0011
	callq	_cx_clear
	movq	_TS_GEN_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$205, %esi
	callq	_cx_write
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_MO_TS_DMACNTRL,4,2             ## @MO_TS_DMACNTRL
	.comm	_MO_PCI_INTMSK,4,2              ## @MO_PCI_INTMSK
	.comm	_PCI_INT_TSINT,4,2              ## @PCI_INT_TSINT
	.comm	_MO_TS_INTMSK,4,2               ## @MO_TS_INTMSK
	.comm	_TS_GEN_CNTRL,4,2               ## @TS_GEN_CNTRL
	.no_dead_strip	_cx8802_stop_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx8802_stop_dma
_cx8802_stop_dma:                       ; @cx8802_stop_dma
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
Lloh2:
	adrp	x8, _MO_TS_DMACNTRL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MO_TS_DMACNTRL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #17
	bl	_cx_clear
Lloh5:
	adrp	x8, _MO_PCI_INTMSK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MO_PCI_INTMSK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _PCI_INT_TSINT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCI_INT_TSINT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_cx_clear
Lloh11:
	adrp	x8, _MO_TS_INTMSK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MO_TS_INTMSK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	w1, #17
	movk	w1, #31, lsl #16
	bl	_cx_clear
Lloh14:
	adrp	x8, _TS_GEN_CNTRL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TS_GEN_CNTRL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #205
	bl	_cx_write
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_MO_TS_DMACNTRL,4,2             ; @MO_TS_DMACNTRL
	.comm	_MO_PCI_INTMSK,4,2              ; @MO_PCI_INTMSK
	.comm	_PCI_INT_TSINT,4,2              ; @PCI_INT_TSINT
	.comm	_MO_TS_INTMSK,4,2               ; @MO_TS_INTMSK
	.comm	_TS_GEN_CNTRL,4,2               ; @TS_GEN_CNTRL
	.no_dead_strip	_cx8802_stop_dma
.subsections_via_symbols
