	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsc_freq_intel
_tsc_freq_intel:                        ## @tsc_freq_intel
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_cpu_exthigh@GOTPCREL(%rip), %rax
	cmpl	$-2147483644, (%rax)            ## imm = 0x80000004
	jb	LBB0_19
## %bb.1:
	leaq	-96(%rbp), %rbx
	movl	$-2147483646, %edi              ## imm = 0x80000002
	movq	%rbx, %rsi
	callq	_do_cpuid
	leaq	-80(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	leaq	-64(%rbp), %r14
	movl	$-2147483645, %edi              ## imm = 0x80000003
	movq	%rbx, %rsi
	callq	_do_cpuid
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	leaq	-48(%rbp), %r14
	movl	$-2147483644, %edi              ## imm = 0x80000004
	movq	%rbx, %rsi
	callq	_do_cpuid
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	leaq	-79(%rbp), %rcx
	movl	$46, %edx
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %rcx
	addq	$-2, %rdx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$72, -1(%rcx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%rcx), %rsi
	cmpb	$122, (%rcx)
	cmoveq	%rsi, %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$72, (%rcx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$122, 1(%rcx)
	cmoveq	%rcx, %rax
	jmp	LBB0_7
LBB0_8:
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	movsbl	-1(%rax), %ecx
	cmpl	$84, %ecx
	je	LBB0_14
## %bb.10:
	cmpl	$77, %ecx
	je	LBB0_11
## %bb.12:
	cmpl	$71, %ecx
	jne	LBB0_19
## %bb.13:
	movl	$1000, %ecx                     ## imm = 0x3E8
	jmp	LBB0_15
LBB0_14:
	movl	$1000000, %ecx                  ## imm = 0xF4240
	jmp	LBB0_15
LBB0_11:
	movl	$1, %ecx
LBB0_15:
	movsbl	-4(%rax), %edx
	cmpl	$46, %edx
	jne	LBB0_17
## %bb.16:
	movsbl	-5(%rax), %edx
	imull	$1000, %edx, %edx               ## imm = 0x3E8
	movsbl	-3(%rax), %esi
	imull	$100, %esi, %esi
	addl	%edx, %esi
	movsbl	-2(%rax), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rsi,%rax,2), %eax
	addl	$-53280, %eax                   ## imm = 0xFFFF2FE0
	movl	$1000, %edx                     ## imm = 0x3E8
	jmp	LBB0_18
LBB0_17:
	movsbl	-5(%rax), %esi
	imull	$1000, %esi, %esi               ## imm = 0x3E8
	imull	$100, %edx, %edx
	addl	%esi, %edx
	movsbl	-3(%rax), %esi
	leal	(%rsi,%rsi,4), %esi
	movsbl	-2(%rax), %eax
	leal	(%rdx,%rsi,2), %edx
	addl	%edx, %eax
	addl	$-53328, %eax                   ## imm = 0xFFFF2FB0
	movl	$1000000, %edx                  ## imm = 0xF4240
LBB0_18:
	imull	%edx, %ecx
	imull	%eax, %ecx
	movq	_tsc_freq@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_exthigh,4,2                ## @cpu_exthigh
	.comm	_tsc_freq,4,2                   ## @tsc_freq
	.no_dead_strip	_tsc_freq_intel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsc_freq_intel
_tsc_freq_intel:                        ; @tsc_freq_intel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _cpu_exthigh@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cpu_exthigh@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #4
	movk	w9, #32768, lsl #16
	cmp	w8, w9
	b.lo	LBB0_16
; %bb.1:
	mov	w21, #2
	movk	w21, #32768, lsl #16
	add	x1, sp, #8
	mov	w0, #2
	movk	w0, #32768, lsl #16
	bl	_do_cpuid
	add	x20, sp, #24
	add	x0, sp, #24
	add	x1, sp, #8
	mov	w2, #16
	bl	_memcpy
	add	x19, x20, #16
	add	x1, sp, #8
	mov	w0, #-2147483645
	bl	_do_cpuid
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_memcpy
	add	x19, x20, #32
	add	w0, w21, #2
	add	x1, sp, #8
	bl	_do_cpuid
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_memcpy
	mov	x9, #0
	mov	x8, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, #47
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x20, x9
	ldrb	w11, [x10]
	cmp	w11, #72
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w11, [x10, #1]
	cmp	w11, #122
	csel	x8, x10, x8, eq
	b	LBB0_2
LBB0_5:
	cbz	x8, LBB0_16
; %bb.6:
	ldursb	w9, [x8, #-1]
	cmp	w9, #84
	b.eq	LBB0_10
; %bb.7:
	cmp	w9, #77
	b.eq	LBB0_11
; %bb.8:
	cmp	w9, #71
	b.ne	LBB0_16
; %bb.9:
	mov	w9, #1000
	b	LBB0_12
LBB0_10:
	mov	w9, #16960
	movk	w9, #15, lsl #16
	b	LBB0_12
LBB0_11:
	mov	w9, #1
LBB0_12:
	ldursb	w11, [x8, #-4]
	cmp	w11, #46
	b.ne	LBB0_14
; %bb.13:
	ldursb	w11, [x8, #-5]
	mov	w10, #1000
	ldursb	w12, [x8, #-3]
	mov	w13, #100
	mul	w12, w12, w13
	ldursb	w8, [x8, #-2]
	mov	w13, #10
	madd	w11, w11, w10, w12
	madd	w8, w8, w13, w11
	mov	w11, #-53280
	add	w8, w8, w11
	b	LBB0_15
LBB0_14:
	mov	w10, #16960
	movk	w10, #15, lsl #16
	ldursb	w12, [x8, #-5]
	mov	w13, #1000
	mul	w12, w12, w13
	mov	w13, #100
	ldursb	w14, [x8, #-3]
	mov	w15, #10
	ldursb	w8, [x8, #-2]
	madd	w11, w11, w13, w12
	madd	w11, w14, w15, w11
	mov	w12, #-53328
	add	w8, w11, w8
	add	w8, w8, w12
LBB0_15:
	mul	w9, w9, w10
	mul	w8, w9, w8
Lloh6:
	adrp	x9, _tsc_freq@GOTPAGE
Lloh7:
	ldr	x9, [x9, _tsc_freq@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
LBB0_16:
	ldur	x8, [x29, #-40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_exthigh,4,2                ; @cpu_exthigh
	.comm	_tsc_freq,4,2                   ; @tsc_freq
	.no_dead_strip	_tsc_freq_intel
.subsections_via_symbols
