	.file	"extr_ac97_patch.c_patch_wolfson_wm9713_specific.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	patch_wolfson_wm9713_specific, @function
patch_wolfson_wm9713_specific:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR wm13_snd_ac97_controls[rip]
	mov	rsi, rbp
	lea	rdi, [rax+rbx*4]
	add	rbx, 1
	call	snd_ac97_cnew@PLT
	mov	esi, eax
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	call	snd_ctl_add@PLT
	test	eax, eax
	js	.L1
.L2:
	mov	rdi, QWORD PTR wm13_snd_ac97_controls[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L4
	mov	esi, DWORD PTR AC97_PC_BEEP[rip]
	mov	edx, 2056
	mov	rdi, rbp
	call	snd_ac97_write_cache@PLT
	mov	esi, DWORD PTR AC97_PHONE[rip]
	mov	edx, 2056
	mov	rdi, rbp
	call	snd_ac97_write_cache@PLT
	mov	esi, DWORD PTR AC97_MIC[rip]
	mov	edx, 2056
	mov	rdi, rbp
	call	snd_ac97_write_cache@PLT
	mov	esi, DWORD PTR AC97_LINE[rip]
	mov	edx, 218
	mov	rdi, rbp
	call	snd_ac97_write_cache@PLT
	mov	esi, DWORD PTR AC97_CD[rip]
	mov	edx, 2056
	mov	rdi, rbp
	call	snd_ac97_write_cache@PLT
	mov	esi, DWORD PTR AC97_VIDEO[rip]
	mov	edx, 54802
	mov	rdi, rbp
	call	snd_ac97_write_cache@PLT
	mov	esi, DWORD PTR AC97_REC_GAIN[rip]
	mov	edx, 7072
	mov	rdi, rbp
	call	snd_ac97_write_cache@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	patch_wolfson_wm9713_specific, .-patch_wolfson_wm9713_specific
	.comm	wm13_snd_ac97_controls,8,8
	.comm	AC97_VIDEO,4,4
	.comm	AC97_REC_GAIN,4,4
	.comm	AC97_PHONE,4,4
	.comm	AC97_PC_BEEP,4,4
	.comm	AC97_MIC,4,4
	.comm	AC97_LINE,4,4
	.comm	AC97_CD,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_ac97_patch.c_patch_wolfson_wm9713_specific.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	patch_wolfson_wm9713_specific, %function
patch_wolfson_wm9713_specific:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	mov	r5, r0
	ldr	r6, .L7
	b	.L2
.L4:
	ldr	r0, [r6]
	ldr	r3, [r5]
	mov	r1, r5
	add	r0, r0, r4, lsl #2
	ldr	r7, [r3]
	bl	snd_ac97_cnew
	mov	r1, r0
	mov	r0, r7
	bl	snd_ctl_add
	cmp	r0, #0
	poplt	{r4, r5, r6, r7, r8, pc}
	add	r4, r4, #1
.L2:
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L4
	ldr	r3, .L7+4
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L7+8
	bl	snd_ac97_write_cache
	ldr	r3, .L7+12
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L7+8
	bl	snd_ac97_write_cache
	ldr	r3, .L7+16
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L7+8
	bl	snd_ac97_write_cache
	ldr	r3, .L7+20
	mov	r2, #218
	ldr	r1, [r3]
	mov	r0, r5
	bl	snd_ac97_write_cache
	ldr	r3, .L7+24
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L7+8
	bl	snd_ac97_write_cache
	ldr	r3, .L7+28
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L7+32
	bl	snd_ac97_write_cache
	ldr	r3, .L7+36
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L7+40
	bl	snd_ac97_write_cache
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	wm13_snd_ac97_controls
	.word	AC97_PC_BEEP
	.word	2056
	.word	AC97_PHONE
	.word	AC97_MIC
	.word	AC97_LINE
	.word	AC97_CD
	.word	AC97_VIDEO
	.word	54802
	.word	AC97_REC_GAIN
	.word	7072
	.size	patch_wolfson_wm9713_specific, .-patch_wolfson_wm9713_specific
	.comm	wm13_snd_ac97_controls,4,4
	.comm	AC97_VIDEO,4,4
	.comm	AC97_REC_GAIN,4,4
	.comm	AC97_PHONE,4,4
	.comm	AC97_PC_BEEP,4,4
	.comm	AC97_MIC,4,4
	.comm	AC97_LINE,4,4
	.comm	AC97_CD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
