	.file	"extr_aureal.c_au_rdcd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"pcm%d: codec timeout reading register %x (%x)\n"
	.text
	.p2align 4
	.type	au_rdcd, @function
au_rdcd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	sal	edx, 16
	mov	r8d, 4
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r14d, edx
	mov	ecx, edx
	mov	edx, DWORD PTR AU_REG_CODECIO[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	r13d, r14d
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rdi, r12
	or	r13d, 8388608
	mov	ebp, 2000
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	au_wr@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, ebp
	add	ebp, 200
	call	DELAY@PLT
	cmp	ebp, 12000
	je	.L10
.L3:
	mov	edx, DWORD PTR AU_REG_CODECIO[rip]
	mov	ecx, 4
	xor	esi, esi
	mov	rdi, r12
	call	au_rd@PLT
	mov	ebx, eax
	and	eax, 16711680
	cmp	eax, r13d
	jne	.L11
.L2:
	mov	eax, DWORD PTR AU_CDC_DATAMASK[rip]
	and	eax, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR AU_CDC_REGMASK[rip]
	mov	esi, DWORD PTR [r12]
	mov	ecx, ebx
	lea	rdi, .LC0[rip]
	and	edx, r14d
	sar	edx, 16
	call	printf@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	au_rdcd, .-au_rdcd
	.comm	AU_REG_CODECIO,4,4
	.comm	AU_CDC_REGMASK,4,4
	.comm	AU_CDC_DATAMASK,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_aureal.c_au_rdcd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pcm%d: codec timeout reading register %x (%x)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	au_rdcd, %function
au_rdcd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r1, #4
	ldr	r7, .L12
	lsl	r10, r2, #16
	sub	sp, sp, #8
	str	r1, [sp]
	mov	r3, r10
	mov	r0, r6
	mov	r1, #0
	ldr	r2, [r7]
	bl	au_wr
	mov	r5, #2000
	ldr	r9, .L12+4
	orr	r8, r10, #8388608
	b	.L3
.L11:
	mov	r0, r5
	add	r5, r5, #200
	bl	DELAY
	cmp	r5, r9
	beq	.L10
.L3:
	mov	r3, #4
	mov	r1, #0
	mov	r0, r6
	ldr	r2, [r7]
	bl	au_rd
	and	r3, r0, #16711680
	cmp	r3, r8
	mov	r4, r0
	bne	.L11
.L2:
	ldr	r3, .L12+8
	ldr	r0, [r3]
	and	r0, r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	ldr	r3, .L12+12
	ldr	r1, [r6]
	ldr	r2, [r3]
	ldr	r0, .L12+16
	and	r2, r2, r10
	mov	r3, r4
	asr	r2, r2, #16
	bl	printf
	b	.L2
.L13:
	.align	2
.L12:
	.word	AU_REG_CODECIO
	.word	12000
	.word	AU_CDC_DATAMASK
	.word	AU_CDC_REGMASK
	.word	.LC0
	.size	au_rdcd, .-au_rdcd
	.comm	AU_REG_CODECIO,4,4
	.comm	AU_CDC_REGMASK,4,4
	.comm	AU_CDC_DATAMASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
