	.file	"extr_da7219-aad.c_da7219_aad_suspend.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Mic Bias"
	.text
	.p2align 4
	.globl	da7219_aad_suspend
	.type	da7219_aad_suspend, @function
da7219_aad_suspend:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	snd_soc_component_get_drvdata@PLT
	mov	rdi, rbp
	mov	rbx, QWORD PTR [rax]
	call	snd_soc_component_get_dapm@PLT
	cmp	QWORD PTR 16[rbx], 0
	jne	.L10
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR DA7219_ACCDET_EN_MASK[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	mov	r12, rax
	mov	esi, DWORD PTR DA7219_ACCDET_CONFIG_1[rip]
	call	snd_soc_component_update_bits@PLT
	cmp	QWORD PTR 8[rbx], 0
	je	.L1
	mov	esi, DWORD PTR DA7219_MICBIAS_CTRL[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	test	DWORD PTR DA7219_MICBIAS1_EN_MASK[rip], eax
	je	.L1
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	snd_soc_dapm_disable_pin@PLT
	mov	rdi, r12
	call	snd_soc_dapm_sync@PLT
	mov	DWORD PTR [rbx], 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	da7219_aad_suspend, .-da7219_aad_suspend
	.comm	DA7219_MICBIAS_CTRL,4,4
	.comm	DA7219_MICBIAS1_EN_MASK,4,4
	.comm	DA7219_ACCDET_EN_MASK,4,4
	.comm	DA7219_ACCDET_CONFIG_1,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_da7219-aad.c_da7219_aad_suspend.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Mic Bias\000"
	.text
	.align	2
	.global	da7219_aad_suspend
	.syntax unified
	.arm
	.fpu softvfp
	.type	da7219_aad_suspend, %function
da7219_aad_suspend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	snd_soc_component_get_drvdata
	mov	r3, r0
	ldr	r6, [r3]
	mov	r0, r4
	bl	snd_soc_component_get_dapm
	ldr	r3, [r6, #8]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L13
	ldr	r2, .L13+4
	ldr	r1, [r3]
	mov	r5, r0
	mov	r3, #0
	mov	r0, r4
	ldr	r2, [r2]
	bl	snd_soc_component_update_bits
	ldr	r3, [r6, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L13+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	snd_soc_component_read32
	ldr	r3, .L13+12
	ldr	r3, [r3]
	tst	r0, r3
	popeq	{r4, r5, r6, pc}
	ldr	r1, .L13+16
	mov	r0, r5
	bl	snd_soc_dapm_disable_pin
	mov	r0, r5
	bl	snd_soc_dapm_sync
	mov	r3, #1
	str	r3, [r6]
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	DA7219_ACCDET_CONFIG_1
	.word	DA7219_ACCDET_EN_MASK
	.word	DA7219_MICBIAS_CTRL
	.word	DA7219_MICBIAS1_EN_MASK
	.word	.LC0
	.size	da7219_aad_suspend, .-da7219_aad_suspend
	.comm	DA7219_MICBIAS_CTRL,4,4
	.comm	DA7219_MICBIAS1_EN_MASK,4,4
	.comm	DA7219_ACCDET_EN_MASK,4,4
	.comm	DA7219_ACCDET_CONFIG_1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
