	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu10k1_send_volume_get
_snd_emu10k1_send_volume_get:           ## @snd_emu10k1_send_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r12
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_snd_ctl_get_ioffidx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	cmpq	$0, 8(%r12)
	movq	%rax, %rbx
	sete	%r14b
	setne	%r13b
	leal	(%r13,%r13,2), %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	leal	12(,%r15,4), %r8d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %r9
	xorl	$3, %r14d
	leal	3(,%r13,4), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	movl	%r14d, %ecx
	shrl	%cl, %ebx
	movq	(%r9,%rbx,8), %rcx
	movl	%esi, %ebx
	andl	%eax, %ebx
	movl	(%rcx,%rbx,4), %ecx
	movl	%ecx, (%rdi,%rax,4)
	leal	1(%rax), %ebx
	movl	%esi, %edx
	andl	%ebx, %edx
	movl	%r14d, %ecx
	shrl	%cl, %ebx
	movq	(%r9,%rbx,8), %rcx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, 4(%rdi,%rax,4)
	addq	$2, %rax
	cmpq	%r8, %rax
	jne	LBB0_1
## %bb.2:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_emu10k1_send_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_emu10k1_send_volume_get
_snd_emu10k1_send_volume_get:           ; @snd_emu10k1_send_volume_get
	.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	x20, x1
	mov	x21, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x22, [x0, #16]
	add	x1, x20, #8
	mov	x0, x21
	bl	_snd_ctl_get_ioffidx
	mov	x21, x0
	ldr	x23, [x19, #8]
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x8, #0
	cmp	x23, #0
	mov	w9, #8
	mov	w10, #4
	csel	w12, w10, w9, eq
	add	w9, w12, w12, lsl #1
	ldr	x10, [x22, x21, lsl #3]
	mov	w11, #2
	cinc	w11, w11, ne
	sub	w12, w12, #1
	ldr	x13, [x20]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w14, w8, w11
	ldr	x14, [x10, w14, uxtw #3]
	and	w15, w12, w8
	ldr	w14, [x14, w15, uxtw #2]
	str	w14, [x13, x8, lsl #2]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_1
; %bb.2:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	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_emu10k1_send_volume_get
.subsections_via_symbols
