	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guess_fsb
_guess_fsb:                             ## @guess_fsb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cpu_khz@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$38, %rcx
	addl	%eax, %ecx
	movq	_ROUNDING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %eax
	shrl	$31, %eax
	addl	%r8d, %eax
	sarl	%eax
	imull	$666, %edi, %edx                ## imm = 0x29A
	addl	$50, %edx
	movslq	%edx, %rdx
	imulq	$1374389535, %rdx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rdx
	addl	%esi, %edx
	addl	%eax, %edx
	cmpl	%edx, %ecx
	jg	LBB0_2
## %bb.1:
	subl	%r8d, %edx
	movl	$66, %esi
	cmpl	%edx, %ecx
	jge	LBB0_8
LBB0_2:
	imull	$1000, %edi, %edx               ## imm = 0x3E8
	addl	$50, %edx
	movslq	%edx, %rdx
	imulq	$1374389535, %rdx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rdx
	addl	%esi, %edx
	addl	%eax, %edx
	cmpl	%edx, %ecx
	jg	LBB0_4
## %bb.3:
	subl	%r8d, %edx
	movl	$100, %esi
	cmpl	%edx, %ecx
	jge	LBB0_8
LBB0_4:
	imull	$1333, %edi, %edx               ## imm = 0x535
	addl	$50, %edx
	movslq	%edx, %rdx
	imulq	$1374389535, %rdx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rdx
	addl	%esi, %edx
	addl	%eax, %edx
	cmpl	%edx, %ecx
	jg	LBB0_6
## %bb.5:
	subl	%r8d, %edx
	movl	$133, %esi
	cmpl	%edx, %ecx
	jge	LBB0_8
LBB0_6:
	imull	$2000, %edi, %edx               ## imm = 0x7D0
	addl	$50, %edx
	movslq	%edx, %rdx
	imulq	$1374389535, %rdx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rdx
	addl	%esi, %edx
	addl	%eax, %edx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	jg	LBB0_9
## %bb.7:
	subl	%r8d, %edx
	movl	$200, %esi
	cmpl	%edx, %ecx
	jl	LBB0_9
LBB0_8:
	movl	%esi, %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_khz,4,2                    ## @cpu_khz
	.comm	_ROUNDING,4,2                   ## @ROUNDING
	.no_dead_strip	_guess_fsb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guess_fsb
_guess_fsb:                             ; @guess_fsb
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cpu_khz@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_khz@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x11, x8, #63
Lloh3:
	adrp	x9, _ROUNDING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ROUNDING@GOTPAGEOFF]
	asr	x12, x8, #38
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w10, w8, #1
	mov	w8, #666
	mul	w8, w0, w8
	add	w13, w8, #50
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x13, w13, w8
	lsr	x14, x13, #63
	asr	x13, x13, #37
	add	w13, w13, w14
	add	w13, w13, w10
	sub	w14, w13, w9
	add	w11, w12, w11
	cmp	w11, w13
	ccmp	w11, w14, #8, le
	b.ge	LBB0_7
; %bb.1:
	mov	w12, #1000
	mul	w12, w0, w12
	add	w12, w12, #50
	smull	x8, w12, w8
	lsr	x12, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w12
	add	w8, w8, w10
	sub	w12, w8, w9
	cmp	w11, w8
	ccmp	w11, w12, #8, le
	b.ge	LBB0_8
; %bb.2:
	mov	w8, #1333
	mul	w8, w0, w8
	add	w8, w8, #50
	mov	w12, #34079
	movk	w12, #20971, lsl #16
	smull	x8, w8, w12
	lsr	x13, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w13
	add	w8, w8, w10
	sub	w13, w8, w9
	cmp	w11, w8
	ccmp	w11, w13, #8, le
	b.ge	LBB0_9
; %bb.3:
	mov	w8, #0
	mov	w13, #2000
	mul	w13, w0, w13
	add	w13, w13, #50
	smull	x12, w13, w12
	lsr	x13, x12, #63
	asr	x12, x12, #37
	add	w12, w12, w13
	add	w10, w12, w10
	cmp	w11, w10
	b.gt	LBB0_6
; %bb.4:
	sub	w9, w10, w9
	cmp	w11, w9
	b.lt	LBB0_6
; %bb.5:
	mov	w8, #200
LBB0_6:
	mov	x0, x8
	ret
LBB0_7:
	mov	w0, #66
	ret
LBB0_8:
	mov	w0, #100
	ret
LBB0_9:
	mov	w0, #133
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_khz,4,2                    ; @cpu_khz
	.comm	_ROUNDING,4,2                   ; @ROUNDING
	.no_dead_strip	_guess_fsb
.subsections_via_symbols
