	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_ccdc_param
_validate_ccdc_param:                   ## @validate_ccdc_param
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_CCDC_DATA_NO_SHIFT@GOTPCREL(%rip), %rcx
	leaq	L_.str(%rip), %rsi
	cmpq	(%rcx), %rax
	jl	LBB0_18
## %bb.1:
	movq	_CCDC_DATA_SHIFT_6BIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_18
## %bb.2:
	movq	8(%rdi), %rax
	movq	_CCDC_NO_MEDIAN_FILTER1@GOTPCREL(%rip), %rcx
	leaq	L_.str.1(%rip), %rsi
	cmpq	(%rcx), %rax
	jl	LBB0_18
## %bb.3:
	movq	_CCDC_MEDIAN_FILTER1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_18
## %bb.4:
	movq	16(%rdi), %rax
	movq	_CCDC_NO_MEDIAN_FILTER2@GOTPCREL(%rip), %rcx
	leaq	L_.str.2(%rip), %rsi
	cmpq	(%rcx), %rax
	jl	LBB0_18
## %bb.5:
	movq	_CCDC_MEDIAN_FILTER2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_18
## %bb.6:
	movq	24(%rdi), %rax
	leaq	L_.str.3(%rip), %rsi
	testq	%rax, %rax
	js	LBB0_18
## %bb.7:
	movq	_CCDC_MED_FILT_THRESH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_18
## %bb.8:
	movq	32(%rdi), %rax
	movq	_CCDC_DATA_16BITS@GOTPCREL(%rip), %rcx
	leaq	L_.str.4(%rip), %rsi
	cmpq	(%rcx), %rax
	jl	LBB0_18
## %bb.9:
	movq	_CCDC_DATA_8BITS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_18
## %bb.10:
	cmpq	$0, 72(%rdi)
	je	LBB0_13
## %bb.11:
	movq	64(%rdi), %rax
	movq	_CCDC_GAMMA_BITS_13_4@GOTPCREL(%rip), %rcx
	leaq	L_.str.5(%rip), %rsi
	cmpq	(%rcx), %rax
	jl	LBB0_18
## %bb.12:
	movq	_CCDC_GAMMA_BITS_09_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_18
LBB0_13:
	xorl	%eax, %eax
	cmpq	$0, 56(%rdi)
	je	LBB0_19
## %bb.14:
	movq	40(%rdi), %rcx
	movq	_CCDC_SAMPLE_1PIXELS@GOTPCREL(%rip), %rdx
	leaq	L_.str.6(%rip), %rsi
	cmpq	(%rdx), %rcx
	jl	LBB0_18
## %bb.15:
	movq	_CCDC_SAMPLE_16PIXELS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_18
## %bb.16:
	movq	48(%rdi), %rcx
	movq	_CCDC_SAMPLE_1LINES@GOTPCREL(%rip), %rdx
	leaq	L_.str.7(%rip), %rsi
	cmpq	(%rdx), %rcx
	jl	LBB0_18
## %bb.17:
	movq	_CCDC_SAMPLE_16LINES@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_19
LBB0_18:
	movq	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCDC_DATA_NO_SHIFT,8,3         ## @CCDC_DATA_NO_SHIFT
	.comm	_CCDC_DATA_SHIFT_6BIT,8,3       ## @CCDC_DATA_SHIFT_6BIT
	.comm	_dev,4,2                        ## @dev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid value of data shift\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CCDC_NO_MEDIAN_FILTER1,8,3     ## @CCDC_NO_MEDIAN_FILTER1
	.comm	_CCDC_MEDIAN_FILTER1,8,3        ## @CCDC_MEDIAN_FILTER1
L_.str.1:                               ## @.str.1
	.asciz	"Invalid value of median filter1\n"

	.comm	_CCDC_NO_MEDIAN_FILTER2,8,3     ## @CCDC_NO_MEDIAN_FILTER2
	.comm	_CCDC_MEDIAN_FILTER2,8,3        ## @CCDC_MEDIAN_FILTER2
L_.str.2:                               ## @.str.2
	.asciz	"Invalid value of median filter2\n"

	.comm	_CCDC_MED_FILT_THRESH,8,3       ## @CCDC_MED_FILT_THRESH
L_.str.3:                               ## @.str.3
	.asciz	"Invalid value of median filter thresold\n"

	.comm	_CCDC_DATA_16BITS,8,3           ## @CCDC_DATA_16BITS
	.comm	_CCDC_DATA_8BITS,8,3            ## @CCDC_DATA_8BITS
L_.str.4:                               ## @.str.4
	.asciz	"Invalid value of data size\n"

	.comm	_CCDC_GAMMA_BITS_13_4,8,3       ## @CCDC_GAMMA_BITS_13_4
	.comm	_CCDC_GAMMA_BITS_09_0,8,3       ## @CCDC_GAMMA_BITS_09_0
L_.str.5:                               ## @.str.5
	.asciz	"Invalid value of ALAW\n"

	.comm	_CCDC_SAMPLE_1PIXELS,8,3        ## @CCDC_SAMPLE_1PIXELS
	.comm	_CCDC_SAMPLE_16PIXELS,8,3       ## @CCDC_SAMPLE_16PIXELS
L_.str.6:                               ## @.str.6
	.asciz	"Invalid value of sample pixel\n"

	.comm	_CCDC_SAMPLE_1LINES,8,3         ## @CCDC_SAMPLE_1LINES
	.comm	_CCDC_SAMPLE_16LINES,8,3        ## @CCDC_SAMPLE_16LINES
L_.str.7:                               ## @.str.7
	.asciz	"Invalid value of sample lines\n"

	.no_dead_strip	_validate_ccdc_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_ccdc_param
_validate_ccdc_param:                   ; @validate_ccdc_param
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CCDC_DATA_NO_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CCDC_DATA_NO_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CCDC_DATA_SHIFT_6BIT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CCDC_DATA_SHIFT_6BIT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_19
LBB0_2:
	ldr	x8, [x0, #8]
Lloh8:
	adrp	x9, _CCDC_NO_MEDIAN_FILTER1@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CCDC_NO_MEDIAN_FILTER1@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _CCDC_MEDIAN_FILTER1@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CCDC_MEDIAN_FILTER1@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_4
; %bb.3:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_4:
	ldr	x8, [x0, #16]
Lloh16:
	adrp	x9, _CCDC_NO_MEDIAN_FILTER2@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CCDC_NO_MEDIAN_FILTER2@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
Lloh19:
	adrp	x10, _CCDC_MEDIAN_FILTER2@GOTPAGE
Lloh20:
	ldr	x10, [x10, _CCDC_MEDIAN_FILTER2@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_6
; %bb.5:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_6:
	ldr	x8, [x0, #24]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	tbnz	x8, #63, LBB0_19
; %bb.7:
Lloh26:
	adrp	x9, _CCDC_MED_FILT_THRESH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CCDC_MED_FILT_THRESH@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_19
; %bb.8:
	ldr	x8, [x0, #32]
Lloh29:
	adrp	x9, _CCDC_DATA_16BITS@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CCDC_DATA_16BITS@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	cmp	x8, x9
	b.lt	LBB0_19
; %bb.9:
Lloh34:
	adrp	x9, _CCDC_DATA_8BITS@GOTPAGE
Lloh35:
	ldr	x9, [x9, _CCDC_DATA_8BITS@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_19
; %bb.10:
	ldr	x8, [x0, #72]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x0, #64]
Lloh37:
	adrp	x9, _CCDC_GAMMA_BITS_13_4@GOTPAGE
Lloh38:
	ldr	x9, [x9, _CCDC_GAMMA_BITS_13_4@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	cmp	x8, x9
	b.lt	LBB0_19
; %bb.12:
Lloh42:
	adrp	x9, _CCDC_GAMMA_BITS_09_0@GOTPAGE
Lloh43:
	ldr	x9, [x9, _CCDC_GAMMA_BITS_09_0@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_19
LBB0_13:
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_18
; %bb.14:
	ldr	x8, [x0, #40]
Lloh45:
	adrp	x9, _CCDC_SAMPLE_1PIXELS@GOTPAGE
Lloh46:
	ldr	x9, [x9, _CCDC_SAMPLE_1PIXELS@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
Lloh48:
	adrp	x1, l_.str.6@PAGE
Lloh49:
	add	x1, x1, l_.str.6@PAGEOFF
	cmp	x8, x9
	b.lt	LBB0_19
; %bb.15:
Lloh50:
	adrp	x9, _CCDC_SAMPLE_16PIXELS@GOTPAGE
Lloh51:
	ldr	x9, [x9, _CCDC_SAMPLE_16PIXELS@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_19
; %bb.16:
	ldr	x8, [x0, #48]
Lloh53:
	adrp	x9, _CCDC_SAMPLE_1LINES@GOTPAGE
Lloh54:
	ldr	x9, [x9, _CCDC_SAMPLE_1LINES@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
Lloh56:
	adrp	x1, l_.str.7@PAGE
Lloh57:
	add	x1, x1, l_.str.7@PAGEOFF
	cmp	x8, x9
	b.lt	LBB0_19
; %bb.17:
Lloh58:
	adrp	x9, _CCDC_SAMPLE_16LINES@GOTPAGE
Lloh59:
	ldr	x9, [x9, _CCDC_SAMPLE_16LINES@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_19
LBB0_18:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh61:
	adrp	x8, _dev@GOTPAGE
Lloh62:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	bl	_dev_dbg
Lloh64:
	adrp	x8, _EINVAL@GOTPAGE
Lloh65:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_CCDC_DATA_NO_SHIFT,8,3         ; @CCDC_DATA_NO_SHIFT
	.comm	_CCDC_DATA_SHIFT_6BIT,8,3       ; @CCDC_DATA_SHIFT_6BIT
	.comm	_dev,4,2                        ; @dev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid value of data shift\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CCDC_NO_MEDIAN_FILTER1,8,3     ; @CCDC_NO_MEDIAN_FILTER1
	.comm	_CCDC_MEDIAN_FILTER1,8,3        ; @CCDC_MEDIAN_FILTER1
l_.str.1:                               ; @.str.1
	.asciz	"Invalid value of median filter1\n"

	.comm	_CCDC_NO_MEDIAN_FILTER2,8,3     ; @CCDC_NO_MEDIAN_FILTER2
	.comm	_CCDC_MEDIAN_FILTER2,8,3        ; @CCDC_MEDIAN_FILTER2
l_.str.2:                               ; @.str.2
	.asciz	"Invalid value of median filter2\n"

	.comm	_CCDC_MED_FILT_THRESH,8,3       ; @CCDC_MED_FILT_THRESH
l_.str.3:                               ; @.str.3
	.asciz	"Invalid value of median filter thresold\n"

	.comm	_CCDC_DATA_16BITS,8,3           ; @CCDC_DATA_16BITS
	.comm	_CCDC_DATA_8BITS,8,3            ; @CCDC_DATA_8BITS
l_.str.4:                               ; @.str.4
	.asciz	"Invalid value of data size\n"

	.comm	_CCDC_GAMMA_BITS_13_4,8,3       ; @CCDC_GAMMA_BITS_13_4
	.comm	_CCDC_GAMMA_BITS_09_0,8,3       ; @CCDC_GAMMA_BITS_09_0
l_.str.5:                               ; @.str.5
	.asciz	"Invalid value of ALAW\n"

	.comm	_CCDC_SAMPLE_1PIXELS,8,3        ; @CCDC_SAMPLE_1PIXELS
	.comm	_CCDC_SAMPLE_16PIXELS,8,3       ; @CCDC_SAMPLE_16PIXELS
l_.str.6:                               ; @.str.6
	.asciz	"Invalid value of sample pixel\n"

	.comm	_CCDC_SAMPLE_1LINES,8,3         ; @CCDC_SAMPLE_1LINES
	.comm	_CCDC_SAMPLE_16LINES,8,3        ; @CCDC_SAMPLE_16LINES
l_.str.7:                               ; @.str.7
	.asciz	"Invalid value of sample lines\n"

	.no_dead_strip	_validate_ccdc_param
.subsections_via_symbols
