	.file	"extr_vdec.c_vdec_s_fmt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vdec_s_fmt, @function
vdec_s_fmt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	to_inst@PLT
	mov	rsi, rbx
	mov	r13d, DWORD PTR 8[rbx]
	mov	r14d, DWORD PTR 12[rbx]
	mov	rdi, rax
	mov	rbp, rax
	call	vdec_try_fmt_common@PLT
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE[rip]
	je	.L11
	xor	r15d, r15d
	xor	ecx, ecx
	cmp	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE[rip]
	je	.L12
.L3:
	lea	r12, 16[rsp]
	mov	edx, 48
	xor	esi, esi
	mov	QWORD PTR [rsp], rcx
	mov	rdi, r12
	call	memset@PLT
	mov	rcx, QWORD PTR [rsp]
	mov	rsi, r12
	mov	rdi, rbp
	mov	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE[rip]
	mov	DWORD PTR 28[rsp], r14d
	mov	QWORD PTR 32[rsp], rcx
	mov	QWORD PTR 16[rsp], rax
	mov	DWORD PTR 24[rsp], r13d
	call	vdec_try_fmt_common@PLT
	mov	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L4
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR 44[rbp], rax
	mov	eax, DWORD PTR 44[rbx]
	mov	DWORD PTR 40[rbp], eax
	mov	eax, DWORD PTR 40[rbx]
	mov	DWORD PTR 36[rbp], eax
	mov	eax, DWORD PTR 36[rbx]
	mov	DWORD PTR 32[rbp], eax
	mov	eax, DWORD PTR 32[rbx]
	mov	DWORD PTR 28[rbp], eax
	mov	rax, QWORD PTR 24[rbx]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 24[rbp], eax
.L4:
	xor	esi, esi
	mov	edx, 48
	mov	rdi, r12
	call	memset@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR 32[rsp], r15
	mov	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE[rip]
	mov	DWORD PTR 28[rsp], r14d
	mov	DWORD PTR 24[rsp], r13d
	mov	QWORD PTR 16[rsp], rax
	call	vdec_try_fmt_common@PLT
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE[rip]
	je	.L13
	cmp	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE[rip]
	je	.L14
.L6:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L14:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 0[rbp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR 8[rbp]
	mov	r15, QWORD PTR 16[rbx]
	mov	rcx, QWORD PTR [rax]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR 16[rbx]
	mov	r15, QWORD PTR [rax]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L6
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vdec_s_fmt, .-vdec_s_fmt
	.comm	V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,8,8
	.comm	V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,8,8
	.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_vdec.c_vdec_s_fmt.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vdec_s_fmt, %function
vdec_s_fmt:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L13
	mov	r4, r2
	sub	sp, sp, #44
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	to_inst
	ldmib	r4, {r8, r9}
	mov	r1, r4
	mov	r5, r0
	bl	vdec_try_fmt_common
	ldr	r6, .L13+4
	ldr	r3, [r4]
	ldr	r2, [r6]
	mov	r7, r0
	cmp	r3, r2
	beq	.L11
	ldr	r10, .L13+8
	ldr	r1, [r10]
	cmp	r3, r1
	movne	fp, #0
	movne	r0, fp
	ldreq	r3, [r5, #4]
	ldreq	fp, [r4, #12]
	ldreq	r0, [r3]
.L3:
	mov	r3, #0
	str	r0, [sp, #12]
	mov	r1, sp
	mov	r0, r5
	str	r2, [sp]
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	stmib	sp, {r8, r9}
	bl	vdec_try_fmt_common
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [r4, #16]
	ldr	r2, [r4, #32]
	ldr	r3, [r3]
	ldr	r1, [r4, #28]
	str	r2, [r5, #32]
	ldr	r2, [r4, #24]
	str	r1, [r5, #28]
	ldr	r1, [r4, #20]
	str	r2, [r5, #24]
	str	r3, [r5, #16]
	ldr	r2, [sp, #8]
	ldr	r3, [sp, #4]
	str	r1, [r5, #20]
	str	r2, [r5, #40]
	str	r3, [r5, #36]
.L4:
	mov	r3, #0
	ldr	r2, [r10]
	mov	r1, sp
	mov	r0, r5
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	str	r2, [sp]
	str	fp, [sp, #12]
	str	r9, [sp, #8]
	str	r8, [sp, #4]
	bl	vdec_try_fmt_common
	ldr	r3, [r4]
	ldr	r0, [r6]
	ldr	r1, [sp, #8]
	ldr	r2, [sp, #4]
	cmp	r3, r0
	str	r1, [r5, #12]
	str	r2, [r5, #8]
	streq	r7, [r5, #4]
	beq	.L6
	ldr	r2, [r10]
	cmp	r3, r2
	streq	r7, [r5]
.L6:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, #0
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r3, [r5]
	ldr	r0, [r4, #12]
	ldr	fp, [r3]
	ldr	r10, .L13+8
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
	.word	V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.size	vdec_s_fmt, .-vdec_s_fmt
	.comm	V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,4,4
	.comm	V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
