	.file	"extr_comedi_isadma.c_comedi_isadma_disable_on_sample.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	comedi_isadma_disable_on_sample
	.type	comedi_isadma_disable_on_sample, @function
comedi_isadma_disable_on_sample:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	call	comedi_isadma_disable@PLT
	xor	edx, edx
	mov	r12d, eax
	div	ebx
	test	edx, edx
	je	.L1
	xor	r13d, r13d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r12d, eax
	xor	r13d, r13d
.L3:
	mov	eax, r12d
	xor	edx, edx
	div	ebx
	test	edx, edx
	je	.L1
.L4:
	xor	eax, eax
	call	claim_dma_lock@PLT
	mov	edi, ebp
	mov	r14, rax
	call	enable_dma@PLT
	mov	rdi, r14
	call	release_dma_lock@PLT
	mov	edi, 2
	call	udelay@PLT
	mov	edi, ebp
	call	comedi_isadma_disable@PLT
	cmp	eax, r12d
	jne	.L5
	add	r13d, 1
	cmp	r13d, 10
	jle	.L3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	comedi_isadma_disable_on_sample, .-comedi_isadma_disable_on_sample
	.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_comedi_isadma.c_comedi_isadma_disable_on_sample.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	comedi_isadma_disable_on_sample
	.syntax unified
	.arm
	.fpu softvfp
	.type	comedi_isadma_disable_on_sample, %function
comedi_isadma_disable_on_sample:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	mov	r6, r0
	bl	comedi_isadma_disable
	mov	r1, r8
	mov	r5, r0
	bl	__aeabi_uidivmod
	cmp	r1, #0
	beq	.L1
	mov	r7, #0
	b	.L4
.L3:
	mov	r1, r8
	mov	r0, r5
	bl	__aeabi_uidivmod
	cmp	r1, #0
	beq	.L1
.L4:
	bl	claim_dma_lock
	mov	r4, r0
	mov	r0, r6
	bl	enable_dma
	mov	r0, r4
	bl	release_dma_lock
	mov	r0, #2
	bl	udelay
	mov	r0, r6
	bl	comedi_isadma_disable
	cmp	r0, r5
	movne	r5, r0
	movne	r7, #0
	bne	.L3
	add	r7, r7, #1
	cmp	r7, #10
	ble	.L3
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
	.size	comedi_isadma_disable_on_sample, .-comedi_isadma_disable_on_sample
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
