	.file	"extr_xilinx-vip.c_xvip_enum_frame_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xvip_enum_frame_size
	.type	xvip_enum_frame_size, @function
xvip_enum_frame_size:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR V4L2_SUBDEV_FORMAT_ACTIVE[rip]
	cmp	QWORD PTR [rdx], rax
	je	.L11
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdx
	mov	rdx, QWORD PTR 8[rdx]
	call	v4l2_subdev_get_try_format@PLT
	cmp	QWORD PTR 40[rbx], 0
	jne	.L4
	mov	rcx, QWORD PTR [rax]
	cmp	QWORD PTR 16[rbx], rcx
	jne	.L4
	mov	rcx, QWORD PTR XVIP_PAD_SINK[rip]
	cmp	QWORD PTR 8[rbx], rcx
	je	.L12
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR 36[rbx], edx
	mov	DWORD PTR 28[rbx], eax
	mov	DWORD PTR 24[rbx], eax
	xor	eax, eax
	mov	DWORD PTR 32[rbx], edx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 3
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, DWORD PTR XVIP_MIN_WIDTH[rip]
	mov	DWORD PTR 36[rbx], eax
	mov	eax, DWORD PTR XVIP_MAX_WIDTH[rip]
	mov	DWORD PTR 32[rbx], eax
	mov	eax, DWORD PTR XVIP_MIN_HEIGHT[rip]
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR XVIP_MAX_HEIGHT[rip]
	mov	DWORD PTR 24[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xvip_enum_frame_size, .-xvip_enum_frame_size
	.comm	XVIP_PAD_SINK,8,8
	.comm	XVIP_MIN_WIDTH,4,4
	.comm	XVIP_MIN_HEIGHT,4,4
	.comm	XVIP_MAX_WIDTH,4,4
	.comm	XVIP_MAX_HEIGHT,4,4
	.comm	V4L2_SUBDEV_FORMAT_ACTIVE,8,8
	.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_xilinx-vip.c_xvip_enum_frame_size.c"
	.text
	.align	2
	.global	xvip_enum_frame_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	xvip_enum_frame_size, %function
xvip_enum_frame_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, lr}
	ldr	r3, [r3]
	mov	r4, r2
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L4
	ldr	r2, [r4, #4]
	bl	v4l2_subdev_get_try_format
	mov	r3, r0
	ldr	r0, [r4, #28]
	cmp	r0, #0
	bne	.L4
	ldr	r1, [r4, #8]
	ldr	r2, [r3]
	cmp	r1, r2
	bne	.L4
	ldr	r2, .L10+4
	ldr	r1, [r4, #4]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L9
	ldr	r2, [r3, #8]
	ldr	r3, [r3, #4]
	str	r2, [r4, #24]
	str	r2, [r4, #20]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	pop	{r4, pc}
.L4:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L9:
	ldr	ip, .L10+12
	ldr	r1, .L10+16
	ldr	r2, .L10+20
	ldr	r3, .L10+24
	ldr	ip, [ip]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	ip, [r4, #24]
	str	r1, [r4, #20]
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	pop	{r4, pc}
.L11:
	.align	2
.L10:
	.word	V4L2_SUBDEV_FORMAT_ACTIVE
	.word	XVIP_PAD_SINK
	.word	EINVAL
	.word	XVIP_MIN_WIDTH
	.word	XVIP_MAX_WIDTH
	.word	XVIP_MIN_HEIGHT
	.word	XVIP_MAX_HEIGHT
	.size	xvip_enum_frame_size, .-xvip_enum_frame_size
	.comm	XVIP_PAD_SINK,4,4
	.comm	XVIP_MIN_WIDTH,4,4
	.comm	XVIP_MIN_HEIGHT,4,4
	.comm	XVIP_MAX_WIDTH,4,4
	.comm	XVIP_MAX_HEIGHT,4,4
	.comm	V4L2_SUBDEV_FORMAT_ACTIVE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
