	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs46xx_capture_prepare
_snd_cs46xx_capture_prepare:            ## @snd_cs46xx_capture_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, %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	movq	(%r14), %r15
	movq	_BA1_CBA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%rbx, %rdi
	callq	_snd_cs46xx_poke
	movl	$2, (%rbx)
	leaq	4(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_snd_pcm_lib_buffer_bytes
	movl	%eax, 8(%rbx)
	movl	(%r15), %eax
	movq	_CS46XX_FRAGS@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	shll	$2, %eax
	movl	%eax, 4(%rbx)
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_cs46xx_set_capture_sample_rate
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BA1_CBA,4,2                    ## @BA1_CBA
	.comm	_CS46XX_FRAGS,4,2               ## @CS46XX_FRAGS
	.no_dead_strip	_snd_cs46xx_capture_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs46xx_capture_prepare
_snd_cs46xx_capture_prepare:            ; @snd_cs46xx_capture_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	x21, [x19]
Lloh0:
	adrp	x8, _BA1_CBA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BA1_CBA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0, #12]
	bl	_snd_cs46xx_poke
	mov	w8, #2
	str	w8, [x20]
	add	x0, x20, #4
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	bl	_snd_pcm_lib_buffer_bytes
Lloh3:
	adrp	x8, _CS46XX_FRAGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CS46XX_FRAGS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w9, w1, [x21]
	mul	w8, w9, w8
	lsl	w8, w8, #2
	stp	w8, w0, [x20, #4]
	mov	x0, x20
	bl	_snd_cs46xx_set_capture_sample_rate
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BA1_CBA,4,2                    ; @BA1_CBA
	.comm	_CS46XX_FRAGS,4,2               ; @CS46XX_FRAGS
	.no_dead_strip	_snd_cs46xx_capture_prepare
.subsections_via_symbols
