	.file	"extr_videobuf2-dma-contig.c_vb2_dc_get_dmabuf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vb2_dc_get_dmabuf, @function
vb2_dc_get_dmabuf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	push	QWORD PTR exp_info[rip+24]
	.cfi_def_cfa_offset 40
	push	QWORD PTR exp_info[rip+16]
	.cfi_def_cfa_offset 48
	push	QWORD PTR exp_info[rip+8]
	.cfi_def_cfa_offset 56
	push	QWORD PTR exp_info[rip]
	.cfi_def_cfa_offset 64
	call	DEFINE_DMA_BUF_EXPORT_INFO@PLT
	lea	rax, vb2_dc_dmabuf_ops[rip]
	mov	QWORD PTR exp_info[rip], r12
	add	rsp, 32
	.cfi_def_cfa_offset 32
	mov	QWORD PTR exp_info[rip+24], rax
	mov	eax, DWORD PTR 16[rbp]
	mov	QWORD PTR exp_info[rip+8], rbp
	mov	DWORD PTR exp_info[rip+16], eax
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L8
.L2:
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L5
	lea	rdi, exp_info[rip]
	call	dma_buf_export@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	call	refcount_inc@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	r12d, r12d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	vb2_dc_get_base_sgt@PLT
	mov	QWORD PTR 8[rbp], rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	vb2_dc_get_dmabuf, .-vb2_dc_get_dmabuf
	.comm	vb2_dc_dmabuf_ops,4,4
	.comm	exp_info,32,32
	.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_videobuf2-dma-contig.c_vb2_dc_get_dmabuf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vb2_dc_get_dmabuf, %function
vb2_dc_get_dmabuf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r6, r1
	ldr	r4, .L9
	ldm	r4, {r0, r1, r2, r3}
	bl	DEFINE_DMA_BUF_EXPORT_INFO
	ldr	r0, [r5, #4]
	ldr	r3, [r5, #8]
	ldr	r2, .L9+4
	cmp	r0, #0
	str	r6, [r4]
	str	r5, [r4, #4]
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	beq	.L8
.L2:
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	cmp	r0, #0
	bne	.L5
	ldr	r0, .L9
	bl	dma_buf_export
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L5
	mov	r0, r5
	bl	refcount_inc
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L5:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r5
	bl	vb2_dc_get_base_sgt
	str	r0, [r5, #4]
	b	.L2
.L10:
	.align	2
.L9:
	.word	exp_info
	.word	vb2_dc_dmabuf_ops
	.size	vb2_dc_get_dmabuf, .-vb2_dc_get_dmabuf
	.comm	vb2_dc_dmabuf_ops,4,4
	.comm	exp_info,16,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
