	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx25840_s_video_routing
_cx25840_s_video_routing:               ## @cx25840_s_video_routing
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_to_state
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_v4l2_get_subdevdata
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_is_cx23888
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_cx23888_std_setup
LBB0_2:
	movq	%r13, %rdi
	callq	_is_cx2584x
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	cmpq	$0, 8(%r13)
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_cx25840_vconfig_add
	movq	%r12, %rdi
	callq	_cx25840_vconfig_apply
LBB0_6:
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_input                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cx25840_s_video_routing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx25840_s_video_routing
_cx25840_s_video_routing:               ; @cx25840_s_video_routing
	.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	x21, x3
	mov	x19, x1
	mov	x22, x0
	bl	_to_state
	mov	x20, x0
	mov	x0, x22
	bl	_v4l2_get_subdevdata
	mov	x22, x0
	mov	x0, x20
	bl	_is_cx23888
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_cx23888_std_setup
LBB0_2:
	mov	x0, x20
	bl	_is_cx2584x
	cbz	x0, LBB0_6
; %bb.3:
	cbz	x21, LBB0_6
; %bb.4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	bl	_cx25840_vconfig_add
	mov	x0, x22
	bl	_cx25840_vconfig_apply
LBB0_6:
	ldr	w2, [x20]
	mov	x0, x22
	mov	x1, 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
	b	_set_input
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cx25840_s_video_routing
.subsections_via_symbols
