	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inno_hdmi_phy_power_on
_inno_hdmi_phy_power_on:                ## @inno_hdmi_phy_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_phy_get_drvdata
	movq	%rax, %r14
	movq	_post_pll_cfg_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	8(%r14), %rax
	movq	8(%rax), %rbx
	movl	20(%r14), %esi
	movq	%r14, %rdi
	callq	_inno_hdmi_phy_get_tmdsclk
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.3:
	movq	(%r15), %rdx
	movb	$1, %cl
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r15), %rdx
	addq	$16, %r15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdx, %rax
	ja	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edx
	testl	%edx, 8(%r15)
	je	LBB0_18
## %bb.7:
	xorl	%ecx, %ecx
LBB0_8:
	addq	$-8, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdx
	addq	$8, %rbx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rdx, %rax
	ja	LBB0_9
LBB0_11:
	testq	%rdx, %rdx
	sete	%al
	orb	%al, %cl
	cmpb	$1, %cl
	je	LBB0_12
## %bb.13:
	movl	16(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	movl	4(%r14), %edi
	callq	_clk_prepare_enable
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_17
LBB0_1:
	movl	16(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_17:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	xorl	%r12d, %r12d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_post_pll_cfg_table,8,3         ## @post_pll_cfg_table
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TMDS clock is zero!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Inno HDMI PHY Power On\n"

	.no_dead_strip	_inno_hdmi_phy_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_power_on
_inno_hdmi_phy_power_on:                ; @inno_hdmi_phy_power_on
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_phy_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _post_pll_cfg_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _post_pll_cfg_table@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	x8, [x0, #8]
	ldr	x21, [x8, #8]
	ldr	w1, [x0, #20]
	bl	_inno_hdmi_phy_get_tmdsclk
	cbz	x0, LBB0_14
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.2:
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
LBB0_3:
	mov	w8, #1
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #16]!
	cbz	x8, LBB0_3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x0, x8
	b.hi	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #8]
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.7:
	mov	w8, #0
LBB0_8:
	sub	x21, x21, #8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]!
	cmp	x9, #0
	ccmp	x0, x9, #0, ne
	b.hi	LBB0_9
; %bb.10:
	cmp	x9, #0
	cset	w9, eq
	orr	w8, w8, w9
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.11:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldr	w0, [x19, #4]
	bl	_clk_prepare_enable
	mov	x22, x0
	cbnz	w0, LBB0_16
; %bb.12:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
	mov	x22, x0
	cbz	w0, LBB0_16
; %bb.13:
	ldr	w0, [x19, #4]
	bl	_clk_disable_unprepare
	b	LBB0_16
LBB0_14:
	ldr	w0, [x19, #16]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_15:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_post_pll_cfg_table,8,3         ; @post_pll_cfg_table
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TMDS clock is zero!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Inno HDMI PHY Power On\n"

	.no_dead_strip	_inno_hdmi_phy_power_on
.subsections_via_symbols
