	.file	"extr_emumixer.c_snd_emu10k1_send_volume_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_emu10k1_send_volume_get, @function
snd_emu10k1_send_volume_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	snd_kcontrol_chip@PLT
	mov	rdi, r12
	lea	rsi, 8[r13]
	mov	rbp, rax
	mov	rbx, QWORD PTR 16[rax]
	call	snd_ctl_get_ioffidx@PLT
	cmp	QWORD PTR 8[rbp], 1
	mov	rdi, rbp
	sbb	r12d, r12d
	lea	r14, [rbx+rax*8]
	and	r12d, -12
	add	r12d, 24
	cmp	QWORD PTR 8[rbp], 1
	sbb	ebx, ebx
	xor	esi, esi
	call	spin_lock_irqsave@PLT
	and	ebx, -4
	mov	r8, QWORD PTR [r14]
	mov	rdi, QWORD PTR 0[r13]
	add	ebx, 8
	lea	esi, -1[r12]
	xor	ecx, ecx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, ecx
	cdq
	idiv	ebx
	cdqe
	movsx	rdx, edx
	mov	rax, QWORD PTR [r8+rax*8]
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR [rdi+rcx*4], eax
	mov	rax, rcx
	add	rcx, 1
	cmp	rsi, rax
	jne	.L3
	mov	rdi, rbp
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_emu10k1_send_volume_get, .-snd_emu10k1_send_volume_get
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_emumixer.c_snd_emu10k1_send_volume_get.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_emu10k1_send_volume_get, %function
snd_emu10k1_send_volume_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r4, r0
	bl	snd_kcontrol_chip
	mov	r9, r0
	add	r1, r5, #4
	mov	r0, r4
	ldr	r10, [r9, #8]
	bl	snd_ctl_get_ioffidx
	mov	r4, #0
	mov	r6, r0
	ldr	r3, [r9, #4]
	mov	r0, r9
	cmp	r3, r4
	mov	r1, r4
	movne	r8, #24
	moveq	r8, #12
	movne	r7, #8
	moveq	r7, #4
	bl	spin_lock_irqsave
	ldr	r5, [r5]
	ldr	r6, [r10, r6, lsl #2]
	sub	r5, r5, #4
.L3:
	mov	r0, r4
	mov	r1, r7
	bl	__aeabi_idivmod
	ldr	r3, [r6, r0, lsl #2]
	add	r4, r4, #1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r4, r8
	str	r3, [r5, #4]!
	bne	.L3
	mov	r0, r9
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	snd_emu10k1_send_volume_get, .-snd_emu10k1_send_volume_get
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
