	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ak4531_put_single
_snd_ak4531_put_single:                 ## @snd_ak4531_put_single
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movl	(%rbx), %ecx
	movl	%ecx, %ebx
	shrl	$24, %ebx
	movq	(%r14), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %edx
	movl	%ebx, %r12d
	subl	%edx, %r12d
	testl	$4194304, %ecx                  ## imm = 0x400000
	cmovel	%edx, %r12d
	movq	%rax, %r14
	movzbl	%cl, %r15d
	movl	%ecx, %r13d
	shrl	$16, %r13d
	andb	$7, %r13b
	movl	%r13d, %ecx
	shll	%cl, %r12d
	leaq	8(%rax), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	(%r14), %rax
	movq	16(%r14), %r8
	movl	%r13d, %ecx
	shll	%cl, %ebx
	movl	(%rax,%r15,4), %ecx
	notl	%ebx
	andl	%ecx, %ebx
	orl	%r12d, %ebx
	xorl	%r13d, %r13d
	cmpl	%ecx, %ebx
	setne	%r13b
	movl	%ebx, (%rax,%r15,4)
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	*%r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_ak4531_put_single
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ak4531_put_single
_snd_ak4531_put_single:                 ; @snd_ak4531_put_single
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x21, x0
	ldr	w8, [x20]
	ubfx	x22, x8, #24, #8
	ldr	x9, [x19]
	ldr	w9, [x9]
	and	w9, w9, w22
	sub	w10, w22, w9
	tst	w8, #0x400000
	csel	w9, w9, w10, eq
	ubfx	w23, w8, #16, #3
	and	x19, x8, #0xff
	lsl	w24, w9, w23
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x21]
	lsl	x9, x19, #2
	ldr	w10, [x8, x9]
	lsl	w11, w22, w23
	bic	w11, w10, w11
	orr	w2, w11, w24
	cmp	w2, w10
	cset	w22, ne
	ldr	x10, [x21, #16]
	str	w2, [x8, x9]
	mov	x0, x21
	mov	x1, x19
	blr	x10
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_ak4531_put_single
.subsections_via_symbols
