	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs4231_capture_prepare
_snd_cs4231_capture_prepare:            ## @snd_cs4231_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_CS4231_RECORD_ENABLE@GOTPCREL(%rip), %rax
	movq	_CS4231_RECORD_PIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	movq	(%rbx), %rax
	movq	_CS4231_IFACE_CTRL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andl	%ecx, (%rax,%rdx,4)
	movq	$0, 16(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS4231_RECORD_ENABLE,4,2       ## @CS4231_RECORD_ENABLE
	.comm	_CS4231_RECORD_PIO,4,2          ## @CS4231_RECORD_PIO
	.comm	_CS4231_IFACE_CTRL,8,3          ## @CS4231_IFACE_CTRL
	.no_dead_strip	_snd_cs4231_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_cs4231_capture_prepare
_snd_cs4231_capture_prepare:            ; @snd_cs4231_capture_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
	add	x20, x0, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _CS4231_RECORD_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS4231_RECORD_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CS4231_RECORD_PIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CS4231_RECORD_PIO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19]
Lloh6:
	adrp	x10, _CS4231_IFACE_CTRL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CS4231_IFACE_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
	str	xzr, [x19, #16]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CS4231_RECORD_ENABLE,4,2       ; @CS4231_RECORD_ENABLE
	.comm	_CS4231_RECORD_PIO,4,2          ; @CS4231_RECORD_PIO
	.comm	_CS4231_IFACE_CTRL,8,3          ; @CS4231_IFACE_CTRL
	.no_dead_strip	_snd_cs4231_capture_prepare
.subsections_via_symbols
