	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx25840_reset
_cx25840_reset:                         ## @cx25840_reset
	.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
	callq	_to_state
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_is_cx2583x
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_cx25836_initialize
	jmp	LBB0_7
LBB0_2:
	movq	%r15, %rdi
	callq	_is_cx2388x
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_cx23885_initialize
	jmp	LBB0_7
LBB0_4:
	movq	%r15, %rdi
	callq	_is_cx231xx
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_cx231xx_initialize
	jmp	LBB0_7
LBB0_6:
	callq	_cx25840_initialize
LBB0_7:
	movl	$1, (%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cx25840_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx25840_reset
_cx25840_reset:                         ; @cx25840_reset
	.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	x20, x0
	bl	_to_state
	mov	x19, x0
	mov	x0, x20
	bl	_v4l2_get_subdevdata
	mov	x20, x0
	mov	x0, x19
	bl	_is_cx2583x
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_cx25836_initialize
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_is_cx2388x
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_cx23885_initialize
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_is_cx231xx
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_cx231xx_initialize
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_cx25840_initialize
LBB0_7:
	mov	w8, #1
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cx25840_reset
.subsections_via_symbols
