	.file	"extr_ac97_codec.c_snd_ac97_write_cache.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_ac97_write_cache
	.type	snd_ac97_write_cache, @function
snd_ac97_write_cache:
.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	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movzx	ebp, si
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	esi, ebp
	mov	rbx, rdi
	call	snd_ac97_valid_reg@PLT
	test	eax, eax
	jne	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	r14, 8[rbx]
	mov	rdi, r14
	call	mutex_lock@PLT
	mov	rdx, QWORD PTR [rbx]
	movzx	eax, r13w
	mov	esi, ebp
	mov	rdi, rbx
	mov	WORD PTR [rdx+rax*2], r12w
	mov	rax, QWORD PTR 16[rbx]
	movzx	edx, r12w
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	mov	esi, DWORD PTR 12[rbx]
	mov	edi, ebp
	call	set_bit@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, r14
	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
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	snd_ac97_write_cache, .-snd_ac97_write_cache
	.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_ac97_codec.c_snd_ac97_write_cache.c"
	.text
	.align	2
	.global	snd_ac97_write_cache
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_ac97_write_cache, %function
snd_ac97_write_cache:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r2
	mov	r4, r0
	mov	r5, r1
	bl	snd_ac97_valid_reg
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	add	r7, r4, #4
	mov	r0, r7
	bl	mutex_lock
	ldr	r3, [r4, #12]
	ldr	r1, [r4]
	ldr	r3, [r3]
	lsl	r2, r5, #1
	ldr	r3, [r3]
	mov	r0, r4
	strh	r6, [r1, r2]	@ movhi
	mov	r2, r6
	mov	r1, r5
	blx	r3
	mov	r0, r5
	ldr	r1, [r4, #8]
	bl	set_bit
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	mutex_unlock
	.size	snd_ac97_write_cache, .-snd_ac97_write_cache
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
