	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rockchip_usb2phy_clk480m_register
_rockchip_usb2phy_clk480m_register:     ## @rockchip_usb2phy_clk480m_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	movq	_rockchip_usb2phy_clkout_ops@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_of_property_read_string
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	___clk_get_name
	movq	%rax, -40(%rbp)
	movl	$1, %ecx
	leaq	-40(%rbp), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_3:
	movq	%rax, -72(%rbp)
	movl	%ecx, -64(%rbp)
	leaq	16(%rbx), %rsi
	movq	%r15, 16(%rbx)
	movq	8(%rbx), %rdi
	callq	_clk_register
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_5:
	movq	_of_clk_src_simple_get@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_of_clk_add_provider
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	8(%rbx), %rdi
	movq	_rockchip_usb2phy_clk480m_unregister@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_devm_add_action
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jns	LBB0_10
## %bb.8:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_of_clk_del_provider
	movl	%r12d, %r15d
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %r15d
LBB0_9:
	movl	(%rbx), %edi
	callq	_clk_unregister
LBB0_10:
	movl	%r15d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clk_usbphy_480m"

	.comm	_rockchip_usb2phy_clkout_ops,4,2 ## @rockchip_usb2phy_clkout_ops
L_.str.1:                               ## @.str.1
	.asciz	"clock-output-names"

	.comm	_of_clk_src_simple_get,4,2      ## @of_clk_src_simple_get
	.comm	_rockchip_usb2phy_clk480m_unregister,4,2 ## @rockchip_usb2phy_clk480m_unregister
	.no_dead_strip	_rockchip_usb2phy_clk480m_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rockchip_usb2phy_clk480m_register
_rockchip_usb2phy_clk480m_register:     ; @rockchip_usb2phy_clk480m_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	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	str	xzr, [sp, #40]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, _rockchip_usb2phy_clkout_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _rockchip_usb2phy_clkout_ops@GOTPAGEOFF]
	str	x8, [sp, #8]
	str	x9, [sp, #32]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x21, sp, #8
	add	x2, sp, #8
	mov	x0, x20
	bl	_of_property_read_string
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	___clk_get_name
	str	x0, [sp]
	mov	w8, #1
	mov	x9, sp
	b	LBB0_3
LBB0_2:
	mov	x9, #0
	mov	w8, #0
LBB0_3:
	str	x9, [sp, #16]
	str	w8, [sp, #24]
	mov	x1, x19
	str	x21, [x1, #16]!
	ldr	x0, [x19, #8]
	bl	_clk_register
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19]
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_11
LBB0_5:
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, [x19]
	mov	x0, x20
	bl	_of_clk_add_provider
	tbnz	w0, #31, LBB0_8
; %bb.6:
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x8, _rockchip_usb2phy_clk480m_unregister@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rockchip_usb2phy_clk480m_unregister@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_devm_add_action
	tbnz	w0, #31, LBB0_9
; %bb.7:
	mov	w21, #0
	b	LBB0_11
LBB0_8:
	mov	x21, x0
	b	LBB0_10
LBB0_9:
	mov	x21, x0
	mov	x0, x20
	bl	_of_clk_del_provider
LBB0_10:
	ldr	w0, [x19]
	bl	_clk_unregister
LBB0_11:
	mov	x0, x21
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clk_usbphy_480m"

	.comm	_rockchip_usb2phy_clkout_ops,4,2 ; @rockchip_usb2phy_clkout_ops
l_.str.1:                               ; @.str.1
	.asciz	"clock-output-names"

	.comm	_of_clk_src_simple_get,4,2      ; @of_clk_src_simple_get
	.comm	_rockchip_usb2phy_clk480m_unregister,4,2 ; @rockchip_usb2phy_clk480m_unregister
	.no_dead_strip	_rockchip_usb2phy_clk480m_register
.subsections_via_symbols
