	.file	"extr_ak4113.c_snd_ak4113_build.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_ak4113_build
	.type	snd_ak4113_build, @function
snd_ak4113_build:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	xor	edi, edi
	test	rsi, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	sete	dil
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	snd_BUG_ON@PLT
	test	rax, rax
	jne	.L10
	mov	eax, DWORD PTR AK4113_CONTROLS[rip]
	mov	QWORD PTR 24[r13], r14
	test	eax, eax
	je	.L4
	xor	ebp, ebp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 8[r14]
	mov	edi, DWORD PTR 16[r13]
	mov	rsi, rbx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR [r14]
	mov	DWORD PTR [rbx], eax
	call	snd_ctl_add@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 8[r13]
	add	ebp, 1
	cmp	DWORD PTR AK4113_CONTROLS[rip], ebp
	mov	QWORD PTR [rax+r12*8], rbx
	jbe	.L4
.L6:
	mov	rax, QWORD PTR snd_ak4113_iec958_controls[rip]
	mov	r12d, ebp
	mov	rsi, r13
	lea	rdi, [rax+r12*4]
	call	snd_ctl_new1@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
.L1:
	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
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, r13
	call	snd_ak4113_proc_init@PLT
	movsx	rsi, DWORD PTR HZ[rip]
	mov	rdi, r13
	mov	rax, rsi
	imul	rsi, rsi, 1717986919
	sar	eax, 31
	sar	rsi, 34
	sub	esi, eax
	call	schedule_delayed_work@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_ak4113_build, .-snd_ak4113_build
	.comm	snd_ak4113_iec958_controls,8,8
	.comm	HZ,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	AK4113_CONTROLS,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_ak4113.c_snd_ak4113_build.c"
	.text
	.align	2
	.global	snd_ak4113_build
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_ak4113_build, %function
snd_ak4113_build:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r0
	clz	r0, r1
	lsr	r0, r0, #5
	mov	r6, r1
	bl	snd_BUG_ON
	subs	r5, r0, #0
	bne	.L13
	ldr	r7, .L14
	str	r6, [r9, #12]
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L4
	ldr	r8, .L14+4
	b	.L6
.L5:
	ldr	r2, [r6, #4]
	ldr	r3, [r6]
	ldr	r2, [r2]
	mov	r1, r4
	ldr	r0, [r9, #8]
	str	r2, [r4, #4]
	str	r3, [r4]
	bl	snd_ctl_add
	cmp	r0, #0
	poplt	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r2, [r7]
	ldr	r3, [r9, #4]
	cmp	r2, r5
	str	r4, [r3, r10]
	bls	.L4
.L6:
	ldr	r0, [r8]
	mov	r1, r9
	add	r0, r0, r5, lsl #2
	bl	snd_ctl_new1
	subs	r4, r0, #0
	lsl	r10, r5, #2
	add	r5, r5, #1
	bne	.L5
	ldr	r3, .L14+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	ldr	r3, .L14+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r0, r9
	bl	snd_ak4113_proc_init
	ldr	r3, .L14+16
	ldr	r1, .L14+20
	ldr	r3, [r3]
	mov	r0, r9
	smull	r2, r1, r3, r1
	asr	r3, r3, #31
	rsb	r1, r3, r1, asr #2
	bl	schedule_delayed_work
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	.align	2
.L14:
	.word	AK4113_CONTROLS
	.word	snd_ak4113_iec958_controls
	.word	ENOMEM
	.word	EINVAL
	.word	HZ
	.word	1717986919
	.size	snd_ak4113_build, .-snd_ak4113_build
	.comm	snd_ak4113_iec958_controls,4,4
	.comm	HZ,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	AK4113_CONTROLS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
