	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixart_audio_sw_put
_mixart_audio_sw_put:                   ## @mixart_audio_sw_put
	.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
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	(%r14), %rsi
	movl	(%rax), %ecx
	movl	(%rsi), %edx
	cmpl	%edx, %ecx
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	testl	%edx, %edx
	setne	%dil
	movl	%edi, (%rax)
LBB0_2:
	movl	4(%rsi), %esi
	cmpl	%esi, 4(%rax)
	jne	LBB0_3
## %bb.4:
	xorl	%r14d, %r14d
	cmpl	%edx, %ecx
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	xorl	%ecx, %ecx
	testl	%esi, %esi
	setne	%cl
	movl	%ecx, 4(%rax)
LBB0_5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mixart_update_analog_audio_level
	movl	$1, %r14d
LBB0_6:
	movq	8(%rbx), %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mixart_audio_sw_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixart_audio_sw_put
_mixart_audio_sw_put:                   ; @mixart_audio_sw_put
	.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
	mov	x20, x1
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_mutex_lock
	ldr	x8, [x19]
	ldr	x11, [x20]
	ldr	w9, [x8]
	ldr	w10, [x11]
	cmp	w9, w10
	b.eq	LBB0_2
; %bb.1:
	cmp	w10, #0
	cset	w12, ne
	str	w12, [x8]
LBB0_2:
	ldr	w12, [x8, #4]
	ldr	w11, [x11, #4]
	cmp	w12, w11
	b.ne	LBB0_5
; %bb.3:
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.4:
	mov	w20, #0
	b	LBB0_7
LBB0_5:
	cmp	w11, #0
	cset	w9, ne
	str	w9, [x8, #4]
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_mixart_update_analog_audio_level
	mov	w20, #1
LBB0_7:
	ldr	x0, [x19, #8]
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mixart_audio_sw_put
.subsections_via_symbols
