	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx25840_init
_cx25840_init:                          ## @cx25840_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_to_state
	movq	%rax, %rbx
	movl	$1, (%rax)
	movq	%rax, %rdi
	callq	_is_cx2584x
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_CX25840_VCONFIG_FMT_BT656@GOTPCREL(%rip), %rcx
	movq	_CX25840_VCONFIG_RES_8BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_VBIRAW_DISABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_ANCDATA_ENABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_TASKBIT_ONE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_ACTIVE_HORIZONTAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_VALID_NORMAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_HRESETW_NORMAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_CLKGATE_NONE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_DCMODE_DWORDS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_IDID0S_NORMAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CX25840_VCONFIG_VIPCLAMP_DISABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cx25840_vconfig_add
	jmp	LBB0_3
LBB0_2:
	movl	$1, %edi
	callq	_WARN_ON
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CX25840_VCONFIG_FMT_BT656,4,2  ## @CX25840_VCONFIG_FMT_BT656
	.comm	_CX25840_VCONFIG_RES_8BIT,4,2   ## @CX25840_VCONFIG_RES_8BIT
	.comm	_CX25840_VCONFIG_VBIRAW_DISABLED,4,2 ## @CX25840_VCONFIG_VBIRAW_DISABLED
	.comm	_CX25840_VCONFIG_ANCDATA_ENABLED,4,2 ## @CX25840_VCONFIG_ANCDATA_ENABLED
	.comm	_CX25840_VCONFIG_TASKBIT_ONE,4,2 ## @CX25840_VCONFIG_TASKBIT_ONE
	.comm	_CX25840_VCONFIG_ACTIVE_HORIZONTAL,4,2 ## @CX25840_VCONFIG_ACTIVE_HORIZONTAL
	.comm	_CX25840_VCONFIG_VALID_NORMAL,4,2 ## @CX25840_VCONFIG_VALID_NORMAL
	.comm	_CX25840_VCONFIG_HRESETW_NORMAL,4,2 ## @CX25840_VCONFIG_HRESETW_NORMAL
	.comm	_CX25840_VCONFIG_CLKGATE_NONE,4,2 ## @CX25840_VCONFIG_CLKGATE_NONE
	.comm	_CX25840_VCONFIG_DCMODE_DWORDS,4,2 ## @CX25840_VCONFIG_DCMODE_DWORDS
	.comm	_CX25840_VCONFIG_IDID0S_NORMAL,4,2 ## @CX25840_VCONFIG_IDID0S_NORMAL
	.comm	_CX25840_VCONFIG_VIPCLAMP_DISABLED,4,2 ## @CX25840_VCONFIG_VIPCLAMP_DISABLED
	.no_dead_strip	_cx25840_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx25840_init
_cx25840_init:                          ; @cx25840_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_to_state
	mov	x20, x0
	mov	w8, #1
	str	w8, [x0]
	bl	_is_cx2584x
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CX25840_VCONFIG_FMT_BT656@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX25840_VCONFIG_FMT_BT656@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CX25840_VCONFIG_RES_8BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CX25840_VCONFIG_RES_8BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _CX25840_VCONFIG_VBIRAW_DISABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CX25840_VCONFIG_VBIRAW_DISABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _CX25840_VCONFIG_ANCDATA_ENABLED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CX25840_VCONFIG_ANCDATA_ENABLED@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _CX25840_VCONFIG_TASKBIT_ONE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CX25840_VCONFIG_TASKBIT_ONE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _CX25840_VCONFIG_ACTIVE_HORIZONTAL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CX25840_VCONFIG_ACTIVE_HORIZONTAL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _CX25840_VCONFIG_VALID_NORMAL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _CX25840_VCONFIG_VALID_NORMAL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _CX25840_VCONFIG_HRESETW_NORMAL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CX25840_VCONFIG_HRESETW_NORMAL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _CX25840_VCONFIG_CLKGATE_NONE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CX25840_VCONFIG_CLKGATE_NONE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _CX25840_VCONFIG_DCMODE_DWORDS@GOTPAGE
Lloh28:
	ldr	x10, [x10, _CX25840_VCONFIG_DCMODE_DWORDS@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh29:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _CX25840_VCONFIG_IDID0S_NORMAL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CX25840_VCONFIG_IDID0S_NORMAL@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _CX25840_VCONFIG_VIPCLAMP_DISABLED@GOTPAGE
Lloh34:
	ldr	x9, [x9, _CX25840_VCONFIG_VIPCLAMP_DISABLED@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_cx25840_vconfig_add
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	bl	_WARN_ON
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CX25840_VCONFIG_FMT_BT656,4,2  ; @CX25840_VCONFIG_FMT_BT656
	.comm	_CX25840_VCONFIG_RES_8BIT,4,2   ; @CX25840_VCONFIG_RES_8BIT
	.comm	_CX25840_VCONFIG_VBIRAW_DISABLED,4,2 ; @CX25840_VCONFIG_VBIRAW_DISABLED
	.comm	_CX25840_VCONFIG_ANCDATA_ENABLED,4,2 ; @CX25840_VCONFIG_ANCDATA_ENABLED
	.comm	_CX25840_VCONFIG_TASKBIT_ONE,4,2 ; @CX25840_VCONFIG_TASKBIT_ONE
	.comm	_CX25840_VCONFIG_ACTIVE_HORIZONTAL,4,2 ; @CX25840_VCONFIG_ACTIVE_HORIZONTAL
	.comm	_CX25840_VCONFIG_VALID_NORMAL,4,2 ; @CX25840_VCONFIG_VALID_NORMAL
	.comm	_CX25840_VCONFIG_HRESETW_NORMAL,4,2 ; @CX25840_VCONFIG_HRESETW_NORMAL
	.comm	_CX25840_VCONFIG_CLKGATE_NONE,4,2 ; @CX25840_VCONFIG_CLKGATE_NONE
	.comm	_CX25840_VCONFIG_DCMODE_DWORDS,4,2 ; @CX25840_VCONFIG_DCMODE_DWORDS
	.comm	_CX25840_VCONFIG_IDID0S_NORMAL,4,2 ; @CX25840_VCONFIG_IDID0S_NORMAL
	.comm	_CX25840_VCONFIG_VIPCLAMP_DISABLED,4,2 ; @CX25840_VCONFIG_VIPCLAMP_DISABLED
	.no_dead_strip	_cx25840_init
.subsections_via_symbols
