	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccdc_set_pixel_format
_ccdc_set_pixel_format:                 ## @ccdc_set_pixel_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ccdc_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_VPFE_RAW_BAYER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movq	_CCDC_PIXFMT_RAW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_V4L2_PIX_FMT_SBGGR8@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	jne	LBB0_6
## %bb.2:
	movl	$1, 16(%rax)
	jmp	LBB0_3
LBB0_4:
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	jne	LBB0_8
## %bb.5:
	movq	_CCDC_PIXORDER_YCBYCR@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_6:
	movq	_V4L2_PIX_FMT_SBGGR16@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	%rdi, (%rcx)
	jne	LBB0_11
## %bb.7:
	popq	%rbp
	retq
LBB0_8:
	movq	_V4L2_PIX_FMT_UYVY@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	jne	LBB0_11
## %bb.9:
	movq	_CCDC_PIXORDER_CBYCRY@GOTPCREL(%rip), %rcx
LBB0_10:
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ccdc_cfg,24,3                  ## @ccdc_cfg
	.comm	_VPFE_RAW_BAYER,8,3             ## @VPFE_RAW_BAYER
	.comm	_CCDC_PIXFMT_RAW,4,2            ## @CCDC_PIXFMT_RAW
	.comm	_V4L2_PIX_FMT_SBGGR8,8,3        ## @V4L2_PIX_FMT_SBGGR8
	.comm	_V4L2_PIX_FMT_SBGGR16,8,3       ## @V4L2_PIX_FMT_SBGGR16
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_PIX_FMT_YUYV,8,3          ## @V4L2_PIX_FMT_YUYV
	.comm	_CCDC_PIXORDER_YCBYCR,4,2       ## @CCDC_PIXORDER_YCBYCR
	.comm	_V4L2_PIX_FMT_UYVY,8,3          ## @V4L2_PIX_FMT_UYVY
	.comm	_CCDC_PIXORDER_CBYCRY,4,2       ## @CCDC_PIXORDER_CBYCRY
	.no_dead_strip	_ccdc_set_pixel_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccdc_set_pixel_format
_ccdc_set_pixel_format:                 ; @ccdc_set_pixel_format
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ccdc_cfg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ccdc_cfg@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _VPFE_RAW_BAYER@GOTPAGE
Lloh3:
	ldr	x10, [x10, _VPFE_RAW_BAYER@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, _CCDC_PIXFMT_RAW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CCDC_PIXFMT_RAW@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x8, #12]
Lloh8:
	adrp	x9, _V4L2_PIX_FMT_SBGGR8@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_PIX_FMT_SBGGR8@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x0
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #0
	mov	w9, #1
	str	w9, [x8, #16]
	ret
LBB0_3:
Lloh11:
	adrp	x9, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x0
	b.ne	LBB0_7
; %bb.4:
	mov	w0, #0
Lloh14:
	adrp	x9, _CCDC_PIXORDER_YCBYCR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CCDC_PIXORDER_YCBYCR@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh16:
	adrp	x8, _V4L2_PIX_FMT_SBGGR16@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_PIX_FMT_SBGGR16@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_10
; %bb.6:
	mov	w0, #0
	ret
LBB0_7:
Lloh19:
	adrp	x9, _V4L2_PIX_FMT_UYVY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _V4L2_PIX_FMT_UYVY@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x0
	b.ne	LBB0_10
; %bb.8:
	mov	w0, #0
Lloh22:
	adrp	x9, _CCDC_PIXORDER_CBYCRY@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CCDC_PIXORDER_CBYCRY@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	str	w9, [x8, #8]
	ret
LBB0_10:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ccdc_cfg,24,3                  ; @ccdc_cfg
	.comm	_VPFE_RAW_BAYER,8,3             ; @VPFE_RAW_BAYER
	.comm	_CCDC_PIXFMT_RAW,4,2            ; @CCDC_PIXFMT_RAW
	.comm	_V4L2_PIX_FMT_SBGGR8,8,3        ; @V4L2_PIX_FMT_SBGGR8
	.comm	_V4L2_PIX_FMT_SBGGR16,8,3       ; @V4L2_PIX_FMT_SBGGR16
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_PIX_FMT_YUYV,8,3          ; @V4L2_PIX_FMT_YUYV
	.comm	_CCDC_PIXORDER_YCBYCR,4,2       ; @CCDC_PIXORDER_YCBYCR
	.comm	_V4L2_PIX_FMT_UYVY,8,3          ; @V4L2_PIX_FMT_UYVY
	.comm	_CCDC_PIXORDER_CBYCRY,4,2       ; @CCDC_PIXORDER_CBYCRY
	.no_dead_strip	_ccdc_set_pixel_format
.subsections_via_symbols
