	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcxhr_analog_vol_put
_pcxhr_analog_vol_put:                  ## @pcxhr_analog_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r13
	movq	16(%rax), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rbx
	xorl	%ecx, %ecx
	testq	%rbx, %rbx
	sete	%cl
	leaq	(,%rcx,8), %r14
	xorl	%esi, %esi
	movq	(%r12), %rax
	movl	(%rax), %eax
	movq	(%r13,%rcx,8), %rcx
	movq	16(%r13), %rdx
	movq	8(%rdx), %rdx
	testq	%rbx, %rbx
	setne	%sil
	je	LBB0_5
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.2:
	movq	_HR222_LINE_CAPTURE_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jl	LBB0_11
## %bb.3:
	movq	_HR222_LINE_CAPTURE_LEVEL_MAX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jle	LBB0_4
	jmp	LBB0_11
LBB0_5:
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.6:
	movq	_HR222_LINE_PLAYBACK_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jl	LBB0_17
## %bb.7:
	movq	_HR222_LINE_PLAYBACK_LEVEL_MAX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jg	LBB0_17
LBB0_4:
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_9:
	movq	_PCXHR_LINE_CAPTURE_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jl	LBB0_11
## %bb.10:
	movq	_PCXHR_LINE_CAPTURE_LEVEL_MAX@GOTPCREL(%rip), %rdi
	movb	$1, %dl
	cmpl	(%rdi), %eax
	jle	LBB0_14
LBB0_11:
	movq	(%r12), %rax
	movl	4(%rax), %ecx
	movq	(%r13,%r14), %rax
	addq	$4, %rax
	xorl	%r15d, %r15d
	jmp	LBB0_21
LBB0_12:
	movq	_PCXHR_LINE_PLAYBACK_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jl	LBB0_17
## %bb.13:
	movq	_PCXHR_LINE_PLAYBACK_LEVEL_MAX@GOTPCREL(%rip), %rdi
	movb	$1, %dl
	cmpl	(%rdi), %eax
	jg	LBB0_17
LBB0_14:
	xorl	%r15d, %r15d
	cmpl	%eax, (%rcx)
	je	LBB0_20
## %bb.15:
	movl	%eax, (%rcx)
	movq	%r13, %rdi
	testb	%dl, %dl
	je	LBB0_18
## %bb.16:
	xorl	%edx, %edx
	movl	%esi, %r15d
	callq	_pcxhr_update_analog_audio_level
	jmp	LBB0_19
LBB0_17:
	movq	(%r12), %rax
	movl	4(%rax), %ecx
	movq	(%r13,%r14), %rax
	addq	$4, %rax
	xorl	%r15d, %r15d
	jmp	LBB0_25
LBB0_18:
	xorl	%edx, %edx
	movl	%esi, %r15d
	callq	_hr222_update_analog_audio_level
LBB0_19:
	movl	%r15d, %esi
	movl	$1, %r15d
LBB0_20:
	movq	(%r13,%r14), %rax
	addq	$4, %rax
	movq	(%r12), %rcx
	movl	4(%rcx), %ecx
	testq	%rbx, %rbx
	je	LBB0_25
LBB0_21:
	movq	16(%r13), %rdx
	cmpq	$0, 8(%rdx)
	je	LBB0_29
## %bb.22:
	movq	_HR222_LINE_CAPTURE_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jl	LBB0_38
## %bb.23:
	movq	_HR222_LINE_CAPTURE_LEVEL_MAX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jle	LBB0_24
	jmp	LBB0_38
LBB0_25:
	movq	16(%r13), %rdx
	cmpq	$0, 8(%rdx)
	je	LBB0_31
## %bb.26:
	movq	_HR222_LINE_PLAYBACK_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jl	LBB0_38
## %bb.27:
	movq	_HR222_LINE_PLAYBACK_LEVEL_MAX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jg	LBB0_38
LBB0_24:
	xorl	%edx, %edx
	jmp	LBB0_34
LBB0_29:
	movq	_PCXHR_LINE_CAPTURE_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jl	LBB0_38
## %bb.30:
	movq	_PCXHR_LINE_CAPTURE_LEVEL_MAX@GOTPCREL(%rip), %rdi
	jmp	LBB0_33
LBB0_31:
	movq	_PCXHR_LINE_PLAYBACK_LEVEL_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jl	LBB0_38
## %bb.32:
	movq	_PCXHR_LINE_PLAYBACK_LEVEL_MAX@GOTPCREL(%rip), %rdi
LBB0_33:
	movb	$1, %dl
	cmpl	(%rdi), %ecx
	jg	LBB0_38
LBB0_34:
	cmpl	%ecx, (%rax)
	je	LBB0_38
## %bb.35:
	movl	%ecx, (%rax)
	movl	$1, %r15d
	movq	%r13, %rdi
	testb	%dl, %dl
	je	LBB0_37
## %bb.36:
	movl	$1, %edx
	callq	_pcxhr_update_analog_audio_level
	jmp	LBB0_38
LBB0_37:
	movl	$1, %edx
	callq	_hr222_update_analog_audio_level
LBB0_38:
	movq	16(%r13), %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HR222_LINE_CAPTURE_LEVEL_MIN,4,2 ## @HR222_LINE_CAPTURE_LEVEL_MIN
	.comm	_HR222_LINE_CAPTURE_LEVEL_MAX,4,2 ## @HR222_LINE_CAPTURE_LEVEL_MAX
	.comm	_PCXHR_LINE_CAPTURE_LEVEL_MIN,4,2 ## @PCXHR_LINE_CAPTURE_LEVEL_MIN
	.comm	_PCXHR_LINE_CAPTURE_LEVEL_MAX,4,2 ## @PCXHR_LINE_CAPTURE_LEVEL_MAX
	.comm	_HR222_LINE_PLAYBACK_LEVEL_MIN,4,2 ## @HR222_LINE_PLAYBACK_LEVEL_MIN
	.comm	_HR222_LINE_PLAYBACK_LEVEL_MAX,4,2 ## @HR222_LINE_PLAYBACK_LEVEL_MAX
	.comm	_PCXHR_LINE_PLAYBACK_LEVEL_MIN,4,2 ## @PCXHR_LINE_PLAYBACK_LEVEL_MIN
	.comm	_PCXHR_LINE_PLAYBACK_LEVEL_MAX,4,2 ## @PCXHR_LINE_PLAYBACK_LEVEL_MAX
	.no_dead_strip	_pcxhr_analog_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_analog_vol_put
_pcxhr_analog_vol_put:                  ; @pcxhr_analog_vol_put
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_mutex_lock
	ldr	x23, [x20]
	cmp	x23, #0
	cset	w8, eq
	cset	w20, ne
	lsl	x24, x8, #3
	ldr	x8, [x22]
	ldr	w8, [x8]
	ldr	x9, [x19, x24]
	ldr	x10, [x19, #16]
	ldr	x10, [x10, #8]
	cbz	x23, LBB0_3
; %bb.1:
	cbz	x10, LBB0_6
; %bb.2:
Lloh0:
	adrp	x10, _HR222_LINE_CAPTURE_LEVEL_MIN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HR222_LINE_CAPTURE_LEVEL_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _HR222_LINE_CAPTURE_LEVEL_MAX@GOTPAGE
Lloh4:
	ldr	x11, [x11, _HR222_LINE_CAPTURE_LEVEL_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	w8, w10
	ccmp	w8, w11, #0, ge
	b.gt	LBB0_7
	b	LBB0_5
LBB0_3:
	cbz	x10, LBB0_8
; %bb.4:
Lloh6:
	adrp	x10, _HR222_LINE_PLAYBACK_LEVEL_MIN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HR222_LINE_PLAYBACK_LEVEL_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _HR222_LINE_PLAYBACK_LEVEL_MAX@GOTPAGE
Lloh10:
	ldr	x11, [x11, _HR222_LINE_PLAYBACK_LEVEL_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	w8, w10
	ccmp	w8, w11, #0, ge
	b.gt	LBB0_9
LBB0_5:
	mov	w10, #0
	b	LBB0_11
LBB0_6:
Lloh12:
	adrp	x10, _PCXHR_LINE_CAPTURE_LEVEL_MIN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PCXHR_LINE_CAPTURE_LEVEL_MIN@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _PCXHR_LINE_CAPTURE_LEVEL_MAX@GOTPAGE
Lloh16:
	ldr	x11, [x11, _PCXHR_LINE_CAPTURE_LEVEL_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	cmp	w8, w10
	ccmp	w8, w11, #0, ge
	b.le	LBB0_10
LBB0_7:
	mov	w21, #0
	ldr	x8, [x22]
	ldr	w8, [x8, #4]
	ldr	x9, [x19, x24]
	add	x9, x9, #4
	b	LBB0_18
LBB0_8:
Lloh18:
	adrp	x10, _PCXHR_LINE_PLAYBACK_LEVEL_MIN@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PCXHR_LINE_PLAYBACK_LEVEL_MIN@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _PCXHR_LINE_PLAYBACK_LEVEL_MAX@GOTPAGE
Lloh22:
	ldr	x11, [x11, _PCXHR_LINE_PLAYBACK_LEVEL_MAX@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	cmp	w8, w10
	ccmp	w8, w11, #0, ge
	b.le	LBB0_10
LBB0_9:
	mov	w21, #0
	ldr	x8, [x22]
	ldr	w8, [x8, #4]
	ldr	x9, [x19, x24]
	add	x9, x9, #4
	b	LBB0_20
LBB0_10:
	mov	w10, #1
LBB0_11:
	ldr	w11, [x9]
	cmp	w11, w8
	b.ne	LBB0_13
; %bb.12:
	mov	w21, #0
	b	LBB0_17
LBB0_13:
	str	w8, [x9]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	tbz	w10, #0, LBB0_15
; %bb.14:
	bl	_pcxhr_update_analog_audio_level
	b	LBB0_16
LBB0_15:
	bl	_hr222_update_analog_audio_level
LBB0_16:
	mov	w21, #1
LBB0_17:
	ldr	x8, [x22]
	ldr	w8, [x8, #4]
	ldr	x9, [x19, x24]
	add	x9, x9, #4
	cbz	x23, LBB0_20
LBB0_18:
	ldr	x10, [x19, #16]
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_24
; %bb.19:
Lloh24:
	adrp	x10, _HR222_LINE_CAPTURE_LEVEL_MIN@GOTPAGE
Lloh25:
	ldr	x10, [x10, _HR222_LINE_CAPTURE_LEVEL_MIN@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x11, _HR222_LINE_CAPTURE_LEVEL_MAX@GOTPAGE
Lloh28:
	ldr	x11, [x11, _HR222_LINE_CAPTURE_LEVEL_MAX@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
	ldr	x10, [x19, #16]
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_25
; %bb.21:
Lloh29:
	adrp	x10, _HR222_LINE_PLAYBACK_LEVEL_MIN@GOTPAGE
Lloh30:
	ldr	x10, [x10, _HR222_LINE_PLAYBACK_LEVEL_MIN@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
Lloh32:
	adrp	x11, _HR222_LINE_PLAYBACK_LEVEL_MAX@GOTPAGE
Lloh33:
	ldr	x11, [x11, _HR222_LINE_PLAYBACK_LEVEL_MAX@GOTPAGEOFF]
LBB0_22:
	ldr	w11, [x11]
	cmp	w8, w10
	ccmp	w8, w11, #0, ge
	b.gt	LBB0_32
; %bb.23:
	mov	w10, #0
	b	LBB0_28
LBB0_24:
Lloh34:
	adrp	x10, _PCXHR_LINE_CAPTURE_LEVEL_MIN@GOTPAGE
Lloh35:
	ldr	x10, [x10, _PCXHR_LINE_CAPTURE_LEVEL_MIN@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
Lloh37:
	adrp	x11, _PCXHR_LINE_CAPTURE_LEVEL_MAX@GOTPAGE
Lloh38:
	ldr	x11, [x11, _PCXHR_LINE_CAPTURE_LEVEL_MAX@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh39:
	adrp	x10, _PCXHR_LINE_PLAYBACK_LEVEL_MIN@GOTPAGE
Lloh40:
	ldr	x10, [x10, _PCXHR_LINE_PLAYBACK_LEVEL_MIN@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
Lloh42:
	adrp	x11, _PCXHR_LINE_PLAYBACK_LEVEL_MAX@GOTPAGE
Lloh43:
	ldr	x11, [x11, _PCXHR_LINE_PLAYBACK_LEVEL_MAX@GOTPAGEOFF]
LBB0_26:
	ldr	w11, [x11]
	cmp	w8, w10
	ccmp	w8, w11, #0, ge
	b.gt	LBB0_32
; %bb.27:
	mov	w10, #1
LBB0_28:
	ldr	w11, [x9]
	cmp	w11, w8
	b.eq	LBB0_32
; %bb.29:
	str	w8, [x9]
	mov	w21, #1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	tbz	w10, #0, LBB0_31
; %bb.30:
	bl	_pcxhr_update_analog_audio_level
	b	LBB0_32
LBB0_31:
	bl	_hr222_update_analog_audio_level
LBB0_32:
	ldr	x0, [x19, #16]
	bl	_mutex_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_HR222_LINE_CAPTURE_LEVEL_MIN,4,2 ; @HR222_LINE_CAPTURE_LEVEL_MIN
	.comm	_HR222_LINE_CAPTURE_LEVEL_MAX,4,2 ; @HR222_LINE_CAPTURE_LEVEL_MAX
	.comm	_PCXHR_LINE_CAPTURE_LEVEL_MIN,4,2 ; @PCXHR_LINE_CAPTURE_LEVEL_MIN
	.comm	_PCXHR_LINE_CAPTURE_LEVEL_MAX,4,2 ; @PCXHR_LINE_CAPTURE_LEVEL_MAX
	.comm	_HR222_LINE_PLAYBACK_LEVEL_MIN,4,2 ; @HR222_LINE_PLAYBACK_LEVEL_MIN
	.comm	_HR222_LINE_PLAYBACK_LEVEL_MAX,4,2 ; @HR222_LINE_PLAYBACK_LEVEL_MAX
	.comm	_PCXHR_LINE_PLAYBACK_LEVEL_MIN,4,2 ; @PCXHR_LINE_PLAYBACK_LEVEL_MIN
	.comm	_PCXHR_LINE_PLAYBACK_LEVEL_MAX,4,2 ; @PCXHR_LINE_PLAYBACK_LEVEL_MAX
	.no_dead_strip	_pcxhr_analog_vol_put
.subsections_via_symbols
