	.file	"extr_vimc-debayer.c_vimc_deb_get_fmt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vimc_deb_get_fmt, @function
vimc_deb_get_fmt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	v4l2_get_subdevdata@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR V4L2_SUBDEV_FORMAT_TRY[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L10
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 8[rbx], eax
.L3:
	mov	edi, DWORD PTR 12[rbx]
	call	IS_SRC@PLT
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 8[rbx], eax
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, r12
	call	v4l2_subdev_get_try_format@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 8[rbx], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vimc_deb_get_fmt, .-vimc_deb_get_fmt
	.comm	V4L2_SUBDEV_FORMAT_TRY,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_vimc-debayer.c_vimc_deb_get_fmt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vimc_deb_get_fmt, %function
vimc_deb_get_fmt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r7, r1
	mov	r6, r0
	bl	v4l2_get_subdevdata
	ldr	r3, .L11
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r5, r0
	cmp	r2, r3
	beq	.L10
	ldr	r3, [r0, #4]
	str	r3, [r4, #4]
.L3:
	ldr	r0, [r4, #8]
	bl	IS_SRC
	cmp	r0, #0
	ldrne	r3, [r5]
	mov	r0, #0
	strne	r3, [r4, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r1, r7
	mov	r0, r6
	mov	r2, #0
	bl	v4l2_subdev_get_try_format
	ldr	r3, [r0]
	str	r3, [r4, #4]
	b	.L3
.L12:
	.align	2
.L11:
	.word	V4L2_SUBDEV_FORMAT_TRY
	.size	vimc_deb_get_fmt, .-vimc_deb_get_fmt
	.comm	V4L2_SUBDEV_FORMAT_TRY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
