	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpmc_get_fclk_period
_gpmc_get_fclk_period:                  ## @gpmc_get_fclk_period
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gpmc_l3_clk@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clk_get_rate
	shrq	$3, %rax
	movabsq	$2361183241434822607, %rcx      ## imm = 0x20C49BA5E353F7CF
	mulq	%rcx
	movq	%rdx, %rcx
	shrq	$4, %rcx
	cmpq	$1000000000, %rcx               ## imm = 0x3B9ACA00
	ja	LBB0_1
## %bb.2:
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpmc_l3_clk,4,2                ## @gpmc_l3_clk
	.no_dead_strip	_gpmc_get_fclk_period
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpmc_get_fclk_period
_gpmc_get_fclk_period:                  ; @gpmc_get_fclk_period
	.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
Lloh0:
	adrp	x8, _gpmc_l3_clk@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gpmc_l3_clk@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_clk_get_rate
	lsr	x8, x0, #3
	mov	x9, #63439
	movk	x9, #58195, lsl #16
	movk	x9, #39845, lsl #32
	movk	x9, #8388, lsl #48
	umulh	x8, x8, x9
	lsr	x8, x8, #4
	mov	w9, #51712
	movk	w9, #15258, lsl #16
	udiv	x0, x9, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gpmc_l3_clk,4,2                ; @gpmc_l3_clk
	.no_dead_strip	_gpmc_get_fclk_period
.subsections_via_symbols
