	.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
	xorl	%eax, %eax
	cmpq	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_CCDC_GAMMA_BITS_09_0@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_4
## %bb.2:
	movq	_CCDC_GAMMA_BITS_15_6@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_4
## %bb.3:
	cmpq	(%rdi), %rcx
	jge	LBB0_5
LBB0_4:
	movq	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movl	$-1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCDC_GAMMA_BITS_09_0,8,3       ## @CCDC_GAMMA_BITS_09_0
	.comm	_CCDC_GAMMA_BITS_15_6,8,3       ## @CCDC_GAMMA_BITS_15_6
	.comm	_dev,4,2                        ## @dev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nInvalid data line select"

	.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, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _CCDC_GAMMA_BITS_09_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CCDC_GAMMA_BITS_09_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CCDC_GAMMA_BITS_15_6@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CCDC_GAMMA_BITS_15_6@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #8, le
	b.lt	LBB0_3
; %bb.2:
	ldr	x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _dev@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CCDC_GAMMA_BITS_09_0,8,3       ; @CCDC_GAMMA_BITS_09_0
	.comm	_CCDC_GAMMA_BITS_15_6,8,3       ; @CCDC_GAMMA_BITS_15_6
	.comm	_dev,4,2                        ; @dev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nInvalid data line select"

	.no_dead_strip	_validate_ccdc_param
.subsections_via_symbols
