	.file	"extr_t4dwave.c_tr_pci_suspend.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tr_pci_suspend, @function
tr_pci_suspend:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	pcm_getdevinfo@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L2
.L4:
	mov	rsi, rbx
	sal	rsi, 4
	add	rsi, QWORD PTR 24[rbp]
	mov	rax, QWORD PTR [rsi]
	mov	QWORD PTR 8[rsi], rax
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR PCMTRIG_STOP[rip]
	xor	edi, edi
	add	rbx, 1
	call	trpchan_trigger@PLT
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L4
.L2:
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	jne	.L15
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edx, DWORD PTR PCMTRIG_STOP[rip]
	lea	rsi, 8[rbp]
	xor	edi, edi
	call	trrchan_trigger@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tr_pci_suspend, .-tr_pci_suspend
	.comm	PCMTRIG_STOP,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_t4dwave.c_tr_pci_suspend.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tr_pci_suspend, %function
tr_pci_suspend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	pcm_getdevinfo
	ldr	r2, [r0]
	mov	r5, r0
	cmp	r2, #0
	ble	.L2
	mov	r4, #0
	ldr	r6, .L16
	b	.L4
.L3:
	cmp	r2, r4
	ble	.L2
.L4:
	ldr	r1, [r5, #12]
	ldr	r3, [r1, r4, lsl #3]
	add	r1, r1, r4, lsl #3
	cmp	r3, #0
	add	r4, r4, #1
	str	r3, [r1, #4]
	beq	.L3
	ldr	r2, [r6]
	mov	r0, #0
	bl	trpchan_trigger
	ldr	r2, [r5]
	cmp	r2, r4
	bgt	.L4
.L2:
	ldr	r3, [r5, #4]
	cmp	r3, #0
	str	r3, [r5, #8]
	bne	.L15
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L15:
	ldr	r3, .L16
	add	r1, r5, #4
	ldr	r2, [r3]
	mov	r0, #0
	bl	trrchan_trigger
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	PCMTRIG_STOP
	.size	tr_pci_suspend, .-tr_pci_suspend
	.comm	PCMTRIG_STOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
