	.file	"extr_omap24xxcam.c_omap24xxcam_dma_iolock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	omap24xxcam_dma_iolock, @function
omap24xxcam_dma_iolock:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR PCI_DMA_FROMDEVICE[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rsi
	mov	rdx, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rdi]
	mov	DWORD PTR 16[rsi], ecx
	mov	rsi, QWORD PTR 8[rsi]
	call	dma_map_sg@PLT
	mov	r8d, eax
	xor	eax, eax
	test	r8d, r8d
	je	.L7
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	call	kfree@PLT
	mov	eax, DWORD PTR EIO[rip]
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	pop	rbx
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	omap24xxcam_dma_iolock, .-omap24xxcam_dma_iolock
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	EIO,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_omap24xxcam.c_omap24xxcam_dma_iolock.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap24xxcam_dma_iolock, %function
omap24xxcam_dma_iolock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	ldr	r0, [r0]
	ldr	r2, [r1]
	str	r3, [r1, #8]
	mov	r4, r1
	ldr	r1, [r1, #4]
	bl	dma_map_sg
	subs	r5, r0, #0
	beq	.L6
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r0, [r4, #4]
	bl	kfree
	ldr	r3, .L7+4
	str	r5, [r4, #4]
	ldr	r0, [r3]
	str	r5, [r4]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	PCI_DMA_FROMDEVICE
	.word	EIO
	.size	omap24xxcam_dma_iolock, .-omap24xxcam_dma_iolock
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
