	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda1997x_core_init
_tda1997x_core_init:                    ## @tda1997x_core_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	%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	%rdi, %r12
	callq	_to_state
	movq	%rax, %r15
	movq	_REG_HPD_AUTO_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_HPD_AUTO_HPD_UNSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	cmpq	$0, (%r15)
	jne	LBB0_2
## %bb.1:
	movq	_REG_MAN_SUS_HDMI_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MAN_DIS_HDCP@GOTPCREL(%rip), %rax
	movq	_MAN_RST_HDCP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_CGU_DBG_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CGU_DBG_CLK_SEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	%r12, %rdi
	callq	_io_write
LBB0_2:
	movq	_REG_SUS_SET_RGB2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$6, %edx
	callq	_io_write
	movq	_REG_SUS_SET_RGB3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$6, %edx
	callq	_io_write
	movq	_REG_RT_MAN_CTRL@GOTPCREL(%rip), %rax
	movq	_RT_MAN_CTRL_RT@GOTPCREL(%rip), %rcx
	movq	_RT_MAN_CTRL_RT_B@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	(%rax), %rsi
	movq	_RT_MAN_CTRL_RT_A@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_PWR_CONTROL@GOTPCREL(%rip), %rax
	movzbl	(%rax), %esi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_tda1997x_cec_write
	movq	_REG_OSC_DIVIDER@GOTPCREL(%rip), %rax
	movzbl	(%rax), %esi
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_tda1997x_cec_write
	movq	_REG_EN_OSC_PERIOD_LSB@GOTPCREL(%rip), %rax
	movzbl	(%rax), %esi
	movq	%r12, %rdi
	movl	$160, %edx
	callq	_tda1997x_cec_write
	movq	_REG_TIMER_D@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$84, %edx
	callq	_io_write
	movq	_REG_CONTROL@GOTPCREL(%rip), %rbx
	movzbl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_tda1997x_cec_read
	orl	$32, %eax
	movzbl	(%rbx), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_tda1997x_cec_write
	movl	$50, %edi
	callq	_mdelay
	movq	_REG_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_io_read
	movq	_REG_CMTP_REG10@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_io_read
	movq	_INTERRUPT_HDCP@GOTPCREL(%rip), %rax
	movq	_INTERRUPT_AUDIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_INTERRUPT_INFO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_REG_INT_MASK_TOP@GOTPCREL(%rip), %rax
	movq	_INTERRUPT_RATE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	(%rax), %rsi
	movq	_INTERRUPT_SUS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_INT_MASK_SUS@GOTPCREL(%rip), %rax
	movq	_MASK_MPT@GOTPCREL(%rip), %rcx
	movq	_MASK_FMT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	(%rax), %rsi
	movq	_MASK_SUS_END@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_INT_MASK_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MASK_RATE_B_ST@GOTPCREL(%rip), %rax
	movq	_MASK_RATE_A_ST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_INT_MASK_INFO@GOTPCREL(%rip), %rax
	movq	_MASK_AUD_IF@GOTPCREL(%rip), %rcx
	movq	_MASK_SPD_IF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	(%rax), %rsi
	movq	_MASK_AVI_IF@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_MASK_AUDIO_FREQ_FLG@GOTPCREL(%rip), %rax
	movq	_MASK_AUDIO_FLG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_REG_INT_MASK_AUDIO@GOTPCREL(%rip), %rax
	movq	_MASK_MUTE_FLG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	(%rax), %rsi
	movq	_MASK_ERROR_FIFO_PT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_INT_MASK_HDCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MASK_STATE_C5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_INT_MASK_DDC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MASK_DET_5V@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_INT_MASK_AFE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_io_write
	movq	_REG_INT_MASK_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_TOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_SUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_DDC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_INFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_AUDIO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_HDCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INT_FLG_CLR_AFE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	cmpq	$0, (%r15)
	jne	LBB0_4
## %bb.3:
	movq	_REG_CGU_DBG_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CGU_DBG_CLK_SEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	%r12, %rdi
	callq	_io_write
LBB0_4:
	movq	_REG_CLK_MIN_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CLK_MIN_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write24
	movq	_REG_CLK_MAX_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CLK_MAX_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write24
	cmpq	$0, (%r15)
	jne	LBB0_6
## %bb.5:
	movq	_REG_WDL_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_WDL_CFG_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
LBB0_6:
	movq	_REG_DEEP_COLOR_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_DC_FILTER_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_REG_SVC_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_io_write
	movq	_REG_INFO_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_io_write
	movq	_REG_INFO_EXCEED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_io_write
	cmpq	$0, (%r15)
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_tda1997x_reset_n1
LBB0_8:
	movq	_NACK_HDCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_tda1997x_hdmi_info_reset
	movq	_HPD_LOW_BP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tda1997x_manual_hpd
	movq	_REG_HDCP_BCAPS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_HDCP_HDMI@GOTPCREL(%rip), %rax
	movq	_HDCP_FAST_REAUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_io_write
	movq	_HDMI_CTRL_MUTE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_HDMI_CTRL_MUTE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_HDMI_CTRL_HDCP_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_HDMI_CTRL_HDCP_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_REG_HDMI_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_io_write
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_tda1997x_hdmi_info_reset
	movq	_REG_VDP_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r12, %rdi
	callq	_io_read
	movq	_VDP_CTRL_MATRIX_BP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_io_write
	movq	%r15, %rdi
	callq	_tda1997x_configure_vidout
	leaq	L_.str(%rip), %r13
	movq	_REG_VP35_32_CTRL@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %r9d
	movl	$1, %edi
	movq	%r13, %rcx
	movl	%ebx, %r8d
	callq	_v4l_dbg
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r12, %rdi
	callq	_io_write
	incq	%rbx
	cmpq	$9, %rbx
	jne	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_tda1997x_configure_audout
	movl	32(%r15), %eax
	cmpl	$127, %eax
	jle	LBB0_11
## %bb.14:
	cmpl	$128, %eax
	je	LBB0_19
## %bb.15:
	cmpl	$512, %eax                      ## imm = 0x200
	je	LBB0_16
## %bb.17:
	cmpl	$256, %eax                      ## imm = 0x100
	jne	LBB0_21
## %bb.18:
	movq	_AUDIO_CLOCK_SEL_256FS@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_11:
	cmpl	$32, %eax
	je	LBB0_20
## %bb.12:
	cmpl	$64, %eax
	jne	LBB0_21
## %bb.13:
	movq	_AUDIO_CLOCK_SEL_64FS@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_19:
	movq	_AUDIO_CLOCK_SEL_128FS@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_16:
	movq	_AUDIO_CLOCK_SEL_512FS@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_20:
	movq	_AUDIO_CLOCK_SEL_32FS@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movq	_AUDIO_CLOCK_SEL_16FS@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %edx
	movq	_REG_AUDIO_CLOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_io_write
	movq	_RESET_AI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_tda1997x_hdmi_info_reset
	movq	_RESET_IF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_tda1997x_hdmi_info_reset
	movq	_RESET_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_tda1997x_hdmi_info_reset
	movq	_RESET_GAMUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_tda1997x_hdmi_info_reset
	movq	_REG_HDMI_FLAGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_io_read
	movq	%rax, 8(%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_HPD_AUTO_CTRL,8,3          ## @REG_HPD_AUTO_CTRL
	.comm	_HPD_AUTO_HPD_UNSEL,4,2         ## @HPD_AUTO_HPD_UNSEL
	.comm	_REG_MAN_SUS_HDMI_SEL,8,3       ## @REG_MAN_SUS_HDMI_SEL
	.comm	_MAN_DIS_HDCP,4,2               ## @MAN_DIS_HDCP
	.comm	_MAN_RST_HDCP,4,2               ## @MAN_RST_HDCP
	.comm	_REG_CGU_DBG_SEL,8,3            ## @REG_CGU_DBG_SEL
	.comm	_CGU_DBG_CLK_SEL_SHIFT,4,2      ## @CGU_DBG_CLK_SEL_SHIFT
	.comm	_REG_SUS_SET_RGB2,8,3           ## @REG_SUS_SET_RGB2
	.comm	_REG_SUS_SET_RGB3,8,3           ## @REG_SUS_SET_RGB3
	.comm	_REG_RT_MAN_CTRL,8,3            ## @REG_RT_MAN_CTRL
	.comm	_RT_MAN_CTRL_RT,4,2             ## @RT_MAN_CTRL_RT
	.comm	_RT_MAN_CTRL_RT_B,4,2           ## @RT_MAN_CTRL_RT_B
	.comm	_RT_MAN_CTRL_RT_A,4,2           ## @RT_MAN_CTRL_RT_A
	.comm	_REG_PWR_CONTROL,4,2            ## @REG_PWR_CONTROL
	.comm	_REG_OSC_DIVIDER,4,2            ## @REG_OSC_DIVIDER
	.comm	_REG_EN_OSC_PERIOD_LSB,4,2      ## @REG_EN_OSC_PERIOD_LSB
	.comm	_REG_TIMER_D,8,3                ## @REG_TIMER_D
	.comm	_REG_CONTROL,4,2                ## @REG_CONTROL
	.comm	_REG_VERSION,8,3                ## @REG_VERSION
	.comm	_REG_CMTP_REG10,8,3             ## @REG_CMTP_REG10
	.comm	_REG_INT_MASK_TOP,8,3           ## @REG_INT_MASK_TOP
	.comm	_INTERRUPT_HDCP,4,2             ## @INTERRUPT_HDCP
	.comm	_INTERRUPT_AUDIO,4,2            ## @INTERRUPT_AUDIO
	.comm	_INTERRUPT_INFO,4,2             ## @INTERRUPT_INFO
	.comm	_INTERRUPT_RATE,4,2             ## @INTERRUPT_RATE
	.comm	_INTERRUPT_SUS,4,2              ## @INTERRUPT_SUS
	.comm	_REG_INT_MASK_SUS,8,3           ## @REG_INT_MASK_SUS
	.comm	_MASK_MPT,4,2                   ## @MASK_MPT
	.comm	_MASK_FMT,4,2                   ## @MASK_FMT
	.comm	_MASK_SUS_END,4,2               ## @MASK_SUS_END
	.comm	_REG_INT_MASK_RATE,8,3          ## @REG_INT_MASK_RATE
	.comm	_MASK_RATE_B_ST,4,2             ## @MASK_RATE_B_ST
	.comm	_MASK_RATE_A_ST,4,2             ## @MASK_RATE_A_ST
	.comm	_REG_INT_MASK_INFO,8,3          ## @REG_INT_MASK_INFO
	.comm	_MASK_AUD_IF,4,2                ## @MASK_AUD_IF
	.comm	_MASK_SPD_IF,4,2                ## @MASK_SPD_IF
	.comm	_MASK_AVI_IF,4,2                ## @MASK_AVI_IF
	.comm	_REG_INT_MASK_AUDIO,8,3         ## @REG_INT_MASK_AUDIO
	.comm	_MASK_AUDIO_FREQ_FLG,4,2        ## @MASK_AUDIO_FREQ_FLG
	.comm	_MASK_AUDIO_FLG,4,2             ## @MASK_AUDIO_FLG
	.comm	_MASK_MUTE_FLG,4,2              ## @MASK_MUTE_FLG
	.comm	_MASK_ERROR_FIFO_PT,4,2         ## @MASK_ERROR_FIFO_PT
	.comm	_REG_INT_MASK_HDCP,8,3          ## @REG_INT_MASK_HDCP
	.comm	_MASK_STATE_C5,4,2              ## @MASK_STATE_C5
	.comm	_REG_INT_MASK_DDC,8,3           ## @REG_INT_MASK_DDC
	.comm	_MASK_DET_5V,4,2                ## @MASK_DET_5V
	.comm	_REG_INT_MASK_AFE,8,3           ## @REG_INT_MASK_AFE
	.comm	_REG_INT_MASK_MODE,8,3          ## @REG_INT_MASK_MODE
	.comm	_REG_INT_FLG_CLR_TOP,8,3        ## @REG_INT_FLG_CLR_TOP
	.comm	_REG_INT_FLG_CLR_SUS,8,3        ## @REG_INT_FLG_CLR_SUS
	.comm	_REG_INT_FLG_CLR_DDC,8,3        ## @REG_INT_FLG_CLR_DDC
	.comm	_REG_INT_FLG_CLR_RATE,8,3       ## @REG_INT_FLG_CLR_RATE
	.comm	_REG_INT_FLG_CLR_MODE,8,3       ## @REG_INT_FLG_CLR_MODE
	.comm	_REG_INT_FLG_CLR_INFO,8,3       ## @REG_INT_FLG_CLR_INFO
	.comm	_REG_INT_FLG_CLR_AUDIO,8,3      ## @REG_INT_FLG_CLR_AUDIO
	.comm	_REG_INT_FLG_CLR_HDCP,8,3       ## @REG_INT_FLG_CLR_HDCP
	.comm	_REG_INT_FLG_CLR_AFE,8,3        ## @REG_INT_FLG_CLR_AFE
	.comm	_REG_CLK_MIN_RATE,4,2           ## @REG_CLK_MIN_RATE
	.comm	_CLK_MIN_RATE,4,2               ## @CLK_MIN_RATE
	.comm	_REG_CLK_MAX_RATE,4,2           ## @REG_CLK_MAX_RATE
	.comm	_CLK_MAX_RATE,4,2               ## @CLK_MAX_RATE
	.comm	_REG_WDL_CFG,8,3                ## @REG_WDL_CFG
	.comm	_WDL_CFG_VAL,4,2                ## @WDL_CFG_VAL
	.comm	_REG_DEEP_COLOR_CTRL,8,3        ## @REG_DEEP_COLOR_CTRL
	.comm	_DC_FILTER_VAL,4,2              ## @DC_FILTER_VAL
	.comm	_REG_SVC_MODE,8,3               ## @REG_SVC_MODE
	.comm	_REG_INFO_CTRL,8,3              ## @REG_INFO_CTRL
	.comm	_REG_INFO_EXCEED,8,3            ## @REG_INFO_EXCEED
	.comm	_NACK_HDCP,4,2                  ## @NACK_HDCP
	.comm	_HPD_LOW_BP,4,2                 ## @HPD_LOW_BP
	.comm	_REG_HDCP_BCAPS,8,3             ## @REG_HDCP_BCAPS
	.comm	_HDCP_HDMI,4,2                  ## @HDCP_HDMI
	.comm	_HDCP_FAST_REAUTH,4,2           ## @HDCP_FAST_REAUTH
	.comm	_HDMI_CTRL_MUTE_AUTO,4,2        ## @HDMI_CTRL_MUTE_AUTO
	.comm	_HDMI_CTRL_MUTE_SHIFT,4,2       ## @HDMI_CTRL_MUTE_SHIFT
	.comm	_HDMI_CTRL_HDCP_AUTO,4,2        ## @HDMI_CTRL_HDCP_AUTO
	.comm	_HDMI_CTRL_HDCP_SHIFT,4,2       ## @HDMI_CTRL_HDCP_SHIFT
	.comm	_REG_HDMI_CTRL,8,3              ## @REG_HDMI_CTRL
	.comm	_REG_VDP_CTRL,8,3               ## @REG_VDP_CTRL
	.comm	_VDP_CTRL_MATRIX_BP,4,2         ## @VDP_CTRL_MATRIX_BP
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vidout_cfg[%d]=0x%02x\n"

	.comm	_REG_VP35_32_CTRL,8,3           ## @REG_VP35_32_CTRL
	.comm	_AUDIO_CLOCK_SEL_512FS,4,2      ## @AUDIO_CLOCK_SEL_512FS
	.comm	_AUDIO_CLOCK_SEL_256FS,4,2      ## @AUDIO_CLOCK_SEL_256FS
	.comm	_AUDIO_CLOCK_SEL_128FS,4,2      ## @AUDIO_CLOCK_SEL_128FS
	.comm	_AUDIO_CLOCK_SEL_64FS,4,2       ## @AUDIO_CLOCK_SEL_64FS
	.comm	_AUDIO_CLOCK_SEL_32FS,4,2       ## @AUDIO_CLOCK_SEL_32FS
	.comm	_AUDIO_CLOCK_SEL_16FS,4,2       ## @AUDIO_CLOCK_SEL_16FS
	.comm	_REG_AUDIO_CLOCK,8,3            ## @REG_AUDIO_CLOCK
	.comm	_RESET_AI,4,2                   ## @RESET_AI
	.comm	_RESET_IF,4,2                   ## @RESET_IF
	.comm	_RESET_AUDIO,4,2                ## @RESET_AUDIO
	.comm	_RESET_GAMUT,4,2                ## @RESET_GAMUT
	.comm	_REG_HDMI_FLAGS,8,3             ## @REG_HDMI_FLAGS
	.no_dead_strip	_tda1997x_core_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda1997x_core_init
_tda1997x_core_init:                    ; @tda1997x_core_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	bl	_to_state
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_HPD_AUTO_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_HPD_AUTO_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x8, _HPD_AUTO_HPD_UNSEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HPD_AUTO_HPD_UNSEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_io_write
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _REG_MAN_SUS_HDMI_SEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_MAN_SUS_HDMI_SEL@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MAN_DIS_HDCP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAN_DIS_HDCP@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
Lloh11:
	ldr	w8, [x9]
Lloh12:
	adrp	x9, _MAN_RST_HDCP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MAN_RST_HDCP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_io_write
Lloh15:
	adrp	x8, _REG_CGU_DBG_SEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_CGU_DBG_SEL@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
Lloh18:
	adrp	x8, _CGU_DBG_CLK_SEL_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CGU_DBG_CLK_SEL_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w2, w9, w8
	mov	x0, x20
	bl	_io_write
LBB0_2:
Lloh21:
	adrp	x8, _REG_SUS_SET_RGB2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_SUS_SET_RGB2@GOTPAGEOFF]
Lloh23:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #6
	bl	_io_write
Lloh24:
	adrp	x8, _REG_SUS_SET_RGB3@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REG_SUS_SET_RGB3@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #6
	bl	_io_write
Lloh27:
	adrp	x8, _REG_RT_MAN_CTRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _REG_RT_MAN_CTRL@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x8]
Lloh30:
	adrp	x8, _RT_MAN_CTRL_RT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RT_MAN_CTRL_RT@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _RT_MAN_CTRL_RT_B@GOTPAGE
Lloh34:
	ldr	x9, [x9, _RT_MAN_CTRL_RT_B@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _RT_MAN_CTRL_RT_A@GOTPAGE
Lloh37:
	ldr	x9, [x9, _RT_MAN_CTRL_RT_A@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_io_write
Lloh39:
	adrp	x8, _REG_PWR_CONTROL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _REG_PWR_CONTROL@GOTPAGEOFF]
	ldrb	w1, [x8]
	mov	x0, x20
	mov	w2, #4
	bl	_tda1997x_cec_write
Lloh41:
	adrp	x8, _REG_OSC_DIVIDER@GOTPAGE
Lloh42:
	ldr	x8, [x8, _REG_OSC_DIVIDER@GOTPAGEOFF]
	ldrb	w1, [x8]
	mov	x0, x20
	mov	w2, #3
	bl	_tda1997x_cec_write
Lloh43:
	adrp	x8, _REG_EN_OSC_PERIOD_LSB@GOTPAGE
Lloh44:
	ldr	x8, [x8, _REG_EN_OSC_PERIOD_LSB@GOTPAGEOFF]
	ldrb	w1, [x8]
	mov	x0, x20
	mov	w2, #160
	bl	_tda1997x_cec_write
Lloh45:
	adrp	x8, _REG_TIMER_D@GOTPAGE
Lloh46:
	ldr	x8, [x8, _REG_TIMER_D@GOTPAGEOFF]
Lloh47:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #84
	bl	_io_write
Lloh48:
	adrp	x21, _REG_CONTROL@GOTPAGE
Lloh49:
	ldr	x21, [x21, _REG_CONTROL@GOTPAGEOFF]
	ldrb	w1, [x21]
	mov	x0, x20
	bl	_tda1997x_cec_read
	orr	w2, w0, #0x20
	ldrb	w1, [x21]
	mov	x0, x20
	bl	_tda1997x_cec_write
	mov	w0, #50
	bl	_mdelay
Lloh50:
	adrp	x8, _REG_VERSION@GOTPAGE
Lloh51:
	ldr	x8, [x8, _REG_VERSION@GOTPAGEOFF]
Lloh52:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_io_read
Lloh53:
	adrp	x8, _REG_CMTP_REG10@GOTPAGE
Lloh54:
	ldr	x8, [x8, _REG_CMTP_REG10@GOTPAGEOFF]
Lloh55:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_io_read
Lloh56:
	adrp	x8, _REG_INT_MASK_TOP@GOTPAGE
Lloh57:
	ldr	x8, [x8, _REG_INT_MASK_TOP@GOTPAGEOFF]
Lloh58:
	adrp	x9, _INTERRUPT_HDCP@GOTPAGE
Lloh59:
	ldr	x9, [x9, _INTERRUPT_HDCP@GOTPAGEOFF]
Lloh60:
	ldr	x1, [x8]
Lloh61:
	ldr	w8, [x9]
Lloh62:
	adrp	x9, _INTERRUPT_AUDIO@GOTPAGE
Lloh63:
	ldr	x9, [x9, _INTERRUPT_AUDIO@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh65:
	adrp	x9, _INTERRUPT_INFO@GOTPAGE
Lloh66:
	ldr	x9, [x9, _INTERRUPT_INFO@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh68:
	adrp	x9, _INTERRUPT_RATE@GOTPAGE
Lloh69:
	ldr	x9, [x9, _INTERRUPT_RATE@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh71:
	adrp	x9, _INTERRUPT_SUS@GOTPAGE
Lloh72:
	ldr	x9, [x9, _INTERRUPT_SUS@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_io_write
Lloh74:
	adrp	x8, _REG_INT_MASK_SUS@GOTPAGE
Lloh75:
	ldr	x8, [x8, _REG_INT_MASK_SUS@GOTPAGEOFF]
Lloh76:
	ldr	x1, [x8]
Lloh77:
	adrp	x8, _MASK_MPT@GOTPAGE
Lloh78:
	ldr	x8, [x8, _MASK_MPT@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
Lloh80:
	adrp	x9, _MASK_FMT@GOTPAGE
Lloh81:
	ldr	x9, [x9, _MASK_FMT@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh83:
	adrp	x9, _MASK_SUS_END@GOTPAGE
Lloh84:
	ldr	x9, [x9, _MASK_SUS_END@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_io_write
Lloh86:
	adrp	x8, _REG_INT_MASK_RATE@GOTPAGE
Lloh87:
	ldr	x8, [x8, _REG_INT_MASK_RATE@GOTPAGEOFF]
Lloh88:
	adrp	x9, _MASK_RATE_B_ST@GOTPAGE
Lloh89:
	ldr	x9, [x9, _MASK_RATE_B_ST@GOTPAGEOFF]
Lloh90:
	ldr	x1, [x8]
Lloh91:
	ldr	w8, [x9]
Lloh92:
	adrp	x9, _MASK_RATE_A_ST@GOTPAGE
Lloh93:
	ldr	x9, [x9, _MASK_RATE_A_ST@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_io_write
Lloh95:
	adrp	x8, _REG_INT_MASK_INFO@GOTPAGE
Lloh96:
	ldr	x8, [x8, _REG_INT_MASK_INFO@GOTPAGEOFF]
Lloh97:
	ldr	x1, [x8]
Lloh98:
	adrp	x8, _MASK_AUD_IF@GOTPAGE
Lloh99:
	ldr	x8, [x8, _MASK_AUD_IF@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
Lloh101:
	adrp	x9, _MASK_SPD_IF@GOTPAGE
Lloh102:
	ldr	x9, [x9, _MASK_SPD_IF@GOTPAGEOFF]
Lloh103:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh104:
	adrp	x9, _MASK_AVI_IF@GOTPAGE
Lloh105:
	ldr	x9, [x9, _MASK_AVI_IF@GOTPAGEOFF]
Lloh106:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_io_write
Lloh107:
	adrp	x8, _REG_INT_MASK_AUDIO@GOTPAGE
Lloh108:
	ldr	x8, [x8, _REG_INT_MASK_AUDIO@GOTPAGEOFF]
Lloh109:
	ldr	x1, [x8]
Lloh110:
	adrp	x8, _MASK_AUDIO_FREQ_FLG@GOTPAGE
Lloh111:
	ldr	x8, [x8, _MASK_AUDIO_FREQ_FLG@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
Lloh113:
	adrp	x9, _MASK_AUDIO_FLG@GOTPAGE
Lloh114:
	ldr	x9, [x9, _MASK_AUDIO_FLG@GOTPAGEOFF]
Lloh115:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh116:
	adrp	x9, _MASK_MUTE_FLG@GOTPAGE
Lloh117:
	ldr	x9, [x9, _MASK_MUTE_FLG@GOTPAGEOFF]
Lloh118:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh119:
	adrp	x9, _MASK_ERROR_FIFO_PT@GOTPAGE
Lloh120:
	ldr	x9, [x9, _MASK_ERROR_FIFO_PT@GOTPAGEOFF]
Lloh121:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_io_write
Lloh122:
	adrp	x8, _REG_INT_MASK_HDCP@GOTPAGE
Lloh123:
	ldr	x8, [x8, _REG_INT_MASK_HDCP@GOTPAGEOFF]
Lloh124:
	ldr	x1, [x8]
Lloh125:
	adrp	x8, _MASK_STATE_C5@GOTPAGE
Lloh126:
	ldr	x8, [x8, _MASK_STATE_C5@GOTPAGEOFF]
Lloh127:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_io_write
Lloh128:
	adrp	x8, _REG_INT_MASK_DDC@GOTPAGE
Lloh129:
	ldr	x8, [x8, _REG_INT_MASK_DDC@GOTPAGEOFF]
Lloh130:
	ldr	x1, [x8]
Lloh131:
	adrp	x8, _MASK_DET_5V@GOTPAGE
Lloh132:
	ldr	x8, [x8, _MASK_DET_5V@GOTPAGEOFF]
Lloh133:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_io_write
Lloh134:
	adrp	x8, _REG_INT_MASK_AFE@GOTPAGE
Lloh135:
	ldr	x8, [x8, _REG_INT_MASK_AFE@GOTPAGEOFF]
Lloh136:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_io_write
Lloh137:
	adrp	x8, _REG_INT_MASK_MODE@GOTPAGE
Lloh138:
	ldr	x8, [x8, _REG_INT_MASK_MODE@GOTPAGEOFF]
Lloh139:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_io_write
Lloh140:
	adrp	x8, _REG_INT_FLG_CLR_TOP@GOTPAGE
Lloh141:
	ldr	x8, [x8, _REG_INT_FLG_CLR_TOP@GOTPAGEOFF]
Lloh142:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh143:
	adrp	x8, _REG_INT_FLG_CLR_SUS@GOTPAGE
Lloh144:
	ldr	x8, [x8, _REG_INT_FLG_CLR_SUS@GOTPAGEOFF]
Lloh145:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh146:
	adrp	x8, _REG_INT_FLG_CLR_DDC@GOTPAGE
Lloh147:
	ldr	x8, [x8, _REG_INT_FLG_CLR_DDC@GOTPAGEOFF]
Lloh148:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh149:
	adrp	x8, _REG_INT_FLG_CLR_RATE@GOTPAGE
Lloh150:
	ldr	x8, [x8, _REG_INT_FLG_CLR_RATE@GOTPAGEOFF]
Lloh151:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh152:
	adrp	x8, _REG_INT_FLG_CLR_MODE@GOTPAGE
Lloh153:
	ldr	x8, [x8, _REG_INT_FLG_CLR_MODE@GOTPAGEOFF]
Lloh154:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh155:
	adrp	x8, _REG_INT_FLG_CLR_INFO@GOTPAGE
Lloh156:
	ldr	x8, [x8, _REG_INT_FLG_CLR_INFO@GOTPAGEOFF]
Lloh157:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh158:
	adrp	x8, _REG_INT_FLG_CLR_AUDIO@GOTPAGE
Lloh159:
	ldr	x8, [x8, _REG_INT_FLG_CLR_AUDIO@GOTPAGEOFF]
Lloh160:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh161:
	adrp	x8, _REG_INT_FLG_CLR_HDCP@GOTPAGE
Lloh162:
	ldr	x8, [x8, _REG_INT_FLG_CLR_HDCP@GOTPAGEOFF]
Lloh163:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh164:
	adrp	x8, _REG_INT_FLG_CLR_AFE@GOTPAGE
Lloh165:
	ldr	x8, [x8, _REG_INT_FLG_CLR_AFE@GOTPAGEOFF]
Lloh166:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
	ldr	x8, [x19]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh167:
	adrp	x8, _REG_CGU_DBG_SEL@GOTPAGE
Lloh168:
	ldr	x8, [x8, _REG_CGU_DBG_SEL@GOTPAGEOFF]
Lloh169:
	ldr	x1, [x8]
Lloh170:
	adrp	x8, _CGU_DBG_CLK_SEL_SHIFT@GOTPAGE
Lloh171:
	ldr	x8, [x8, _CGU_DBG_CLK_SEL_SHIFT@GOTPAGEOFF]
Lloh172:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w2, w9, w8
	mov	x0, x20
	bl	_io_write
LBB0_4:
Lloh173:
	adrp	x8, _REG_CLK_MIN_RATE@GOTPAGE
Lloh174:
	ldr	x8, [x8, _REG_CLK_MIN_RATE@GOTPAGEOFF]
Lloh175:
	ldr	w1, [x8]
Lloh176:
	adrp	x8, _CLK_MIN_RATE@GOTPAGE
Lloh177:
	ldr	x8, [x8, _CLK_MIN_RATE@GOTPAGEOFF]
Lloh178:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_io_write24
Lloh179:
	adrp	x8, _REG_CLK_MAX_RATE@GOTPAGE
Lloh180:
	ldr	x8, [x8, _REG_CLK_MAX_RATE@GOTPAGEOFF]
Lloh181:
	ldr	w1, [x8]
Lloh182:
	adrp	x8, _CLK_MAX_RATE@GOTPAGE
Lloh183:
	ldr	x8, [x8, _CLK_MAX_RATE@GOTPAGEOFF]
Lloh184:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_io_write24
	ldr	x8, [x19]
	cbnz	x8, LBB0_6
; %bb.5:
Lloh185:
	adrp	x8, _REG_WDL_CFG@GOTPAGE
Lloh186:
	ldr	x8, [x8, _REG_WDL_CFG@GOTPAGEOFF]
Lloh187:
	ldr	x1, [x8]
Lloh188:
	adrp	x8, _WDL_CFG_VAL@GOTPAGE
Lloh189:
	ldr	x8, [x8, _WDL_CFG_VAL@GOTPAGEOFF]
Lloh190:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_io_write
LBB0_6:
Lloh191:
	adrp	x8, _REG_DEEP_COLOR_CTRL@GOTPAGE
Lloh192:
	ldr	x8, [x8, _REG_DEEP_COLOR_CTRL@GOTPAGEOFF]
Lloh193:
	ldr	x1, [x8]
Lloh194:
	adrp	x8, _DC_FILTER_VAL@GOTPAGE
Lloh195:
	ldr	x8, [x8, _DC_FILTER_VAL@GOTPAGEOFF]
Lloh196:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_io_write
Lloh197:
	adrp	x8, _REG_SVC_MODE@GOTPAGE
Lloh198:
	ldr	x8, [x8, _REG_SVC_MODE@GOTPAGEOFF]
Lloh199:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_io_write
Lloh200:
	adrp	x8, _REG_INFO_CTRL@GOTPAGE
Lloh201:
	ldr	x8, [x8, _REG_INFO_CTRL@GOTPAGEOFF]
Lloh202:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_io_write
Lloh203:
	adrp	x8, _REG_INFO_EXCEED@GOTPAGE
Lloh204:
	ldr	x8, [x8, _REG_INFO_EXCEED@GOTPAGEOFF]
Lloh205:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #3
	bl	_io_write
	ldr	x8, [x19]
	cbnz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_tda1997x_reset_n1
LBB0_8:
Lloh206:
	adrp	x8, _NACK_HDCP@GOTPAGE
Lloh207:
	ldr	x8, [x8, _NACK_HDCP@GOTPAGEOFF]
Lloh208:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #1
	bl	_tda1997x_hdmi_info_reset
Lloh209:
	adrp	x8, _HPD_LOW_BP@GOTPAGE
Lloh210:
	ldr	x8, [x8, _HPD_LOW_BP@GOTPAGEOFF]
Lloh211:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_tda1997x_manual_hpd
Lloh212:
	adrp	x8, _REG_HDCP_BCAPS@GOTPAGE
Lloh213:
	ldr	x8, [x8, _REG_HDCP_BCAPS@GOTPAGEOFF]
Lloh214:
	adrp	x9, _HDCP_HDMI@GOTPAGE
Lloh215:
	ldr	x9, [x9, _HDCP_HDMI@GOTPAGEOFF]
Lloh216:
	ldr	x1, [x8]
Lloh217:
	ldr	w8, [x9]
Lloh218:
	adrp	x9, _HDCP_FAST_REAUTH@GOTPAGE
Lloh219:
	ldr	x9, [x9, _HDCP_FAST_REAUTH@GOTPAGEOFF]
Lloh220:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_io_write
Lloh221:
	adrp	x8, _HDMI_CTRL_MUTE_AUTO@GOTPAGE
Lloh222:
	ldr	x8, [x8, _HDMI_CTRL_MUTE_AUTO@GOTPAGEOFF]
Lloh223:
	ldr	w8, [x8]
Lloh224:
	adrp	x9, _HDMI_CTRL_MUTE_SHIFT@GOTPAGE
Lloh225:
	ldr	x9, [x9, _HDMI_CTRL_MUTE_SHIFT@GOTPAGEOFF]
Lloh226:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh227:
	adrp	x9, _HDMI_CTRL_HDCP_AUTO@GOTPAGE
Lloh228:
	ldr	x9, [x9, _HDMI_CTRL_HDCP_AUTO@GOTPAGEOFF]
Lloh229:
	ldr	w9, [x9]
Lloh230:
	adrp	x10, _HDMI_CTRL_HDCP_SHIFT@GOTPAGE
Lloh231:
	ldr	x10, [x10, _HDMI_CTRL_HDCP_SHIFT@GOTPAGEOFF]
Lloh232:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w9, w8
Lloh233:
	adrp	x8, _REG_HDMI_CTRL@GOTPAGE
Lloh234:
	ldr	x8, [x8, _REG_HDMI_CTRL@GOTPAGEOFF]
Lloh235:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_io_write
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_tda1997x_hdmi_info_reset
Lloh236:
	adrp	x21, _REG_VDP_CTRL@GOTPAGE
Lloh237:
	ldr	x21, [x21, _REG_VDP_CTRL@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x20
	bl	_io_read
Lloh238:
	adrp	x8, _VDP_CTRL_MATRIX_BP@GOTPAGE
Lloh239:
	ldr	x8, [x8, _VDP_CTRL_MATRIX_BP@GOTPAGEOFF]
Lloh240:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	x1, [x21]
	mov	x0, x20
	bl	_io_write
	mov	x0, x19
	bl	_tda1997x_configure_vidout
	mov	x21, #0
Lloh241:
	adrp	x23, _debug@GOTPAGE
Lloh242:
	ldr	x23, [x23, _debug@GOTPAGEOFF]
Lloh243:
	adrp	x24, _REG_VP35_32_CTRL@GOTPAGE
Lloh244:
	ldr	x24, [x24, _REG_VP35_32_CTRL@GOTPAGEOFF]
Lloh245:
	adrp	x22, l_.str@PAGE
Lloh246:
	add	x22, x22, l_.str@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	ldr	w2, [x19, #16]
	ldr	x8, [x19, #24]
	lsl	x25, x21, #2
	ldr	w5, [x8, x25]
	mov	w0, #1
	mov	x3, x22
	mov	x4, x21
	bl	_v4l_dbg
	ldr	x8, [x24]
	add	x1, x21, x8
	ldr	x8, [x19, #24]
	ldr	w2, [x8, x25]
	mov	x0, x20
	bl	_io_write
	add	x21, x21, #1
	cmp	x21, #9
	b.ne	LBB0_9
; %bb.10:
	mov	x0, x20
	mov	w1, #0
	bl	_tda1997x_configure_audout
	ldr	w8, [x19, #32]
	cmp	w8, #127
	b.le	LBB0_15
; %bb.11:
	cmp	w8, #128
	b.eq	LBB0_18
; %bb.12:
	cmp	w8, #512
	b.eq	LBB0_19
; %bb.13:
	cmp	w8, #256
	b.ne	LBB0_21
; %bb.14:
Lloh247:
	adrp	x8, _AUDIO_CLOCK_SEL_256FS@GOTPAGE
Lloh248:
	ldr	x8, [x8, _AUDIO_CLOCK_SEL_256FS@GOTPAGEOFF]
	b	LBB0_22
LBB0_15:
	cmp	w8, #32
	b.eq	LBB0_20
; %bb.16:
	cmp	w8, #64
	b.ne	LBB0_21
; %bb.17:
Lloh249:
	adrp	x8, _AUDIO_CLOCK_SEL_64FS@GOTPAGE
Lloh250:
	ldr	x8, [x8, _AUDIO_CLOCK_SEL_64FS@GOTPAGEOFF]
	b	LBB0_22
LBB0_18:
Lloh251:
	adrp	x8, _AUDIO_CLOCK_SEL_128FS@GOTPAGE
Lloh252:
	ldr	x8, [x8, _AUDIO_CLOCK_SEL_128FS@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:
Lloh253:
	adrp	x8, _AUDIO_CLOCK_SEL_512FS@GOTPAGE
Lloh254:
	ldr	x8, [x8, _AUDIO_CLOCK_SEL_512FS@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
Lloh255:
	adrp	x8, _AUDIO_CLOCK_SEL_32FS@GOTPAGE
Lloh256:
	ldr	x8, [x8, _AUDIO_CLOCK_SEL_32FS@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh257:
	adrp	x8, _AUDIO_CLOCK_SEL_16FS@GOTPAGE
Lloh258:
	ldr	x8, [x8, _AUDIO_CLOCK_SEL_16FS@GOTPAGEOFF]
LBB0_22:
	ldr	w2, [x8]
Lloh259:
	adrp	x8, _REG_AUDIO_CLOCK@GOTPAGE
Lloh260:
	ldr	x8, [x8, _REG_AUDIO_CLOCK@GOTPAGEOFF]
Lloh261:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_io_write
Lloh262:
	adrp	x8, _RESET_AI@GOTPAGE
Lloh263:
	ldr	x8, [x8, _RESET_AI@GOTPAGEOFF]
Lloh264:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tda1997x_hdmi_info_reset
Lloh265:
	adrp	x8, _RESET_IF@GOTPAGE
Lloh266:
	ldr	x8, [x8, _RESET_IF@GOTPAGEOFF]
Lloh267:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tda1997x_hdmi_info_reset
Lloh268:
	adrp	x8, _RESET_AUDIO@GOTPAGE
Lloh269:
	ldr	x8, [x8, _RESET_AUDIO@GOTPAGEOFF]
Lloh270:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tda1997x_hdmi_info_reset
Lloh271:
	adrp	x8, _RESET_GAMUT@GOTPAGE
Lloh272:
	ldr	x8, [x8, _RESET_GAMUT@GOTPAGEOFF]
Lloh273:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tda1997x_hdmi_info_reset
Lloh274:
	adrp	x8, _REG_HDMI_FLAGS@GOTPAGE
Lloh275:
	ldr	x8, [x8, _REG_HDMI_FLAGS@GOTPAGEOFF]
Lloh276:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_io_read
	str	x0, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh90
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh60
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh182, Lloh183, Lloh184
	.loh AdrpLdrGotLdr	Lloh179, Lloh180, Lloh181
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh188, Lloh189, Lloh190
	.loh AdrpLdrGotLdr	Lloh185, Lloh186, Lloh187
	.loh AdrpLdrGotLdr	Lloh203, Lloh204, Lloh205
	.loh AdrpLdrGotLdr	Lloh200, Lloh201, Lloh202
	.loh AdrpLdrGotLdr	Lloh197, Lloh198, Lloh199
	.loh AdrpLdrGotLdr	Lloh194, Lloh195, Lloh196
	.loh AdrpLdrGotLdr	Lloh191, Lloh192, Lloh193
	.loh AdrpAdd	Lloh245, Lloh246
	.loh AdrpLdrGot	Lloh243, Lloh244
	.loh AdrpLdrGot	Lloh241, Lloh242
	.loh AdrpLdrGotLdr	Lloh238, Lloh239, Lloh240
	.loh AdrpLdrGot	Lloh236, Lloh237
	.loh AdrpLdrGotLdr	Lloh233, Lloh234, Lloh235
	.loh AdrpLdrGotLdr	Lloh230, Lloh231, Lloh232
	.loh AdrpLdrGotLdr	Lloh227, Lloh228, Lloh229
	.loh AdrpLdrGotLdr	Lloh224, Lloh225, Lloh226
	.loh AdrpLdrGotLdr	Lloh221, Lloh222, Lloh223
	.loh AdrpLdrGotLdr	Lloh218, Lloh219, Lloh220
	.loh AdrpLdrGotLdr	Lloh214, Lloh215, Lloh217
	.loh AdrpLdrGotLdr	Lloh212, Lloh213, Lloh216
	.loh AdrpLdrGotLdr	Lloh209, Lloh210, Lloh211
	.loh AdrpLdrGotLdr	Lloh206, Lloh207, Lloh208
	.loh AdrpLdrGot	Lloh247, Lloh248
	.loh AdrpLdrGot	Lloh249, Lloh250
	.loh AdrpLdrGot	Lloh251, Lloh252
	.loh AdrpLdrGot	Lloh253, Lloh254
	.loh AdrpLdrGot	Lloh255, Lloh256
	.loh AdrpLdrGot	Lloh257, Lloh258
	.loh AdrpLdrGotLdr	Lloh274, Lloh275, Lloh276
	.loh AdrpLdrGotLdr	Lloh271, Lloh272, Lloh273
	.loh AdrpLdrGotLdr	Lloh268, Lloh269, Lloh270
	.loh AdrpLdrGotLdr	Lloh265, Lloh266, Lloh267
	.loh AdrpLdrGotLdr	Lloh262, Lloh263, Lloh264
	.loh AdrpLdrGotLdr	Lloh259, Lloh260, Lloh261
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_HPD_AUTO_CTRL,8,3          ; @REG_HPD_AUTO_CTRL
	.comm	_HPD_AUTO_HPD_UNSEL,4,2         ; @HPD_AUTO_HPD_UNSEL
	.comm	_REG_MAN_SUS_HDMI_SEL,8,3       ; @REG_MAN_SUS_HDMI_SEL
	.comm	_MAN_DIS_HDCP,4,2               ; @MAN_DIS_HDCP
	.comm	_MAN_RST_HDCP,4,2               ; @MAN_RST_HDCP
	.comm	_REG_CGU_DBG_SEL,8,3            ; @REG_CGU_DBG_SEL
	.comm	_CGU_DBG_CLK_SEL_SHIFT,4,2      ; @CGU_DBG_CLK_SEL_SHIFT
	.comm	_REG_SUS_SET_RGB2,8,3           ; @REG_SUS_SET_RGB2
	.comm	_REG_SUS_SET_RGB3,8,3           ; @REG_SUS_SET_RGB3
	.comm	_REG_RT_MAN_CTRL,8,3            ; @REG_RT_MAN_CTRL
	.comm	_RT_MAN_CTRL_RT,4,2             ; @RT_MAN_CTRL_RT
	.comm	_RT_MAN_CTRL_RT_B,4,2           ; @RT_MAN_CTRL_RT_B
	.comm	_RT_MAN_CTRL_RT_A,4,2           ; @RT_MAN_CTRL_RT_A
	.comm	_REG_PWR_CONTROL,4,2            ; @REG_PWR_CONTROL
	.comm	_REG_OSC_DIVIDER,4,2            ; @REG_OSC_DIVIDER
	.comm	_REG_EN_OSC_PERIOD_LSB,4,2      ; @REG_EN_OSC_PERIOD_LSB
	.comm	_REG_TIMER_D,8,3                ; @REG_TIMER_D
	.comm	_REG_CONTROL,4,2                ; @REG_CONTROL
	.comm	_REG_VERSION,8,3                ; @REG_VERSION
	.comm	_REG_CMTP_REG10,8,3             ; @REG_CMTP_REG10
	.comm	_REG_INT_MASK_TOP,8,3           ; @REG_INT_MASK_TOP
	.comm	_INTERRUPT_HDCP,4,2             ; @INTERRUPT_HDCP
	.comm	_INTERRUPT_AUDIO,4,2            ; @INTERRUPT_AUDIO
	.comm	_INTERRUPT_INFO,4,2             ; @INTERRUPT_INFO
	.comm	_INTERRUPT_RATE,4,2             ; @INTERRUPT_RATE
	.comm	_INTERRUPT_SUS,4,2              ; @INTERRUPT_SUS
	.comm	_REG_INT_MASK_SUS,8,3           ; @REG_INT_MASK_SUS
	.comm	_MASK_MPT,4,2                   ; @MASK_MPT
	.comm	_MASK_FMT,4,2                   ; @MASK_FMT
	.comm	_MASK_SUS_END,4,2               ; @MASK_SUS_END
	.comm	_REG_INT_MASK_RATE,8,3          ; @REG_INT_MASK_RATE
	.comm	_MASK_RATE_B_ST,4,2             ; @MASK_RATE_B_ST
	.comm	_MASK_RATE_A_ST,4,2             ; @MASK_RATE_A_ST
	.comm	_REG_INT_MASK_INFO,8,3          ; @REG_INT_MASK_INFO
	.comm	_MASK_AUD_IF,4,2                ; @MASK_AUD_IF
	.comm	_MASK_SPD_IF,4,2                ; @MASK_SPD_IF
	.comm	_MASK_AVI_IF,4,2                ; @MASK_AVI_IF
	.comm	_REG_INT_MASK_AUDIO,8,3         ; @REG_INT_MASK_AUDIO
	.comm	_MASK_AUDIO_FREQ_FLG,4,2        ; @MASK_AUDIO_FREQ_FLG
	.comm	_MASK_AUDIO_FLG,4,2             ; @MASK_AUDIO_FLG
	.comm	_MASK_MUTE_FLG,4,2              ; @MASK_MUTE_FLG
	.comm	_MASK_ERROR_FIFO_PT,4,2         ; @MASK_ERROR_FIFO_PT
	.comm	_REG_INT_MASK_HDCP,8,3          ; @REG_INT_MASK_HDCP
	.comm	_MASK_STATE_C5,4,2              ; @MASK_STATE_C5
	.comm	_REG_INT_MASK_DDC,8,3           ; @REG_INT_MASK_DDC
	.comm	_MASK_DET_5V,4,2                ; @MASK_DET_5V
	.comm	_REG_INT_MASK_AFE,8,3           ; @REG_INT_MASK_AFE
	.comm	_REG_INT_MASK_MODE,8,3          ; @REG_INT_MASK_MODE
	.comm	_REG_INT_FLG_CLR_TOP,8,3        ; @REG_INT_FLG_CLR_TOP
	.comm	_REG_INT_FLG_CLR_SUS,8,3        ; @REG_INT_FLG_CLR_SUS
	.comm	_REG_INT_FLG_CLR_DDC,8,3        ; @REG_INT_FLG_CLR_DDC
	.comm	_REG_INT_FLG_CLR_RATE,8,3       ; @REG_INT_FLG_CLR_RATE
	.comm	_REG_INT_FLG_CLR_MODE,8,3       ; @REG_INT_FLG_CLR_MODE
	.comm	_REG_INT_FLG_CLR_INFO,8,3       ; @REG_INT_FLG_CLR_INFO
	.comm	_REG_INT_FLG_CLR_AUDIO,8,3      ; @REG_INT_FLG_CLR_AUDIO
	.comm	_REG_INT_FLG_CLR_HDCP,8,3       ; @REG_INT_FLG_CLR_HDCP
	.comm	_REG_INT_FLG_CLR_AFE,8,3        ; @REG_INT_FLG_CLR_AFE
	.comm	_REG_CLK_MIN_RATE,4,2           ; @REG_CLK_MIN_RATE
	.comm	_CLK_MIN_RATE,4,2               ; @CLK_MIN_RATE
	.comm	_REG_CLK_MAX_RATE,4,2           ; @REG_CLK_MAX_RATE
	.comm	_CLK_MAX_RATE,4,2               ; @CLK_MAX_RATE
	.comm	_REG_WDL_CFG,8,3                ; @REG_WDL_CFG
	.comm	_WDL_CFG_VAL,4,2                ; @WDL_CFG_VAL
	.comm	_REG_DEEP_COLOR_CTRL,8,3        ; @REG_DEEP_COLOR_CTRL
	.comm	_DC_FILTER_VAL,4,2              ; @DC_FILTER_VAL
	.comm	_REG_SVC_MODE,8,3               ; @REG_SVC_MODE
	.comm	_REG_INFO_CTRL,8,3              ; @REG_INFO_CTRL
	.comm	_REG_INFO_EXCEED,8,3            ; @REG_INFO_EXCEED
	.comm	_NACK_HDCP,4,2                  ; @NACK_HDCP
	.comm	_HPD_LOW_BP,4,2                 ; @HPD_LOW_BP
	.comm	_REG_HDCP_BCAPS,8,3             ; @REG_HDCP_BCAPS
	.comm	_HDCP_HDMI,4,2                  ; @HDCP_HDMI
	.comm	_HDCP_FAST_REAUTH,4,2           ; @HDCP_FAST_REAUTH
	.comm	_HDMI_CTRL_MUTE_AUTO,4,2        ; @HDMI_CTRL_MUTE_AUTO
	.comm	_HDMI_CTRL_MUTE_SHIFT,4,2       ; @HDMI_CTRL_MUTE_SHIFT
	.comm	_HDMI_CTRL_HDCP_AUTO,4,2        ; @HDMI_CTRL_HDCP_AUTO
	.comm	_HDMI_CTRL_HDCP_SHIFT,4,2       ; @HDMI_CTRL_HDCP_SHIFT
	.comm	_REG_HDMI_CTRL,8,3              ; @REG_HDMI_CTRL
	.comm	_REG_VDP_CTRL,8,3               ; @REG_VDP_CTRL
	.comm	_VDP_CTRL_MATRIX_BP,4,2         ; @VDP_CTRL_MATRIX_BP
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vidout_cfg[%d]=0x%02x\n"

	.comm	_REG_VP35_32_CTRL,8,3           ; @REG_VP35_32_CTRL
	.comm	_AUDIO_CLOCK_SEL_512FS,4,2      ; @AUDIO_CLOCK_SEL_512FS
	.comm	_AUDIO_CLOCK_SEL_256FS,4,2      ; @AUDIO_CLOCK_SEL_256FS
	.comm	_AUDIO_CLOCK_SEL_128FS,4,2      ; @AUDIO_CLOCK_SEL_128FS
	.comm	_AUDIO_CLOCK_SEL_64FS,4,2       ; @AUDIO_CLOCK_SEL_64FS
	.comm	_AUDIO_CLOCK_SEL_32FS,4,2       ; @AUDIO_CLOCK_SEL_32FS
	.comm	_AUDIO_CLOCK_SEL_16FS,4,2       ; @AUDIO_CLOCK_SEL_16FS
	.comm	_REG_AUDIO_CLOCK,8,3            ; @REG_AUDIO_CLOCK
	.comm	_RESET_AI,4,2                   ; @RESET_AI
	.comm	_RESET_IF,4,2                   ; @RESET_IF
	.comm	_RESET_AUDIO,4,2                ; @RESET_AUDIO
	.comm	_RESET_GAMUT,4,2                ; @RESET_GAMUT
	.comm	_REG_HDMI_FLAGS,8,3             ; @REG_HDMI_FLAGS
	.no_dead_strip	_tda1997x_core_init
.subsections_via_symbols
