	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv1_clk_mgr_construct          ## -- Begin function rv1_clk_mgr_construct
	.p2align	4, 0x90
_rv1_clk_mgr_construct:                 ## @rv1_clk_mgr_construct
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	%rdi, 32(%rsi)
	movq	%rdx, 64(%rsi)
	movq	_rv1_clk_funcs@GOTPCREL(%rip), %rdx
	movq	%rdx, 24(%rsi)
	movq	_rv1_clk_internal_funcs@GOTPCREL(%rip), %rdx
	movq	%rdx, 56(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsi)
	movq	$1000, (%rsi)                   ## imm = 0x3E8
	movl	$600000, 16(%rsi)               ## imm = 0x927C0
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	(%rdx), %edx
	movl	%edx, 8(%rsi)
LBB0_2:
	cmpq	$0, 16(%rax)
	je	LBB0_5
## %bb.3:
	cmpl	$0, 8(%rsi)
	je	LBB0_4
LBB0_5:
	cmpl	$0, (%rcx)
	jne	LBB0_9
LBB0_6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_DFS_BYPASS_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_9
## %bb.8:
	movl	$1, 12(%rsi)
	jmp	LBB0_9
LBB0_4:
	movl	8(%rax), %edx
	testl	%edx, %edx
	movl	$3600000, %edi                  ## imm = 0x36EE80
	cmovnel	%edx, %edi
	movl	%edi, 8(%rsi)
	cmpl	$0, (%rcx)
	je	LBB0_6
LBB0_9:
	movq	%rsi, %rdi
	popq	%rbp
	jmp	_dce_clock_read_ss_info         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rv1_clk_funcs,4,2              ## @rv1_clk_funcs
	.comm	_rv1_clk_internal_funcs,4,2     ## @rv1_clk_internal_funcs
	.comm	_DFS_BYPASS_ENABLE,4,2          ## @DFS_BYPASS_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rv1_clk_mgr_construct
lCPI0_0:
	.long	1000                            ; 0x3e8
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rv1_clk_mgr_construct
	.p2align	2
_rv1_clk_mgr_construct:                 ; @rv1_clk_mgr_construct
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
Lloh0:
	adrp	x10, _rv1_clk_funcs@GOTPAGE
Lloh1:
	ldr	x10, [x10, _rv1_clk_funcs@GOTPAGEOFF]
	stp	x10, x0, [x1, #24]
Lloh2:
	adrp	x10, _rv1_clk_internal_funcs@GOTPAGE
Lloh3:
	ldr	x10, [x10, _rv1_clk_internal_funcs@GOTPAGEOFF]
	stp	x10, x2, [x1, #56]
	stp	xzr, xzr, [x1, #40]
Lloh4:
	adrp	x10, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [x1]
	mov	w10, #10176
	movk	w10, #9, lsl #16
	str	w10, [x1, #16]
	ldr	x10, [x8]
	cbz	x10, LBB0_2
; %bb.1:
	ldr	w10, [x10]
	str	w10, [x1, #8]
LBB0_2:
	ldr	x10, [x8, #16]
	cbz	x10, LBB0_4
; %bb.3:
	ldr	w10, [x1, #8]
	cbz	w10, LBB0_6
LBB0_4:
	ldr	w9, [x9]
	cbz	w9, LBB0_7
LBB0_5:
	mov	x0, x1
	b	_dce_clock_read_ss_info
LBB0_6:
	ldr	w10, [x8, #8]
	mov	w11, #61056
	movk	w11, #54, lsl #16
	cmp	w10, #0
	csel	w10, w11, w10, eq
	str	w10, [x1, #8]
	ldr	w9, [x9]
	cbnz	w9, LBB0_5
LBB0_7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.8:
	ldr	w8, [x8, #4]
Lloh6:
	adrp	x9, _DFS_BYPASS_ENABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DFS_BYPASS_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.9:
	mov	w8, #1
	str	w8, [x1, #12]
	mov	x0, x1
	b	_dce_clock_read_ss_info
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_rv1_clk_funcs,4,2              ; @rv1_clk_funcs
	.comm	_rv1_clk_internal_funcs,4,2     ; @rv1_clk_internal_funcs
	.comm	_DFS_BYPASS_ENABLE,4,2          ; @DFS_BYPASS_ENABLE
.subsections_via_symbols
