	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_input
_set_input:                             ## @set_input
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_i2c_get_clientdata
	movl	%eax, %edi
	callq	_to_state
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_CX25840_COMPOSITE1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CX25840_COMPOSITE8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_CX25840_COMPONENT_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %r12d
	andl	%ebx, %r12d
	movq	_CX25840_DIF_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_CX25840_SVIDEO_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	andl	$3840, %eax                     ## imm = 0xF00
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_cx25840_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_v4l_dbg
	movq	_CX25840_VIN1_CH1@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	jbe	LBB0_1
## %bb.2:
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	ja	LBB0_6
## %bb.3:
	cmpl	%ebx, -88(%rbp)                 ## 4-byte Folded Reload
	jb	LBB0_6
## %bb.4:
	movl	%ebx, %r15d
	movq	_CX25840_COMPOSITE1@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	addl	$240, %r15d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
LBB0_1:
	cmpl	%r14d, %r12d
	setne	%r12b
	movq	_cx25840_debug@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_v4l_dbg
	movzbl	%bl, %r8d
	movl	%ebx, %eax
	notl	%eax
	movq	_CX25840_SVIDEO_ON@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	setne	%al
	andb	%r12b, %al
	movzbl	%al, %r9d
	movl	(%r13), %esi
	leaq	L_.str.2(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	movl	%r8d, %r15d
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_v4l_dbg
LBB0_5:
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_17:
	movq	%r13, %rdi
	callq	_is_cx2388x
	testq	%rax, %rax
	jne	LBB0_27
## %bb.18:
	movq	%r13, %rdi
	callq	_is_cx231xx
	testq	%rax, %rax
	je	LBB0_19
LBB0_27:
	movl	%r12d, %eax
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	andl	%ebx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$259, %esi                      ## imm = 0x103
	movl	%r15d, %edx
	callq	_cx25840_write
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	addl	%eax, %eax
	cmpl	%r14d, -84(%rbp)                ## 4-byte Folded Reload
	movl	$6, %ecx
	cmovnel	%eax, %ecx
	movq	%rbx, %rdi
	movl	$1025, %esi                     ## imm = 0x401
	movl	$-7, %edx
	callq	_cx25840_and_or
	movq	%r13, %rdi
	callq	_is_cx2388x
	testq	%rax, %rax
	je	LBB0_32
## %bb.28:
	cmpl	%r12d, -48(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_30
## %bb.29:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-129, %edx
	movl	$128, %ecx
	callq	_cx25840_and_or
	movq	%rbx, %rdi
	movl	$796, %esi                      ## imm = 0x31C
	movl	$-1037687296, %edx              ## imm = 0xC2262600
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$800, %esi                      ## imm = 0x320
	movl	$-1037687296, %edx              ## imm = 0xC2262600
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$792, %esi                      ## imm = 0x318
	movl	$-635034112, %edx               ## imm = 0xDA262600
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$828, %esi                      ## imm = 0x33C
	movl	$707053568, %edx                ## imm = 0x2A24C800
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$260, %esi                      ## imm = 0x104
	movl	$117759232, %edx                ## imm = 0x704DD00
	jmp	LBB0_31
LBB0_6:
	testl	$-4081, %ebx                    ## imm = 0xF00F
	je	LBB0_7
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
LBB0_12:
	callq	_v4l_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_63
LBB0_30:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$768, %esi                      ## imm = 0x300
	movl	$22817013, %edx                 ## imm = 0x15C28F5
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-129, %edx
	xorl	%ecx, %ecx
	callq	_cx25840_and_or
	movq	%rbx, %rdi
	movl	$832, %esi                      ## imm = 0x340
	movl	$234348419, %edx                ## imm = 0xDF7DF83
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$260, %esi                      ## imm = 0x104
	movl	$117759360, %edx                ## imm = 0x704DD80
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$788, %esi                      ## imm = 0x314
	movl	$574621184, %edx                ## imm = 0x22400600
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$792, %esi                      ## imm = 0x318
	movl	$1073751552, %edx               ## imm = 0x40002600
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$804, %esi                      ## imm = 0x324
	movl	$1073751552, %edx               ## imm = 0x40002600
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$812, %esi                      ## imm = 0x32C
	movl	$38856224, %edx                 ## imm = 0x250E620
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$924, %esi                      ## imm = 0x39C
	movl	$33491712, %edx                 ## imm = 0x1FF0B00
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$1040, %esi                     ## imm = 0x410
	movl	$-62017, %edx                   ## imm = 0xFFFF0DBF
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$1044, %esi                     ## imm = 0x414
	movl	$1277187, %edx                  ## imm = 0x137D03
	callq	_cx25840_write4
	movl	$1068, %esi                     ## imm = 0x42C
	addl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$1113587712, %edx               ## imm = 0x42600000
	callq	_cx25840_write4
	movl	$1072, %esi                     ## imm = 0x430
	addl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$923, %edx                      ## imm = 0x39B
	callq	_cx25840_write4
	movl	$1080, %esi                     ## imm = 0x438
	addl	(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_cx25840_write4
	movl	$1088, %esi                     ## imm = 0x440
	addl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$-119281628, %edx               ## imm = 0xF8E3E824
	callq	_cx25840_write4
	movl	$1092, %esi                     ## imm = 0x444
	addl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$1074807004, %edx               ## imm = 0x401040DC
	callq	_cx25840_write4
	movl	$1096, %esi                     ## imm = 0x448
	addl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$-851508576, %edx               ## imm = 0xCD3F02A0
	callq	_cx25840_write4
	movl	$1100, %esi                     ## imm = 0x44C
	addl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$371134464, %edx                ## imm = 0x161F1000
	callq	_cx25840_write4
	movl	$1104, %esi                     ## imm = 0x450
	addl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2050, %edx                     ## imm = 0x802
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$2332, %esi                     ## imm = 0x91C
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$2272, %esi                     ## imm = 0x8E0
	movl	$50739312, %edx                 ## imm = 0x3063870
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$2260, %esi                     ## imm = 0x8D4
	movl	$2147418148, %edx               ## imm = 0x7FFF0024
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$2256, %esi                     ## imm = 0x8D0
	movl	$405619, %edx                   ## imm = 0x63073
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$2248, %esi                     ## imm = 0x8C8
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$2252, %esi                     ## imm = 0x8CC
	movl	$524323, %edx                   ## imm = 0x80023
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$828, %esi                      ## imm = 0x33C
	movl	$704956416, %edx                ## imm = 0x2A04C800
LBB0_31:
	callq	_cx25840_write4
	movq	%rbx, %rdi
	movl	$920, %esi                      ## imm = 0x398
	xorl	%edx, %edx
	callq	_cx25840_write4
LBB0_32:
	movq	%r13, %rdi
	callq	_is_cx2388x
	testq	%rax, %rax
	jne	LBB0_39
## %bb.33:
	movq	%r13, %rdi
	callq	_is_cx231xx
	testq	%rax, %rax
	je	LBB0_34
LBB0_39:
	movl	%r12d, %r15d
	xorl	%ecx, %ecx
	movl	%r14d, %r12d
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%r14d, %ebx
	sete	%cl
	shll	$2, %ecx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-5, %edx
	callq	_cx25840_and_or
	xorl	%ecx, %ecx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_42
## %bb.40:
	cmpl	%r12d, %ebx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_43
## %bb.41:
	movq	_CX25840_SVIDEO_CHROMA7@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	cmpl	(%rax), %edx
	setge	%cl
	addl	%ecx, %ecx
LBB0_42:
	movq	%r14, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-3, %edx
	callq	_cx25840_and_or
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
LBB0_43:
	movq	%r13, %rdi
	callq	_is_cx2388x
	testq	%rax, %rax
	je	LBB0_46
## %bb.44:
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	andl	%ebx, %eax
	cmpl	%ecx, %eax
	jne	LBB0_46
## %bb.45:
	movq	%r14, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-3, %edx
	movl	$2, %ecx
	callq	_cx25840_and_or
	movq	%r14, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_cx25840_read4
                                        ## kill: def $eax killed $eax def $rax
	andl	$-9729, %eax                    ## imm = 0xD9FF
	leal	512(%rax), %edx
	movq	%r14, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_cx25840_write4
	movq	%r14, %rdi
	movl	$260, %esi                      ## imm = 0x104
	callq	_cx25840_read4
                                        ## kill: def $eax killed $eax def $rax
	andl	$-4481, %eax                    ## imm = 0xEE7F
	leal	4096(%rax), %edx
	movq	%r14, %rdi
	movl	$260, %esi                      ## imm = 0x104
	callq	_cx25840_write4
	jmp	LBB0_47
LBB0_46:
	movq	%r14, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-3, %edx
	xorl	%ecx, %ecx
	callq	_cx25840_and_or
LBB0_47:
	movl	%r15d, %r12d
LBB0_48:
	movl	%ebx, 4(%r13)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 8(%r13)
	movq	%r14, %rdi
	callq	_cx25840_audio_set_path
	movq	%r14, %rdi
	callq	_input_change
	movq	%r13, %rdi
	callq	_is_cx2388x
	testq	%rax, %rax
	je	LBB0_50
## %bb.49:
	movq	%r14, %rdi
	movl	$292, %esi                      ## imm = 0x124
	movl	$3, %edx
	callq	_cx25840_write
	movq	%r14, %rdi
	movl	$324, %esi                      ## imm = 0x144
	movl	$5, %edx
	jmp	LBB0_52
LBB0_50:
	movq	%r13, %rdi
	callq	_is_cx231xx
	testq	%rax, %rax
	je	LBB0_53
## %bb.51:
	movq	%r14, %rdi
	movl	$292, %esi                      ## imm = 0x124
	movl	$3, %edx
LBB0_52:
	callq	_cx25840_write
	movq	%r14, %rdi
	movl	$2324, %esi                     ## imm = 0x914
	movl	$160, %edx
	callq	_cx25840_write
	movq	%r14, %rdi
	movl	$2328, %esi                     ## imm = 0x918
	movl	$160, %edx
	callq	_cx25840_write
	movq	%r14, %rdi
	movl	$2329, %esi                     ## imm = 0x919
	movl	$1, %edx
	callq	_cx25840_write
LBB0_53:
	movq	%r13, %rdi
	callq	_is_cx2388x
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	andl	$-2, %ecx
	cmpl	$130, %ecx
	jne	LBB0_56
## %bb.54:
	testq	%rax, %rax
	je	LBB0_56
## %bb.55:
	xorl	%edx, %edx
	movl	$405619, %ebx                   ## imm = 0x63073
	jmp	LBB0_59
LBB0_56:
	movq	%r13, %rdi
	callq	_is_cx2388x
	cmpl	$129, -80(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_60
## %bb.57:
	testq	%rax, %rax
	je	LBB0_60
## %bb.58:
	movl	$520501360, %ebx                ## imm = 0x1F063870
	movl	$313524425, %edx                ## imm = 0x12B000C9
LBB0_59:
	movq	%r14, %rdi
	movl	$2320, %esi                     ## imm = 0x910
	callq	_cx25840_write4
	movq	%r14, %rdi
	movl	$2256, %esi                     ## imm = 0x8D0
	movl	%ebx, %edx
	callq	_cx25840_write4
LBB0_60:
	movq	%r13, %rdi
	callq	_is_cx23888
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_63
## %bb.61:
	movq	%r14, %rdi
	movl	$292, %esi                      ## imm = 0x124
	movl	$256, %edx                      ## imm = 0x100
	callq	_cx25840_write4
	cmpl	%r12d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_63
## %bb.62:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$2051, %esi                     ## imm = 0x803
	movl	$-17, %edx
	xorl	%ecx, %ecx
	callq	_cx25840_and_or
LBB0_63:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_25
## %bb.20:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_24:
	andl	$-193, %r15d
	orl	$64, %r15d
	jmp	LBB0_27
LBB0_34:
	movl	%r15d, %ecx
	shrl	$6, %ecx
	notl	%ecx
	andl	$2, %ecx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-3, %edx
	callq	_cx25840_and_or
	movl	%r15d, %eax
	notl	%eax
	testb	$-64, %al
	je	LBB0_38
## %bb.35:
	andl	$48, %r15d
	cmpl	$48, %r15d
	je	LBB0_38
## %bb.36:
	movq	%r14, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-5, %edx
	movl	$4, %ecx
	jmp	LBB0_37
LBB0_7:
	movl	%ebx, %ecx
	andl	$240, %ecx
	movq	_CX25840_SVIDEO_LUMA1@GOTPCREL(%rip), %rdx
	movl	%ecx, %eax
	subl	(%rdx), %eax
	jl	LBB0_11
## %bb.8:
	movq	_CX25840_SVIDEO_LUMA8@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jg	LBB0_11
## %bb.9:
	movq	_CX25840_SVIDEO_CHROMA4@GOTPCREL(%rip), %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	subl	(%rdx), %ecx
	jl	LBB0_11
## %bb.10:
	movq	_CX25840_SVIDEO_CHROMA8@GOTPCREL(%rip), %rdx
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	cmpl	(%rdx), %esi
	jg	LBB0_11
## %bb.13:
	sarl	$4, %eax
	addl	$240, %eax
	movq	_CX25840_SVIDEO_CHROMA7@GOTPCREL(%rip), %rdx
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	subl	(%rdx), %r15d
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	jge	LBB0_14
## %bb.15:
	andl	$207, %eax
	sarl	$4, %ecx
	orl	%eax, %ecx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%ecx, %r15d
	jmp	LBB0_16
LBB0_38:
	movq	%r14, %rdi
	movl	$258, %esi                      ## imm = 0x102
	movl	$-5, %edx
	xorl	%ecx, %ecx
LBB0_37:
	callq	_cx25840_and_or
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_48
LBB0_25:
	leaq	L_.str.4(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_12
LBB0_23:
	andl	$-193, %r15d
	jmp	LBB0_27
LBB0_22:
	andl	$-49, %r15d
	orl	$32, %r15d
	jmp	LBB0_27
LBB0_21:
	andl	$-49, %r15d
	orl	$16, %r15d
	jmp	LBB0_27
LBB0_26:
	andl	$-49, %r15d
	jmp	LBB0_27
LBB0_14:
	andl	$63, %eax
	sarl	$2, %r15d
	orl	%eax, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_16:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%edx, %r12d
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
LJTI0_0:
	.long	L0_0_set_27
	.long	L0_0_set_24
	.long	L0_0_set_23
	.long	L0_0_set_22
	.long	L0_0_set_21
	.long	L0_0_set_26
	.end_data_region
                                        ## -- End function
	.comm	_CX25840_COMPOSITE1,4,2         ## @CX25840_COMPOSITE1
	.comm	_CX25840_COMPOSITE8,4,2         ## @CX25840_COMPOSITE8
	.comm	_CX25840_COMPONENT_ON,4,2       ## @CX25840_COMPONENT_ON
	.comm	_CX25840_DIF_ON,4,2             ## @CX25840_DIF_ON
	.comm	_CX25840_SVIDEO_ON,4,2          ## @CX25840_SVIDEO_ON
	.comm	_cx25840_debug,4,2              ## @cx25840_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"decoder set video input %d, audio input %d\n"

	.comm	_CX25840_VIN1_CH1,4,2           ## @CX25840_VIN1_CH1
L_.str.1:                               ## @.str.1
	.asciz	"vid_input 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"mux cfg 0x%x comp=%d\n"

	.comm	_CX25840_SVIDEO_LUMA1,4,2       ## @CX25840_SVIDEO_LUMA1
	.comm	_CX25840_SVIDEO_LUMA8,4,2       ## @CX25840_SVIDEO_LUMA8
	.comm	_CX25840_SVIDEO_CHROMA4,4,2     ## @CX25840_SVIDEO_CHROMA4
	.comm	_CX25840_SVIDEO_CHROMA8,4,2     ## @CX25840_SVIDEO_CHROMA8
L_.str.3:                               ## @.str.3
	.asciz	"0x%04x is not a valid video input!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CX25840_SVIDEO_CHROMA7,4,2     ## @CX25840_SVIDEO_CHROMA7
L_.str.4:                               ## @.str.4
	.asciz	"0x%04x is not a valid audio input!\n"

	.comm	_AFE_CTRL,4,2                   ## @AFE_CTRL
	.comm	_MODE_CTRL,4,2                  ## @MODE_CTRL
	.no_dead_strip	_set_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_input
_set_input:                             ; @set_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x2
	mov	x22, x1
	mov	x19, x0
	bl	_i2c_get_clientdata
	bl	_to_state
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x24, _CX25840_COMPOSITE1@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CX25840_COMPOSITE1@GOTPAGEOFF]
	ldr	w27, [x24]
Lloh2:
	adrp	x8, _CX25840_COMPOSITE8@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CX25840_COMPOSITE8@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	adrp	x8, _CX25840_COMPONENT_ON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CX25840_COMPONENT_ON@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	and	w23, w21, w22
Lloh8:
	adrp	x8, _CX25840_DIF_ON@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CX25840_DIF_ON@GOTPAGEOFF]
Lloh10:
	adrp	x26, _CX25840_SVIDEO_ON@GOTPAGE
Lloh11:
	ldr	x26, [x26, _CX25840_SVIDEO_ON@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	w9, [x26]
	and	w8, w22, #0xf00
	stp	w8, w9, [sp, #16]               ; 8-byte Folded Spill
Lloh13:
	adrp	x25, _cx25840_debug@GOTPAGE
Lloh14:
	ldr	x25, [x25, _cx25840_debug@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	str	x28, [sp, #24]                  ; 8-byte Folded Spill
	str	x28, [sp]
	mov	w0, #1
	mov	x2, x19
	mov	x4, x22
	bl	_v4l_dbg
Lloh17:
	adrp	x8, _CX25840_VIN1_CH1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CX25840_VIN1_CH1@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ls	LBB0_7
; %bb.1:
	mov	x28, x23
	cmp	w27, w22
	ccmp	w20, w22, #0, ls
	b.hs	LBB0_8
; %bb.2:
	tst	w22, #0xfffff00f
	b.ne	LBB0_45
; %bb.3:
	and	w9, w22, #0xf0
Lloh20:
	adrp	x8, _CX25840_SVIDEO_LUMA1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CX25840_SVIDEO_LUMA1@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x10, _CX25840_SVIDEO_LUMA8@GOTPAGE
Lloh24:
	ldr	x10, [x10, _CX25840_SVIDEO_LUMA8@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	subs	w8, w9, w8
	ccmp	w9, w10, #0, ge
	b.gt	LBB0_45
; %bb.4:
Lloh26:
	adrp	x9, _CX25840_SVIDEO_CHROMA4@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CX25840_SVIDEO_CHROMA4@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	ldr	w10, [sp, #16]                  ; 4-byte Folded Reload
	subs	w9, w10, w9
	b.lt	LBB0_45
; %bb.5:
Lloh29:
	adrp	x10, _CX25840_SVIDEO_CHROMA8@GOTPAGE
Lloh30:
	ldr	x10, [x10, _CX25840_SVIDEO_CHROMA8@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	ldr	w11, [sp, #16]                  ; 4-byte Folded Reload
	cmp	w11, w10
	b.gt	LBB0_45
; %bb.6:
	asr	w8, w8, #4
	add	w8, w8, #240
Lloh32:
	adrp	x10, _CX25840_SVIDEO_CHROMA7@GOTPAGE
Lloh33:
	ldr	x10, [x10, _CX25840_SVIDEO_CHROMA7@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	mov	w11, #207
	and	w11, w8, w11
	orr	w9, w11, w9, asr #4
	and	w8, w8, #0x3f
	ldr	w11, [sp, #16]                  ; 4-byte Folded Reload
	subs	w10, w11, w10
	orr	w8, w8, w10, asr #2
	csel	w26, wzr, wzr, lt
	csel	w24, w9, w8, lt
	b	LBB0_9
LBB0_7:
	ldr	w1, [x25]
Lloh35:
	adrp	x3, l_.str.1@PAGE
Lloh36:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	mov	x4, x22
	bl	_v4l_dbg
	and	w24, w22, #0xff
	ldr	w8, [x26]
	bics	wzr, w8, w22
	mov	x28, x23
	ccmp	w23, w21, #4, ne
	cset	w26, ne
	ldr	w1, [x25]
Lloh37:
	adrp	x3, l_.str.2@PAGE
Lloh38:
	add	x3, x3, l_.str.2@PAGEOFF
	str	x26, [sp]
	mov	w0, #1
	mov	x2, x19
	mov	x4, x24
	bl	_v4l_dbg
	b	LBB0_9
LBB0_8:
	ldr	w8, [x24]
	sub	w8, w22, w8
	add	w24, w8, #240
	mov	w26, #1
LBB0_9:
	ldr	w25, [sp, #44]                  ; 4-byte Folded Reload
	ldp	x23, x20, [sp, #24]             ; 16-byte Folded Reload
	mov	x0, x20
	bl	_is_cx2388x
	cbnz	x0, LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_is_cx231xx
	cbz	x0, LBB0_48
LBB0_11:
	and	w27, w25, w22
	mov	x0, x19
	mov	w1, #259
	mov	x2, x24
	bl	_cx25840_write
	cmp	w26, #0
	cset	w8, eq
	lsl	w8, w8, #1
	mov	w9, #6
	cmp	w28, w21
	csel	w3, w9, w8, eq
	mov	x0, x19
	mov	w1, #1025
	mov	w2, #-7
	bl	_cx25840_and_or
	mov	x0, x20
	bl	_is_cx2388x
	cbz	x0, LBB0_16
; %bb.12:
	mov	x0, x19
	cmp	w27, w25
	b.ne	LBB0_14
; %bb.13:
	mov	w1, #258
	mov	w2, #-129
	mov	w3, #128
	bl	_cx25840_and_or
	mov	x0, x19
	mov	w1, #796
	mov	w2, #9728
	movk	w2, #49702, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #800
	mov	w2, #9728
	movk	w2, #49702, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #792
	mov	w2, #9728
	movk	w2, #55846, lsl #16
	bl	_cx25840_write4
	mov	w8, #51200
	movk	w8, #10756, lsl #16
	orr	w2, w8, #0x200000
	mov	x0, x19
	mov	w1, #828
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #260
	mov	w2, #56576
	movk	w2, #1796, lsl #16
	b	LBB0_15
LBB0_14:
	mov	w1, #768
	mov	w2, #10485
	movk	w2, #348, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-129
	mov	w3, #0
	bl	_cx25840_and_or
	mov	x0, x19
	mov	w1, #832
	mov	w2, #57219
	movk	w2, #3575, lsl #16
	bl	_cx25840_write4
	mov	w8, #56576
	movk	w8, #1796, lsl #16
	orr	w2, w8, #0x80
	mov	x0, x19
	mov	w1, #260
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #788
	mov	w2, #1536
	movk	w2, #8768, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #792
	mov	w2, #9728
	movk	w2, #16384, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #804
	mov	w2, #9728
	movk	w2, #16384, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #812
	mov	w2, #58912
	movk	w2, #592, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #924
	mov	w2, #2816
	movk	w2, #511, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #1040
	mov	w2, #-62017
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #1044
	mov	w2, #32003
	movk	w2, #19, lsl #16
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1068
	mov	x0, x19
	mov	w2, #1113587712
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1072
	mov	x0, x19
	mov	w2, #923
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1080
	mov	x0, x19
	mov	w2, #0
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1088
	mov	x0, x19
	mov	w2, #59428
	movk	w2, #63715, lsl #16
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1092
	mov	x0, x19
	mov	w2, #16604
	movk	w2, #16400, lsl #16
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1096
	mov	x0, x19
	mov	w2, #672
	movk	w2, #52543, lsl #16
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1100
	mov	x0, x19
	mov	w2, #4096
	movk	w2, #5663, lsl #16
	bl	_cx25840_write4
	ldr	w8, [x20]
	add	w1, w8, #1104
	mov	x0, x19
	mov	w2, #2050
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #2332
	mov	w2, #16777216
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #2272
	mov	w2, #14448
	movk	w2, #774, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #2260
	mov	w2, #36
	movk	w2, #32767, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #2256
	mov	w2, #12403
	movk	w2, #6, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #2248
	mov	w2, #65536
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #2252
	mov	w2, #35
	movk	w2, #8, lsl #16
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #828
	mov	w2, #51200
	movk	w2, #10756, lsl #16
LBB0_15:
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #920
	mov	w2, #0
	bl	_cx25840_write4
LBB0_16:
	mov	x0, x20
	bl	_is_cx2388x
	cbnz	x0, LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_is_cx231xx
	cbz	x0, LBB0_51
LBB0_18:
	cmp	w28, w21
	cset	w8, eq
	lsl	w3, w8, #2
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-5
	bl	_cx25840_and_or
	cbz	w26, LBB0_20
; %bb.19:
	mov	w3, #0
	b	LBB0_22
LBB0_20:
	cmp	w28, w21
	b.eq	LBB0_23
; %bb.21:
Lloh39:
	adrp	x8, _CX25840_SVIDEO_CHROMA7@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CX25840_SVIDEO_CHROMA7@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w9, w8
	cset	w8, ge
	lsl	w3, w8, #1
LBB0_22:
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-3
	bl	_cx25840_and_or
LBB0_23:
	mov	x0, x20
	bl	_is_cx2388x
	cbz	x0, LBB0_26
; %bb.24:
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	and	w8, w9, w22
	cmp	w8, w9
	b.ne	LBB0_26
; %bb.25:
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-3
	mov	w3, #2
	bl	_cx25840_and_or
	mov	x0, x19
	mov	w1, #1024
	bl	_cx25840_read4
	mov	w8, #-9729
	and	w8, w0, w8
	orr	w2, w8, #0x200
	mov	x0, x19
	mov	w1, #1024
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #260
	bl	_cx25840_read4
	and	w8, w0, #0xfffffe7f
	orr	w2, w8, #0x1000
	mov	x0, x19
	mov	w1, #260
	bl	_cx25840_write4
	b	LBB0_29
LBB0_26:
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-3
LBB0_27:
	mov	w3, #0
LBB0_28:
	bl	_cx25840_and_or
LBB0_29:
	stp	w22, w23, [x20, #4]
	mov	x0, x19
	bl	_cx25840_audio_set_path
	mov	x0, x19
	bl	_input_change
	mov	x0, x20
	bl	_is_cx2388x
	cbz	x0, LBB0_31
; %bb.30:
	mov	x0, x19
	mov	w1, #292
	mov	w2, #3
	bl	_cx25840_write
	mov	x0, x19
	mov	w1, #324
	mov	w2, #5
	b	LBB0_33
LBB0_31:
	mov	x0, x20
	bl	_is_cx231xx
	cbz	x0, LBB0_34
; %bb.32:
	mov	x0, x19
	mov	w1, #292
	mov	w2, #3
LBB0_33:
	bl	_cx25840_write
	mov	x0, x19
	mov	w1, #2324
	mov	w2, #160
	bl	_cx25840_write
	mov	x0, x19
	mov	w1, #2328
	mov	w2, #160
	bl	_cx25840_write
	mov	x0, x19
	mov	w1, #2329
	mov	w2, #1
	bl	_cx25840_write
LBB0_34:
	mov	x0, x20
	bl	_is_cx2388x
	and	w8, w23, #0xfffffffe
	cmp	w8, #130
	b.ne	LBB0_37
; %bb.35:
	cbz	x0, LBB0_37
; %bb.36:
	mov	w2, #0
	mov	w21, #12403
	movk	w21, #6, lsl #16
	b	LBB0_40
LBB0_37:
	mov	x0, x20
	bl	_is_cx2388x
	cmp	w23, #129
	b.ne	LBB0_41
; %bb.38:
	cbz	x0, LBB0_41
; %bb.39:
	mov	w21, #14448
	movk	w21, #7942, lsl #16
	mov	w2, #201
	movk	w2, #4784, lsl #16
LBB0_40:
	mov	x0, x19
	mov	w1, #2320
	bl	_cx25840_write4
	mov	x0, x19
	mov	w1, #2256
	mov	x2, x21
	bl	_cx25840_write4
LBB0_41:
	mov	x0, x20
	bl	_is_cx23888
	cbz	x0, LBB0_47
; %bb.42:
	mov	x0, x19
	mov	w1, #292
	mov	w2, #256
	bl	_cx25840_write4
	cmp	w27, w25
	b.eq	LBB0_44
; %bb.43:
	mov	x0, x19
	mov	w1, #2051
	mov	w2, #-17
	mov	w3, #0
	bl	_cx25840_and_or
LBB0_44:
	mov	w0, #0
	b	LBB0_47
LBB0_45:
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x22
LBB0_46:
	bl	_v4l_err
Lloh44:
	adrp	x8, _EINVAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_47:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_48:
	sub	w8, w23, #128
	cmp	w8, #5
	b.hi	LBB0_55
; %bb.49:
Lloh47:
	adrp	x9, lJTI0_0@PAGE
Lloh48:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_11
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_50:
	and	w8, w24, #0xffffff3f
	orr	w24, w8, #0x40
	b	LBB0_11
LBB0_51:
	mvn	w21, w24
	mov	w8, #2
	bic	w3, w8, w24, lsr #6
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-3
	bl	_cx25840_and_or
	tst	w21, #0xc0
	b.eq	LBB0_54
; %bb.52:
	and	w8, w24, #0x30
	cmp	w8, #48
	b.eq	LBB0_54
; %bb.53:
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-5
	mov	w3, #4
	b	LBB0_28
LBB0_54:
	mov	x0, x19
	mov	w1, #258
	mov	w2, #-5
	b	LBB0_27
LBB0_55:
Lloh49:
	adrp	x1, l_.str.4@PAGE
Lloh50:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	b	LBB0_46
LBB0_56:
	and	w24, w24, #0xffffff3f
	b	LBB0_11
LBB0_57:
	and	w8, w24, #0xffffffcf
	orr	w24, w8, #0x20
	b	LBB0_11
LBB0_58:
	and	w8, w24, #0xffffffcf
	orr	w24, w8, #0x10
	b	LBB0_11
LBB0_59:
	and	w24, w24, #0xffffffcf
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_11-LBB0_11)>>2
	.short	(LBB0_50-LBB0_11)>>2
	.short	(LBB0_56-LBB0_11)>>2
	.short	(LBB0_57-LBB0_11)>>2
	.short	(LBB0_58-LBB0_11)>>2
	.short	(LBB0_59-LBB0_11)>>2
                                        ; -- End function
	.comm	_CX25840_COMPOSITE1,4,2         ; @CX25840_COMPOSITE1
	.comm	_CX25840_COMPOSITE8,4,2         ; @CX25840_COMPOSITE8
	.comm	_CX25840_COMPONENT_ON,4,2       ; @CX25840_COMPONENT_ON
	.comm	_CX25840_DIF_ON,4,2             ; @CX25840_DIF_ON
	.comm	_CX25840_SVIDEO_ON,4,2          ; @CX25840_SVIDEO_ON
	.comm	_cx25840_debug,4,2              ; @cx25840_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"decoder set video input %d, audio input %d\n"

	.comm	_CX25840_VIN1_CH1,4,2           ; @CX25840_VIN1_CH1
l_.str.1:                               ; @.str.1
	.asciz	"vid_input 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"mux cfg 0x%x comp=%d\n"

	.comm	_CX25840_SVIDEO_LUMA1,4,2       ; @CX25840_SVIDEO_LUMA1
	.comm	_CX25840_SVIDEO_LUMA8,4,2       ; @CX25840_SVIDEO_LUMA8
	.comm	_CX25840_SVIDEO_CHROMA4,4,2     ; @CX25840_SVIDEO_CHROMA4
	.comm	_CX25840_SVIDEO_CHROMA8,4,2     ; @CX25840_SVIDEO_CHROMA8
l_.str.3:                               ; @.str.3
	.asciz	"0x%04x is not a valid video input!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CX25840_SVIDEO_CHROMA7,4,2     ; @CX25840_SVIDEO_CHROMA7
l_.str.4:                               ; @.str.4
	.asciz	"0x%04x is not a valid audio input!\n"

	.comm	_AFE_CTRL,4,2                   ; @AFE_CTRL
	.comm	_MODE_CTRL,4,2                  ; @MODE_CTRL
	.no_dead_strip	_set_input
.subsections_via_symbols
