	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pmac_burgundy_read_volume
_snd_pmac_burgundy_read_volume:         ## @snd_pmac_burgundy_read_volume
	.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
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	callq	_snd_pmac_burgundy_rcw
	movzbl	%al, %edx
	movq	%rdx, (%rbx)
	movq	_BURGUNDY_VOLUME_OFFSET@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	subq	(%rsi), %rdx
	cmovlq	%rdi, %rdx
	movl	%r14d, %ecx
	sarl	%cl, %eax
	movq	%rdx, (%rbx)
	movzbl	%al, %eax
	subq	(%rsi), %rax
	cmovlq	%rdi, %rax
	movq	%rax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BURGUNDY_VOLUME_OFFSET,8,3     ## @BURGUNDY_VOLUME_OFFSET
	.no_dead_strip	_snd_pmac_burgundy_read_volume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pmac_burgundy_read_volume
_snd_pmac_burgundy_read_volume:         ; @snd_pmac_burgundy_read_volume
	.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, x3
	mov	x20, x2
	bl	_snd_pmac_burgundy_rcw
	and	w8, w0, #0xff
	str	x8, [x20]
Lloh0:
	adrp	x9, _BURGUNDY_VOLUME_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BURGUNDY_VOLUME_OFFSET@GOTPAGEOFF]
	ldr	x10, [x9]
	subs	x8, x8, x10
	csel	x8, xzr, x8, lt
	str	x8, [x20]
	asr	w8, w0, w19
	and	w8, w8, #0xff
	ldr	x9, [x9]
	subs	x8, x8, x9
	csel	x8, xzr, x8, lt
	str	x8, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BURGUNDY_VOLUME_OFFSET,8,3     ; @BURGUNDY_VOLUME_OFFSET
	.no_dead_strip	_snd_pmac_burgundy_read_volume
.subsections_via_symbols
