	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cx88_volume_get
_snd_cx88_volume_get:                   ## @snd_cx88_volume_get
	.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	_AUD_VOL_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cx_read
	movl	%eax, %ebx
	notl	%ebx
	andl	$63, %ebx
	movq	_AUD_BAL_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cx_read
	movq	(%r14), %rcx
	movl	%eax, %edx
	shrl	$6, %edx
	andl	$1, %edx
	movl	%edx, %esi
	xorl	$1, %esi
	movl	%ebx, (%rcx,%rsi,4)
	andl	$63, %eax
	subl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	cmovlel	%eax, %ebx
	movl	%ebx, (%rcx,%rdx,4)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUD_VOL_CTL,4,2                ## @AUD_VOL_CTL
	.comm	_AUD_BAL_CTL,4,2                ## @AUD_BAL_CTL
	.no_dead_strip	_snd_cx88_volume_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cx88_volume_get
_snd_cx88_volume_get:                   ; @snd_cx88_volume_get
	.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	x19, x1
	bl	_snd_kcontrol_chip
Lloh0:
	adrp	x8, _AUD_VOL_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUD_VOL_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cx_read
	mvn	w8, w0
	and	w20, w8, #0x3f
Lloh3:
	adrp	x8, _AUD_BAL_CTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUD_BAL_CTL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cx_read
	ldr	x8, [x19]
	ubfx	w9, w0, #6, #1
	eor	w10, w9, #0x1
	str	w20, [x8, w10, uxtw #2]
	and	w10, w0, #0x3f
	sub	w10, w20, w10
	cmp	w10, #0
	csel	w10, w10, wzr, gt
	str	w10, [x8, w9, uxtw #2]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AUD_VOL_CTL,4,2                ; @AUD_VOL_CTL
	.comm	_AUD_BAL_CTL,4,2                ; @AUD_BAL_CTL
	.no_dead_strip	_snd_cx88_volume_get
.subsections_via_symbols
