	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function throughput_sampler
_throughput_sampler:                    ## @throughput_sampler
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	40(%rdi), %r14
	movq	%r14, %rdi
	callq	_timer_Stop
	movq	%rbx, %rdi
	callq	_throughput_uptime
	movl	%eax, %r15d
	movl	(%rbx), %r8d
	leal	1(%r15), %r9d
	cmpl	%r8d, %eax
	cmovgel	%r8d, %r9d
	movq	88(%rbx), %rcx
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdx
	movq	%rdx, %rax
	subq	(%rcx,%rsi,8), %rax
	movq	%rdx, (%rcx,%rsi,8)
	movslq	%r9d, %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movq	%rax, 96(%rbx)
	movq	24(%rbx), %rdx
	movq	72(%rbx), %rdi
	movq	%rdx, %rax
	subq	(%rdi,%rsi,8), %rax
	movq	%rdx, (%rdi,%rsi,8)
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_6
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	movq	%rax, 80(%rbx)
	addq	96(%rbx), %rax
	cmpq	%rax, 32(%rbx)
	jae	LBB0_8
## %bb.7:
	movq	%rax, 32(%rbx)
	leaq	64(%rbx), %rdi
	callq	_time
	movq	8(%rbx), %rsi
	movl	(%rbx), %r8d
LBB0_8:
	incq	%rsi
	movslq	%r8d, %rax
	xorl	%ecx, %ecx
	cmpq	%rax, %rsi
	cmovneq	%rsi, %rcx
	movq	%rcx, 8(%rbx)
	movq	56(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	cmpl	%r8d, %r15d
	jl	LBB0_11
## %bb.10:
	movl	48(%rbx), %edi
	callq	*%rax
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_timer_Start                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_throughput_sampler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function throughput_sampler
_throughput_sampler:                    ; @throughput_sampler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	add	x19, x0, #40
	mov	x0, x19
	bl	_timer_Stop
	mov	x0, x20
	bl	_throughput_uptime
	mov	x21, x0
	ldr	w8, [x20]
	cmp	w0, w8
	ldr	x10, [x20, #88]
	ldp	x9, x11, [x20, #8]
	lsl	x12, x9, #3
	ldr	x13, [x10, x12]
	str	x11, [x10, x12]
	csinc	w10, w8, w0, ge
	sub	x11, x11, x13
	sxtw	x10, w10
	udiv	x11, x11, x10
	str	x11, [x20, #96]
	ldr	x11, [x20, #72]
	ldr	x13, [x11, x12]
	ldr	x14, [x20, #24]
	str	x14, [x11, x12]
	sub	x11, x14, x13
	udiv	x10, x11, x10
	str	x10, [x20, #80]
	ldr	x11, [x20, #96]
	ldr	x12, [x20, #32]
	add	x10, x11, x10
	cmp	x12, x10
	b.hs	LBB0_2
; %bb.1:
	str	x10, [x20, #32]
	add	x0, x20, #64
	bl	_time
	ldr	x9, [x20, #8]
	ldr	w8, [x20]
LBB0_2:
	add	x10, x9, #1
	cmp	x10, w8, sxtw
	csinc	x9, xzr, x9, eq
	str	x9, [x20, #8]
	ldr	x9, [x20, #56]
	cbz	x9, LBB0_5
; %bb.3:
	cmp	w21, w8
	b.lt	LBB0_5
; %bb.4:
	ldr	w0, [x20, #48]
	blr	x9
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_timer_Start
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_throughput_sampler
.subsections_via_symbols
