	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rts5260_stop_cmd
_rts5260_stop_cmd:                      ## @rts5260_stop_cmd
	.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	_RTSX_HCBCTLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STOP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_rtsx_pci_writel
	movq	_RTSX_HDBCTLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STOP_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtsx_pci_writel
	movq	_RTS5260_DMA_RST_CTL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RTS5260_DMA_RST@GOTPCREL(%rip), %rax
	movq	_RTS5260_ADMA3_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_rtsx_pci_write_register
	movq	_RBCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RB_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rtsx_pci_write_register        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTSX_HCBCTLR,4,2               ## @RTSX_HCBCTLR
	.comm	_STOP_CMD,4,2                   ## @STOP_CMD
	.comm	_RTSX_HDBCTLR,4,2               ## @RTSX_HDBCTLR
	.comm	_STOP_DMA,4,2                   ## @STOP_DMA
	.comm	_RTS5260_DMA_RST_CTL_0,4,2      ## @RTS5260_DMA_RST_CTL_0
	.comm	_RTS5260_DMA_RST,4,2            ## @RTS5260_DMA_RST
	.comm	_RTS5260_ADMA3_RST,4,2          ## @RTS5260_ADMA3_RST
	.comm	_RBCTL,4,2                      ## @RBCTL
	.comm	_RB_FLUSH,4,2                   ## @RB_FLUSH
	.no_dead_strip	_rts5260_stop_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rts5260_stop_cmd
_rts5260_stop_cmd:                      ; @rts5260_stop_cmd
	.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, _RTSX_HCBCTLR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTSX_HCBCTLR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _STOP_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STOP_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_rtsx_pci_writel
Lloh6:
	adrp	x8, _RTSX_HDBCTLR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTSX_HDBCTLR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _STOP_DMA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STOP_DMA@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rtsx_pci_writel
Lloh12:
	adrp	x8, _RTS5260_DMA_RST_CTL_0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTS5260_DMA_RST_CTL_0@GOTPAGEOFF]
Lloh14:
	adrp	x9, _RTS5260_DMA_RST@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RTS5260_DMA_RST@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	ldr	w8, [x9]
Lloh18:
	adrp	x9, _RTS5260_ADMA3_RST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RTS5260_ADMA3_RST@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x3, x2
	bl	_rtsx_pci_write_register
Lloh21:
	adrp	x8, _RBCTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RBCTL@GOTPAGEOFF]
Lloh23:
	adrp	x9, _RB_FLUSH@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RB_FLUSH@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x3, x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtsx_pci_write_register
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTSX_HCBCTLR,4,2               ; @RTSX_HCBCTLR
	.comm	_STOP_CMD,4,2                   ; @STOP_CMD
	.comm	_RTSX_HDBCTLR,4,2               ; @RTSX_HDBCTLR
	.comm	_STOP_DMA,4,2                   ; @STOP_DMA
	.comm	_RTS5260_DMA_RST_CTL_0,4,2      ; @RTS5260_DMA_RST_CTL_0
	.comm	_RTS5260_DMA_RST,4,2            ; @RTS5260_DMA_RST
	.comm	_RTS5260_ADMA3_RST,4,2          ; @RTS5260_ADMA3_RST
	.comm	_RBCTL,4,2                      ; @RBCTL
	.comm	_RB_FLUSH,4,2                   ; @RB_FLUSH
	.no_dead_strip	_rts5260_stop_cmd
.subsections_via_symbols
