	.file	"extr_mss.c_mssmix_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mssmix_init, @function
mssmix_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	mix_getdevinfo@PLT
	mov	esi, DWORD PTR MODE2_MIXER_DEVICES[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	mix_setdevs@PLT
	mov	esi, DWORD PTR MSS_REC_DEVICES[rip]
	mov	rdi, rbp
	call	mix_setrecdevs@PLT
	mov	eax, DWORD PTR [r12]
	cmp	eax, 131
	jg	.L2
	cmp	eax, 129
	jg	.L3
	cmp	eax, 128
	je	.L4
	cmp	eax, 129
	jne	.L6
	mov	esi, DWORD PTR OPTI930_MIXER_DEVICES[rip]
	mov	rdi, rbp
	call	mix_setdevs@PLT
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	eax, 132
	jne	.L6
	mov	esi, DWORD PTR MODE1_MIXER_DEVICES[rip]
	mov	rdi, rbp
	call	mix_setdevs@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, r12
	call	mss_lock@PLT
	mov	rdi, r12
	mov	edx, 136
	mov	esi, 22
	call	ad_write@PLT
	mov	rdi, r12
	mov	edx, 136
	mov	esi, 23
	call	ad_write@PLT
	mov	rdi, r12
	call	mss_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR OPTI931_MIXER_DEVICES[rip]
	mov	rdi, rbp
	call	mix_setdevs@PLT
	mov	rdi, r12
	call	mss_lock@PLT
	mov	rdi, r12
	mov	edx, 136
	mov	esi, 20
	call	ad_write@PLT
	mov	rdi, r12
	mov	edx, 136
	mov	esi, 21
	call	ad_write@PLT
	mov	rdi, r12
	call	mss_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mssmix_init, .-mssmix_init
	.comm	OPTI931_MIXER_DEVICES,4,4
	.comm	OPTI930_MIXER_DEVICES,4,4
	.comm	MSS_REC_DEVICES,4,4
	.comm	MODE2_MIXER_DEVICES,4,4
	.comm	MODE1_MIXER_DEVICES,4,4
	.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_mss.c_mssmix_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mssmix_init, %function
mssmix_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	mix_getdevinfo
	mov	r4, r0
	ldr	r3, .L10
	mov	r0, r5
	ldr	r1, [r3]
	bl	mix_setdevs
	ldr	r3, .L10+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	mix_setrecdevs
	ldr	r3, [r4]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L5
	.word	.L3
.L5:
	mov	r0, r4
	bl	mss_lock
	mov	r2, #136
	mov	r1, #22
	mov	r0, r4
	bl	ad_write
	mov	r2, #136
	mov	r1, #23
	mov	r0, r4
	bl	ad_write
	mov	r0, r4
	bl	mss_unlock
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L10+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	mix_setdevs
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L10+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	mix_setdevs
	mov	r0, r4
	bl	mss_lock
	mov	r2, #136
	mov	r1, #20
	mov	r0, r4
	bl	ad_write
	mov	r2, #136
	mov	r1, #21
	mov	r0, r4
	bl	ad_write
	mov	r0, r4
	bl	mss_unlock
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L10+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	mix_setdevs
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	MODE2_MIXER_DEVICES
	.word	MSS_REC_DEVICES
	.word	MODE1_MIXER_DEVICES
	.word	OPTI931_MIXER_DEVICES
	.word	OPTI930_MIXER_DEVICES
	.size	mssmix_init, .-mssmix_init
	.comm	OPTI931_MIXER_DEVICES,4,4
	.comm	OPTI930_MIXER_DEVICES,4,4
	.comm	MSS_REC_DEVICES,4,4
	.comm	MODE2_MIXER_DEVICES,4,4
	.comm	MODE1_MIXER_DEVICES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
