	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gx_get_cpuspeed
_gx_get_cpuspeed:                       ## @gx_get_cpuspeed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gx_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_SUSMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_stock_freq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%edx, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	4(%rcx), %esi
	imull	%esi, %eax
	addl	8(%rcx), %esi
	xorl	%edx, %edx
	divl	%esi
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gx_params,8,3                  ## @gx_params
	.comm	_SUSMOD,4,2                     ## @SUSMOD
	.comm	_stock_freq,4,2                 ## @stock_freq
	.no_dead_strip	_gx_get_cpuspeed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gx_get_cpuspeed
_gx_get_cpuspeed:                       ; @gx_get_cpuspeed
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _gx_params@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gx_params@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SUSMOD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUSMOD@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x11, _stock_freq@GOTPAGE
Lloh7:
	ldr	x11, [x11, _stock_freq@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x11]
	tst	w9, w10
	b.eq	LBB0_2
; %bb.1:
	ldp	w9, w8, [x8, #4]
	mul	w10, w9, w0
	add	w8, w8, w9
	udiv	w0, w10, w8
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gx_params,8,3                  ; @gx_params
	.comm	_SUSMOD,4,2                     ; @SUSMOD
	.comm	_stock_freq,4,2                 ; @stock_freq
	.no_dead_strip	_gx_get_cpuspeed
.subsections_via_symbols
