	.file	"extr_mt8183-afe-pcm.c_mt8183_afe_runtime_resume.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mt8183_afe_runtime_resume, @function
mt8183_afe_runtime_resume:
.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
	call	dev_get_drvdata@PLT
	mov	rdi, rax
	mov	rbp, QWORD PTR 8[rax]
	mov	rbx, rax
	call	mt8183_afe_enable_clock@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	je	.L1
	cmp	QWORD PTR 0[rbp], 0
	jne	.L1
	xor	esi, esi
	call	regcache_cache_only@PLT
	mov	edi, DWORD PTR [rbx]
	call	regcache_sync@PLT
	mov	esi, DWORD PTR AUDIO_TOP_CON0[rip]
	mov	edi, DWORD PTR [rbx]
	mov	ecx, 536870912
	mov	edx, 536870912
	call	regmap_update_bits@PLT
	mov	edx, DWORD PTR CPU_HD_ALIGN_MASK_SFT[rip]
	mov	edi, DWORD PTR [rbx]
	xor	ecx, ecx
	mov	esi, DWORD PTR AFE_MEMIF_MSB[rip]
	call	regmap_update_bits@PLT
	mov	esi, DWORD PTR AFE_CONN_24BIT[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, -1
	call	regmap_write@PLT
	mov	esi, DWORD PTR AFE_CONN_24BIT_1[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, -1
	call	regmap_write@PLT
	mov	esi, DWORD PTR AFE_DAC_CON0[rip]
	mov	edi, DWORD PTR [rbx]
	mov	ecx, 1
	mov	edx, 1
	call	regmap_update_bits@PLT
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mt8183_afe_runtime_resume, .-mt8183_afe_runtime_resume
	.comm	CPU_HD_ALIGN_SFT,4,4
	.comm	CPU_HD_ALIGN_MASK_SFT,4,4
	.comm	AUDIO_TOP_CON0,4,4
	.comm	AFE_MEMIF_MSB,4,4
	.comm	AFE_DAC_CON0,4,4
	.comm	AFE_CONN_24BIT_1,4,4
	.comm	AFE_CONN_24BIT,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_mt8183-afe-pcm.c_mt8183_afe_runtime_resume.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mt8183_afe_runtime_resume, %function
mt8183_afe_runtime_resume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	dev_get_drvdata
	mov	r4, r0
	ldr	r6, [r0, #4]
	bl	mt8183_afe_enable_clock
	subs	r5, r0, #0
	bne	.L1
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L1
	mov	r1, r5
	bl	regcache_cache_only
	ldr	r0, [r4]
	bl	regcache_sync
	mov	r3, #536870912
	ldr	r1, .L8
	mov	r2, r3
	ldr	r1, [r1]
	ldr	r0, [r4]
	bl	regmap_update_bits
	ldr	r3, .L8+4
	ldr	r2, .L8+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, r5
	ldr	r0, [r4]
	bl	regmap_update_bits
	ldr	r3, .L8+12
	mvn	r2, #0
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	regmap_write
	ldr	r3, .L8+16
	mvn	r2, #0
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	regmap_write
	mov	r3, #1
	ldr	r1, .L8+20
	mov	r2, r3
	ldr	r0, [r4]
	ldr	r1, [r1]
	bl	regmap_update_bits
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	AUDIO_TOP_CON0
	.word	AFE_MEMIF_MSB
	.word	CPU_HD_ALIGN_MASK_SFT
	.word	AFE_CONN_24BIT
	.word	AFE_CONN_24BIT_1
	.word	AFE_DAC_CON0
	.size	mt8183_afe_runtime_resume, .-mt8183_afe_runtime_resume
	.comm	CPU_HD_ALIGN_SFT,4,4
	.comm	CPU_HD_ALIGN_MASK_SFT,4,4
	.comm	AUDIO_TOP_CON0,4,4
	.comm	AFE_MEMIF_MSB,4,4
	.comm	AFE_DAC_CON0,4,4
	.comm	AFE_CONN_24BIT_1,4,4
	.comm	AFE_CONN_24BIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
