	.file	"extr_cs46xx_lib.c_snd_cs46xx_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_cs46xx_reset, @function
snd_cs46xx_reset:
.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
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR SPCR_RSTSP[rip]
	mov	esi, DWORD PTR BA1_SPCR[rip]
	call	snd_cs46xx_poke@PLT
	mov	edx, DWORD PTR SPCR_DRQEN[rip]
	mov	esi, DWORD PTR BA1_SPCR[rip]
	mov	rdi, rbp
	call	snd_cs46xx_poke@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, DWORD PTR DREG_REGID_TRAP_SELECT[rip]
	mov	esi, DWORD PTR BA1_DREG[rip]
	mov	rdi, rbp
	add	edx, ebx
	add	ebx, 1
	call	snd_cs46xx_poke@PLT
	mov	esi, DWORD PTR BA1_TWPR[rip]
	mov	edx, 65535
	mov	rdi, rbp
	call	snd_cs46xx_poke@PLT
	cmp	ebx, 8
	jne	.L2
	mov	esi, DWORD PTR BA1_DREG[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	snd_cs46xx_poke@PLT
	mov	esi, DWORD PTR BA1_FRMT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	edx, 2783
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	snd_cs46xx_poke@PLT
	.cfi_endproc
.LFE0:
	.size	snd_cs46xx_reset, .-snd_cs46xx_reset
	.comm	SPCR_RSTSP,4,4
	.comm	SPCR_DRQEN,4,4
	.comm	DREG_REGID_TRAP_SELECT,4,4
	.comm	BA1_TWPR,4,4
	.comm	BA1_SPCR,4,4
	.comm	BA1_FRMT,4,4
	.comm	BA1_DREG,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_cs46xx_lib.c_snd_cs46xx_reset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_cs46xx_reset, %function
snd_cs46xx_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r3, .L6
	ldr	r4, .L6+4
	ldr	r2, [r3]
	ldr	r1, [r4]
	bl	snd_cs46xx_poke
	ldr	r3, .L6+8
	ldr	r1, [r4]
	mov	r0, r5
	ldr	r2, [r3]
	bl	snd_cs46xx_poke
	mov	r4, #0
	ldr	r9, .L6+12
	ldr	r6, .L6+16
	ldr	r8, .L6+20
	ldr	r7, .L6+24
.L2:
	ldr	r2, [r9]
	ldr	r1, [r6]
	add	r2, r4, r2
	mov	r0, r5
	bl	snd_cs46xx_poke
	add	r4, r4, #1
	mov	r2, r7
	mov	r0, r5
	ldr	r1, [r8]
	bl	snd_cs46xx_poke
	cmp	r4, #8
	bne	.L2
	ldr	r1, [r6]
	mov	r2, #0
	mov	r0, r5
	bl	snd_cs46xx_poke
	ldr	r3, .L6+28
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, [r3]
	ldr	r2, .L6+32
	b	snd_cs46xx_poke
.L7:
	.align	2
.L6:
	.word	SPCR_RSTSP
	.word	BA1_SPCR
	.word	SPCR_DRQEN
	.word	DREG_REGID_TRAP_SELECT
	.word	BA1_DREG
	.word	BA1_TWPR
	.word	65535
	.word	BA1_FRMT
	.word	2783
	.size	snd_cs46xx_reset, .-snd_cs46xx_reset
	.comm	SPCR_RSTSP,4,4
	.comm	SPCR_DRQEN,4,4
	.comm	DREG_REGID_TRAP_SELECT,4,4
	.comm	BA1_TWPR,4,4
	.comm	BA1_SPCR,4,4
	.comm	BA1_FRMT,4,4
	.comm	BA1_DREG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
