	.file	"extr_solo6x10-v4l2-enc.c_enc_get_mpeg_dma.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	enc_get_mpeg_dma, @function
enc_get_mpeg_dma:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	SOLO_MP4E_EXT_SIZE@PLT
	cmp	eax, ebx
	jnb	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	lea	r13d, [rbx+r15]
	mov	r14d, ebx
	call	SOLO_MP4E_EXT_SIZE@PLT
	mov	rdi, rbp
	cmp	r13d, eax
	jbe	.L7
	call	SOLO_MP4E_EXT_SIZE@PLT
	mov	rdi, rbp
	sub	eax, ebx
	mov	ebx, eax
	call	SOLO_MP4E_EXT_ADDR@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	xor	esi, esi
	mov	rdi, rbp
	push	0
	.cfi_def_cfa_offset 80
	lea	rcx, [rax+r14]
	xor	r9d, r9d
	mov	r8d, ebx
	mov	rdx, r12
	call	solo_p2m_dma_t@PLT
	pop	rsi
	.cfi_def_cfa_offset 72
	pop	rdi
	.cfi_def_cfa_offset 64
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	call	SOLO_MP4E_EXT_SIZE@PLT
	mov	rdi, rbp
	sub	r13d, eax
	call	SOLO_MP4E_EXT_ADDR@PLT
	mov	rdi, rbp
	mov	r15, rax
	call	SOLO_MP4E_EXT_SIZE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	rcx, r15
	mov	r8d, r13d
	push	0
	.cfi_def_cfa_offset 80
	mov	edx, eax
	mov	rdi, rbp
	xor	r9d, r9d
	add	rdx, r12
	xor	esi, esi
	sub	rdx, r14
	call	solo_p2m_dma_t@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	SOLO_MP4E_EXT_ADDR@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	r8d, r15d
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 80
	lea	rcx, [rax+r14]
	mov	rdx, r12
	mov	rdi, rbp
	xor	esi, esi
	call	solo_p2m_dma_t@PLT
	pop	r8
	.cfi_def_cfa_offset 72
	pop	r9
	.cfi_def_cfa_offset 64
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	enc_get_mpeg_dma, .-enc_get_mpeg_dma
	.comm	EINVAL,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_solo6x10-v4l2-enc.c_enc_get_mpeg_dma.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enc_get_mpeg_dma, %function
enc_get_mpeg_dma:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #16
	mov	r4, r2
	mov	r7, r1
	mov	r6, r3
	mov	r5, r0
	bl	SOLO_MP4E_EXT_SIZE
	cmp	r0, r4
	bcs	.L2
	ldr	r3, .L8
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r0, r5
	bl	SOLO_MP4E_EXT_SIZE
	add	r8, r4, r6
	cmp	r8, r0
	mov	r0, r5
	bls	.L7
	bl	SOLO_MP4E_EXT_ADDR
	mov	r6, r0
	mov	r0, r5
	bl	SOLO_MP4E_EXT_SIZE
	mov	r1, #0
	sub	r2, r0, r4
	add	r3, r6, r4
	str	r2, [sp]
	mov	r0, r5
	mov	r2, r7
	str	r1, [sp, #8]
	str	r1, [sp, #4]
	bl	solo_p2m_dma_t
	subs	r6, r0, #0
	bne	.L1
	mov	r0, r5
	bl	SOLO_MP4E_EXT_SIZE
	mov	r10, r0
	mov	r0, r5
	bl	SOLO_MP4E_EXT_ADDR
	mov	r9, r0
	mov	r0, r5
	bl	SOLO_MP4E_EXT_SIZE
	sub	r2, r7, r4
	sub	r8, r8, r0
	mov	r1, r6
	str	r6, [sp, #8]
	str	r6, [sp, #4]
	mov	r3, r9
	mov	r0, r5
	add	r2, r2, r10
	str	r8, [sp]
	bl	solo_p2m_dma_t
	mov	r6, r0
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	bl	SOLO_MP4E_EXT_ADDR
	mov	r1, #0
	add	r3, r0, r4
	str	r6, [sp]
	mov	r2, r7
	mov	r0, r5
	str	r1, [sp, #8]
	str	r1, [sp, #4]
	bl	solo_p2m_dma_t
	mov	r6, r0
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	EINVAL
	.size	enc_get_mpeg_dma, .-enc_get_mpeg_dma
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
