	.file	"extr_vibes.c_sv_mix_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sv_mix_init, @function
sv_mix_init:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR SOUND_MIXER_NRDEVICES[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	test	rdx, rdx
	je	.L8
	mov	rdi, QWORD PTR mt[rip]
	xor	esi, esi
	xor	ecx, ecx
	mov	r8d, 1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, rcx
	sal	rax, 4
	cmp	QWORD PTR 8[rdi+rax], 0
	je	.L3
	mov	eax, r8d
	sal	eax, cl
	cdqe
	or	rsi, rax
.L3:
	add	rcx, 1
	cmp	rcx, rdx
	jne	.L4
.L2:
	mov	rdi, rbp
	call	mix_setdevs@PLT
	mov	rdx, QWORD PTR SOUND_MIXER_NRDEVICES[rip]
	test	rdx, rdx
	je	.L9
	mov	rdi, QWORD PTR mt[rip]
	xor	esi, esi
	xor	ecx, ecx
	mov	r8d, 1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, rcx
	sal	rax, 4
	cmp	QWORD PTR [rdi+rax], 0
	je	.L6
	mov	eax, r8d
	sal	eax, cl
	cdqe
	or	rsi, rax
.L6:
	add	rcx, 1
	cmp	rcx, rdx
	jne	.L7
	mov	rdi, rbp
	call	mix_setrecdevs@PLT
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	esi, esi
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	xor	esi, esi
	call	mix_setrecdevs@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sv_mix_init, .-sv_mix_init
	.comm	mt,8,8
	.comm	SOUND_MIXER_NRDEVICES,8,8
	.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_vibes.c_sv_mix_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sv_mix_init, %function
sv_mix_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L20
	mov	r4, r0
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L8
	mov	r1, #0
	mov	lr, #1
	mov	r3, r1
	ldr	r2, .L20+4
	ldr	ip, [r2]
	add	ip, ip, #4
.L4:
	ldr	r2, [ip, r3, lsl #3]
	cmp	r2, #0
	orrne	r1, r1, lr, lsl r3
	add	r3, r3, #1
	cmp	r3, r0
	bne	.L4
.L2:
	mov	r0, r4
	bl	mix_setdevs
	ldr	ip, [r5]
	cmp	ip, #0
	beq	.L9
	mov	r1, #0
	mov	lr, #1
	mov	r3, r1
	ldr	r2, .L20+4
	ldr	r0, [r2]
.L7:
	ldr	r2, [r0, r3, lsl #3]
	cmp	r2, #0
	orrne	r1, r1, lr, lsl r3
	add	r3, r3, #1
	cmp	r3, ip
	bne	.L7
.L5:
	mov	r0, r4
	bl	mix_setrecdevs
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	mov	r1, r0
	b	.L2
.L9:
	mov	r1, ip
	b	.L5
.L21:
	.align	2
.L20:
	.word	SOUND_MIXER_NRDEVICES
	.word	mt
	.size	sv_mix_init, .-sv_mix_init
	.comm	mt,4,4
	.comm	SOUND_MIXER_NRDEVICES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
