	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_at73c213_pcm_prepare
_snd_at73c213_pcm_prepare:              ## @snd_at73c213_pcm_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r14
	movq	(%rbx), %rbx
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_frames_to_bytes
	movl	%eax, %r15d
	movq	$0, 8(%r14)
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_PDC_TPR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rdx
	callq	_ssc_writel
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_PDC_TCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	imulq	(%rbx), %rdx
	callq	_ssc_writel
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_PDC_TNPR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	%r15d, %rdx
	addq	16(%rbx), %rdx
	callq	_ssc_writel
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_PDC_TNCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	imulq	(%rbx), %rdx
	callq	_ssc_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PDC_TPR,4,2                    ## @PDC_TPR
	.comm	_PDC_TCR,4,2                    ## @PDC_TCR
	.comm	_PDC_TNPR,4,2                   ## @PDC_TNPR
	.comm	_PDC_TNCR,4,2                   ## @PDC_TNCR
	.no_dead_strip	_snd_at73c213_pcm_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_at73c213_pcm_prepare
_snd_at73c213_pcm_prepare:              ; @snd_at73c213_pcm_prepare
	.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, x0
	bl	_snd_pcm_substream_chip
	mov	x20, x0
	ldr	x19, [x19]
	ldr	x1, [x19]
	mov	x0, x19
	bl	_frames_to_bytes
	mov	x21, x0
	str	xzr, [x20, #8]
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _PDC_TPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PDC_TPR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [x19, #16]
	bl	_ssc_writel
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PDC_TCR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PDC_TCR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	x8, x9, [x19]
	mul	x2, x9, x8
	bl	_ssc_writel
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _PDC_TNPR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PDC_TNPR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [x19, #16]
	add	x2, x8, w21, sxtw
	bl	_ssc_writel
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _PDC_TNCR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PDC_TNCR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldp	x8, x9, [x19]
	mul	x2, x9, x8
	bl	_ssc_writel
	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
	ret
	.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	_PDC_TPR,4,2                    ; @PDC_TPR
	.comm	_PDC_TCR,4,2                    ; @PDC_TCR
	.comm	_PDC_TNPR,4,2                   ; @PDC_TNPR
	.comm	_PDC_TNCR,4,2                   ; @PDC_TNCR
	.no_dead_strip	_snd_at73c213_pcm_prepare
.subsections_via_symbols
