	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function cpustats
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cpustats:                              ## @cpustats
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CPUSTATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorpd	%xmm1, %xmm1
	xorpd	%xmm0, %xmm0
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	movq	_cur@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$7, %eax
	cmpq	$7, %rsi
	jae	LBB0_3
## %bb.2:
	xorpd	%xmm0, %xmm0
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	andl	$-8, %edx
	xorpd	%xmm0, %xmm0
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addsd	(%rcx,%rsi,8), %xmm0
	addsd	8(%rcx,%rsi,8), %xmm0
	addsd	16(%rcx,%rsi,8), %xmm0
	addsd	24(%rcx,%rsi,8), %xmm0
	addsd	32(%rcx,%rsi,8), %xmm0
	addsd	40(%rcx,%rsi,8), %xmm0
	addsd	48(%rcx,%rsi,8), %xmm0
	addsd	56(%rcx,%rsi,8), %xmm0
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addsd	(%rcx,%rdx,8), %xmm0
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_7
LBB0_8:
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_10
## %bb.9:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
LBB0_10:
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movl	$0, -36(%rbp)
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_xo_open_container
	movq	_cur@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_CP_USER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	(%rax,%rcx,8), %xmm0            ## xmm0 = mem[0],zero
	movq	_CP_NICE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addsd	(%rax,%rcx,8), %xmm0
	mulsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	leaq	L_.str.1(%rip), %rdi
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_percent
	movq	(%r15), %rax
	movq	_CP_SYS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	(%rax,%rcx,8), %xmm0            ## xmm0 = mem[0],zero
	movq	_CP_INTR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addsd	(%rax,%rcx,8), %xmm0
	mulsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_percent
	movq	(%r15), %rax
	movq	_CP_IDLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	(%rax,%rcx,8), %xmm0
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	callq	_percent
	movq	%r14, %rdi
	callq	_xo_close_container
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUSTATES,4,2                  ## @CPUSTATES
	.comm	_cur,8,3                        ## @cur
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu-statistics"

L_.str.1:                               ## @.str.1
	.asciz	"user"

	.comm	_CP_USER,8,3                    ## @CP_USER
	.comm	_CP_NICE,8,3                    ## @CP_NICE
L_.str.2:                               ## @.str.2
	.asciz	"system"

	.comm	_CP_SYS,8,3                     ## @CP_SYS
	.comm	_CP_INTR,8,3                    ## @CP_INTR
L_.str.3:                               ## @.str.3
	.asciz	"idle"

	.comm	_CP_IDLE,8,3                    ## @CP_IDLE
	.no_dead_strip	_cpustats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpustats
_cpustats:                              ; @cpustats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
Lloh0:
	adrp	x8, _CPUSTATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPUSTATES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	movi	d0, #0000000000000000
Lloh3:
	adrp	x20, _cur@GOTPAGE
Lloh4:
	ldr	x20, [x20, _cur@GOTPAGEOFF]
	movi	d1, #0000000000000000
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x20]
	cmp	w8, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	movi	d1, #0000000000000000
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffffc
	add	x11, x9, #16
	movi	d1, #0000000000000000
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d2, d3, [x11, #-16]
	ldp	d4, d5, [x11], #32
	fadd	d1, d1, d2
	fadd	d1, d1, d3
	fadd	d1, d1, d4
	fadd	d1, d1, d5
	subs	x12, x12, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d2, [x9], #8
	fadd	d1, d1, d2
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x8, #4636737291354636288
	fmov	d2, x8
	fdiv	d2, d2, d1
	fcmp	d1, #0.0
	fcsel	d8, d2, d0, gt
	str	wzr, [sp, #12]
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_xo_open_container
Lloh7:
	adrp	x8, _CP_USER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CP_USER@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh9:
	ldr	x8, [x8]
	ldr	d0, [x9, x8, lsl #3]
Lloh10:
	adrp	x8, _CP_NICE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CP_NICE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	d1, [x9, x8, lsl #3]
	fadd	d0, d0, d1
	fmul	d0, d8, d0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #12
	bl	_percent
Lloh15:
	adrp	x8, _CP_SYS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CP_SYS@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh17:
	ldr	x8, [x8]
	ldr	d0, [x9, x8, lsl #3]
Lloh18:
	adrp	x8, _CP_INTR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CP_INTR@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	d1, [x9, x8, lsl #3]
	fadd	d0, d0, d1
	fmul	d0, d8, d0
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #12
	bl	_percent
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _CP_IDLE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CP_IDLE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	ldr	d0, [x8, x9, lsl #3]
	fmul	d0, d8, d0
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	add	x1, sp, #12
	bl	_percent
	mov	x0, x19
	bl	_xo_close_container
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUSTATES,4,2                  ; @CPUSTATES
	.comm	_cur,8,3                        ; @cur
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu-statistics"

l_.str.1:                               ; @.str.1
	.asciz	"user"

	.comm	_CP_USER,8,3                    ; @CP_USER
	.comm	_CP_NICE,8,3                    ; @CP_NICE
l_.str.2:                               ; @.str.2
	.asciz	"system"

	.comm	_CP_SYS,8,3                     ; @CP_SYS
	.comm	_CP_INTR,8,3                    ; @CP_INTR
l_.str.3:                               ; @.str.3
	.asciz	"idle"

	.comm	_CP_IDLE,8,3                    ; @CP_IDLE
	.no_dead_strip	_cpustats
.subsections_via_symbols
