	.file	"extr_dm355_ccdc.c_validate_ccdc_param.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid value of data shift\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Invalid value of median filter1\n"
	.align 8
.LC2:
	.string	"Invalid value of median filter2\n"
	.align 8
.LC3:
	.string	"Invalid value of median filter thresold\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Invalid value of data size\n"
.LC5:
	.string	"Invalid value of ALAW\n"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"Invalid value of sample pixel\n"
	.align 8
.LC7:
	.string	"Invalid value of sample lines\n"
	.text
	.p2align 4
	.type	validate_ccdc_param, @function
validate_ccdc_param:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR [rdi]
	cmp	rax, QWORD PTR CCDC_DATA_NO_SHIFT[rip]
	jl	.L2
	cmp	rax, QWORD PTR CCDC_DATA_SHIFT_6BIT[rip]
	jg	.L2
	mov	rax, QWORD PTR 8[rdi]
	cmp	rax, QWORD PTR CCDC_NO_MEDIAN_FILTER1[rip]
	jl	.L5
	cmp	rax, QWORD PTR CCDC_MEDIAN_FILTER1[rip]
	jg	.L5
	mov	rax, QWORD PTR 16[rdi]
	cmp	rax, QWORD PTR CCDC_NO_MEDIAN_FILTER2[rip]
	jl	.L7
	cmp	rax, QWORD PTR CCDC_MEDIAN_FILTER2[rip]
	jg	.L7
	mov	rax, QWORD PTR 24[rdi]
	test	rax, rax
	js	.L9
	cmp	rax, QWORD PTR CCDC_MED_FILT_THRESH[rip]
	jg	.L9
	mov	rax, QWORD PTR 32[rdi]
	cmp	rax, QWORD PTR CCDC_DATA_16BITS[rip]
	jl	.L11
	cmp	rax, QWORD PTR CCDC_DATA_8BITS[rip]
	jg	.L11
	cmp	QWORD PTR 72[rdi], 0
	je	.L13
	mov	rax, QWORD PTR 64[rdi]
	cmp	rax, QWORD PTR CCDC_GAMMA_BITS_13_4[rip]
	jl	.L14
	cmp	rax, QWORD PTR CCDC_GAMMA_BITS_09_0[rip]
	jg	.L14
.L13:
	xor	eax, eax
	cmp	QWORD PTR 56[rdi], 0
	je	.L1
	mov	rdx, QWORD PTR 40[rdi]
	cmp	rdx, QWORD PTR CCDC_SAMPLE_1PIXELS[rip]
	jl	.L15
	cmp	rdx, QWORD PTR CCDC_SAMPLE_16PIXELS[rip]
	jg	.L15
	mov	rdx, QWORD PTR 48[rdi]
	cmp	rdx, QWORD PTR CCDC_SAMPLE_1LINES[rip]
	jl	.L17
	cmp	rdx, QWORD PTR CCDC_SAMPLE_16LINES[rip]
	jle	.L1
.L17:
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC7[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC1[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC2[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC3[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC4[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC5[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L15:
	mov	edi, DWORD PTR dev[rip]
	lea	rsi, .LC6[rip]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	validate_ccdc_param, .-validate_ccdc_param
	.comm	dev,4,4
	.comm	EINVAL,4,4
	.comm	CCDC_SAMPLE_1PIXELS,8,8
	.comm	CCDC_SAMPLE_1LINES,8,8
	.comm	CCDC_SAMPLE_16PIXELS,8,8
	.comm	CCDC_SAMPLE_16LINES,8,8
	.comm	CCDC_NO_MEDIAN_FILTER2,8,8
	.comm	CCDC_NO_MEDIAN_FILTER1,8,8
	.comm	CCDC_MED_FILT_THRESH,8,8
	.comm	CCDC_MEDIAN_FILTER2,8,8
	.comm	CCDC_MEDIAN_FILTER1,8,8
	.comm	CCDC_GAMMA_BITS_13_4,8,8
	.comm	CCDC_GAMMA_BITS_09_0,8,8
	.comm	CCDC_DATA_SHIFT_6BIT,8,8
	.comm	CCDC_DATA_NO_SHIFT,8,8
	.comm	CCDC_DATA_8BITS,8,8
	.comm	CCDC_DATA_16BITS,8,8
	.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_validate_ccdc_param.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid value of data shift\012\000"
	.align	2
.LC1:
	.ascii	"Invalid value of median filter1\012\000"
	.align	2
.LC2:
	.ascii	"Invalid value of median filter2\012\000"
	.align	2
.LC3:
	.ascii	"Invalid value of median filter thresold\012\000"
	.align	2
.LC4:
	.ascii	"Invalid value of data size\012\000"
	.align	2
.LC5:
	.ascii	"Invalid value of ALAW\012\000"
	.align	2
.LC6:
	.ascii	"Invalid value of sample pixel\012\000"
	.align	2
.LC7:
	.ascii	"Invalid value of sample lines\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_ccdc_param, %function
validate_ccdc_param:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, .L28
	ldr	r2, [r0]
	ldr	r1, [r1]
	push	{r4, lr}
	cmp	r2, r1
	blt	.L2
	ldr	r1, .L28+4
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L2
	ldr	r1, .L28+8
	ldr	r2, [r0, #4]
	ldr	r1, [r1]
	mov	r3, r0
	cmp	r2, r1
	blt	.L5
	ldr	r1, .L28+12
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L5
	ldr	r1, .L28+16
	ldr	r2, [r0, #8]
	ldr	r1, [r1]
	cmp	r2, r1
	blt	.L7
	ldr	r1, .L28+20
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L7
	ldr	r2, [r0, #12]
	cmp	r2, #0
	blt	.L9
	ldr	r1, .L28+24
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L9
	ldr	r1, .L28+28
	ldr	r2, [r0, #16]
	ldr	r1, [r1]
	cmp	r2, r1
	blt	.L11
	ldr	r1, .L28+32
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L11
	ldr	r2, [r0, #36]
	cmp	r2, #0
	beq	.L13
	ldr	r1, .L28+36
	ldr	r2, [r0, #32]
	ldr	r1, [r1]
	cmp	r2, r1
	blt	.L14
	ldr	r1, .L28+40
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L14
.L13:
	ldr	r0, [r3, #28]
	cmp	r0, #0
	popeq	{r4, pc}
	ldr	r1, .L28+44
	ldr	r2, [r3, #20]
	ldr	r1, [r1]
	cmp	r2, r1
	blt	.L15
	ldr	r1, .L28+48
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L15
	ldr	r2, .L28+52
	ldr	r3, [r3, #24]
	ldr	r2, [r2]
	cmp	r3, r2
	blt	.L17
	ldr	r2, .L28+56
	ldr	r2, [r2]
	cmp	r3, r2
	bgt	.L17
	mov	r0, #0
	pop	{r4, pc}
.L5:
	ldr	r3, .L28+60
	ldr	r1, .L28+64
.L26:
	ldr	r0, [r3]
	bl	dev_dbg
	ldr	r3, .L28+68
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L2:
	ldr	r3, .L28+60
	ldr	r1, .L28+72
	b	.L26
.L7:
	ldr	r3, .L28+60
	ldr	r1, .L28+76
	b	.L26
.L9:
	ldr	r3, .L28+60
	ldr	r1, .L28+80
	b	.L26
.L11:
	ldr	r3, .L28+60
	ldr	r1, .L28+84
	b	.L26
.L14:
	ldr	r3, .L28+60
	ldr	r1, .L28+88
	b	.L26
.L15:
	ldr	r3, .L28+60
	ldr	r1, .L28+92
	b	.L26
.L17:
	ldr	r3, .L28+60
	ldr	r1, .L28+96
	b	.L26
.L29:
	.align	2
.L28:
	.word	CCDC_DATA_NO_SHIFT
	.word	CCDC_DATA_SHIFT_6BIT
	.word	CCDC_NO_MEDIAN_FILTER1
	.word	CCDC_MEDIAN_FILTER1
	.word	CCDC_NO_MEDIAN_FILTER2
	.word	CCDC_MEDIAN_FILTER2
	.word	CCDC_MED_FILT_THRESH
	.word	CCDC_DATA_16BITS
	.word	CCDC_DATA_8BITS
	.word	CCDC_GAMMA_BITS_13_4
	.word	CCDC_GAMMA_BITS_09_0
	.word	CCDC_SAMPLE_1PIXELS
	.word	CCDC_SAMPLE_16PIXELS
	.word	CCDC_SAMPLE_1LINES
	.word	CCDC_SAMPLE_16LINES
	.word	dev
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	validate_ccdc_param, .-validate_ccdc_param
	.comm	dev,4,4
	.comm	EINVAL,4,4
	.comm	CCDC_SAMPLE_1PIXELS,4,4
	.comm	CCDC_SAMPLE_1LINES,4,4
	.comm	CCDC_SAMPLE_16PIXELS,4,4
	.comm	CCDC_SAMPLE_16LINES,4,4
	.comm	CCDC_NO_MEDIAN_FILTER2,4,4
	.comm	CCDC_NO_MEDIAN_FILTER1,4,4
	.comm	CCDC_MED_FILT_THRESH,4,4
	.comm	CCDC_MEDIAN_FILTER2,4,4
	.comm	CCDC_MEDIAN_FILTER1,4,4
	.comm	CCDC_GAMMA_BITS_13_4,4,4
	.comm	CCDC_GAMMA_BITS_09_0,4,4
	.comm	CCDC_DATA_SHIFT_6BIT,4,4
	.comm	CCDC_DATA_NO_SHIFT,4,4
	.comm	CCDC_DATA_8BITS,4,4
	.comm	CCDC_DATA_16BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
