	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpfe_config_ccdc_image_format
_vpfe_config_ccdc_image_format:         ## @vpfe_config_ccdc_image_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_CCDC_FRMFMT_INTERLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ccdc_dev@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	4(%rdi), %edi
	callq	*(%rax)
	testq	%rax, %rax
	js	LBB0_1
## %bb.3:
	movq	(%r15), %rax
	leaq	8(%rbx), %rdi
	callq	*24(%rax)
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_2
## %bb.7:
	movq	_CCDC_FRMFMT_PROGRESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_8
LBB0_1:
	addq	$12, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_err
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_9:
	movq	_CCDC_BUFTYPE_FLD_SEPARATED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_CCDC_BUFTYPE_FLD_INTERLEAVED@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%r15), %rcx
	movl	(%rax), %edi
	callq	*8(%rcx)
	testl	%eax, %eax
	je	LBB0_8
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r15), %rax
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*16(%rax)                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ## @CCDC_FRMFMT_INTERLACED
	.comm	_ccdc_dev,8,3                   ## @ccdc_dev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't set pix format in ccdc\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CCDC_BUFTYPE_FLD_INTERLEAVED,4,2 ## @CCDC_BUFTYPE_FLD_INTERLEAVED
	.comm	_CCDC_FRMFMT_PROGRESSIVE,4,2    ## @CCDC_FRMFMT_PROGRESSIVE
	.comm	_CCDC_BUFTYPE_FLD_SEPARATED,4,2 ## @CCDC_BUFTYPE_FLD_SEPARATED
	.no_dead_strip	_vpfe_config_ccdc_image_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpfe_config_ccdc_image_format
_vpfe_config_ccdc_image_format:         ; @vpfe_config_ccdc_image_format
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
Lloh0:
	adrp	x8, _CCDC_FRMFMT_INTERLACED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCDC_FRMFMT_INTERLACED@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x21, _ccdc_dev@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ccdc_dev@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w0, [x0, #4]
	blr	x8
	tbnz	x0, #63, LBB0_5
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8, #24]
	add	x0, x20, #8
	blr	x8
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _CCDC_FRMFMT_PROGRESSIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CCDC_FRMFMT_PROGRESSIVE@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_5:
	add	x0, x20, #12
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_v4l2_err
LBB0_6:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_7:
Lloh13:
	adrp	x8, _CCDC_BUFTYPE_FLD_SEPARATED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CCDC_BUFTYPE_FLD_SEPARATED@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _CCDC_BUFTYPE_FLD_INTERLEAVED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CCDC_BUFTYPE_FLD_INTERLEAVED@GOTPAGEOFF]
LBB0_9:
	ldr	x9, [x21]
	ldr	x9, [x9, #8]
	ldr	w0, [x8]
	blr	x9
	cbz	w0, LBB0_11
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x21]
	ldr	x1, [x8, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ; @CCDC_FRMFMT_INTERLACED
	.comm	_ccdc_dev,8,3                   ; @ccdc_dev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't set pix format in ccdc\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CCDC_BUFTYPE_FLD_INTERLEAVED,4,2 ; @CCDC_BUFTYPE_FLD_INTERLEAVED
	.comm	_CCDC_FRMFMT_PROGRESSIVE,4,2    ; @CCDC_FRMFMT_PROGRESSIVE
	.comm	_CCDC_BUFTYPE_FLD_SEPARATED,4,2 ; @CCDC_BUFTYPE_FLD_SEPARATED
	.no_dead_strip	_vpfe_config_ccdc_image_format
.subsections_via_symbols
