	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ak4531_put_input_sw
_snd_ak4531_put_input_sw:               ## @snd_ak4531_put_input_sw
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r12
	movl	(%rbx), %eax
	movzbl	%al, %r15d
	movzbl	%ah, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	shrl	$16, %r14d
	shrl	$24, %eax
	movq	%rax, %r13
	leaq	8(%r12), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	andb	$15, %r14b
	movl	$1, %edi
	movl	%r14d, %ecx
	shll	%cl, %edi
	movq	(%r12), %r8
	movl	(%r8,%r15,4), %r9d
	andb	$15, %r13b
	btsl	%r13d, %edi
	notl	%edi
	movl	%r9d, %edx
	andl	%edi, %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	(%rbx), %esi
	andl	$1, %esi
	shll	%cl, %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%r8,%rax,4), %r10d
	orl	%edx, %esi
	movl	4(%rbx), %eax
	andl	$1, %eax
	shll	%cl, %eax
	movl	8(%rbx), %edx
	andl	$1, %edx
	movl	%r13d, %ecx
	shll	%cl, %edx
	andl	%r10d, %edi
	orl	%edi, %eax
	orl	%esi, %edx
	movl	12(%rbx), %ebx
	andl	$1, %ebx
	shll	%cl, %ebx
	orl	%eax, %ebx
	xorl	%edx, %r9d
	xorl	%ebx, %r10d
	xorl	%r14d, %r14d
	orl	%r9d, %r10d
	movq	16(%r12), %rax
	movl	%edx, (%r8,%r15,4)
	setne	%r14b
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	*%rax
	movq	(%r12), %rax
	movq	16(%r12), %rcx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, (%rax,%rsi,4)
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ebx, %edx
	callq	*%rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_ak4531_put_input_sw
.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_input_sw
_snd_ak4531_put_input_sw:               ; @snd_ak4531_put_input_sw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x21, x0
	ldr	w8, [x20]
	ubfx	x20, x8, #8, #8
	and	x22, x8, #0xff
	ubfx	w24, w8, #16, #4
	ubfx	w25, w8, #24, #4
	add	x23, x0, #8
	mov	x0, x23
	bl	_mutex_lock
	ldr	x8, [x21]
	lsl	x9, x22, #2
	ldr	w10, [x8, x9]
	mov	w11, #1
	lsl	w12, w11, w24
	lsl	w11, w11, w25
	orr	w11, w12, w11
	bic	w12, w10, w11
	lsl	x26, x20, #2
	ldr	x13, [x19]
	ldp	w14, w15, [x13]
	and	w14, w14, #0x1
	lsl	w14, w14, w24
	orr	w12, w14, w12
	ldr	w14, [x8, x26]
	bic	w11, w14, w11
	and	w15, w15, #0x1
	lsl	w15, w15, w24
	orr	w11, w15, w11
	ldp	w15, w13, [x13, #8]
	and	w15, w15, #0x1
	lsl	w15, w15, w25
	orr	w2, w12, w15
	and	w12, w13, #0x1
	lsl	w12, w12, w25
	orr	w19, w11, w12
	cmp	w2, w10
	ccmp	w19, w14, #0, eq
	cset	w24, ne
	ldr	x10, [x21, #16]
	str	w2, [x8, x9]
	mov	x0, x21
	mov	x1, x22
	blr	x10
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	str	w19, [x9, x26]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x0, x23
	bl	_mutex_unlock
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_ak4531_put_input_sw
.subsections_via_symbols
