	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r592_stop_dma
_r592_stop_dma:                         ## @r592_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_R592_FIFO_DMA_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R592_FIFO_DMA_SETTINGS_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_r592_clear_reg_mask
	movq	_R592_FIFO_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_r592_write_reg
	movq	_R592_REG_MSC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DMA_IRQ_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_r592_clear_reg_mask
	movl	(%r15), %esi
	movq	_DMA_IRQ_ACK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_r592_clear_reg_mask
	movl	%r14d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R592_FIFO_DMA_SETTINGS,4,2     ## @R592_FIFO_DMA_SETTINGS
	.comm	_R592_FIFO_DMA_SETTINGS_EN,4,2  ## @R592_FIFO_DMA_SETTINGS_EN
	.comm	_R592_FIFO_DMA,4,2              ## @R592_FIFO_DMA
	.comm	_R592_REG_MSC,4,2               ## @R592_REG_MSC
	.comm	_DMA_IRQ_EN_MASK,4,2            ## @DMA_IRQ_EN_MASK
	.comm	_DMA_IRQ_ACK_MASK,4,2           ## @DMA_IRQ_ACK_MASK
	.no_dead_strip	_r592_stop_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r592_stop_dma
_r592_stop_dma:                         ; @r592_stop_dma
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _R592_FIFO_DMA_SETTINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R592_FIFO_DMA_SETTINGS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _R592_FIFO_DMA_SETTINGS_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R592_FIFO_DMA_SETTINGS_EN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_r592_clear_reg_mask
Lloh6:
	adrp	x8, _R592_FIFO_DMA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R592_FIFO_DMA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x20
	bl	_r592_write_reg
Lloh9:
	adrp	x21, _R592_REG_MSC@GOTPAGE
Lloh10:
	ldr	x21, [x21, _R592_REG_MSC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _DMA_IRQ_EN_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DMA_IRQ_EN_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_r592_clear_reg_mask
	ldr	w1, [x21]
Lloh14:
	adrp	x8, _DMA_IRQ_ACK_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DMA_IRQ_ACK_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_r592_clear_reg_mask
	str	w19, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R592_FIFO_DMA_SETTINGS,4,2     ; @R592_FIFO_DMA_SETTINGS
	.comm	_R592_FIFO_DMA_SETTINGS_EN,4,2  ; @R592_FIFO_DMA_SETTINGS_EN
	.comm	_R592_FIFO_DMA,4,2              ; @R592_FIFO_DMA
	.comm	_R592_REG_MSC,4,2               ; @R592_REG_MSC
	.comm	_DMA_IRQ_EN_MASK,4,2            ; @DMA_IRQ_EN_MASK
	.comm	_DMA_IRQ_ACK_MASK,4,2           ; @DMA_IRQ_ACK_MASK
	.no_dead_strip	_r592_stop_dma
.subsections_via_symbols
