	.file	"extr_ak4xxx-adda.c_build_deemphasis.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Deemphasis"
	.text
	.p2align 4
	.type	build_deemphasis, @function
build_deemphasis:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	test	esi, esi
	jle	.L2
	lea	eax, -1[rsi]
	mov	rbx, rdi
	lea	r12, 16[rsp]
	xor	r15d, r15d
	mov	QWORD PTR 8[rsp], rax
	lea	rbp, .L5[rip]
.L11:
	mov	edx, 48
	xor	esi, esi
	mov	rdi, r12
	mov	r14d, r15d
	call	memset@PLT
	lea	rax, .LC0[rip]
	mov	DWORD PTR 24[rsp], 1
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 8[rbx]
	add	rax, r15
	mov	QWORD PTR 56[rsp], rax
	mov	eax, DWORD PTR SNDRV_CTL_ELEM_IFACE_MIXER[rip]
	mov	DWORD PTR 52[rsp], eax
	mov	eax, DWORD PTR snd_akm4xxx_deemphasis_info[rip]
	mov	DWORD PTR 48[rsp], eax
	mov	eax, DWORD PTR snd_akm4xxx_deemphasis_get[rip]
	mov	DWORD PTR 44[rsp], eax
	mov	eax, DWORD PTR snd_akm4xxx_deemphasis_put[rip]
	mov	DWORD PTR 40[rsp], eax
	mov	eax, DWORD PTR [rbx]
	add	eax, -128
	cmp	eax, 6
	ja	.L3
	movsx	rax, DWORD PTR 0[rbp+rax*4]
	add	rax, rbp
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L4-.L5
	.long	.L7-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L4:
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, 3
	mov	edi, r15d
	call	AK_COMPOSE@PLT
	mov	QWORD PTR 32[rsp], rax
.L9:
	mov	rsi, rbx
	mov	rdi, r12
	call	snd_ctl_new1@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, eax
	call	snd_ctl_add@PLT
	test	eax, eax
	js	.L1
	lea	rax, 1[r15]
	cmp	r15, QWORD PTR 8[rsp]
	je	.L2
	mov	r15, rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	xor	ecx, ecx
	mov	edx, 1
	mov	esi, 1
	mov	edi, r15d
	call	AK_COMPOSE@PLT
	mov	QWORD PTR 32[rsp], rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, 6
	cmp	r15, 3
	je	.L8
	neg	r14d
	lea	edx, 4[r14+r14]
.L8:
	xor	ecx, ecx
	mov	esi, 8
	xor	edi, edi
	call	AK_COMPOSE@PLT
	mov	QWORD PTR 32[rsp], rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	build_deemphasis, .-build_deemphasis
	.comm	snd_akm4xxx_deemphasis_put,4,4
	.comm	snd_akm4xxx_deemphasis_info,4,4
	.comm	snd_akm4xxx_deemphasis_get,4,4
	.comm	SNDRV_CTL_ELEM_IFACE_MIXER,4,4
	.comm	EINVAL,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_ak4xxx-adda.c_build_deemphasis.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Deemphasis\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_deemphasis, %function
build_deemphasis:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r3, r1, #0
	sub	sp, sp, #52
	str	r3, [sp, #4]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ble	.L2
	mov	r5, r0
	mov	r4, #0
	mov	fp, #1
	ldr	r9, .L19+4
	ldr	r8, .L19+8
	ldr	r7, .L19+12
	ldr	r6, .L19+16
.L11:
	mov	r0, #0
	ldr	r2, [r5, #8]
	ldr	r1, [r9]
	add	r2, r2, r4
	str	r2, [sp, #40]
	ldr	r2, [r8]
	ldr	r3, [r5]
	str	r0, [sp, #20]
	str	r1, [sp, #36]
	ldr	r0, .L19+20
	ldr	r1, [r7]
	str	r2, [sp, #32]
	ldr	r2, [r6]
	sub	r3, r3, #128
	str	r0, [sp, #12]
	str	fp, [sp, #16]
	str	r1, [sp, #28]
	str	r2, [sp, #24]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L4
	.word	.L7
	.word	.L4
	.word	.L4
	.word	.L6
	.word	.L4
	.word	.L4
.L4:
	mov	r3, #0
	mov	r1, #3
	mov	r2, r3
	mov	r0, r4
	bl	AK_COMPOSE
	str	r0, [sp, #20]
.L9:
	mov	r1, r5
	add	r0, sp, #12
	ldr	r10, [r5, #4]
	bl	snd_ctl_new1
	mov	r1, r0
	mov	r0, r10
	bl	snd_ctl_add
	cmp	r0, #0
	blt	.L1
	ldr	r3, [sp, #4]
	add	r4, r4, #1
	cmp	r3, r4
	bne	.L11
.L2:
	mov	r0, #0
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r2, #1
	mov	r3, #0
	mov	r1, r2
	mov	r0, r4
	bl	AK_COMPOSE
	str	r0, [sp, #20]
	b	.L9
.L7:
	mov	r3, #0
	cmp	r4, #3
	rsbne	r2, r4, r4, lsl #31
	lslne	r2, r2, #1
	moveq	r2, #6
	mov	r0, r3
	mov	r1, #8
	addne	r2, r2, #4
	bl	AK_COMPOSE
	str	r0, [sp, #20]
	b	.L9
.L18:
	bl	__stack_chk_fail
.L3:
	ldr	r3, .L19+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	SNDRV_CTL_ELEM_IFACE_MIXER
	.word	snd_akm4xxx_deemphasis_info
	.word	snd_akm4xxx_deemphasis_get
	.word	snd_akm4xxx_deemphasis_put
	.word	.LC0
	.word	EINVAL
	.size	build_deemphasis, .-build_deemphasis
	.comm	snd_akm4xxx_deemphasis_put,4,4
	.comm	snd_akm4xxx_deemphasis_info,4,4
	.comm	snd_akm4xxx_deemphasis_get,4,4
	.comm	SNDRV_CTL_ELEM_IFACE_MIXER,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
