	.file	"extr_rt5677.c_rt5677_vref_event.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rt5677_vref_event, @function
rt5677_vref_event:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR [rdi]
	mov	ebx, edx
	call	snd_soc_dapm_to_component@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	snd_soc_component_get_drvdata@PLT
	cmp	ebx, 128
	je	.L7
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r12, rax
	call	snd_soc_component_get_bias_level@PLT
	cmp	eax, DWORD PTR SND_SOC_BIAS_ON[rip]
	je	.L3
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jne	.L3
	mov	edi, 20
	call	mdelay@PLT
	mov	edx, DWORD PTR RT5677_PWR_FV1[rip]
	mov	edi, DWORD PTR 4[r12]
	or	edx, DWORD PTR RT5677_PWR_FV2[rip]
	mov	esi, DWORD PTR RT5677_PWR_ANLG1[rip]
	mov	ecx, edx
	call	regmap_update_bits@PLT
	mov	DWORD PTR [r12], 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rt5677_vref_event, .-rt5677_vref_event
	.comm	SND_SOC_BIAS_ON,4,4
	.comm	RT5677_PWR_FV2,4,4
	.comm	RT5677_PWR_FV1,4,4
	.comm	RT5677_PWR_ANLG1,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_rt5677.c_rt5677_vref_event.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt5677_vref_event, %function
rt5677_vref_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, [r0]
	mov	r4, r2
	bl	snd_soc_dapm_to_component
	mov	r5, r0
	bl	snd_soc_component_get_drvdata
	cmp	r4, #128
	beq	.L7
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	mov	r4, r0
	mov	r0, r5
	bl	snd_soc_component_get_bias_level
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L3
	mov	r0, #20
	bl	mdelay
	ldr	r3, .L8+4
	ldr	r2, .L8+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L8+12
	orr	r3, r3, r2
	mov	r2, r3
	ldr	r1, [r1]
	ldr	r0, [r4, #4]
	bl	regmap_update_bits
	mov	r3, #1
	str	r3, [r4]
	b	.L3
.L9:
	.align	2
.L8:
	.word	SND_SOC_BIAS_ON
	.word	RT5677_PWR_FV1
	.word	RT5677_PWR_FV2
	.word	RT5677_PWR_ANLG1
	.size	rt5677_vref_event, .-rt5677_vref_event
	.comm	SND_SOC_BIAS_ON,4,4
	.comm	RT5677_PWR_FV2,4,4
	.comm	RT5677_PWR_FV1,4,4
	.comm	RT5677_PWR_ANLG1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
