	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme32_pcm_stop
_snd_rme32_pcm_stop:                    ## @snd_rme32_pcm_stop
	.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	_RME32_IO_CONTROL_REGISTER@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movl	%eax, (%rbx)
	movq	_RME32_RCR_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_RME32_IO_CONFIRM_ACTION_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
LBB0_2:
	movq	_RME32_WCR_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	4(%rbx), %edi
	movl	%edi, 4(%rbx)
	movq	_RME32_WCR_SEL@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_RME32_WCR_MUTE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	%edi, 4(%rbx)
LBB0_4:
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_RME32_IO_RESET_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RME32_IO_CONTROL_REGISTER,8,3  ## @RME32_IO_CONTROL_REGISTER
	.comm	_RME32_RCR_IRQ,4,2              ## @RME32_RCR_IRQ
	.comm	_RME32_IO_CONFIRM_ACTION_IRQ,8,3 ## @RME32_IO_CONFIRM_ACTION_IRQ
	.comm	_RME32_WCR_START,4,2            ## @RME32_WCR_START
	.comm	_RME32_WCR_SEL,4,2              ## @RME32_WCR_SEL
	.comm	_RME32_WCR_MUTE,4,2             ## @RME32_WCR_MUTE
	.comm	_RME32_IO_RESET_POS,8,3         ## @RME32_IO_RESET_POS
	.no_dead_strip	_snd_rme32_pcm_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme32_pcm_stop
_snd_rme32_pcm_stop:                    ; @snd_rme32_pcm_stop
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x21, _RME32_IO_CONTROL_REGISTER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RME32_IO_CONTROL_REGISTER@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	str	w0, [x19]
Lloh2:
	adrp	x8, _RME32_RCR_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RME32_RCR_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _RME32_IO_CONFIRM_ACTION_IRQ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RME32_IO_CONFIRM_ACTION_IRQ@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
LBB0_2:
Lloh8:
	adrp	x8, _RME32_WCR_START@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RME32_WCR_START@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w0, w9, w8
	str	w0, [x19, #4]
Lloh11:
	adrp	x8, _RME32_WCR_SEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RME32_WCR_SEL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _RME32_WCR_MUTE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RME32_WCR_MUTE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w0, w8, w0
	str	w0, [x19, #4]
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	cbz	w20, LBB0_6
; %bb.5:
	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
LBB0_6:
	ldr	x8, [x19, #8]
Lloh17:
	adrp	x9, _RME32_IO_RESET_POS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RME32_IO_RESET_POS@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	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
	b	_writel
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RME32_IO_CONTROL_REGISTER,8,3  ; @RME32_IO_CONTROL_REGISTER
	.comm	_RME32_RCR_IRQ,4,2              ; @RME32_RCR_IRQ
	.comm	_RME32_IO_CONFIRM_ACTION_IRQ,8,3 ; @RME32_IO_CONFIRM_ACTION_IRQ
	.comm	_RME32_WCR_START,4,2            ; @RME32_WCR_START
	.comm	_RME32_WCR_SEL,4,2              ; @RME32_WCR_SEL
	.comm	_RME32_WCR_MUTE,4,2             ; @RME32_WCR_MUTE
	.comm	_RME32_IO_RESET_POS,8,3         ; @RME32_IO_RESET_POS
	.no_dead_strip	_snd_rme32_pcm_stop
.subsections_via_symbols
