	.file	"extr_mt9v011.c_mt9v011_try_mbus_fmt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mt9v011_try_mbus_fmt, @function
mt9v011_try_mbus_fmt:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR V4L2_MBUS_FMT_SGRBG8_1X8[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	lea	rdi, 20[rsi]
	mov	rbx, rsi
	lea	r8, 16[rsi]
	mov	r9d, 32
	mov	ecx, 1
	mov	edx, 639
	mov	esi, 48
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	push	0
	.cfi_def_cfa_offset 32
	push	1
	.cfi_def_cfa_offset 40
	push	480
	.cfi_def_cfa_offset 48
	call	v4l_bound_align_image@PLT
	mov	eax, DWORD PTR V4L2_FIELD_NONE[rip]
	add	rsp, 32
	.cfi_def_cfa_offset 16
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR V4L2_COLORSPACE_SRGB[rip]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mt9v011_try_mbus_fmt, .-mt9v011_try_mbus_fmt
	.comm	V4L2_MBUS_FMT_SGRBG8_1X8,8,8
	.comm	V4L2_FIELD_NONE,4,4
	.comm	V4L2_COLORSPACE_SRGB,4,4
	.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_mt9v011.c_mt9v011_try_mbus_fmt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mt9v011_try_mbus_fmt, %function
mt9v011_try_mbus_fmt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	ldr	r2, [r1]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L8+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L2:
	push	{r4, r5, lr}
	mov	r4, r1
	mov	r5, #0
	mov	r3, #1
	mov	r0, #480
	mov	r1, #32
	sub	sp, sp, #28
	add	r2, r4, #12
	str	r3, [sp, #12]
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r1, #48
	ldr	r2, .L8+8
	str	r5, [sp, #16]
	add	r0, r4, #16
	bl	v4l_bound_align_image
	mov	r0, r5
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	.align	2
.L8:
	.word	V4L2_MBUS_FMT_SGRBG8_1X8
	.word	EINVAL
	.word	639
	.word	V4L2_FIELD_NONE
	.word	V4L2_COLORSPACE_SRGB
	.size	mt9v011_try_mbus_fmt, .-mt9v011_try_mbus_fmt
	.comm	V4L2_MBUS_FMT_SGRBG8_1X8,4,4
	.comm	V4L2_FIELD_NONE,4,4
	.comm	V4L2_COLORSPACE_SRGB,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
