	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_vol_put
_input_vol_put:                         ## @input_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movl	(%rax), %ecx
	addl	$-25, %ecx
	cmpl	$-49, %ecx
	jb	LBB0_2
## %bb.1:
	movl	4(%rax), %eax
	addl	$-25, %eax
	cmpl	$-50, %eax
	ja	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_3:
	movq	%rsi, %rbx
	movq	8(%rdi), %r14
	movq	8(%r14), %r15
	movl	(%rdi), %r12d
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	4(%rax), %esi
	xorl	%ebx, %ebx
	cmpl	4(%rcx), %esi
	je	LBB0_7
LBB0_5:
	movl	%edx, (%rax)
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	$1, %ebx
	cmpl	8(%r15), %r12d
	jne	LBB0_7
## %bb.6:
	movq	_CS4245_PGA_A_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cs4245_write_cached
	movq	_CS4245_PGA_B_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_cs4245_write_cached
LBB0_7:
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CS4245_PGA_A_CTRL,4,2          ## @CS4245_PGA_A_CTRL
	.comm	_CS4245_PGA_B_CTRL,4,2          ## @CS4245_PGA_B_CTRL
	.no_dead_strip	_input_vol_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_vol_put
_input_vol_put:                         ; @input_vol_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
	ldr	x8, [x1]
	ldr	w9, [x8]
	sub	w9, w9, #25
	cmn	w9, #49
	b.lo	LBB0_2
; %bb.1:
	ldr	w8, [x8, #4]
	sub	w8, w8, #25
	cmn	w8, #50
	b.hi	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_3:
	mov	x20, x1
	ldr	x19, [x0, #8]
	ldr	x21, [x19, #8]
	ldr	w22, [x0]
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x21]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w10, [x8]
	ldr	x9, [x20]
	ldr	w2, [x9]
	cmp	w10, w2
	b.ne	LBB0_6
; %bb.4:
	ldr	w10, [x8, #4]
	ldr	w11, [x9, #4]
	cmp	w10, w11
	b.ne	LBB0_6
; %bb.5:
	mov	w20, #0
	b	LBB0_9
LBB0_6:
	str	w2, [x8]
	ldr	w9, [x9, #4]
	str	w9, [x8, #4]
	ldr	w8, [x21, #8]
	cmp	w22, w8
	b.ne	LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _CS4245_PGA_A_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CS4245_PGA_A_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cs4245_write_cached
Lloh6:
	adrp	x8, _CS4245_PGA_B_CTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CS4245_PGA_B_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [x21]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_cs4245_write_cached
LBB0_8:
	mov	w20, #1
LBB0_9:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CS4245_PGA_A_CTRL,4,2          ; @CS4245_PGA_A_CTRL
	.comm	_CS4245_PGA_B_CTRL,4,2          ; @CS4245_PGA_B_CTRL
	.no_dead_strip	_input_vol_put
.subsections_via_symbols
