	.file	"extr_wcd9335.c_wcd9335_codec_hph_lohifi_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wcd9335_codec_hph_lohifi_config, @function
wcd9335_codec_hph_lohifi_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	SND_SOC_DAPM_EVENT_ON@PLT
	test	rax, rax
	jne	.L9
	mov	edi, r12d
	call	SND_SOC_DAPM_EVENT_OFF@PLT
	test	rax, rax
	jne	.L10
.L1:
	add	rsp, 8
	.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
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK[rip]
	mov	esi, DWORD PTR WCD9335_RX_BIAS_HPH_PA[rip]
	mov	ecx, 6
	mov	rdi, rbp
	call	snd_soc_component_update_bits@PLT
	mov	esi, DWORD PTR WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2[rip]
	mov	ecx, 64
	mov	rdi, rbp
	mov	edx, 240
	call	snd_soc_component_update_bits@PLT
	mov	ecx, DWORD PTR WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000[rip]
	mov	edx, DWORD PTR WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WCD9335_HPH_CNP_WG_CTL[rip]
	call	snd_soc_component_update_bits@PLT
	mov	ecx, DWORD PTR WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE[rip]
	mov	edx, DWORD PTR WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WCD9335_HPH_PA_CTL2[rip]
	call	snd_soc_component_update_bits@PLT
	mov	edx, DWORD PTR WCD9335_HPH_PA_GM3_IB_SCALE_MASK[rip]
	mov	ecx, 12
	mov	rdi, rbp
	mov	esi, DWORD PTR WCD9335_HPH_PA_CTL1[rip]
	call	snd_soc_component_update_bits@PLT
	mov	rdi, rbp
	mov	esi, 17
	call	wcd9335_codec_hph_mode_gain_opt@PLT
	mov	edi, r12d
	call	SND_SOC_DAPM_EVENT_OFF@PLT
	test	rax, rax
	je	.L1
.L10:
	mov	ecx, DWORD PTR WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE[rip]
	mov	edx, DWORD PTR WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WCD9335_HPH_PA_CTL2[rip]
	call	snd_soc_component_update_bits@PLT
	mov	ecx, DWORD PTR WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500[rip]
	mov	edx, DWORD PTR WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WCD9335_HPH_CNP_WG_CTL[rip]
	call	snd_soc_component_update_bits@PLT
	mov	esi, DWORD PTR WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2[rip]
	mov	rdi, rbp
	mov	edx, 138
	call	snd_soc_component_write@PLT
	mov	edx, DWORD PTR WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK[rip]
	mov	esi, DWORD PTR WCD9335_RX_BIAS_HPH_PA[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	ecx, 10
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	snd_soc_component_update_bits@PLT
	.cfi_endproc
.LFE0:
	.size	wcd9335_codec_hph_lohifi_config, .-wcd9335_codec_hph_lohifi_config
	.comm	WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2,4,4
	.comm	WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK,4,4
	.comm	WCD9335_RX_BIAS_HPH_PA,4,4
	.comm	WCD9335_HPH_PA_GM3_IB_SCALE_MASK,4,4
	.comm	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK,4,4
	.comm	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE,4,4
	.comm	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE,4,4
	.comm	WCD9335_HPH_PA_CTL2,4,4
	.comm	WCD9335_HPH_PA_CTL1,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL,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_wcd9335.c_wcd9335_codec_hph_lohifi_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wcd9335_codec_hph_lohifi_config, %function
wcd9335_codec_hph_lohifi_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r5, r1
	bl	SND_SOC_DAPM_EVENT_ON
	cmp	r0, #0
	bne	.L9
.L2:
	mov	r0, r5
	bl	SND_SOC_DAPM_EVENT_OFF
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L10
	ldr	r2, .L10+4
	ldr	r1, .L10+8
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	snd_soc_component_update_bits
	ldr	r3, .L10+12
	ldr	r2, .L10+16
	ldr	r1, .L10+20
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	snd_soc_component_update_bits
	ldr	r3, .L10+24
	mov	r2, #138
	ldr	r1, [r3]
	mov	r0, r4
	bl	snd_soc_component_write
	ldr	r3, .L10+28
	ldr	r2, .L10+32
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, #10
	b	snd_soc_component_update_bits
.L9:
	ldr	r3, .L10+28
	ldr	r2, .L10+32
	ldr	r1, [r3]
	mov	r0, r4
	mov	r3, #6
	ldr	r2, [r2]
	bl	snd_soc_component_update_bits
	ldr	r2, .L10+24
	mov	r3, #64
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, #240
	bl	snd_soc_component_update_bits
	ldr	r3, .L10+36
	ldr	r2, .L10+16
	ldr	r1, .L10+20
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	snd_soc_component_update_bits
	ldr	r3, .L10+40
	ldr	r2, .L10+4
	ldr	r1, .L10+8
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	snd_soc_component_update_bits
	ldr	r3, .L10+44
	ldr	r2, .L10+48
	ldr	r1, [r3]
	mov	r0, r4
	mov	r3, #12
	ldr	r2, [r2]
	bl	snd_soc_component_update_bits
	mov	r1, #17
	mov	r0, r4
	bl	wcd9335_codec_hph_mode_gain_opt
	b	.L2
.L11:
	.align	2
.L10:
	.word	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE
	.word	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK
	.word	WCD9335_HPH_PA_CTL2
	.word	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500
	.word	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK
	.word	WCD9335_HPH_CNP_WG_CTL
	.word	WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2
	.word	WCD9335_RX_BIAS_HPH_PA
	.word	WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK
	.word	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000
	.word	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE
	.word	WCD9335_HPH_PA_CTL1
	.word	WCD9335_HPH_PA_GM3_IB_SCALE_MASK
	.size	wcd9335_codec_hph_lohifi_config, .-wcd9335_codec_hph_lohifi_config
	.comm	WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2,4,4
	.comm	WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK,4,4
	.comm	WCD9335_RX_BIAS_HPH_PA,4,4
	.comm	WCD9335_HPH_PA_GM3_IB_SCALE_MASK,4,4
	.comm	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK,4,4
	.comm	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE,4,4
	.comm	WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE,4,4
	.comm	WCD9335_HPH_PA_CTL2,4,4
	.comm	WCD9335_HPH_PA_CTL1,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK,4,4
	.comm	WCD9335_HPH_CNP_WG_CTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
