	.file	"extr_am437x-vpfe.c_vpfe_config_ccdc_image_format.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"vpfe_config_ccdc_image_format\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"pixelformat: %s\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"couldn't set pix format in ccdc\n"
	.text
	.p2align 4
	.type	vpfe_config_ccdc_image_format, @function
vpfe_config_ccdc_image_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, rdi
	lea	rdx, .LC0[rip]
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, 2
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12d, DWORD PTR CCDC_FRMFMT_INTERLACED[rip]
	call	vpfe_dbg@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	print_fourcc@PLT
	mov	rsi, rbp
	mov	edi, 1
	lea	rdx, .LC1[rip]
	mov	ecx, eax
	xor	eax, eax
	call	vpfe_dbg@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, rbp
	call	vpfe_ccdc_set_pixel_format@PLT
	test	rax, rax
	js	.L13
	mov	edx, DWORD PTR 12[rbp]
	lea	rsi, 16[rbp]
	mov	rdi, rbp
	call	vpfe_ccdc_set_image_window@PLT
	mov	eax, DWORD PTR 4[rbp]
	cmp	eax, 129
	je	.L4
	cmp	eax, 130
	je	.L5
	cmp	eax, 128
	je	.L14
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	vpfe_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR CCDC_BUFTYPE_FLD_SEPARATED[rip]
	mov	rdi, rbp
	call	vpfe_ccdc_set_buftype@PLT
.L8:
	test	eax, eax
	jne	.L1
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	vpfe_ccdc_set_frame_format@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR CCDC_BUFTYPE_FLD_INTERLEAVED[rip]
	mov	rdi, rbp
	call	vpfe_ccdc_set_buftype@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12d, DWORD PTR CCDC_FRMFMT_PROGRESSIVE[rip]
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	vpfe_config_ccdc_image_format, .-vpfe_config_ccdc_image_format
	.comm	EINVAL,4,4
	.comm	CCDC_FRMFMT_PROGRESSIVE,4,4
	.comm	CCDC_FRMFMT_INTERLACED,4,4
	.comm	CCDC_BUFTYPE_FLD_SEPARATED,4,4
	.comm	CCDC_BUFTYPE_FLD_INTERLEAVED,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_am437x-vpfe.c_vpfe_config_ccdc_image_format.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vpfe_config_ccdc_image_format\012\000"
	.align	2
.LC1:
	.ascii	"pixelformat: %s\012\000"
	.align	2
.LC2:
	.ascii	"couldn't set pix format in ccdc\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vpfe_config_ccdc_image_format, %function
vpfe_config_ccdc_image_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L15
	mov	r1, r0
	ldr	r2, .L15+4
	mov	r0, #2
	ldr	r5, [r3]
	bl	vpfe_dbg
	ldr	r0, [r4, #8]
	bl	print_fourcc
	mov	r1, r4
	mov	r3, r0
	ldr	r2, .L15+8
	mov	r0, #1
	bl	vpfe_dbg
	mov	r0, r4
	ldr	r1, [r4, #8]
	bl	vpfe_ccdc_set_pixel_format
	cmp	r0, #0
	blt	.L13
	mov	r0, r4
	ldr	r2, [r4, #12]
	add	r1, r4, #16
	bl	vpfe_ccdc_set_image_window
	ldr	r3, [r4, #4]
	cmp	r3, #129
	beq	.L4
	cmp	r3, #130
	beq	.L5
	cmp	r3, #128
	beq	.L14
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r4
	ldr	r1, .L15+16
	bl	vpfe_err
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L15+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	vpfe_ccdc_set_buftype
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
.L9:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	vpfe_ccdc_set_frame_format
.L5:
	ldr	r3, .L15+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	vpfe_ccdc_set_buftype
	cmp	r0, #0
	beq	.L9
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L15+28
	mov	r0, r4
	ldr	r5, [r3]
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	vpfe_ccdc_set_frame_format
.L16:
	.align	2
.L15:
	.word	CCDC_FRMFMT_INTERLACED
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.word	.LC2
	.word	CCDC_BUFTYPE_FLD_SEPARATED
	.word	CCDC_BUFTYPE_FLD_INTERLEAVED
	.word	CCDC_FRMFMT_PROGRESSIVE
	.size	vpfe_config_ccdc_image_format, .-vpfe_config_ccdc_image_format
	.comm	EINVAL,4,4
	.comm	CCDC_FRMFMT_PROGRESSIVE,4,4
	.comm	CCDC_FRMFMT_INTERLACED,4,4
	.comm	CCDC_BUFTYPE_FLD_SEPARATED,4,4
	.comm	CCDC_BUFTYPE_FLD_INTERLEAVED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
