	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcxhr_pcm_sw_put
_pcxhr_pcm_sw_put:                      ## @pcxhr_pcm_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	leaq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_snd_ctl_get_ioffidx
	movl	%eax, %r14d
	movq	8(%r15), %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%r12), %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	%ebx, %ebx
	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	%r15, %rdi
	movl	%r14d, %esi
	callq	_pcxhr_update_playback_stream_level
	movl	$1, %ebx
LBB0_6:
	movq	8(%r15), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcxhr_pcm_sw_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcxhr_pcm_sw_put
_pcxhr_pcm_sw_put:                      ; @pcxhr_pcm_sw_put
	.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, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	add	x1, x21, #8
	mov	x0, x20
	bl	_snd_ctl_get_ioffidx
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_mutex_lock
	ldr	x8, [x19]
	ldr	x8, [x8, w20, sxtw #3]
	ldr	x11, [x21]
	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	x1, x20
	bl	_pcxhr_update_playback_stream_level
	mov	w20, #1
LBB0_7:
	ldr	x0, [x19, #8]
	bl	_mutex_unlock
	mov	x0, x20
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pcxhr_pcm_sw_put
.subsections_via_symbols
