	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armss_rate
_armss_rate:                            ## @armss_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PRCM_ARM_CHGCLKREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_readl
	movl	%eax, %ebx
	movq	_PRCM_ARM_CHGCLKREQ_PRCM_ARM_CHGCLKREQ@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_PRCM_PLLDDR_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ROOT_CLOCK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PLL_FIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_pll_rate
	movq	%rax, %r14
	movq	_PRCM_ARM_CHGCLKREQ_PRCM_ARM_DIVSEL@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	sete	%cl
	shrq	%cl, %r14
	movq	_PRCM_ARMCLKFIX_MGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_readl
	movl	%eax, %ecx
	movq	_PRCM_CLK_MGT_CLKPLLDIV_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movslq	%ecx, %rsi
	movq	%r14, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_2
## %bb.4:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_5
LBB0_3:
	movq	_PRCM_PLLARM_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ROOT_CLOCK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PLL_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pll_rate                       ## TAILCALL
LBB0_2:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRCM_ARM_CHGCLKREQ,4,2         ## @PRCM_ARM_CHGCLKREQ
	.comm	_PRCM_ARM_CHGCLKREQ_PRCM_ARM_CHGCLKREQ,4,2 ## @PRCM_ARM_CHGCLKREQ_PRCM_ARM_CHGCLKREQ
	.comm	_PRCM_PLLDDR_FREQ,4,2           ## @PRCM_PLLDDR_FREQ
	.comm	_ROOT_CLOCK_RATE,4,2            ## @ROOT_CLOCK_RATE
	.comm	_PLL_FIX,4,2                    ## @PLL_FIX
	.comm	_PRCM_ARM_CHGCLKREQ_PRCM_ARM_DIVSEL,4,2 ## @PRCM_ARM_CHGCLKREQ_PRCM_ARM_DIVSEL
	.comm	_PRCM_ARMCLKFIX_MGT,4,2         ## @PRCM_ARMCLKFIX_MGT
	.comm	_PRCM_CLK_MGT_CLKPLLDIV_MASK,4,2 ## @PRCM_CLK_MGT_CLKPLLDIV_MASK
	.comm	_PRCM_PLLARM_FREQ,4,2           ## @PRCM_PLLARM_FREQ
	.comm	_PLL_DIV,4,2                    ## @PLL_DIV
	.no_dead_strip	_armss_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armss_rate
_armss_rate:                            ; @armss_rate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_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[x8, _PRCM_CLK_MGT_CLKPLLDIV_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	and	w8, w8, w0
	sxtw	x8, w8
	udiv	x0, x19, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh24:
	adrp	x8, _PRCM_PLLARM_FREQ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PRCM_PLLARM_FREQ@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _ROOT_CLOCK_RATE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ROOT_CLOCK_RATE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _PLL_DIV@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PLL_DIV@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pll_rate
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PRCM_ARM_CHGCLKREQ,4,2         ; @PRCM_ARM_CHGCLKREQ
	.comm	_PRCM_ARM_CHGCLKREQ_PRCM_ARM_CHGCLKREQ,4,2 ; @PRCM_ARM_CHGCLKREQ_PRCM_ARM_CHGCLKREQ
	.comm	_PRCM_PLLDDR_FREQ,4,2           ; @PRCM_PLLDDR_FREQ
	.comm	_ROOT_CLOCK_RATE,4,2            ; @ROOT_CLOCK_RATE
	.comm	_PLL_FIX,4,2                    ; @PLL_FIX
	.comm	_PRCM_ARM_CHGCLKREQ_PRCM_ARM_DIVSEL,4,2 ; @PRCM_ARM_CHGCLKREQ_PRCM_ARM_DIVSEL
	.comm	_PRCM_ARMCLKFIX_MGT,4,2         ; @PRCM_ARMCLKFIX_MGT
	.comm	_PRCM_CLK_MGT_CLKPLLDIV_MASK,4,2 ; @PRCM_CLK_MGT_CLKPLLDIV_MASK
	.comm	_PRCM_PLLARM_FREQ,4,2           ; @PRCM_PLLARM_FREQ
	.comm	_PLL_DIV,4,2                    ; @PLL_DIV
	.no_dead_strip	_armss_rate
.subsections_via_symbols
