	.file	"extr_ml403-ac97cr.c_snd_ml403_ac97cr_pcm_capture_trigger.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"trigger(capture): START\n"
.LC1:
	.string	"trigger(capture): STOP\n"
.LC2:
	.string	"trigger(capture): (done)\n"
	.text
	.p2align 4
	.type	snd_ml403_ac97cr_pcm_capture_trigger, @function
snd_ml403_ac97cr_pcm_capture_trigger:
.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
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	snd_pcm_substream_chip@PLT
	mov	rbx, rax
	cmp	ebp, 128
	je	.L2
	cmp	ebp, 129
	jne	.L3
	mov	edi, DWORD PTR WORK_INFO[rip]
	lea	rsi, .LC0[rip]
	xor	r12d, r12d
	call	PDEBUG@PLT
	mov	DWORD PTR 8[rbx], 0
	mov	esi, DWORD PTR RESETFIFO[rip]
	mov	rdi, rbx
	mov	ebp, DWORD PTR CR_RECRESET[rip]
	call	CR_REG@PLT
	mov	esi, ebp
	mov	edi, eax
	call	out_be32@PLT
	mov	DWORD PTR [rbx], 1
	mov	edi, DWORD PTR 4[rbx]
	call	enable_irq@PLT
.L4:
	mov	edi, DWORD PTR WORK_INFO[rip]
	lea	rsi, .LC2[rip]
	call	PDEBUG@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR WORK_INFO[rip]
	lea	rsi, .LC1[rip]
	xor	r12d, r12d
	call	PDEBUG@PLT
	mov	DWORD PTR 8[rbx], 0
	mov	edi, DWORD PTR 4[rbx]
	call	disable_irq_nosync@PLT
	mov	DWORD PTR [rbx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	snd_ml403_ac97cr_pcm_capture_trigger, .-snd_ml403_ac97cr_pcm_capture_trigger
	.comm	WORK_INFO,4,4
	.comm	RESETFIFO,4,4
	.comm	EINVAL,4,4
	.comm	CR_RECRESET,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_ml403-ac97cr.c_snd_ml403_ac97cr_pcm_capture_trigger.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"trigger(capture): START\012\000"
	.align	2
.LC1:
	.ascii	"trigger(capture): STOP\012\000"
	.align	2
.LC2:
	.ascii	"trigger(capture): (done)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_ml403_ac97cr_pcm_capture_trigger, %function
snd_ml403_ac97cr_pcm_capture_trigger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	bl	snd_pcm_substream_chip
	cmp	r5, #128
	mov	r4, r0
	beq	.L2
	cmp	r5, #129
	bne	.L3
	mov	r5, #0
	ldr	r6, .L7
	ldr	r1, .L7+4
	ldr	r0, [r6]
	bl	PDEBUG
	ldr	r3, .L7+8
	mov	r0, r4
	ldr	r1, [r3]
	str	r5, [r4, #8]
	bl	CR_REG
	ldr	r3, .L7+12
	ldr	r1, [r3]
	bl	out_be32
	mov	r3, #1
	ldr	r0, [r4, #4]
	str	r3, [r4]
	bl	enable_irq
.L4:
	ldr	r0, [r6]
	ldr	r1, .L7+16
	bl	PDEBUG
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r7, #0
	ldr	r6, .L7
	ldr	r1, .L7+20
	ldr	r0, [r6]
	bl	PDEBUG
	ldr	r0, [r4, #4]
	str	r7, [r4, #8]
	bl	disable_irq_nosync
	mov	r5, r7
	str	r7, [r4]
	b	.L4
.L3:
	ldr	r3, .L7+24
	ldr	r6, .L7
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L4
.L8:
	.align	2
.L7:
	.word	WORK_INFO
	.word	.LC0
	.word	RESETFIFO
	.word	CR_RECRESET
	.word	.LC2
	.word	.LC1
	.word	EINVAL
	.size	snd_ml403_ac97cr_pcm_capture_trigger, .-snd_ml403_ac97cr_pcm_capture_trigger
	.comm	WORK_INFO,4,4
	.comm	RESETFIFO,4,4
	.comm	EINVAL,4,4
	.comm	CR_RECRESET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
