	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function compute_stats
LCPI0_0:
	.long	0x35800000                      ## float 9.53674316E-7
LCPI0_1:
	.long	0x3a800000                      ## float 9.765625E-4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_compute_stats:                         ## @compute_stats
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -176(%rbp)                 ## 8-byte Spill
	movq	%r8, -168(%rbp)                 ## 8-byte Spill
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	movq	%rdi, -184(%rbp)                ## 8-byte Spill
	fldt	16(%rbp)
	fstpt	-260(%rbp)                      ## 10-byte Folded Spill
	leaq	-72(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	leaq	-144(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	leaq	-104(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	leaq	-96(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	movq	_CTL_STATS_NUM_TYPES@GOTPCREL(%rip), %rax
	fldz
	cmpl	$0, (%rax)
	fld	%st(0)
	fstpt	-52(%rbp)                       ## 10-byte Folded Spill
	fld	%st(0)
	fstpt	-84(%rbp)                       ## 10-byte Folded Spill
	fld	%st(0)
	fstpt	-132(%rbp)                      ## 10-byte Folded Spill
	fstpt	-64(%rbp)                       ## 10-byte Folded Spill
	jle	LBB0_6
## %bb.1:
	fldz
	xorl	%r13d, %r13d
	leaq	-72(%rbp), %rdx
	xorl	%r15d, %r15d
	fld	%st(0)
	fstpt	-84(%rbp)                       ## 10-byte Folded Spill
	fld	%st(0)
	fstpt	-64(%rbp)                       ## 10-byte Folded Spill
	fstpt	-52(%rbp)                       ## 10-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rax
	movq	(%rax,%r13,2), %rax
	movq	%rax, -224(%rbp)
	fildll	-224(%rbp)
	fsubrp	%st, %st(3)
	fxch	%st(2)
	fstpt	-84(%rbp)                       ## 10-byte Folded Spill
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	(%rcx,%r13,2), %rcx
	movq	%rcx, -216(%rbp)
	fildll	-216(%rbp)
	fsubrp	%st, %st(1)
	fstpt	-52(%rbp)                       ## 10-byte Folded Spill
	movq	(%rax,%r13,2), %rax
	movq	%rax, -208(%rbp)
	fildll	-208(%rbp)
	fsubrp	%st, %st(1)
	fstpt	-64(%rbp)                       ## 10-byte Folded Spill
	movq	8(%rbx), %rsi
	addq	%r13, %rsi
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	callq	_bintime_sub
	movq	(%rbx), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	callq	_bintime_sub
	movq	%r12, %rdx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	_CTL_STATS_NUM_TYPES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r13
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-184(%rbp), %r14                ## 8-byte Reload
	movq	32(%r14), %rax
	movq	(%rax,%r13,2), %r12
	movq	16(%r14), %rax
	movq	24(%r14), %rcx
	movq	(%rcx,%r13,2), %rbx
	movq	(%rax,%r13,2), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rsi
	addq	%r13, %rsi
	movq	%rdx, %rdi
	callq	_bintime_add
	movq	(%r14), %rsi
	addq	%r13, %rsi
	leaq	-144(%rbp), %r14
	movq	%r14, %rdi
	callq	_bintime_add
	movq	%r12, -248(%rbp)
	fildll	-248(%rbp)
	fldt	-84(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	movq	%rbx, -240(%rbp)
	fildll	-240(%rbp)
	fldt	-52(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -232(%rbp)
	fildll	-232(%rbp)
	fldt	-64(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	fxch	%st(2)
	fstpt	-84(%rbp)                       ## 10-byte Folded Spill
	fstpt	-52(%rbp)                       ## 10-byte Folded Spill
	fstpt	-64(%rbp)                       ## 10-byte Folded Spill
	leaq	-72(%rbp), %rdx
	jmp	LBB0_5
LBB0_6:
	fldt	-84(%rbp)                       ## 10-byte Folded Reload
	fld	%st(0)
	fmuls	LCPI0_0(%rip)
	fldt	-260(%rbp)                      ## 10-byte Folded Reload
	fldt	-132(%rbp)                      ## 10-byte Folded Reload
	fxch	%st(1)
	fucomi	%st(1), %st
	jbe	LBB0_8
## %bb.7:
	fstp	%st(1)
	fdivr	%st, %st(1)
	fldz
	fxch	%st(2)
	fxch	%st(1)
LBB0_8:
	fstp	%st(2)
	movq	40(%rbp), %rax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	fstpt	(%rcx)
	fxch	%st(1)
	fmuls	LCPI0_1(%rip)
	fldt	-52(%rbp)                       ## 10-byte Folded Reload
	fldt	-132(%rbp)                      ## 10-byte Folded Reload
	fxch	%st(1)
	fucomi	%st(1), %st
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	jbe	LBB0_10
## %bb.9:
	fstp	%st(1)
	fdivr	%st, %st(1)
	fldz
	fxch	%st(2)
	fxch	%st(1)
LBB0_10:
	fstp	%st(2)
	fldt	-132(%rbp)                      ## 10-byte Folded Reload
	fxch	%st(3)
	fucomi	%st(3), %st
	fstp	%st(3)
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	fstpt	(%rdx)
	fstpt	(%rcx)
	fldt	-64(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rax)
	jbe	LBB0_12
## %bb.11:
	fldt	(%rcx)
	fdiv	%st(1), %st
	fstpt	(%rcx)
	fldt	(%rax)
	fdivp	%st, %st(1)
	jmp	LBB0_13
LBB0_12:
	fstp	%st(0)
	fldz
	fld	%st(0)
	fstpt	(%rcx)
LBB0_13:
	fstpt	(%rax)
	leaq	-72(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	callq	_bintime2timespec
	leaq	-144(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	callq	_bintime2timespec
	fldz
	fldt	-52(%rbp)                       ## 10-byte Folded Reload
	fucomi	%st(1), %st
	fld	%st(1)
	jbe	LBB0_15
## %bb.14:
	fstp	%st(0)
	imull	$1000, -104(%rbp), %eax         ## imm = 0x3E8
	movl	%eax, -116(%rbp)
	fildl	-116(%rbp)
	movslq	-100(%rbp), %rax
	imulq	$1125899907, %rax, %rax         ## imm = 0x431BDE83
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$50, %rax
	addl	%ecx, %eax
	movl	%eax, -120(%rbp)
	fiaddl	-120(%rbp)
	fdivp	%st, %st(1)
	fldz
	fxch	%st(1)
LBB0_15:
	fstp	%st(1)
	movq	32(%rbp), %rax
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	fstpt	(%rcx)
	fldt	-64(%rbp)                       ## 10-byte Folded Reload
	fucomi	%st(1), %st
	jbe	LBB0_17
## %bb.16:
	fstp	%st(1)
	imull	$1000, -96(%rbp), %ecx          ## imm = 0x3E8
	movl	%ecx, -108(%rbp)
	fildl	-108(%rbp)
	movslq	-92(%rbp), %rcx
	imulq	$1125899907, %rcx, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	movl	%ecx, -112(%rbp)
	fiaddl	-112(%rbp)
	fdivp	%st, %st(1)
	fldz
LBB0_17:
	fstp	%st(0)
	fstpt	(%rax)
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_STATS_NUM_TYPES,4,2        ## @CTL_STATS_NUM_TYPES
	.no_dead_strip	_compute_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_stats
_compute_stats:                         ; @compute_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d13, d12, [sp, #48]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #64]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	mov	x21, x7
	stp	x5, x6, [sp]                    ; 16-byte Folded Spill
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	fmov	d8, d0
	mov	x25, x1
	mov	x26, x0
	add	x0, sp, #40
	mov	w1, #8
	bl	_bzero
	add	x0, sp, #32
	mov	w1, #8
	bl	_bzero
	add	x0, sp, #24
	mov	w1, #8
	bl	_bzero
	add	x0, sp, #16
	mov	w1, #8
	bl	_bzero
Lloh0:
	adrp	x27, _CTL_STATS_NUM_TYPES@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CTL_STATS_NUM_TYPES@GOTPAGEOFF]
	ldr	w8, [x27]
	movi	d11, #0000000000000000
	movi	d12, #0000000000000000
	movi	d10, #0000000000000000
	movi	d9, #0000000000000000
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x28, #0
	mov	x19, #0
	movi	d9, #0000000000000000
	movi	d10, #0000000000000000
	movi	d12, #0000000000000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x27]
	add	x28, x28, #4
	cmp	x19, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x20, x19, #3
	ldp	x9, x8, [x26, #24]
	ldr	d0, [x8, x20]
	scvtf	d0, d0
	fadd	d12, d12, d0
	ldr	d0, [x9, x20]
	scvtf	d0, d0
	fadd	d10, d10, d0
	ldp	x9, x8, [x26, #8]
	ldr	d0, [x8, x20]
	scvtf	d0, d0
	fadd	d9, d9, d0
	add	x1, x9, x28
	add	x0, sp, #40
	bl	_bintime_add
	ldr	x8, [x26]
	add	x1, x8, x28
	add	x0, sp, #32
	bl	_bintime_add
	cbz	x25, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x25, #24]
	ldr	d0, [x8, x20]
	scvtf	d0, d0
	fsub	d12, d12, d0
	ldr	d0, [x9, x20]
	scvtf	d0, d0
	fsub	d10, d10, d0
	ldp	x9, x8, [x25, #8]
	ldr	d0, [x8, x20]
	scvtf	d0, d0
	fsub	d9, d9, d0
	add	x1, x9, x28
	add	x0, sp, #40
	bl	_bintime_sub
	ldr	x8, [x25]
	add	x1, x8, x28
	add	x0, sp, #32
	bl	_bintime_sub
	b	LBB0_2
LBB0_5:
	mov	x8, #4517110426252607488
	fmov	d0, x8
	fmul	d0, d12, d0
	fdiv	d0, d0, d8
	mov	x8, #4562146422526312448
	fmov	d1, x8
	fmul	d1, d12, d1
	fdiv	d1, d1, d10
	fcmp	d10, #0.0
	fcsel	d1, d1, d11, gt
	fcmp	d8, #0.0
	fcsel	d0, d0, d11, gt
	str	d0, [x24]
	str	d1, [x23]
	str	d10, [x22]
	str	d9, [x21]
	b.le	LBB0_7
; %bb.6:
	ldr	d0, [x22]
	fdiv	d0, d0, d8
	str	d0, [x22]
	ldr	d0, [x21]
	fdiv	d0, d0, d8
	b	LBB0_8
LBB0_7:
	str	xzr, [x22]
	movi	d0, #0000000000000000
LBB0_8:
	mov	w19, #16960
	movk	w19, #15, lsl #16
	str	d0, [x21]
	add	x0, sp, #40
	add	x1, sp, #24
	bl	_bintime2timespec
	add	x0, sp, #32
	add	x1, sp, #16
	bl	_bintime2timespec
	movi	d0, #0000000000000000
	fcmp	d10, #0.0
	movi	d1, #0000000000000000
	b.le	LBB0_10
; %bb.9:
	mov	w8, #1000
	ldp	w9, w10, [sp, #24]
	mul	w8, w9, w8
	scvtf	d1, w8
	sdiv	w8, w10, w19
	scvtf	d2, w8
	fadd	d1, d1, d2
	fdiv	d1, d1, d10
LBB0_10:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	d1, [x8]
	fcmp	d9, #0.0
	b.le	LBB0_12
; %bb.11:
	mov	w8, #1000
	ldp	w9, w10, [sp, #16]
	mul	w8, w9, w8
	scvtf	d0, w8
	sdiv	w8, w10, w19
	scvtf	d1, w8
	fadd	d0, d0, d1
	fdiv	d0, d0, d9
LBB0_12:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	d0, [x8]
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #64]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_STATS_NUM_TYPES,4,2        ; @CTL_STATS_NUM_TYPES
	.no_dead_strip	_compute_stats
.subsections_via_symbols
