	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inno_hdmi_phy_rk3328_power_on
_inno_hdmi_phy_rk3328_power_on:         ## @inno_hdmi_phy_rk3328_power_on
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_RK3328_PDATA_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, %esi
	xorl	%ecx, %ecx
	callq	_inno_update_bits
	movq	_RK3328_POST_PLL_POWER_DOWN@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	$170, %esi
	movl	%ecx, %edx
	callq	_inno_update_bits
	movl	8(%r15), %edi
	callq	_RK3328_POST_PLL_FB_DIV_7_0
	movq	%rbx, %rdi
	movl	$172, %esi
	movl	%eax, %edx
	callq	_inno_write
	movl	(%r15), %eax
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_RK3328_POST_PLL_REFCLK_SEL_TMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$170, %esi
	callq	_inno_write
	movl	8(%r15), %edi
	callq	_RK3328_POST_PLL_FB_DIV_8
	movl	%eax, %r12d
	movl	4(%r15), %edi
	callq	_RK3328_POST_PLL_PRE_DIV
	orl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$171, %esi
	movl	%r12d, %edx
	jmp	LBB0_3
LBB0_2:
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	decl	%edx
	movq	_RK3328_POST_PLL_POST_DIV_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$173, %esi
	callq	_inno_write
	movl	8(%r15), %edi
	callq	_RK3328_POST_PLL_FB_DIV_8
	movl	%eax, %r12d
	movl	4(%r15), %edi
	callq	_RK3328_POST_PLL_PRE_DIV
	orl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$171, %esi
	movl	%r12d, %edx
	callq	_inno_write
	movq	_RK3328_POST_PLL_POST_DIV_ENABLE@GOTPCREL(%rip), %rax
	movq	_RK3328_POST_PLL_REFCLK_SEL_TMDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$170, %esi
LBB0_3:
	callq	_inno_write
	movq	(%r14), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$181, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	movl	$182, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	movl	$183, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	movl	$184, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	16(%rax), %edx
	movq	%rbx, %rdi
	movl	$185, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	20(%rax), %edx
	movq	%rbx, %rdi
	movl	$186, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	24(%rax), %edx
	movq	%rbx, %rdi
	movl	$187, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	28(%rax), %edx
	movq	%rbx, %rdi
	movl	$188, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	32(%rax), %edx
	movq	%rbx, %rdi
	movl	$189, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	36(%rax), %edx
	movq	%rbx, %rdi
	movl	$190, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	40(%rax), %edx
	movq	%rbx, %rdi
	movl	$191, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	44(%rax), %edx
	movq	%rbx, %rdi
	movl	$192, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	48(%rax), %edx
	movq	%rbx, %rdi
	movl	$193, %esi
	callq	_inno_write
	movq	(%r14), %rax
	movl	52(%rax), %edx
	movq	%rbx, %rdi
	movl	$194, %esi
	callq	_inno_write
	movq	_RK3328_ESD_DETECT_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_RK3328_ESD_DETECT_340MV@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$200, %esi
	callq	_inno_update_bits
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$201, %esi
	callq	_inno_update_bits
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$202, %esi
	callq	_inno_update_bits
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$203, %esi
	callq	_inno_update_bits
	cmpl	$340000001, 8(%r14)             ## imm = 0x1443FD01
	jl	LBB0_5
## %bb.4:
	movl	4(%rbx), %edi
	callq	_clk_get_rate
	cltq
	imulq	$351843721, %rax, %r15          ## imm = 0x14F8B589
	movq	%r15, %rax
	shrq	$63, %rax
	sarq	$45, %r15
	addl	%eax, %r15d
	movl	%r15d, %edi
	callq	_RK3328_TERM_RESISTOR_CALIB_SPEED_14_8
	movq	_RK3328_BYPASS_TERM_RESISTOR_CALIB@GOTPCREL(%rip), %r12
	orl	(%r12), %eax
	movq	%rbx, %rdi
	movl	$197, %esi
	movl	%eax, %edx
	callq	_inno_write
	movl	%r15d, %edi
	callq	_RK3328_TERM_RESISTOR_CALIB_SPEED_7_0
	movq	%rbx, %rdi
	movl	$198, %esi
	movl	%eax, %edx
	callq	_inno_write
	movq	_RK3328_TERM_RESISTOR_100@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$199, %esi
	callq	_inno_write
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$197, %esi
	xorl	%ecx, %ecx
	callq	_inno_update_bits
	jmp	LBB0_8
LBB0_5:
	movq	_RK3328_BYPASS_TERM_RESISTOR_CALIB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$197, %esi
	callq	_inno_write
	cmpl	$165000001, 8(%r14)             ## imm = 0x9D5B341
	jl	LBB0_7
## %bb.6:
	movq	_RK3328_TMDS_TERM_RESIST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RK3328_TMDS_TERM_RESIST_75@GOTPCREL(%rip), %rax
	movq	_RK3328_TMDS_TERM_RESIST_150@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$200, %esi
	callq	_inno_update_bits
LBB0_7:
	movq	_RK3328_TMDS_TERM_RESIST_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_RK3328_TMDS_TERM_RESIST_150@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$201, %esi
	callq	_inno_update_bits
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$202, %esi
	callq	_inno_update_bits
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$203, %esi
	callq	_inno_update_bits
	movl	$3, %r15d
LBB0_8:
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$170, %esi
	xorl	%ecx, %ecx
	callq	_inno_update_bits
	movq	_RK3328_BANDGAP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$176, %esi
	movl	%ecx, %edx
	callq	_inno_update_bits
	movq	_RK3328_TMDS_DRIVER_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$178, %esi
	movl	%ecx, %edx
	callq	_inno_update_bits
	movq	_RK3328_POST_PLL_LOCK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r15d, %ecx
	movq	%rbx, %rdi
	movl	$175, %esi
	movl	%r15d, %edx
	movl	$1000, %r8d                     ## imm = 0x3E8
	movl	$10000, %r9d                    ## imm = 0x2710
	callq	_inno_poll
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_13
LBB0_10:
	cmpl	$340000001, 8(%r14)             ## imm = 0x1443FD01
	jl	LBB0_12
## %bb.11:
	movl	$100, %edi
	callq	_msleep
LBB0_12:
	movq	_RK3328_PDATA_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	%ecx, %edx
	callq	_inno_update_bits
	movq	_RK3328_INT_VSS_AGND_ESD_DET@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_RK3328_INT_TMDS_CLK
	movl	%eax, %r14d
	movl	(%r12), %edi
	callq	_RK3328_INT_TMDS_D2
	orl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	%r14d, %edx
	callq	_inno_write
	movl	(%r12), %edi
	callq	_RK3328_INT_TMDS_D1
	movl	%eax, %r14d
	movl	(%r12), %edi
	callq	_RK3328_INT_TMDS_D0
	orl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$7, %esi
	movl	%r14d, %edx
	callq	_inno_write
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RK3328_PDATA_EN,4,2            ## @RK3328_PDATA_EN
	.comm	_RK3328_POST_PLL_POWER_DOWN,4,2 ## @RK3328_POST_PLL_POWER_DOWN
	.comm	_RK3328_POST_PLL_REFCLK_SEL_TMDS,4,2 ## @RK3328_POST_PLL_REFCLK_SEL_TMDS
	.comm	_RK3328_POST_PLL_POST_DIV_MASK,4,2 ## @RK3328_POST_PLL_POST_DIV_MASK
	.comm	_RK3328_POST_PLL_POST_DIV_ENABLE,4,2 ## @RK3328_POST_PLL_POST_DIV_ENABLE
	.comm	_RK3328_ESD_DETECT_MASK,4,2     ## @RK3328_ESD_DETECT_MASK
	.comm	_RK3328_ESD_DETECT_340MV,4,2    ## @RK3328_ESD_DETECT_340MV
	.comm	_RK3328_BYPASS_TERM_RESISTOR_CALIB,4,2 ## @RK3328_BYPASS_TERM_RESISTOR_CALIB
	.comm	_RK3328_TERM_RESISTOR_100,4,2   ## @RK3328_TERM_RESISTOR_100
	.comm	_RK3328_TMDS_TERM_RESIST_MASK,4,2 ## @RK3328_TMDS_TERM_RESIST_MASK
	.comm	_RK3328_TMDS_TERM_RESIST_75,4,2 ## @RK3328_TMDS_TERM_RESIST_75
	.comm	_RK3328_TMDS_TERM_RESIST_150,4,2 ## @RK3328_TMDS_TERM_RESIST_150
	.comm	_RK3328_BANDGAP_ENABLE,4,2      ## @RK3328_BANDGAP_ENABLE
	.comm	_RK3328_TMDS_DRIVER_ENABLE,4,2  ## @RK3328_TMDS_DRIVER_ENABLE
	.comm	_RK3328_POST_PLL_LOCK_STATUS,4,2 ## @RK3328_POST_PLL_LOCK_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Post-PLL locking failed\n"

	.comm	_RK3328_INT_VSS_AGND_ESD_DET,4,2 ## @RK3328_INT_VSS_AGND_ESD_DET
	.no_dead_strip	_inno_hdmi_phy_rk3328_power_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inno_hdmi_phy_rk3328_power_on
_inno_hdmi_phy_rk3328_power_on:         ; @inno_hdmi_phy_rk3328_power_on
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _RK3328_PDATA_EN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RK3328_PDATA_EN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #2
	mov	w3, #0
	bl	_inno_update_bits
Lloh2:
	adrp	x24, _RK3328_POST_PLL_POWER_DOWN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RK3328_POST_PLL_POWER_DOWN@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #170
	mov	x3, x2
	bl	_inno_update_bits
	ldr	w0, [x21, #8]
	bl	_RK3328_POST_PLL_FB_DIV_7_0
	mov	x2, x0
	mov	x0, x19
	mov	w1, #172
	bl	_inno_write
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _RK3328_POST_PLL_REFCLK_SEL_TMDS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RK3328_POST_PLL_REFCLK_SEL_TMDS@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #170
	bl	_inno_write
	ldr	w0, [x21, #8]
	bl	_RK3328_POST_PLL_FB_DIV_8
	mov	x22, x0
	ldr	w0, [x21, #4]
	bl	_RK3328_POST_PLL_PRE_DIV
	orr	w2, w0, w22
	mov	x0, x19
	mov	w1, #171
	b	LBB0_3
LBB0_2:
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w8, w8, #1
Lloh7:
	adrp	x9, _RK3328_POST_PLL_POST_DIV_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RK3328_POST_PLL_POST_DIV_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w2, w9, w8
	mov	x0, x19
	mov	w1, #173
	bl	_inno_write
	ldr	w0, [x21, #8]
	bl	_RK3328_POST_PLL_FB_DIV_8
	mov	x22, x0
	ldr	w0, [x21, #4]
	bl	_RK3328_POST_PLL_PRE_DIV
	orr	w2, w0, w22
	mov	x0, x19
	mov	w1, #171
	bl	_inno_write
Lloh10:
	adrp	x8, _RK3328_POST_PLL_POST_DIV_ENABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RK3328_POST_PLL_POST_DIV_ENABLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _RK3328_POST_PLL_REFCLK_SEL_TMDS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _RK3328_POST_PLL_REFCLK_SEL_TMDS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	w1, #170
LBB0_3:
	bl	_inno_write
	mov	w22, #64768
	movk	w22, #5187, lsl #16
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #181
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	w1, #182
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #8]
	mov	x0, x19
	mov	w1, #183
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #12]
	mov	x0, x19
	mov	w1, #184
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #16]
	mov	x0, x19
	mov	w1, #185
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #20]
	mov	x0, x19
	mov	w1, #186
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #24]
	mov	x0, x19
	mov	w1, #187
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #28]
	mov	x0, x19
	mov	w1, #188
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #32]
	mov	x0, x19
	mov	w1, #189
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #36]
	mov	x0, x19
	mov	w1, #190
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #40]
	mov	x0, x19
	mov	w1, #191
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #44]
	mov	x0, x19
	mov	w1, #192
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #48]
	mov	x0, x19
	mov	w1, #193
	bl	_inno_write
	ldr	x8, [x20]
	ldr	w2, [x8, #52]
	mov	x0, x19
	mov	w1, #194
	bl	_inno_write
Lloh16:
	adrp	x21, _RK3328_ESD_DETECT_MASK@GOTPAGE
Lloh17:
	ldr	x21, [x21, _RK3328_ESD_DETECT_MASK@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh18:
	adrp	x25, _RK3328_ESD_DETECT_340MV@GOTPAGE
Lloh19:
	ldr	x25, [x25, _RK3328_ESD_DETECT_340MV@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #200
	bl	_inno_update_bits
	ldr	w2, [x21]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #201
	bl	_inno_update_bits
	ldr	w2, [x21]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #202
	bl	_inno_update_bits
	ldr	w2, [x21]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #203
	bl	_inno_update_bits
	ldr	w8, [x20, #8]
	cmp	w8, w22
	b.le	LBB0_5
; %bb.4:
	ldr	w0, [x19, #4]
	bl	_clk_get_rate
	mov	w8, #46473
	movk	w8, #5368, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #45
	add	w21, w8, w9
	mov	x0, x21
	bl	_RK3328_TERM_RESISTOR_CALIB_SPEED_14_8
Lloh20:
	adrp	x25, _RK3328_BYPASS_TERM_RESISTOR_CALIB@GOTPAGE
Lloh21:
	ldr	x25, [x25, _RK3328_BYPASS_TERM_RESISTOR_CALIB@GOTPAGEOFF]
	ldr	w8, [x25]
	orr	w2, w8, w0
	mov	x0, x19
	mov	w1, #197
	bl	_inno_write
	mov	x0, x21
	bl	_RK3328_TERM_RESISTOR_CALIB_SPEED_7_0
	mov	x2, x0
	mov	x0, x19
	mov	w1, #198
	bl	_inno_write
Lloh22:
	adrp	x8, _RK3328_TERM_RESISTOR_100@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RK3328_TERM_RESISTOR_100@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #199
	bl	_inno_write
	ldr	w2, [x25]
	mov	x0, x19
	mov	w1, #197
	mov	w3, #0
	bl	_inno_update_bits
	b	LBB0_8
LBB0_5:
Lloh25:
	adrp	x8, _RK3328_BYPASS_TERM_RESISTOR_CALIB@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RK3328_BYPASS_TERM_RESISTOR_CALIB@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #197
	bl	_inno_write
	ldr	w8, [x20, #8]
	mov	w9, #45889
	movk	w9, #2517, lsl #16
Lloh28:
	adrp	x21, _RK3328_TMDS_TERM_RESIST_MASK@GOTPAGE
Lloh29:
	ldr	x21, [x21, _RK3328_TMDS_TERM_RESIST_MASK@GOTPAGEOFF]
Lloh30:
	adrp	x25, _RK3328_TMDS_TERM_RESIST_150@GOTPAGE
Lloh31:
	ldr	x25, [x25, _RK3328_TMDS_TERM_RESIST_150@GOTPAGEOFF]
	cmp	w8, w9
	b.lt	LBB0_7
; %bb.6:
	ldr	w2, [x21]
Lloh32:
	adrp	x8, _RK3328_TMDS_TERM_RESIST_75@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RK3328_TMDS_TERM_RESIST_75@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w3, w9, w8
	mov	x0, x19
	mov	w1, #200
	bl	_inno_update_bits
LBB0_7:
	ldr	w2, [x21]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #201
	bl	_inno_update_bits
	ldr	w2, [x21]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #202
	bl	_inno_update_bits
	ldr	w2, [x21]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #203
	bl	_inno_update_bits
	mov	w21, #3
LBB0_8:
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #170
	mov	w3, #0
	bl	_inno_update_bits
Lloh35:
	adrp	x8, _RK3328_BANDGAP_ENABLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RK3328_BANDGAP_ENABLE@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #176
	mov	x3, x2
	bl	_inno_update_bits
Lloh38:
	adrp	x8, _RK3328_TMDS_DRIVER_ENABLE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RK3328_TMDS_DRIVER_ENABLE@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #178
	mov	x3, x2
	bl	_inno_update_bits
Lloh41:
	adrp	x8, _RK3328_POST_PLL_LOCK_STATUS@GOTPAGE
Lloh42:
	ldr	x8, [x8, _RK3328_POST_PLL_LOCK_STATUS@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	and	w3, w8, w21
	mov	x0, x19
	mov	w1, #175
	mov	x2, x21
	mov	w4, #1000
	mov	w5, #10000
	bl	_inno_poll
	mov	x21, x0
	cbz	w0, LBB0_10
; %bb.9:
	ldr	w0, [x19]
Lloh44:
	adrp	x1, l_.str@PAGE
Lloh45:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_13
LBB0_10:
	ldr	w8, [x20, #8]
	cmp	w8, w22
	b.le	LBB0_12
; %bb.11:
	mov	w0, #100
	bl	_msleep
LBB0_12:
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #2
	mov	x3, x2
	bl	_inno_update_bits
Lloh46:
	adrp	x22, _RK3328_INT_VSS_AGND_ESD_DET@GOTPAGE
Lloh47:
	ldr	x22, [x22, _RK3328_INT_VSS_AGND_ESD_DET@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_RK3328_INT_TMDS_CLK
	mov	x20, x0
	ldr	w0, [x22]
	bl	_RK3328_INT_TMDS_D2
	orr	w2, w0, w20
	mov	x0, x19
	mov	w1, #5
	bl	_inno_write
	ldr	w0, [x22]
	bl	_RK3328_INT_TMDS_D1
	mov	x20, x0
	ldr	w0, [x22]
	bl	_RK3328_INT_TMDS_D0
	orr	w2, w0, w20
	mov	x0, x19
	mov	w1, #7
	bl	_inno_write
LBB0_13:
	mov	x0, x21
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_RK3328_PDATA_EN,4,2            ; @RK3328_PDATA_EN
	.comm	_RK3328_POST_PLL_POWER_DOWN,4,2 ; @RK3328_POST_PLL_POWER_DOWN
	.comm	_RK3328_POST_PLL_REFCLK_SEL_TMDS,4,2 ; @RK3328_POST_PLL_REFCLK_SEL_TMDS
	.comm	_RK3328_POST_PLL_POST_DIV_MASK,4,2 ; @RK3328_POST_PLL_POST_DIV_MASK
	.comm	_RK3328_POST_PLL_POST_DIV_ENABLE,4,2 ; @RK3328_POST_PLL_POST_DIV_ENABLE
	.comm	_RK3328_ESD_DETECT_MASK,4,2     ; @RK3328_ESD_DETECT_MASK
	.comm	_RK3328_ESD_DETECT_340MV,4,2    ; @RK3328_ESD_DETECT_340MV
	.comm	_RK3328_BYPASS_TERM_RESISTOR_CALIB,4,2 ; @RK3328_BYPASS_TERM_RESISTOR_CALIB
	.comm	_RK3328_TERM_RESISTOR_100,4,2   ; @RK3328_TERM_RESISTOR_100
	.comm	_RK3328_TMDS_TERM_RESIST_MASK,4,2 ; @RK3328_TMDS_TERM_RESIST_MASK
	.comm	_RK3328_TMDS_TERM_RESIST_75,4,2 ; @RK3328_TMDS_TERM_RESIST_75
	.comm	_RK3328_TMDS_TERM_RESIST_150,4,2 ; @RK3328_TMDS_TERM_RESIST_150
	.comm	_RK3328_BANDGAP_ENABLE,4,2      ; @RK3328_BANDGAP_ENABLE
	.comm	_RK3328_TMDS_DRIVER_ENABLE,4,2  ; @RK3328_TMDS_DRIVER_ENABLE
	.comm	_RK3328_POST_PLL_LOCK_STATUS,4,2 ; @RK3328_POST_PLL_LOCK_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Post-PLL locking failed\n"

	.comm	_RK3328_INT_VSS_AGND_ESD_DET,4,2 ; @RK3328_INT_VSS_AGND_ESD_DET
	.no_dead_strip	_inno_hdmi_phy_rk3328_power_on
.subsections_via_symbols
