	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function cputime
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cputime:                               ## @cputime
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CPUSTATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_s@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorpd	%xmm0, %xmm0
	xorpd	%xmm1, %xmm1
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	leaq	-1(%rdx), %rsi
	movl	%edx, %ecx
	andl	$7, %ecx
	cmpq	$7, %rsi
	jae	LBB0_3
## %bb.2:
	xorpd	%xmm1, %xmm1
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	andl	$-8, %edx
	xorpd	%xmm1, %xmm1
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addsd	(%rax,%rsi,8), %xmm1
	addsd	8(%rax,%rsi,8), %xmm1
	addsd	16(%rax,%rsi,8), %xmm1
	addsd	24(%rax,%rsi,8), %xmm1
	addsd	32(%rax,%rsi,8), %xmm1
	addsd	40(%rax,%rsi,8), %xmm1
	addsd	48(%rax,%rsi,8), %xmm1
	addsd	56(%rax,%rsi,8), %xmm1
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_4
LBB0_5:
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	leaq	(%rax,%rsi,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addsd	(%rdx,%rsi,8), %xmm1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_7
LBB0_8:
	cmpeqsd	%xmm1, %xmm0
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	andpd	%xmm0, %xmm2
	andnpd	%xmm1, %xmm0
	movslq	%edi, %rcx
	movsd	(%rax,%rcx,8), %xmm1            ## xmm1 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm1
	orpd	%xmm2, %xmm0
	divsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUSTATES,4,2                  ## @CPUSTATES
	.comm	_s,8,3                          ## @s
	.no_dead_strip	_cputime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cputime
_cputime:                               ; @cputime
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CPUSTATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPUSTATES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _s@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w9, #4
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	movi	d0, #0000000000000000
	b	LBB0_7
LBB0_3:
	movi	d0, #0000000000000000
	b	LBB0_9
LBB0_4:
	and	x10, x9, #0xfffffffc
	add	x11, x8, #16
	movi	d0, #0000000000000000
	mov	x12, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d1, d2, [x11, #-16]
	ldp	d3, d4, [x11], #32
	fadd	d0, d0, d1
	fadd	d0, d0, d2
	fadd	d0, d0, d3
	fadd	d0, d0, d4
	subs	x12, x12, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x9
	b.eq	LBB0_9
LBB0_7:
	add	x11, x8, x10, lsl #3
	sub	x9, x9, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x11], #8
	fadd	d0, d0, d1
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	fcmp	d0, #0.0
	fmov	d1, #1.00000000
	fcsel	d0, d1, d0, eq
	ldr	d1, [x8, w0, sxtw #3]
	mov	x8, #4636737291354636288
	fmov	d2, x8
	fmul	d1, d1, d2
	fdiv	d0, d1, d0
	fcvt	s0, d0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUSTATES,4,2                  ; @CPUSTATES
	.comm	_s,8,3                          ; @s
	.no_dead_strip	_cputime
.subsections_via_symbols
