	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_cpu_usage
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_cpu_usage:                         ## @get_cpu_usage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_clock
	subsd	(%rbx), %xmm0
	movq	_CLOCKS_PER_SEC@GOTPCREL(%rip), %rax
	cvtsi2sdq	(%rax), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_evutil_gettimeofday
	addq	$8, %rbx
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_evutil_timersub
	movsd	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero
	divsd	LCPI0_0(%rip), %xmm0
	addsd	-64(%rbp), %xmm0
	movsd	%xmm0, (%r12)
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	%xmm1, (%r15)
	divsd	%xmm0, %xmm1
	movsd	%xmm1, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCKS_PER_SEC,8,3             ## @CLOCKS_PER_SEC
	.no_dead_strip	_get_cpu_usage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cpu_usage
_get_cpu_usage:                         ; @get_cpu_usage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_clock
	ldr	d1, [x22], #8
	fsub	d0, d0, d1
Lloh0:
	adrp	x8, _CLOCKS_PER_SEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCKS_PER_SEC@GOTPAGEOFF]
Lloh2:
	ldr	d1, [x8]
	scvtf	d1, d1
	fdiv	d8, d0, d1
	add	x0, sp, #16
	mov	x1, #0
	bl	_evutil_gettimeofday
	add	x0, sp, #16
	mov	x2, sp
	mov	x1, x22
	bl	_evutil_timersub
	ldp	d0, d1, [sp]
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d2, x8
	fdiv	d1, d1, d2
	fadd	d0, d0, d1
	str	d0, [x21]
	str	d8, [x20]
	fdiv	d0, d8, d0
	str	d0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCKS_PER_SEC,8,3             ; @CLOCKS_PER_SEC
	.no_dead_strip	_get_cpu_usage
.subsections_via_symbols
