	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcxhr_monitor_vol_put
_pcxhr_monitor_vol_put:                 ## @pcxhr_monitor_vol_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rdx
	xorl	%r14d, %r14d
	cmpq	%rdx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rdx, (%rax)
	movq	16(%rbx), %rdx
	movl	$1, %r14d
	cmpq	$0, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pcxhr_update_audio_pipe_level
	movq	(%rbx), %rax
	movq	(%r15), %rcx
LBB0_3:
	movq	8(%rcx), %rcx
	cmpq	%rcx, 8(%rax)
	je	LBB0_7
## %bb.4:
	movq	%rcx, 8(%rax)
	movq	16(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.6:
	movl	$1, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_pcxhr_update_audio_pipe_level
	jmp	LBB0_7
LBB0_5:
	movl	$1, %r14d
LBB0_7:
	movq	8(%rbx), %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcxhr_monitor_vol_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcxhr_monitor_vol_put
_pcxhr_monitor_vol_put:                 ; @pcxhr_monitor_vol_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, [x8]
	ldr	x9, [x20]
	ldr	x10, [x9]
	cmp	x11, x10
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_5
LBB0_2:
	str	x10, [x8]
	ldr	x10, [x19, #16]
	ldr	x10, [x10]
	cbz	x10, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_pcxhr_update_audio_pipe_level
	ldr	x8, [x19]
	ldr	x9, [x20]
LBB0_4:
	mov	w20, #1
LBB0_5:
	ldr	x10, [x8, #8]
	ldr	x9, [x9, #8]
	cmp	x10, x9
	b.eq	LBB0_9
; %bb.6:
	str	x9, [x8, #8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w20, #1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_pcxhr_update_audio_pipe_level
	b	LBB0_9
LBB0_8:
	mov	w20, #1
LBB0_9:
	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	_pcxhr_monitor_vol_put
.subsections_via_symbols
