	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aureon_ac97_vol_get
_aureon_ac97_vol_get:                   ## @aureon_ac97_vol_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mutex_lock
	movl	(%rbx), %esi
	andl	$127, %esi
	movq	%r14, %rdi
	callq	_aureon_ac97_read
	movzwl	%ax, %eax
	movl	%eax, %edx
	notl	%edx
	andl	$31, %edx
	movq	(%r15), %rcx
	movl	%edx, (%rcx)
	movq	_AUREON_AC97_STEREO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rbx)
	je	LBB0_2
## %bb.1:
	shrl	$8, %eax
	notl	%eax
	andl	$31, %eax
	movl	%eax, 4(%rcx)
LBB0_2:
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUREON_AC97_STEREO,4,2         ## @AUREON_AC97_STEREO
	.no_dead_strip	_aureon_ac97_vol_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aureon_ac97_vol_get
_aureon_ac97_vol_get:                   ; @aureon_ac97_vol_get
	.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	x20, x1
	mov	x21, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	bl	_mutex_lock
	ldr	w8, [x21]
	and	w1, w8, #0x7f
	mov	x0, x19
	bl	_aureon_ac97_read
	mvn	w8, w0
	and	w9, w8, #0x1f
	ldr	x8, [x20]
	str	w9, [x8]
	ldr	w9, [x21]
Lloh0:
	adrp	x10, _AUREON_AC97_STEREO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AUREON_AC97_STEREO@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	mov	w9, #31
	bic	w9, w9, w0, lsr #8
	str	w9, [x8, #4]
LBB0_2:
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_AUREON_AC97_STEREO,4,2         ; @AUREON_AC97_STEREO
	.no_dead_strip	_aureon_ac97_vol_get
.subsections_via_symbols
