	.file	"extr_adv7604.c_adv76xx_fill_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adv76xx_fill_format, @function
adv76xx_fill_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	xor	esi, esi
	mov	rdi, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	memset@PLT
	mov	eax, DWORD PTR 8[rbp]
	mov	edx, DWORD PTR V4L2_FIELD_NONE[rip]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 8[rbx], edx
	mov	edx, DWORD PTR V4L2_COLORSPACE_SRGB[rip]
	mov	DWORD PTR [rbx], eax
	mov	DWORD PTR 4[rbx], edx
	mov	edx, DWORD PTR 4[rbp]
	test	DWORD PTR V4L2_DV_FL_IS_CE_VIDEO[rip], edx
	je	.L1
	cmp	eax, 577
	mov	eax, DWORD PTR V4L2_COLORSPACE_SMPTE170M[rip]
	cmovge	eax, DWORD PTR V4L2_COLORSPACE_REC709[rip]
	mov	DWORD PTR 4[rbx], eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	adv76xx_fill_format, .-adv76xx_fill_format
	.comm	V4L2_FIELD_NONE,4,4
	.comm	V4L2_DV_FL_IS_CE_VIDEO,4,4
	.comm	V4L2_COLORSPACE_SRGB,4,4
	.comm	V4L2_COLORSPACE_SMPTE170M,4,4
	.comm	V4L2_COLORSPACE_REC709,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_adv7604.c_adv76xx_fill_format.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adv76xx_fill_format, %function
adv76xx_fill_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r2, #16
	mov	r4, r0
	mov	r0, r1
	mov	r1, #0
	bl	memset
	mov	r3, r0
	ldr	r0, .L10
	ldr	r1, .L10+4
	ldr	r2, .L10+8
	ldr	lr, [r0]
	ldr	ip, [r4, #8]
	ldr	r0, [r1]
	ldr	r1, [r2]
	ldm	r4, {r2, r5}
	tst	r5, lr
	str	ip, [r3, #12]
	str	r2, [r3]
	str	r0, [r3, #8]
	str	r1, [r3, #4]
	popeq	{r4, r5, r6, pc}
	cmp	r2, #576
	ldrle	r2, .L10+12
	ldrgt	r2, .L10+16
	ldr	r2, [r2]
	str	r2, [r3, #4]
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	V4L2_DV_FL_IS_CE_VIDEO
	.word	V4L2_FIELD_NONE
	.word	V4L2_COLORSPACE_SRGB
	.word	V4L2_COLORSPACE_SMPTE170M
	.word	V4L2_COLORSPACE_REC709
	.size	adv76xx_fill_format, .-adv76xx_fill_format
	.comm	V4L2_FIELD_NONE,4,4
	.comm	V4L2_DV_FL_IS_CE_VIDEO,4,4
	.comm	V4L2_COLORSPACE_SRGB,4,4
	.comm	V4L2_COLORSPACE_SMPTE170M,4,4
	.comm	V4L2_COLORSPACE_REC709,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
