	.file	"extr_wm5110.c_wm5110_hp_pre_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm5110_hp_pre_enable, @function
wm5110_hp_pre_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	call	snd_soc_dapm_to_component@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	snd_soc_component_get_drvdata@PLT
	mov	esi, DWORD PTR ARIZONA_DRE_ENABLE[rip]
	mov	rdi, rbp
	mov	r13, QWORD PTR 8[rax]
	mov	r12, rax
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR [rbx]
	cmp	edx, 128
	je	.L2
	cmp	edx, 129
	jne	.L3
	test	DWORD PTR ARIZONA_DRE1L_ENA_MASK[rip], eax
	je	.L4
	mov	rbp, QWORD PTR wm5110_dre_left_enable[rip]
	mov	rdi, rbp
	call	ARRAY_SIZE@PLT
	mov	edx, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	test	DWORD PTR ARIZONA_DRE1R_ENA_MASK[rip], eax
	jne	.L9
	mov	rbp, QWORD PTR wm5110_no_dre_right_enable[rip]
	mov	rdi, rbp
	call	ARRAY_SIZE@PLT
	add	DWORD PTR [r12], 10
	mov	edx, eax
.L5:
	mov	edi, DWORD PTR 0[r13]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	regmap_multi_reg_write@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rbp, QWORD PTR wm5110_dre_right_enable[rip]
	mov	rdi, rbp
	call	ARRAY_SIZE@PLT
	mov	edx, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbp, QWORD PTR wm5110_no_dre_left_enable[rip]
	mov	rdi, rbp
	call	ARRAY_SIZE@PLT
	add	DWORD PTR [r12], 10
	mov	edx, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	wm5110_hp_pre_enable, .-wm5110_hp_pre_enable
	.comm	wm5110_no_dre_right_enable,8,8
	.comm	wm5110_no_dre_left_enable,8,8
	.comm	wm5110_dre_right_enable,8,8
	.comm	wm5110_dre_left_enable,8,8
	.comm	ARIZONA_DRE_ENABLE,4,4
	.comm	ARIZONA_DRE1R_ENA_MASK,4,4
	.comm	ARIZONA_DRE1L_ENA_MASK,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_wm5110.c_wm5110_hp_pre_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm5110_hp_pre_enable, %function
wm5110_hp_pre_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	bl	snd_soc_dapm_to_component
	mov	r6, r0
	bl	snd_soc_component_get_drvdata
	mov	r5, r0
	ldr	r3, .L10
	mov	r0, r6
	ldr	r1, [r3]
	ldr	r6, [r5, #4]
	bl	snd_soc_component_read32
	ldr	r3, [r4]
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	bne	.L3
	ldr	r3, .L10+4
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L4
	ldr	r3, .L10+8
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	mov	r1, r4
	mov	r2, r0
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	regmap_multi_reg_write
.L2:
	ldr	r3, .L10+12
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L9
	ldr	r3, .L10+16
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	ldr	r3, [r5]
	mov	r2, r0
	add	r3, r3, #10
	mov	r1, r4
	ldr	r0, [r6]
	str	r3, [r5]
	pop	{r4, r5, r6, lr}
	b	regmap_multi_reg_write
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L10+20
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	mov	r1, r4
	mov	r2, r0
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	regmap_multi_reg_write
.L4:
	ldr	r3, .L10+24
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	ldr	r3, [r5]
	mov	r2, r0
	add	r3, r3, #10
	mov	r1, r4
	ldr	r0, [r6]
	str	r3, [r5]
	pop	{r4, r5, r6, lr}
	b	regmap_multi_reg_write
.L11:
	.align	2
.L10:
	.word	ARIZONA_DRE_ENABLE
	.word	ARIZONA_DRE1L_ENA_MASK
	.word	wm5110_dre_left_enable
	.word	ARIZONA_DRE1R_ENA_MASK
	.word	wm5110_no_dre_right_enable
	.word	wm5110_dre_right_enable
	.word	wm5110_no_dre_left_enable
	.size	wm5110_hp_pre_enable, .-wm5110_hp_pre_enable
	.comm	wm5110_no_dre_right_enable,4,4
	.comm	wm5110_no_dre_left_enable,4,4
	.comm	wm5110_dre_right_enable,4,4
	.comm	wm5110_dre_left_enable,4,4
	.comm	ARIZONA_DRE_ENABLE,4,4
	.comm	ARIZONA_DRE1R_ENA_MASK,4,4
	.comm	ARIZONA_DRE1L_ENA_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
