	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tw2815_setup
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tw2815_setup:                          ## @tw2815_setup
	.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	$376, %rsp                      ## imm = 0x178
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -404(%rbp)                ## 4-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movups	l___const.tw2815_setup.tbl_ntsc_tw2815_common+44(%rip), %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	l___const.tw2815_setup.tbl_ntsc_tw2815_common+32(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.tw2815_setup.tbl_ntsc_tw2815_common+16(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.tw2815_setup.tbl_ntsc_tw2815_common(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movups	l___const.tw2815_setup.tbl_pal_tw2815_common+44(%rip), %xmm0
	movups	%xmm0, -132(%rbp)
	movaps	l___const.tw2815_setup.tbl_pal_tw2815_common+32(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	l___const.tw2815_setup.tbl_pal_tw2815_common+16(%rip), %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	l___const.tw2815_setup.tbl_pal_tw2815_common(%rip), %xmm0
	movaps	%xmm0, -176(%rbp)
	leaq	l___const.tw2815_setup.tbl_tw2815_sfr(%rip), %rsi
	leaq	-400(%rbp), %rdi
	movl	$216, %edx
	callq	_memcpy
	movq	_DEFAULT_HDELAY_NTSC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movd	%eax, %xmm1
	shrl	$8, %eax
	andl	$3, %eax
	movq	_DEFAULT_HACTIVE_NTSC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	pinsrd	$1, %ecx, %xmm1
	shrl	$6, %ecx
	andl	$12, %ecx
	movq	_DEFAULT_VDELAY_NTSC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	pinsrd	$2, %edx, %xmm1
	orl	%eax, %ecx
	shrl	$4, %edx
	andl	$16, %edx
	orl	%ecx, %edx
	movq	_DEFAULT_VACTIVE_NTSC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	pinsrd	$3, %eax, %xmm1
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	pand	%xmm0, %xmm1
	movdqu	%xmm1, -104(%rbp)
	shrl	$3, %eax
	andl	$32, %eax
	orl	%edx, %eax
	movl	%eax, -88(%rbp)
	movq	_DEFAULT_HDELAY_PAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movd	%eax, %xmm1
	shrl	$8, %eax
	andl	$3, %eax
	movq	_DEFAULT_HACTIVE_PAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	pinsrd	$1, %ecx, %xmm1
	shrl	$6, %ecx
	andl	$12, %ecx
	orl	%eax, %ecx
	movq	_DEFAULT_VDELAY_PAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	pinsrd	$2, %eax, %xmm1
	shrl	$4, %eax
	andl	$16, %eax
	orl	%ecx, %eax
	movq	_DEFAULT_VACTIVE_PAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	pinsrd	$3, %ecx, %xmm1
	pand	%xmm0, %xmm1
	movdqu	%xmm1, -168(%rbp)
	shrl	$3, %ecx
	andl	$32, %ecx
	orl	%eax, %ecx
	movl	%ecx, -152(%rbp)
	movq	(%rbx), %rax
	movq	_SOLO_VO_FMT_TYPE_NTSC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	-112(%rbp), %rax
	leaq	-176(%rbp), %r13
	cmoveq	%rax, %r13
	orl	$4, 52(%r13)
	movl	$0, -264(%rbp)
	movq	%rbx, -416(%rbp)                ## 8-byte Spill
	movl	8(%rbx), %eax
	cmpl	$16, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$8, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$4, %eax
	jne	LBB0_12
## %bb.3:
	movl	$1, -260(%rbp)
	movl	$192, %ecx
	jmp	LBB0_11
LBB0_6:
	movl	$3, -260(%rbp)
	xorl	%edi, %edi
	callq	_TW_CHIP_OFFSET_ADDR
	movl	$64, %ecx
	cmpl	-404(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_11
## %bb.7:
	movl	$1, %edi
	callq	_TW_CHIP_OFFSET_ADDR
	cmpl	-404(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_12
## %bb.8:
	movl	$2, %edi
	callq	_TW_CHIP_OFFSET_ADDR
	cmpl	-404(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_12
## %bb.9:
	movl	$3, %edi
	jmp	LBB0_10
LBB0_4:
	movl	$2, -260(%rbp)
	xorl	%edi, %edi
	callq	_TW_CHIP_OFFSET_ADDR
	movl	$64, %ecx
	cmpl	-404(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_11
## %bb.5:
	movl	$1, %edi
LBB0_10:
	callq	_TW_CHIP_OFFSET_ADDR
	movl	$128, %ecx
	cmpl	-404(%rbp), %eax                ## 4-byte Folded Reload
	jne	LBB0_12
LBB0_11:
	movl	%ecx, -264(%rbp)
LBB0_12:
	movabsq	$64424509472, %rax              ## imm = 0xF00000020
	movq	%rax, -224(%rbp)
	movl	$175, -288(%rbp)
	movabsq	$73014444287, %rax              ## imm = 0x11000000FF
	movq	%rax, -208(%rbp)
	movq	$-64, %rbx
	xorl	%esi, %esi
	movq	-416(%rbp), %r12                ## 8-byte Reload
	movl	-404(%rbp), %r15d               ## 4-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	orl	$34, %eax
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, 52(%r13)
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_SOLO_I2C_TW@GOTPCREL(%rip), %r14
	movl	%esi, -408(%rbp)                ## 4-byte Spill
	movl	(%r14), %esi
	movl	4(%r13), %r8d
	leal	65(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	8(%r13), %r8d
	leal	66(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	12(%r13), %r8d
	leal	67(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	16(%r13), %r8d
	leal	68(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	20(%r13), %r8d
	leal	69(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	24(%r13), %r8d
	leal	70(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	28(%r13), %r8d
	leal	71(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	32(%r13), %r8d
	leal	72(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	36(%r13), %r8d
	leal	73(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	40(%r13), %r8d
	leal	74(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	44(%r13), %r8d
	leal	75(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	48(%r13), %r8d
	leal	76(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	52(%r13), %r8d
	leal	77(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	(%r14), %esi
	movl	56(%r13), %r8d
	leal	78(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_solo_i2c_writebyte
	movl	-408(%rbp), %esi                ## 4-byte Reload
	incl	%esi
	addq	$16, %rbx
	je	LBB0_21
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	52(%r13), %ecx
	movl	%ecx, %eax
	andl	$-4, %eax
	movl	%eax, 52(%r13)
	cmpl	$3, %esi
	ja	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%esi, %edx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rdx,4), %rdx
	addq	%rdi, %rdx
	jmpq	*%rdx
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	orl	$33, %eax
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	orl	$32, %eax
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	orl	$35, %ecx
	movl	%ecx, %eax
	jmp	LBB0_19
LBB0_21:
	movl	$64, %ebx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	leal	1(%rbx), %eax
	cmpl	$117, %ebx
	movl	%eax, %ebx
	jae	LBB0_27
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	andl	$2147483643, %eax               ## imm = 0x7FFFFFFB
	addl	$-89, %eax
	cmpl	$2, %eax
	jb	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$64, %ebx
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$95, %ebx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_SOLO_I2C_TW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	%ebx, %rax
	movl	-656(%rbp,%rax,4), %r8d
	movq	-416(%rbp), %rdi                ## 8-byte Reload
	movl	-404(%rbp), %edx                ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_solo_i2c_writebyte
	jmp	LBB0_26
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	xorl	%eax, %eax
	addq	$376, %rsp                      ## imm = 0x178
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.tw2815_setup.tbl_ntsc_tw2815_common
l___const.tw2815_setup.tbl_ntsc_tw2815_common:
	.long	0                               ## 0x0
	.long	200                             ## 0xc8
	.long	32                              ## 0x20
	.long	208                             ## 0xd0
	.long	6                               ## 0x6
	.long	240                             ## 0xf0
	.long	8                               ## 0x8
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	2                               ## 0x2
	.long	6                               ## 0x6
	.long	0                               ## 0x0
	.long	17                              ## 0x11

	.p2align	4                               ## @__const.tw2815_setup.tbl_pal_tw2815_common
l___const.tw2815_setup.tbl_pal_tw2815_common:
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	32                              ## 0x20
	.long	208                             ## 0xd0
	.long	5                               ## 0x5
	.long	32                              ## 0x20
	.long	40                              ## 0x28
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	130                             ## 0x82
	.long	6                               ## 0x6
	.long	0                               ## 0x0
	.long	17                              ## 0x11

	.p2align	4                               ## @__const.tw2815_setup.tbl_tw2815_sfr
l___const.tw2815_setup.tbl_tw2815_sfr:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	192                             ## 0xc0
	.long	69                              ## 0x45
	.long	160                             ## 0xa0
	.long	208                             ## 0xd0
	.long	47                              ## 0x2f
	.long	100                             ## 0x64
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	130                             ## 0x82
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	15                              ## 0xf
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	6                               ## 0x6
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	143                             ## 0x8f
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	136                             ## 0x88
	.long	192                             ## 0xc0
	.long	0                               ## 0x0
	.long	32                              ## 0x20
	.long	100                             ## 0x64
	.long	168                             ## 0xa8
	.long	236                             ## 0xec
	.long	49                              ## 0x31
	.long	117                             ## 0x75
	.long	185                             ## 0xb9
	.long	253                             ## 0xfd
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	136                             ## 0x88
	.long	136                             ## 0x88
	.long	17                              ## 0x11
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	136                             ## 0x88
	.long	0                               ## 0x0

	.comm	_DEFAULT_HDELAY_NTSC,4,2        ## @DEFAULT_HDELAY_NTSC
	.comm	_DEFAULT_HACTIVE_NTSC,4,2       ## @DEFAULT_HACTIVE_NTSC
	.comm	_DEFAULT_VDELAY_NTSC,4,2        ## @DEFAULT_VDELAY_NTSC
	.comm	_DEFAULT_VACTIVE_NTSC,4,2       ## @DEFAULT_VACTIVE_NTSC
	.comm	_DEFAULT_HDELAY_PAL,4,2         ## @DEFAULT_HDELAY_PAL
	.comm	_DEFAULT_HACTIVE_PAL,4,2        ## @DEFAULT_HACTIVE_PAL
	.comm	_DEFAULT_VDELAY_PAL,4,2         ## @DEFAULT_VDELAY_PAL
	.comm	_DEFAULT_VACTIVE_PAL,4,2        ## @DEFAULT_VACTIVE_PAL
	.comm	_SOLO_VO_FMT_TYPE_NTSC,8,3      ## @SOLO_VO_FMT_TYPE_NTSC
	.comm	_SOLO_I2C_TW,4,2                ## @SOLO_I2C_TW
	.no_dead_strip	_tw2815_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tw2815_setup
lCPI0_0:
	.long	255                             ; 0xff
	.long	17                              ; 0x11
lCPI0_1:
	.long	32                              ; 0x20
	.long	15                              ; 0xf
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tw2815_setup:                          ; @tw2815_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #480
	.cfi_def_cfa_offset 480
	stp	x28, x27, [sp, #384]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #400]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #416]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #432]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #448]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #464]            ; 16-byte Folded Spill
	add	x29, sp, #464
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh3:
	adrp	x9, l___const.tw2815_setup.tbl_ntsc_tw2815_common@PAGE
Lloh4:
	add	x9, x9, l___const.tw2815_setup.tbl_ntsc_tw2815_common@PAGEOFF
	ldp	q0, q1, [x9]
	add	x8, sp, #224
	stp	q0, q1, [x29, #-176]
	ldr	q0, [x9, #32]
	stur	q0, [x29, #-144]
	ldur	q0, [x9, #44]
	stur	q0, [x8, #108]
Lloh5:
	adrp	x9, l___const.tw2815_setup.tbl_pal_tw2815_common@PAGE
Lloh6:
	add	x9, x9, l___const.tw2815_setup.tbl_pal_tw2815_common@PAGEOFF
	ldp	q0, q1, [x9]
	stp	q0, q1, [sp, #224]
	ldr	q0, [x9, #32]
	str	q0, [sp, #256]
	ldur	q0, [x9, #44]
Lloh7:
	adrp	x9, l___const.tw2815_setup.tbl_tw2815_sfr@PAGE
Lloh8:
	add	x9, x9, l___const.tw2815_setup.tbl_tw2815_sfr@PAGEOFF
	stur	q0, [x8, #44]
	ldp	q0, q1, [x9, #160]
	stp	q0, q1, [sp, #160]
	ldr	q0, [x9, #192]
	str	q0, [sp, #192]
	ldr	x10, [x9, #208]
	str	x10, [sp, #208]
	ldp	q0, q1, [x9, #96]
	stp	q0, q1, [sp, #96]
	ldp	q0, q1, [x9, #128]
	stp	q0, q1, [sp, #128]
	ldp	q0, q1, [x9, #32]
	stp	q0, q1, [sp, #32]
	ldp	q0, q1, [x9, #64]
	stp	q0, q1, [sp, #64]
	ldp	q0, q1, [x9]
Lloh9:
	adrp	x9, _DEFAULT_HDELAY_NTSC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DEFAULT_HDELAY_NTSC@GOTPAGEOFF]
	stp	q0, q1, [sp]
Lloh11:
	ldr	w9, [x9]
	and	w10, w9, #0xff
Lloh12:
	adrp	x11, _DEFAULT_HACTIVE_NTSC@GOTPAGE
Lloh13:
	ldr	x11, [x11, _DEFAULT_HACTIVE_NTSC@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	and	w12, w11, #0xff
	stp	w10, w12, [x29, #-168]
	lsr	w10, w11, #6
	and	w10, w10, #0xc
	bfxil	w10, w9, #8, #2
Lloh15:
	adrp	x9, _DEFAULT_VDELAY_NTSC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DEFAULT_VDELAY_NTSC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w11, w9, #0xff
	lsr	w9, w9, #4
	and	w9, w9, #0x10
	orr	w9, w9, w10
Lloh18:
	adrp	x10, _DEFAULT_VACTIVE_NTSC@GOTPAGE
Lloh19:
	ldr	x10, [x10, _DEFAULT_VACTIVE_NTSC@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	and	w12, w10, #0xff
	stp	w11, w12, [x29, #-160]
	lsr	w10, w10, #3
	and	w10, w10, #0x20
	orr	w9, w10, w9
Lloh21:
	adrp	x10, _DEFAULT_HDELAY_PAL@GOTPAGE
Lloh22:
	ldr	x10, [x10, _DEFAULT_HDELAY_PAL@GOTPAGEOFF]
	stur	w9, [x29, #-152]
Lloh23:
	ldr	w9, [x10]
	and	w10, w9, #0xff
Lloh24:
	adrp	x11, _DEFAULT_HACTIVE_PAL@GOTPAGE
Lloh25:
	ldr	x11, [x11, _DEFAULT_HACTIVE_PAL@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	and	w12, w11, #0xff
	stp	w10, w12, [sp, #232]
	lsr	w10, w11, #6
	and	w10, w10, #0xc
	bfxil	w10, w9, #8, #2
Lloh27:
	adrp	x9, _DEFAULT_VDELAY_PAL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DEFAULT_VDELAY_PAL@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	and	w11, w9, #0xff
	lsr	w9, w9, #4
	and	w9, w9, #0x10
	orr	w9, w9, w10
Lloh30:
	adrp	x10, _DEFAULT_VACTIVE_PAL@GOTPAGE
Lloh31:
	ldr	x10, [x10, _DEFAULT_VACTIVE_PAL@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	and	w12, w10, #0xff
	stp	w11, w12, [sp, #240]
	lsr	w10, w10, #3
	and	w10, w10, #0x20
	orr	w9, w10, w9
	str	w9, [sp, #248]
	ldr	x9, [x0]
Lloh33:
	adrp	x10, _SOLO_VO_FMT_TYPE_NTSC@GOTPAGE
Lloh34:
	ldr	x10, [x10, _SOLO_VO_FMT_TYPE_NTSC@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	sub	x11, x29, #176
	cmp	x9, x10
	csel	x21, x11, x8, eq
	ldr	w8, [x21, #52]
	orr	w8, w8, #0x4
	str	w8, [x21, #52]
	str	wzr, [sp, #136]
	ldr	w8, [x0, #8]
	cmp	w8, #16
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #8
	b.eq	LBB0_8
; %bb.2:
	cmp	w8, #4
	b.ne	LBB0_14
; %bb.3:
	mov	w8, #1
	str	w8, [sp, #140]
	mov	w8, #192
	b	LBB0_13
LBB0_4:
	mov	w8, #3
	str	w8, [sp, #140]
	mov	w0, #0
	bl	_TW_CHIP_OFFSET_ADDR
	cmp	w0, w19
	b.eq	LBB0_9
; %bb.5:
	mov	w0, #1
	bl	_TW_CHIP_OFFSET_ADDR
	cmp	w0, w19
	b.eq	LBB0_14
; %bb.6:
	mov	w0, #2
	bl	_TW_CHIP_OFFSET_ADDR
	cmp	w0, w19
	b.eq	LBB0_14
; %bb.7:
	mov	w0, #3
	b	LBB0_11
LBB0_8:
	mov	w8, #2
	str	w8, [sp, #140]
	mov	w0, #0
	bl	_TW_CHIP_OFFSET_ADDR
	cmp	w0, w19
	b.ne	LBB0_10
LBB0_9:
	mov	w8, #64
	b	LBB0_13
LBB0_10:
	mov	w0, #1
LBB0_11:
	bl	_TW_CHIP_OFFSET_ADDR
	cmp	w0, w19
	b.ne	LBB0_14
; %bb.12:
	mov	w8, #128
LBB0_13:
	str	w8, [sp, #136]
LBB0_14:
	mov	w23, #0
	mov	w8, #175
	str	w8, [sp, #112]
Lloh36:
	adrp	x8, lCPI0_0@PAGE
Lloh37:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh38:
	adrp	x8, lCPI0_1@PAGE
Lloh39:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #192]
	str	d1, [sp, #176]
Lloh40:
	adrp	x22, _SOLO_I2C_TW@GOTPAGE
Lloh41:
	ldr	x22, [x22, _SOLO_I2C_TW@GOTPAGEOFF]
	mov	x24, #-64
Lloh42:
	adrp	x25, lJTI0_0@PAGE
Lloh43:
	add	x25, x25, lJTI0_0@PAGEOFF
	mov	w26, #33
	mov	w27, #35
	mov	w28, #34
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_18 Depth=1
	orr	w8, w8, w28
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	str	w8, [x21, #52]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w1, [x22]
	ldr	w4, [x21, #4]
	add	w3, w24, #65
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #8]
	add	w3, w24, #66
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #12]
	add	w3, w24, #67
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #16]
	add	w3, w24, #68
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #20]
	add	w3, w24, #69
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #24]
	add	w3, w24, #70
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #28]
	add	w3, w24, #71
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #32]
	add	w3, w24, #72
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #36]
	add	w3, w24, #73
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #40]
	add	w3, w24, #74
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #44]
	add	w3, w24, #75
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #48]
	add	w3, w24, #76
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #52]
	add	w3, w24, #77
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	ldr	w1, [x22]
	ldr	w4, [x21, #56]
	add	w3, w24, #78
	mov	x0, x20
	mov	x2, x19
	bl	_solo_i2c_writebyte
	add	w23, w23, #1
	adds	x24, x24, #16
	b.eq	LBB0_23
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, #52]
	and	w8, w9, #0xfffffffc
	str	w8, [x21, #52]
	cmp	w23, #3
	b.hi	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w10, w23
	adr	x11, LBB0_15
	ldrb	w12, [x25, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	orr	w8, w8, w26
	b	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	orr	w8, w8, #0x20
	b	LBB0_16
LBB0_22:                                ;   in Loop: Header=BB0_18 Depth=1
	orr	w8, w9, w27
	b	LBB0_16
LBB0_23:
	mov	w21, #64
	mov	w23, #65531
	movk	w23, #32767, lsl #16
	mov	x24, sp
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w8, w21, #1
	cmp	w21, #117
	mov	x21, x8
	b.hs	LBB0_29
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	and	w8, w21, w23
	sub	w8, w8, #89
	cmp	w8, #2
	b.lo	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w21, #64
	b.eq	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w21, #95
	b.eq	LBB0_24
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w1, [x22]
	add	x8, x24, w21, sxtw #2
	ldur	w4, [x8, #-256]
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
	bl	_solo_i2c_writebyte
	b	LBB0_24
LBB0_29:
	ldur	x8, [x29, #-104]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	mov	w0, #0
	ldp	x29, x30, [sp, #464]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #448]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #432]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #416]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #400]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #384]            ; 16-byte Folded Reload
	add	sp, sp, #480
	ret
LBB0_31:
	bl	___stack_chk_fail
	.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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdr	Lloh38, Lloh39
	.loh AdrpAdrp	Lloh36, Lloh38
	.loh AdrpLdr	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_15)>>2
	.byte	(LBB0_21-LBB0_15)>>2
	.byte	(LBB0_22-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
                                        ; -- End function
	.p2align	2                               ; @__const.tw2815_setup.tbl_ntsc_tw2815_common
l___const.tw2815_setup.tbl_ntsc_tw2815_common:
	.long	0                               ; 0x0
	.long	200                             ; 0xc8
	.long	32                              ; 0x20
	.long	208                             ; 0xd0
	.long	6                               ; 0x6
	.long	240                             ; 0xf0
	.long	8                               ; 0x8
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	2                               ; 0x2
	.long	6                               ; 0x6
	.long	0                               ; 0x0
	.long	17                              ; 0x11

	.p2align	2                               ; @__const.tw2815_setup.tbl_pal_tw2815_common
l___const.tw2815_setup.tbl_pal_tw2815_common:
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	32                              ; 0x20
	.long	208                             ; 0xd0
	.long	5                               ; 0x5
	.long	32                              ; 0x20
	.long	40                              ; 0x28
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	130                             ; 0x82
	.long	6                               ; 0x6
	.long	0                               ; 0x0
	.long	17                              ; 0x11

	.p2align	2                               ; @__const.tw2815_setup.tbl_tw2815_sfr
l___const.tw2815_setup.tbl_tw2815_sfr:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	192                             ; 0xc0
	.long	69                              ; 0x45
	.long	160                             ; 0xa0
	.long	208                             ; 0xd0
	.long	47                              ; 0x2f
	.long	100                             ; 0x64
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	130                             ; 0x82
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	15                              ; 0xf
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	6                               ; 0x6
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	143                             ; 0x8f
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	136                             ; 0x88
	.long	192                             ; 0xc0
	.long	0                               ; 0x0
	.long	32                              ; 0x20
	.long	100                             ; 0x64
	.long	168                             ; 0xa8
	.long	236                             ; 0xec
	.long	49                              ; 0x31
	.long	117                             ; 0x75
	.long	185                             ; 0xb9
	.long	253                             ; 0xfd
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	136                             ; 0x88
	.long	136                             ; 0x88
	.long	17                              ; 0x11
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	136                             ; 0x88
	.long	0                               ; 0x0

	.comm	_DEFAULT_HDELAY_NTSC,4,2        ; @DEFAULT_HDELAY_NTSC
	.comm	_DEFAULT_HACTIVE_NTSC,4,2       ; @DEFAULT_HACTIVE_NTSC
	.comm	_DEFAULT_VDELAY_NTSC,4,2        ; @DEFAULT_VDELAY_NTSC
	.comm	_DEFAULT_VACTIVE_NTSC,4,2       ; @DEFAULT_VACTIVE_NTSC
	.comm	_DEFAULT_HDELAY_PAL,4,2         ; @DEFAULT_HDELAY_PAL
	.comm	_DEFAULT_HACTIVE_PAL,4,2        ; @DEFAULT_HACTIVE_PAL
	.comm	_DEFAULT_VDELAY_PAL,4,2         ; @DEFAULT_VDELAY_PAL
	.comm	_DEFAULT_VACTIVE_PAL,4,2        ; @DEFAULT_VACTIVE_PAL
	.comm	_SOLO_VO_FMT_TYPE_NTSC,8,3      ; @SOLO_VO_FMT_TYPE_NTSC
	.comm	_SOLO_I2C_TW,4,2                ; @SOLO_I2C_TW
	.no_dead_strip	_tw2815_setup
.subsections_via_symbols
