	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pmac_awacs_get_volume
_snd_pmac_awacs_get_volume:             ## @snd_pmac_awacs_get_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	%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, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movl	(%rbx), %r13d
	movzbl	%r13b, %ebx
	movl	%r13d, %r14d
	shrl	$8, %r14d
	leaq	8(%rax), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %r15d
	movl	%r15d, %ebx
	movl	%r14d, %ecx
	sarl	%cl, %ebx
	andl	$15, %ebx
	andl	$15, %r15d
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	xorl	$15, %eax
	movl	%r15d, %ecx
	xorl	$15, %ecx
	testl	$65536, %r13d                   ## imm = 0x10000
	cmovel	%r15d, %ecx
	cmovel	%ebx, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movl	%eax, (%rdx)
	movl	%ecx, 4(%rdx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_pmac_awacs_get_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_awacs_get_volume
_snd_pmac_awacs_get_volume:             ; @snd_pmac_awacs_get_volume
	.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	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x21, x0
	ldr	w22, [x20]
	and	x23, x22, #0xff
	ubfx	x24, x22, #8, #24
	add	x20, x0, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	ldr	w8, [x8, x23, lsl #2]
	asr	w9, w8, w24
	and	w21, w9, #0xf
	and	w23, w8, #0xf
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	eor	w8, w21, #0xf
	eor	w9, w23, #0xf
	tst	w22, #0x10000
	csel	w9, w23, w9, eq
	ldr	x10, [x19]
	csel	w8, w21, w8, eq
	stp	w8, w9, [x10]
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_pmac_awacs_get_volume
.subsections_via_symbols
