	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inno_hdmi_phy_clk_register
_inno_hdmi_phy_clk_register:            ## @inno_hdmi_phy_clk_register
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	movq	(%r14), %r15
	movl	24(%rdi), %edi
	callq	___clk_get_name
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	$1, -64(%rbp)
	movq	$0, -40(%rbp)
	leaq	-56(%rbp), %rdx
	leaq	L_.str(%rip), %rax
	movq	%rax, -56(%rbp)
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_string
	leaq	8(%rbx), %rsi
	leaq	-72(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	callq	_devm_clk_register
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	movq	_of_clk_src_simple_get@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_of_clk_add_provider
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_6:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pin_hd20_pclk"

L_.str.1:                               ## @.str.1
	.asciz	"clock-output-names"

L_.str.2:                               ## @.str.2
	.asciz	"failed to register clock: %d\n"

	.comm	_of_clk_src_simple_get,4,2      ## @of_clk_src_simple_get
L_.str.3:                               ## @.str.3
	.asciz	"failed to register clock provider: %d\n"

	.no_dead_strip	_inno_hdmi_phy_clk_register
.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_clk_register
_inno_hdmi_phy_clk_register:            ; @inno_hdmi_phy_clk_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x0
	ldr	x19, [x0, #32]
	ldr	x21, [x19]
	ldr	w0, [x0, #24]
	bl	___clk_get_name
	mov	x8, sp
	stp	x0, x8, [sp]
	mov	w8, #1
	str	w8, [sp, #16]
	add	x22, sp, #8
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	add	x2, x22, #16
	str	xzr, [sp, #40]
	str	x8, [sp, #24]
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	str	w8, [sp, #32]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_string
	mov	x1, x20
	str	x22, [x1, #8]!
	mov	x0, x19
	bl	_devm_clk_register
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_PTR_ERR
	mov	x20, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _of_clk_src_simple_get@GOTPAGE
Lloh7:
	ldr	x8, [x8, _of_clk_src_simple_get@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x21
	bl	_of_clk_add_provider
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pin_hd20_pclk"

l_.str.1:                               ; @.str.1
	.asciz	"clock-output-names"

l_.str.2:                               ; @.str.2
	.asciz	"failed to register clock: %d\n"

	.comm	_of_clk_src_simple_get,4,2      ; @of_clk_src_simple_get
l_.str.3:                               ; @.str.3
	.asciz	"failed to register clock provider: %d\n"

	.no_dead_strip	_inno_hdmi_phy_clk_register
.subsections_via_symbols
