	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme96_playback_prepare
_snd_rme96_playback_prepare:            ## @snd_rme96_playback_prepare
	.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
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irq
	movq	%rbx, %rdi
	callq	_RME96_ISPLAYING
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_snd_rme96_playback_stop
LBB0_2:
	movq	_RME96_IO_RESET_PLAY_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME96_IO_RESET_PLAY_POS,8,3    ## @RME96_IO_RESET_PLAY_POS
	.no_dead_strip	_snd_rme96_playback_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme96_playback_prepare
_snd_rme96_playback_prepare:            ; @snd_rme96_playback_prepare
	.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
	bl	_snd_pcm_substream_chip
	mov	x19, x0
	bl	_spin_lock_irq
	mov	x0, x19
	bl	_RME96_ISPLAYING
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_snd_rme96_playback_stop
LBB0_2:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _RME96_IO_RESET_PLAY_POS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RME96_IO_RESET_PLAY_POS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RME96_IO_RESET_PLAY_POS,8,3    ; @RME96_IO_RESET_PLAY_POS
	.no_dead_strip	_snd_rme96_playback_prepare
.subsections_via_symbols
