	.file	"extr_azt3328.c_snd_azf3328_ctrl_codec_activity.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"codec_activity: %s codec, enable %d, need_change %d\n"
	.text
	.p2align 4
	.type	snd_azf3328_ctrl_codec_activity, @function
snd_azf3328_ctrl_codec_activity:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	lea	rsi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR [rdi]
	mov	ebx, edx
	mov	ecx, ebx
	lea	rbp, [rax+r14*8]
	mov	rax, QWORD PTR 8[rdi]
	mov	r12d, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	cmp	r12d, edx
	mov	edx, DWORD PTR 4[rbp]
	setne	r8b
	movzx	r8d, r8b
	call	dev_dbg@PLT
	cmp	r12d, ebx
	je	.L1
	test	ebx, ebx
	jne	.L3
	lea	rdx, peer_codecs.1948[rip]
	mov	rax, QWORD PTR 0[r13]
	mov	ecx, DWORD PTR [rdx+r14*8]
	mov	ecx, DWORD PTR [rax+rcx*8]
	test	ecx, ecx
	jne	.L7
	mov	edx, DWORD PTR 4[rdx+r14*8]
	mov	eax, DWORD PTR [rax+rdx*8]
	test	eax, eax
	jne	.L7
	xor	esi, esi
	mov	rdi, r13
	call	snd_azf3328_ctrl_enable_codecs@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	call	snd_azf3328_codec_setfmt_lowpower@PLT
	mov	DWORD PTR 0[rbp], ebx
.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
.L3:
	.cfi_restore_state
	mov	esi, ebx
	mov	rdi, r13
	call	snd_azf3328_ctrl_enable_codecs@PLT
	mov	DWORD PTR 0[rbp], ebx
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	snd_azf3328_ctrl_codec_activity, .-snd_azf3328_ctrl_codec_activity
	.section	.rodata
	.align 16
	.type	peer_codecs.1948, @object
	.size	peer_codecs.1948, 24
peer_codecs.1948:
	.long	130
	.long	129
	.long	128
	.long	129
	.long	128
	.long	130
	.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_azt3328.c_snd_azf3328_ctrl_codec_activity.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"codec_activity: %s codec, enable %d, need_change %d"
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_azf3328_ctrl_codec_activity, %function
snd_azf3328_ctrl_codec_activity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r1
	ldr	r7, [r0]
	mov	r4, r2
	ldr	r8, [r7, r5, lsl #3]
	ldr	r1, [r0, #4]
	subs	r3, r8, r2
	movne	r3, #1
	sub	sp, sp, #12
	add	r9, r7, r5, lsl #3
	ldr	r2, [r9, #4]
	mov	r6, r0
	ldr	r0, [r1]
	str	r3, [sp]
	ldr	r1, .L10
	mov	r3, r4
	bl	dev_dbg
	cmp	r8, r4
	beq	.L1
	cmp	r4, #0
	bne	.L3
	ldr	r3, .L10+4
	ldr	r1, [r6]
	ldr	r0, [r3, r5, lsl #3]
	ldr	r0, [r1, r0, lsl #3]
	cmp	r0, #0
	bne	.L7
	lsl	r2, r5, #3
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	ldr	r3, [r1, r3, lsl #3]
	cmp	r3, #0
	bne	.L7
	mov	r0, r6
	mov	r1, r4
	bl	snd_azf3328_ctrl_enable_codecs
.L7:
	mov	r0, r9
	bl	snd_azf3328_codec_setfmt_lowpower
	str	r4, [r7, r5, lsl #3]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L3:
	mov	r0, r6
	mov	r1, r4
	bl	snd_azf3328_ctrl_enable_codecs
	str	r4, [r7, r5, lsl #3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	.LANCHOR0
	.size	snd_azf3328_ctrl_codec_activity, .-snd_azf3328_ctrl_codec_activity
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	peer_codecs.4232, %object
	.size	peer_codecs.4232, 24
peer_codecs.4232:
	.word	130
	.word	129
	.word	128
	.word	129
	.word	128
	.word	130
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
