	.file	"extr_dm355_ccdc.c_ccdc_set_pixel_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ccdc_set_pixel_format, @function
ccdc_set_pixel_format:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR VPFE_RAW_BAYER[rip]
	cmp	QWORD PTR ccdc_if_type[rip], rax
	je	.L9
	cmp	QWORD PTR V4L2_PIX_FMT_YUYV[rip], rdi
	je	.L10
	cmp	QWORD PTR V4L2_PIX_FMT_UYVY[rip], rdi
	jne	.L6
	mov	eax, DWORD PTR CCDC_PIXORDER_CBYCRY[rip]
	mov	DWORD PTR ccdc_hw_params_ycbcr[rip], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR CCDC_PIXORDER_YCBYCR[rip]
	mov	DWORD PTR ccdc_hw_params_ycbcr[rip], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR CCDC_PIXFMT_RAW[rip]
	cmp	QWORD PTR V4L2_PIX_FMT_SBGGR8[rip], rdi
	mov	DWORD PTR ccdc_hw_params_raw[rip], eax
	je	.L11
	xor	eax, eax
	cmp	QWORD PTR V4L2_PIX_FMT_SBGGR16[rip], rdi
	je	.L1
.L6:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR ccdc_hw_params_raw[rip+4], 1
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	ccdc_set_pixel_format, .-ccdc_set_pixel_format
	.comm	ccdc_if_type,8,8
	.comm	ccdc_hw_params_ycbcr,4,4
	.comm	ccdc_hw_params_raw,8,8
	.comm	VPFE_RAW_BAYER,8,8
	.comm	V4L2_PIX_FMT_YUYV,8,8
	.comm	V4L2_PIX_FMT_UYVY,8,8
	.comm	V4L2_PIX_FMT_SBGGR8,8,8
	.comm	V4L2_PIX_FMT_SBGGR16,8,8
	.comm	EINVAL,4,4
	.comm	CCDC_PIXORDER_YCBYCR,4,4
	.comm	CCDC_PIXORDER_CBYCRY,4,4
	.comm	CCDC_PIXFMT_RAW,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_dm355_ccdc.c_ccdc_set_pixel_format.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ccdc_set_pixel_format, %function
ccdc_set_pixel_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L10
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L6
	ldr	r2, .L12+16
	ldr	r3, .L12+20
	ldr	r2, [r2]
	mov	r0, #0
	str	r2, [r3]
	bx	lr
.L10:
	ldr	r2, .L12+24
	ldr	r3, .L12+20
	ldr	r2, [r2]
	mov	r0, #0
	str	r2, [r3]
	bx	lr
.L9:
	ldr	r2, .L12+28
	ldr	r3, .L12+32
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L12+36
	cmp	r1, r0
	str	r2, [r3]
	beq	.L11
	ldr	r3, .L12+40
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L7
.L6:
	ldr	r3, .L12+44
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L7:
	mov	r0, #0
	bx	lr
.L11:
	mov	r2, #1
	mov	r0, #0
	str	r2, [r3, #4]
	bx	lr
.L13:
	.align	2
.L12:
	.word	ccdc_if_type
	.word	VPFE_RAW_BAYER
	.word	V4L2_PIX_FMT_YUYV
	.word	V4L2_PIX_FMT_UYVY
	.word	CCDC_PIXORDER_CBYCRY
	.word	ccdc_hw_params_ycbcr
	.word	CCDC_PIXORDER_YCBYCR
	.word	V4L2_PIX_FMT_SBGGR8
	.word	CCDC_PIXFMT_RAW
	.word	ccdc_hw_params_raw
	.word	V4L2_PIX_FMT_SBGGR16
	.word	EINVAL
	.size	ccdc_set_pixel_format, .-ccdc_set_pixel_format
	.comm	ccdc_if_type,4,4
	.comm	ccdc_hw_params_ycbcr,4,4
	.comm	ccdc_hw_params_raw,8,4
	.comm	VPFE_RAW_BAYER,4,4
	.comm	V4L2_PIX_FMT_YUYV,4,4
	.comm	V4L2_PIX_FMT_UYVY,4,4
	.comm	V4L2_PIX_FMT_SBGGR8,4,4
	.comm	V4L2_PIX_FMT_SBGGR16,4,4
	.comm	EINVAL,4,4
	.comm	CCDC_PIXORDER_YCBYCR,4,4
	.comm	CCDC_PIXORDER_CBYCRY,4,4
	.comm	CCDC_PIXFMT_RAW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
