	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs4231_playback_format
_snd_cs4231_playback_format:            ## @snd_cs4231_playback_format
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_snd_cs4231_calibrate_mute
	movq	%rbx, %rdi
	callq	_snd_cs4231_mce_up
	leaq	12(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_CS4231_PLAYBK_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movq	_CS4231_IFACE_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_CS4231_RECORD_ENABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_2
## %bb.1:
	andb	$-16, %r12b
	movzbl	%r12b, %ecx
	movq	_CS4231_REC_FORMAT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %edx
	andl	$15, %edx
	orl	%ecx, %edx
	jmp	LBB0_3
LBB0_2:
	movzbl	%r12b, %edx
LBB0_3:
	movq	%rbx, %rdi
	callq	_snd_cs4231_out
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_snd_cs4231_mce_down
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_snd_cs4231_calibrate_mute
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CS4231_PLAYBK_FORMAT,4,2       ## @CS4231_PLAYBK_FORMAT
	.comm	_CS4231_IFACE_CTRL,8,3          ## @CS4231_IFACE_CTRL
	.comm	_CS4231_RECORD_ENABLE,4,2       ## @CS4231_RECORD_ENABLE
	.comm	_CS4231_REC_FORMAT,8,3          ## @CS4231_REC_FORMAT
	.no_dead_strip	_snd_cs4231_playback_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs4231_playback_format
_snd_cs4231_playback_format:            ; @snd_cs4231_playback_format
	.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	x21, x2
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x20
	mov	w1, #1
	bl	_snd_cs4231_calibrate_mute
	mov	x0, x20
	bl	_snd_cs4231_mce_up
	add	x22, x20, #12
	mov	x0, x22
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _CS4231_PLAYBK_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS4231_PLAYBK_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _CS4231_IFACE_CTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CS4231_IFACE_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh6:
	adrp	x10, _CS4231_RECORD_ENABLE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CS4231_RECORD_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	and	w21, w21, #0xf0
Lloh9:
	adrp	x9, _CS4231_REC_FORMAT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CS4231_REC_FORMAT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	bfxil	w21, w8, #0, #4
LBB0_2:
	mov	x0, x20
	mov	x2, x21
	bl	_snd_cs4231_out
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_snd_cs4231_mce_down
	mov	x0, x20
	mov	w1, #0
	bl	_snd_cs4231_calibrate_mute
	mov	x0, x19
	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	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CS4231_PLAYBK_FORMAT,4,2       ; @CS4231_PLAYBK_FORMAT
	.comm	_CS4231_IFACE_CTRL,8,3          ; @CS4231_IFACE_CTRL
	.comm	_CS4231_RECORD_ENABLE,4,2       ; @CS4231_RECORD_ENABLE
	.comm	_CS4231_REC_FORMAT,8,3          ; @CS4231_REC_FORMAT
	.no_dead_strip	_snd_cs4231_playback_format
.subsections_via_symbols
