	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ak4531_get_input_sw
_snd_ak4531_get_input_sw:               ## @snd_ak4531_get_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, %r15
	movl	(%rbx), %r12d
	movzbl	%r12b, %r13d
	movl	%r12d, %r14d
	shrl	$16, %r14d
	movl	%r12d, %ebx
	shrl	$24, %ebx
	leaq	8(%rax), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	(%r15), %rax
	movl	(%rax,%r13,4), %ecx
	andb	$15, %r14b
	movzbl	%r14b, %esi
	xorl	%edx, %edx
	btl	%esi, %ecx
	setb	%dl
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%edx, (%rcx)
	movq	%r12, %rdx
	movzbl	%dh, %edx
	movl	(%rax,%rdx,4), %r8d
	xorl	%edi, %edi
	btl	%esi, %r8d
	setb	%dil
	movl	%edi, 4(%rcx)
	movl	(%rax,%r13,4), %esi
	andb	$15, %bl
	movzbl	%bl, %edi
	xorl	%ebx, %ebx
	btl	%edi, %esi
	setb	%bl
	movl	%ebx, 8(%rcx)
	movl	(%rax,%rdx,4), %eax
	xorl	%edx, %edx
	btl	%edi, %eax
	setb	%dl
	movl	%edx, 12(%rcx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	xorl	%eax, %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_get_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_get_input_sw
_snd_ak4531_get_input_sw:               ; @snd_ak4531_get_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	x22, x8, #8, #8
	and	x23, x8, #0xff
	ubfx	w24, w8, #16, #4
	ubfx	w25, w8, #24, #4
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x21]
	lsl	x9, x23, #2
	ldr	w10, [x8, x9]
	lsr	w10, w10, w24
	and	w10, w10, #0x1
	ldr	x11, [x19]
	str	w10, [x11]
	lsl	x10, x22, #2
	ldr	w12, [x8, x10]
	lsr	w12, w12, w24
	and	w12, w12, #0x1
	str	w12, [x11, #4]
	ldr	w9, [x8, x9]
	lsr	w9, w9, w25
	and	w9, w9, #0x1
	str	w9, [x11, #8]
	ldr	w8, [x8, x10]
	lsr	w8, w8, w25
	and	w8, w8, #0x1
	str	w8, [x11, #12]
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	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_get_input_sw
.subsections_via_symbols
