	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv1_dump_clk_registers         ## -- Begin function rv1_dump_clk_registers
	.p2align	4, 0x90
_rv1_dump_clk_registers:                ## @rv1_dump_clk_registers
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_TO_CLK_MGR_INTERNAL
	movq	_CLK0_CLK8_CURRENT_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	_CLK0_CLK8_BYPASS_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	andl	$7, %eax
	xorl	%r15d, %r15d
	cmpl	$5, %eax
	cmovael	%r15d, %eax
	movl	%eax, (%r14)
	movq	_CLK0_CLK8_DS_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movl	%eax, 4(%rbx)
	movq	_CLK0_CLK8_ALLOW_DS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movl	%eax, 8(%rbx)
	movq	_CLK0_CLK10_CURRENT_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movl	%eax, 12(%rbx)
	movq	_CLK0_CLK10_BYPASS_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	andl	$7, %eax
	cmpl	$5, %eax
	cmovael	%r15d, %eax
	movl	%eax, 4(%r14)
	movq	_CLK0_CLK11_CURRENT_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movl	%eax, 16(%rbx)
	movq	_CLK0_CLK11_BYPASS_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	andl	$7, %eax
	cmpl	$5, %eax
	cmovael	%r15d, %eax
	movl	%eax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLK0_CLK8_CURRENT_CNT,4,2      ## @CLK0_CLK8_CURRENT_CNT
	.comm	_CLK0_CLK8_BYPASS_CNTL,4,2      ## @CLK0_CLK8_BYPASS_CNTL
	.comm	_CLK0_CLK8_DS_CNTL,4,2          ## @CLK0_CLK8_DS_CNTL
	.comm	_CLK0_CLK8_ALLOW_DS,4,2         ## @CLK0_CLK8_ALLOW_DS
	.comm	_CLK0_CLK10_CURRENT_CNT,4,2     ## @CLK0_CLK10_CURRENT_CNT
	.comm	_CLK0_CLK10_BYPASS_CNTL,4,2     ## @CLK0_CLK10_BYPASS_CNTL
	.comm	_CLK0_CLK11_CURRENT_CNT,4,2     ## @CLK0_CLK11_CURRENT_CNT
	.comm	_CLK0_CLK11_BYPASS_CNTL,4,2     ## @CLK0_CLK11_BYPASS_CNTL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv1_dump_clk_registers         ; -- Begin function rv1_dump_clk_registers
	.p2align	2
_rv1_dump_clk_registers:                ; @rv1_dump_clk_registers
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_TO_CLK_MGR_INTERNAL
Lloh0:
	adrp	x8, _CLK0_CLK8_CURRENT_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLK0_CLK8_CURRENT_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_REG_READ
	mov	w21, #26215
	movk	w21, #26214, lsl #16
	smull	x8, w0, w21
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	str	w8, [x20]
Lloh3:
	adrp	x8, _CLK0_CLK8_BYPASS_CNTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLK0_CLK8_BYPASS_CNTL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_REG_READ
	and	w8, w0, #0x7
	cmp	w8, #4
	csel	w8, wzr, w8, hi
	str	w8, [x19]
Lloh6:
	adrp	x8, _CLK0_CLK8_DS_CNTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CLK0_CLK8_DS_CNTL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_REG_READ
	smull	x8, w0, w21
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	str	w8, [x20, #4]
Lloh9:
	adrp	x8, _CLK0_CLK8_ALLOW_DS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLK0_CLK8_ALLOW_DS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_REG_READ
	str	w0, [x20, #8]
Lloh12:
	adrp	x8, _CLK0_CLK10_CURRENT_CNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CLK0_CLK10_CURRENT_CNT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_REG_READ
	smull	x8, w0, w21
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	str	w8, [x20, #12]
Lloh15:
	adrp	x8, _CLK0_CLK10_BYPASS_CNTL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CLK0_CLK10_BYPASS_CNTL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_REG_READ
	and	w8, w0, #0x7
	cmp	w8, #4
	csel	w8, wzr, w8, hi
	str	w8, [x19, #4]
Lloh18:
	adrp	x8, _CLK0_CLK11_CURRENT_CNT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CLK0_CLK11_CURRENT_CNT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_REG_READ
	smull	x8, w0, w21
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	str	w8, [x20, #16]
Lloh21:
	adrp	x8, _CLK0_CLK11_BYPASS_CNTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CLK0_CLK11_BYPASS_CNTL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_REG_READ
	and	w8, w0, #0x7
	cmp	w8, #4
	csel	w8, wzr, w8, hi
	str	w8, [x19, #8]
	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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CLK0_CLK8_CURRENT_CNT,4,2      ; @CLK0_CLK8_CURRENT_CNT
	.comm	_CLK0_CLK8_BYPASS_CNTL,4,2      ; @CLK0_CLK8_BYPASS_CNTL
	.comm	_CLK0_CLK8_DS_CNTL,4,2          ; @CLK0_CLK8_DS_CNTL
	.comm	_CLK0_CLK8_ALLOW_DS,4,2         ; @CLK0_CLK8_ALLOW_DS
	.comm	_CLK0_CLK10_CURRENT_CNT,4,2     ; @CLK0_CLK10_CURRENT_CNT
	.comm	_CLK0_CLK10_BYPASS_CNTL,4,2     ; @CLK0_CLK10_BYPASS_CNTL
	.comm	_CLK0_CLK11_CURRENT_CNT,4,2     ; @CLK0_CLK11_CURRENT_CNT
	.comm	_CLK0_CLK11_BYPASS_CNTL,4,2     ; @CLK0_CLK11_BYPASS_CNTL
.subsections_via_symbols
