	.file	"extr_pdaudiocf_core.c_pdacf_reinit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pdacf_reinit
	.type	pdacf_reinit, @function
pdacf_reinit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	xor	esi, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	pdacf_reset@PLT
	test	ebx, ebx
	jne	.L8
.L2:
	mov	edi, DWORD PTR 8[rbp]
	call	snd_ak4117_reinit@PLT
	mov	esi, DWORD PTR PDAUDIOCF_REG_TCR[rip]
	mov	rdx, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	eax, esi
	sar	eax
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	call	pdacf_reg_write@PLT
	mov	esi, DWORD PTR PDAUDIOCF_REG_IER[rip]
	mov	rdx, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	eax, esi
	sar	eax
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pdacf_reg_write@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR 12[rbp]
	mov	esi, DWORD PTR PDAUDIOCF_REG_SCR[rip]
	mov	rdi, rbp
	call	pdacf_reg_write@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	pdacf_reinit, .-pdacf_reinit
	.comm	PDAUDIOCF_REG_TCR,4,4
	.comm	PDAUDIOCF_REG_SCR,4,4
	.comm	PDAUDIOCF_REG_IER,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_pdaudiocf_core.c_pdacf_reinit.c"
	.text
	.align	2
	.global	pdacf_reinit
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdacf_reinit, %function
pdacf_reinit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r1, #0
	mov	r4, r0
	bl	pdacf_reset
	cmp	r5, #0
	bne	.L8
.L2:
	ldr	r0, [r4, #4]
	bl	snd_ak4117_reinit
	ldr	r2, .L9
	ldr	r3, [r4]
	ldr	r1, [r2]
	mov	r0, r4
	asr	r2, r1, #1
	ldr	r2, [r3, r2, lsl #2]
	bl	pdacf_reg_write
	ldr	r2, .L9+4
	ldr	r3, [r4]
	ldr	r1, [r2]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	asr	r2, r1, #1
	ldr	r2, [r3, r2, lsl #2]
	b	pdacf_reg_write
.L8:
	ldr	r3, .L9+8
	mov	r0, r4
	ldr	r2, [r4, #8]
	ldr	r1, [r3]
	bl	pdacf_reg_write
	b	.L2
.L10:
	.align	2
.L9:
	.word	PDAUDIOCF_REG_TCR
	.word	PDAUDIOCF_REG_IER
	.word	PDAUDIOCF_REG_SCR
	.size	pdacf_reinit, .-pdacf_reinit
	.comm	PDAUDIOCF_REG_TCR,4,4
	.comm	PDAUDIOCF_REG_SCR,4,4
	.comm	PDAUDIOCF_REG_IER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
