	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_display_throughput             ## -- Begin function display_throughput
	.p2align	4, 0x90
_display_throughput:                    ## @display_throughput
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	callq	_progress_getnanotime
	movl	%eax, %r12d
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.2:
	movl	%r14d, 4(%rbx)
	movl	%r12d, %eax
	subl	8(%rbx), %eax
	cmpl	$500000001, %eax                ## imm = 0x1DCD6501
	jge	LBB0_3
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %edi
	movl	$56, %esi
	callq	_xcalloc
	movq	%rax, 8(%r15)
	movl	%r14d, 4(%rax)
	movl	%r14d, (%rax)
	movl	%r12d, 8(%rax)
	leaq	48(%rax), %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_init                    ## TAILCALL
LBB0_3:
	movl	%r14d, %ecx
	subl	(%rbx), %ecx
	movl	%r14d, (%rbx)
	movl	%r12d, 8(%rbx)
	movl	12(%rbx), %edx
	addl	%ecx, %edx
	movl	%edx, 12(%rbx)
	movq	24(%rbx), %rsi
	movq	32(%rbx), %rax
	subl	(%rsi,%rax,4), %edx
	movl	%edx, 12(%rbx)
	movq	40(%rbx), %rdx
	movl	(%rdx,%rax,4), %edx
	subl	%edx, 16(%rbx)
	movl	%ecx, (%rsi,%rax,4)
	incq	%rax
	movq	_TP_IDX_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	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	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_6:
	movq	%rdx, 32(%rbx)
	addq	$48, %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_throughput_string
	movl	(%r15), %esi
	cmpl	$-1, %esi
	je	LBB0_8
## %bb.7:
	movq	_progress_update@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.10:
	movq	%r15, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_display                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_IDX_MAX,4,2                 ## @TP_IDX_MAX
	.comm	_progress_update,8,3            ## @progress_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_display_throughput             ; -- Begin function display_throughput
	.p2align	2
_display_throughput:                    ; @display_throughput
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	bl	_progress_getnanotime
	mov	x21, x0
	cbz	x22, LBB0_7
; %bb.2:
	str	w20, [x22, #4]
	ldr	w8, [x22, #8]
	mov	w9, #25857
	movk	w9, #7629, lsl #16
	sub	w8, w21, w8
	cmp	w8, w9
	b.lt	LBB0_6
; %bb.3:
	ldr	w8, [x22]
	str	w20, [x22]
	ldp	w9, w10, [x22, #12]
	sub	w8, w20, w8
	add	w9, w9, w8
	stp	w21, w9, [x22, #8]
	ldp	x11, x12, [x22, #24]
	lsl	x13, x12, #2
	ldr	w14, [x11, x13]
	sub	w9, w9, w14
	str	w9, [x22, #12]
	ldr	x9, [x22, #40]
	ldr	w9, [x9, x13]
	sub	w9, w10, w9
	str	w9, [x22, #16]
	str	w8, [x11, x13]
Lloh0:
	adrp	x8, _TP_IDX_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TP_IDX_MAX@GOTPAGEOFF]
	add	x9, x12, #1
Lloh2:
	ldrsw	x8, [x8]
	udiv	x10, x9, x8
	msub	x8, x10, x8, x9
	str	x8, [x22, #32]
	add	x0, x22, #48
	mov	x1, x20
	bl	_throughput_string
	ldr	w1, [x19]
	cmn	w1, #1
	b.eq	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _progress_update@GOTPAGE
Lloh4:
	ldr	x8, [x8, _progress_update@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x2, #0
	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	_display
LBB0_6:
	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
	ret
LBB0_7:
	mov	w0, #1
	mov	w1, #56
	bl	_xcalloc
	str	x0, [x19, #8]
	stp	w20, w20, [x0]
	str	w21, [x0, #8]
	add	x0, x0, #48
	mov	w1, #0
	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	_strbuf_init
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_IDX_MAX,4,2                 ; @TP_IDX_MAX
	.comm	_progress_update,8,3            ; @progress_update
.subsections_via_symbols
