	.file	"extr_wm9705.c_wm9705_dig_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm9705_dig_enable, @function
wm9705_dig_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR [rdi]
	mov	r8d, esi
	mov	rbp, rdi
	mov	edx, DWORD PTR WM97XX_PRP_DET_DIG[rip]
	mov	esi, DWORD PTR AC97_WM97XX_DIGITISER2[rip]
	mov	eax, DWORD PTR 8[rax]
	test	r8d, r8d
	je	.L2
	or	edx, eax
	call	wm97xx_reg_write@PLT
	mov	esi, DWORD PTR AC97_WM97XX_DIGITISER_RD[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	wm97xx_reg_read@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	not	edx
	pop	rbp
	.cfi_def_cfa_offset 8
	and	edx, eax
	jmp	wm97xx_reg_write@PLT
	.cfi_endproc
.LFE0:
	.size	wm9705_dig_enable, .-wm9705_dig_enable
	.comm	WM97XX_PRP_DET_DIG,4,4
	.comm	AC97_WM97XX_DIGITISER_RD,4,4
	.comm	AC97_WM97XX_DIGITISER2,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_wm9705.c_wm9705_dig_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm9705_dig_enable, %function
wm9705_dig_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	ldr	ip, .L7
	ldr	r2, .L7+4
	cmp	r1, #0
	ldr	r3, [r3, #8]
	ldr	r1, [ip]
	ldr	r2, [r2]
	beq	.L2
	push	{r4, lr}
	mov	r4, r0
	orr	r2, r3, r2
	bl	wm97xx_reg_write
	ldr	r3, .L7+8
	mov	r0, r4
	pop	{r4, lr}
	ldr	r1, [r3]
	b	wm97xx_reg_read
.L2:
	bic	r2, r3, r2
	b	wm97xx_reg_write
.L8:
	.align	2
.L7:
	.word	AC97_WM97XX_DIGITISER2
	.word	WM97XX_PRP_DET_DIG
	.word	AC97_WM97XX_DIGITISER_RD
	.size	wm9705_dig_enable, .-wm9705_dig_enable
	.comm	WM97XX_PRP_DET_DIG,4,4
	.comm	AC97_WM97XX_DIGITISER_RD,4,4
	.comm	AC97_WM97XX_DIGITISER2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
