	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_tclk_armada38x             ## -- Begin function get_tclk_armada38x
	.p2align	4, 0x90
_get_tclk_armada38x:                    ## @get_tclk_armada38x
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_get_sar_value_armada38x
	movq	_TCLK_MASK_ARMADA38X@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_TCLK_SHIFT_ARMADA38X@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_TCLK_250MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_TCLK_200MHZ@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCLK_MASK_ARMADA38X,4,2        ## @TCLK_MASK_ARMADA38X
	.comm	_TCLK_SHIFT_ARMADA38X,4,2       ## @TCLK_SHIFT_ARMADA38X
	.comm	_TCLK_250MHZ,4,2                ## @TCLK_250MHZ
	.comm	_TCLK_200MHZ,4,2                ## @TCLK_200MHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_tclk_armada38x             ; -- Begin function get_tclk_armada38x
	.p2align	2
_get_tclk_armada38x:                    ; @get_tclk_armada38x
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_get_sar_value_armada38x
Lloh0:
	adrp	x8, _TCLK_MASK_ARMADA38X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCLK_MASK_ARMADA38X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _TCLK_SHIFT_ARMADA38X@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCLK_SHIFT_ARMADA38X@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh6:
	adrp	x9, _TCLK_250MHZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TCLK_250MHZ@GOTPAGEOFF]
Lloh8:
	adrp	x10, _TCLK_200MHZ@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TCLK_200MHZ@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCLK_MASK_ARMADA38X,4,2        ; @TCLK_MASK_ARMADA38X
	.comm	_TCLK_SHIFT_ARMADA38X,4,2       ; @TCLK_SHIFT_ARMADA38X
	.comm	_TCLK_250MHZ,4,2                ; @TCLK_250MHZ
	.comm	_TCLK_200MHZ,4,2                ; @TCLK_200MHZ
.subsections_via_symbols
