	.file	"extr_renesas-ceu.c_ceu_enum_framesizes.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ceu_enum_framesizes, @function
ceu_enum_framesizes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	video_drvdata@PLT
	mov	edx, DWORD PTR V4L2_SUBDEV_FORMAT_ACTIVE[rip]
	mov	edi, DWORD PTR 12[rbx]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rsp], 0
	mov	r12, QWORD PTR 8[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 8[rsp], edx
	mov	edx, DWORD PTR 16[rbx]
	mov	DWORD PTR 16[rsp], eax
	mov	DWORD PTR 12[rsp], edx
	call	get_ceu_fmt_from_fourcc@PLT
	test	rax, rax
	je	.L7
	mov	edx, DWORD PTR enum_frame_size[rip]
	mov	rdi, r12
	mov	r8, rsp
	xor	ecx, ecx
	mov	esi, DWORD PTR pad[rip]
	call	v4l2_subdev_call@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR V4L2_FRMSIZE_TYPE_DISCRETE[rip]
	mov	edi, DWORD PTR 4[rsp]
	mov	DWORD PTR 8[rbx], eax
	call	CEU_W_MAX@PLT
	mov	edi, DWORD PTR [rsp]
	mov	DWORD PTR 4[rbx], eax
	call	CEU_H_MAX@PLT
	mov	DWORD PTR [rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ceu_enum_framesizes, .-ceu_enum_framesizes
	.comm	pad,4,4
	.comm	enum_frame_size,4,4
	.comm	V4L2_SUBDEV_FORMAT_ACTIVE,4,4
	.comm	V4L2_FRMSIZE_TYPE_DISCRETE,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_renesas-ceu.c_ceu_enum_framesizes.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ceu_enum_framesizes, %function
ceu_enum_framesizes:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L10
	sub	sp, sp, #32
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	video_drvdata
	mov	r5, #0
	ldr	r2, .L10+4
	ldr	r3, [r0]
	ldr	r0, [r4, #16]
	ldr	r2, [r2]
	ldm	r3, {r1, r6}
	str	r0, [sp, #20]
	ldr	r0, [r4, #12]
	str	r1, [sp, #24]
	str	r2, [sp, #16]
	str	r5, [sp, #8]
	str	r5, [sp, #12]
	bl	get_ceu_fmt_from_fourcc
	cmp	r0, r5
	beq	.L7
	add	r3, sp, #8
	ldr	r2, .L10+8
	ldr	r1, .L10+12
	str	r3, [sp]
	mov	r0, r6
	mov	r3, r5
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	v4l2_subdev_call
	subs	r5, r0, #0
	beq	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L10+16
	ldr	r0, [sp, #12]
	ldr	r3, [r3]
	str	r3, [r4, #8]
	bl	CEU_W_MAX
	mov	r3, r0
	ldr	r0, [sp, #8]
	str	r3, [r4, #4]
	bl	CEU_H_MAX
	str	r0, [r4]
	b	.L1
.L7:
	ldr	r3, .L10+20
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	V4L2_SUBDEV_FORMAT_ACTIVE
	.word	enum_frame_size
	.word	pad
	.word	V4L2_FRMSIZE_TYPE_DISCRETE
	.word	EINVAL
	.size	ceu_enum_framesizes, .-ceu_enum_framesizes
	.comm	pad,4,4
	.comm	enum_frame_size,4,4
	.comm	V4L2_SUBDEV_FORMAT_ACTIVE,4,4
	.comm	V4L2_FRMSIZE_TYPE_DISCRETE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
