	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function refresh_progress_meter
LCPI0_0:
	.quad	0x3fb9999999999998              ## double 0.099999999999999978
LCPI0_1:
	.quad	0x3feccccccccccccd              ## double 0.90000000000000002
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_2:
	.long	0x42c80000                      ## float 100
LCPI0_3:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_refresh_progress_meter
	.p2align	4, 0x90
_refresh_progress_meter:                ## @refresh_progress_meter
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_WINSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_counter@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	_cur_pos@GOTPCREL(%rip), %rbx
	movss	(%rbx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, -80(%rbp)                ## 16-byte Spill
	movq	_start_pos@GOTPCREL(%rip), %r14
	movss	(%r14), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, -112(%rbp)               ## 16-byte Spill
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movss	%xmm0, (%rbx)
	xorl	%eax, %eax
	callq	_monotime_double
	movq	_end_pos@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm3
	subss	(%rbx), %xmm3
	xorps	%xmm2, %xmm2
	movss	%xmm3, -56(%rbp)                ## 4-byte Spill
	ucomiss	%xmm2, %xmm3
	jbe	LBB0_2
## %bb.1:
	movaps	-80(%rbp), %xmm3                ## 16-byte Reload
	cmpneqss	%xmm3, %xmm2
	andps	%xmm2, %xmm3
	andnps	-112(%rbp), %xmm2               ## 16-byte Folded Reload
	orps	%xmm3, %xmm2
	movss	-52(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	subss	%xmm2, %xmm3
	movq	_last_update@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	jmp	LBB0_3
LBB0_2:
	movq	_start@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	movaps	%xmm1, %xmm3
	subss	(%r14), %xmm3
	movq	_bytes_per_second@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_3:
	movapd	%xmm0, %xmm4
	subsd	%xmm2, %xmm4
	xorpd	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm4
	movsd	%xmm0, -88(%rbp)                ## 8-byte Spill
	movss	%xmm3, -52(%rbp)                ## 4-byte Spill
	movsd	%xmm4, -80(%rbp)                ## 8-byte Spill
	jne	LBB0_4
	jnp	LBB0_5
LBB0_4:
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm3, %xmm0
	divsd	%xmm4, %xmm0
	cvttsd2si	%xmm0, %eax
	jmp	LBB0_6
LBB0_5:
	cvttss2si	%xmm3, %eax
LBB0_6:
	movq	_bytes_per_second@GOTPCREL(%rip), %rcx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	(%rcx), %xmm2                   ## xmm2 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm0, %xmm3
	movsd	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero
	mulsd	%xmm2, %xmm4
	addsd	%xmm3, %xmm4
	xorpd	%xmm3, %xmm3
	cmpneqsd	%xmm2, %xmm3
	andpd	%xmm3, %xmm4
	andnpd	%xmm0, %xmm3
	orpd	%xmm4, %xmm3
	movlpd	%xmm3, (%rcx)
	movb	$0, (%r15)
	movq	_win_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	$36, %ebx
	jl	LBB0_10
## %bb.7:
	leal	-35(%rbx), %r13d
	leal	-34(%rbx), %r14d
	movq	_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	cmovgl	%eax, %r12d
	cmpl	%r14d, %r12d
	cmovael	%r13d, %r12d
	cmpl	%r13d, %r12d
	jae	LBB0_9
## %bb.8:
	movl	%r12d, %edi
	addq	%r15, %rdi
	subl	%r12d, %ebx
	addl	$-36, %ebx
	incq	%rbx
	movl	$32, %esi
	movq	%rbx, %rdx
	callq	_memset
LBB0_9:
	movl	%r13d, %eax
	movb	$0, (%r15,%rax)
	movq	_end_pos@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
LBB0_10:
	movl	$100, %r14d
	xorpd	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm1
	jne	LBB0_11
	jnp	LBB0_13
LBB0_11:
	movq	_cur_pos@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jne	LBB0_12
	jnp	LBB0_13
LBB0_12:
	divss	%xmm1, %xmm0
	mulss	LCPI0_2(%rip), %xmm0
	cvttss2si	%xmm0, %r14d
LBB0_13:
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r12
	addq	%r15, %r12
	movq	_win_size@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%r15, %rdi
	callq	_strlen
	subl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r14
	addq	%r15, %r14
	movl	(%r13), %ebx
	movq	%r15, %rdi
	callq	_strlen
	subl	%eax, %ebx
	movq	_cur_pos@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_format_size
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strlcat
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r14
	addq	%r15, %r14
	movl	(%r13), %ebx
	movq	%r15, %rdi
	callq	_strlen
	subl	%eax, %ebx
	movq	_bytes_per_second@GOTPCREL(%rip), %r12
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_format_rate
	movl	(%r13), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strlcat
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_3(%rip), %xmm0
	movq	_stalled@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%rax), %xmm0
	movsd	-80(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	addsd	%xmm3, %xmm0
	cvttsd2si	%xmm0, %rcx
	movl	$0, %edx
	cmovneq	%rdx, %rcx
	cmovpq	%rdx, %rcx
	movq	%rcx, (%rax)
	movq	_STALL_TIME@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jge	LBB0_14
## %bb.15:
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	xorps	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_18
	jp	LBB0_18
## %bb.16:
	xorps	%xmm1, %xmm1
	movss	-56(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm2
	jne	LBB0_17
	jnp	LBB0_18
LBB0_17:
	movl	(%r13), %edx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_26
LBB0_14:
	movl	(%r13), %edx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_26
LBB0_18:
	xorps	%xmm1, %xmm1
	movss	-56(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm2
	jbe	LBB0_20
## %bb.19:
	movss	-56(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm3, %xmm3
	cvtss2sd	%xmm1, %xmm3
	divsd	%xmm0, %xmm3
LBB0_20:
	cvttsd2si	%xmm3, %eax
	movslq	%eax, %r12
	imulq	$-1851608123, %r12, %r14        ## imm = 0x91A2B3C5
	shrq	$32, %r14
	addl	%r12d, %r14d
	movl	%r14d, %eax
	shrl	$31, %eax
	sarl	$11, %r14d
	addl	%eax, %r14d
	imull	$-3600, %r14d, %eax             ## imm = 0xF1F0
	addl	%r12d, %eax
	cltq
	imulq	$-2004318071, %rax, %rbx        ## imm = 0x88888889
	shrq	$32, %rbx
	addl	%eax, %ebx
	movl	%ebx, %ecx
	shrl	$31, %ecx
	sarl	$5, %ebx
	addl	%ecx, %ebx
	imull	$-60, %ebx, %ecx
	addl	%eax, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	addl	$3599, %r12d                    ## imm = 0xE0F
	movq	%r15, %rdi
	callq	_strlen
	cltq
	movq	%r15, %r13
	addq	%rax, %r13
	movq	_win_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_strlen
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	subl	%eax, %esi
	cmpl	$7199, %r12d                    ## imm = 0x1C1F
	jae	LBB0_21
## %bb.22:
	leaq	L_.str.7(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_23
LBB0_21:
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
LBB0_23:
	xorpd	%xmm0, %xmm0
	movss	-56(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	movq	_win_size@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	jbe	LBB0_25
## %bb.24:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_26
LBB0_25:
	leaq	L_.str.9(%rip), %rsi
LBB0_26:
	movq	%r15, %rdi
	callq	_strlcat
	movq	_vwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	decl	%ecx
	movq	%r15, %rdx
	callq	_atomicio
	movq	_last_update@GOTPCREL(%rip), %rax
	movsd	-88(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WINSIZE,4,2                ## @MAX_WINSIZE
	.comm	_counter,8,3                    ## @counter
	.comm	_cur_pos,4,2                    ## @cur_pos
	.comm	_start_pos,4,2                  ## @start_pos
	.comm	_end_pos,4,2                    ## @end_pos
	.comm	_last_update,8,3                ## @last_update
	.comm	_start,8,3                      ## @start
	.comm	_bytes_per_second,8,3           ## @bytes_per_second
	.comm	_win_size,4,2                   ## @win_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r%s"

	.comm	_file,8,3                       ## @file
L_.str.1:                               ## @.str.1
	.asciz	" %3d%% "

L_.str.2:                               ## @.str.2
	.asciz	" "

L_.str.3:                               ## @.str.3
	.asciz	"/s "

	.comm	_stalled,8,3                    ## @stalled
	.comm	_STALL_TIME,8,3                 ## @STALL_TIME
L_.str.4:                               ## @.str.4
	.asciz	"- stalled -"

L_.str.5:                               ## @.str.5
	.asciz	"  --:-- ETA"

L_.str.6:                               ## @.str.6
	.asciz	"%d:%02d:%02d"

L_.str.7:                               ## @.str.7
	.asciz	"  %02d:%02d"

L_.str.8:                               ## @.str.8
	.asciz	" ETA"

L_.str.9:                               ## @.str.9
	.asciz	"    "

	.comm	_vwrite,4,2                     ## @vwrite
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_AGE_FACTOR,8,3                 ## @AGE_FACTOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refresh_progress_meter         ; -- Begin function refresh_progress_meter
	.p2align	2
_refresh_progress_meter:                ; @refresh_progress_meter
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-144]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-136]
Lloh3:
	adrp	x8, _MAX_WINSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_WINSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x8, _counter@GOTPAGE
Lloh9:
	ldr	x8, [x8, _counter@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x24, _cur_pos@GOTPAGE
Lloh12:
	ldr	x24, [x24, _cur_pos@GOTPAGEOFF]
	ldr	s10, [x8]
	ldr	s11, [x24]
Lloh13:
	adrp	x20, _start_pos@GOTPAGE
Lloh14:
	ldr	x20, [x20, _start_pos@GOTPAGEOFF]
	ldr	s12, [x20]
	str	s10, [x24]
	bl	_monotime_double
	fmov	d8, d0
Lloh15:
	adrp	x25, _end_pos@GOTPAGE
Lloh16:
	ldr	x25, [x25, _end_pos@GOTPAGEOFF]
	ldr	s0, [x25]
	ldr	s1, [x24]
	fsub	s9, s0, s1
	fcmp	s9, #0.0
Lloh17:
	adrp	x23, _bytes_per_second@GOTPAGE
Lloh18:
	ldr	x23, [x23, _bytes_per_second@GOTPAGEOFF]
Lloh19:
	adrp	x21, _last_update@GOTPAGE
Lloh20:
	ldr	x21, [x21, _last_update@GOTPAGEOFF]
	b.le	LBB0_2
; %bb.1:
	fcmp	s11, #0.0
	fcsel	s1, s11, s12, ne
	fsub	s11, s10, s1
	ldr	d1, [x21]
	b	LBB0_3
LBB0_2:
Lloh21:
	adrp	x8, _start@GOTPAGE
Lloh22:
	ldr	x8, [x8, _start@GOTPAGEOFF]
Lloh23:
	ldr	d1, [x8]
	ldr	s2, [x20]
	fsub	s11, s0, s2
	str	xzr, [x23]
LBB0_3:
	fsub	d10, d8, d1
	fcmp	d10, #0.0
	b.eq	LBB0_5
; %bb.4:
	fcvt	d1, s11
	fdiv	d1, d1, d10
	fcvtzs	w8, d1
	b	LBB0_6
LBB0_5:
	fcvtzs	w8, s11
LBB0_6:
	ldr	d1, [x23]
	scvtf	d2, w8
	mov	x8, #-7378697629483820647
	movk	x8, #39320
	movk	x8, #16313, lsl #48
	fmov	d3, x8
	fmul	d3, d2, d3
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16364, lsl #48
	fmov	d4, x8
	fmadd	d3, d1, d4, d3
	fcmp	d1, #0.0
	fcsel	d1, d3, d2, ne
	str	d1, [x23]
	strb	wzr, [x19]
Lloh24:
	adrp	x22, _win_size@GOTPAGE
Lloh25:
	ldr	x22, [x22, _win_size@GOTPAGEOFF]
	ldr	w27, [x22]
	cmp	w27, #36
	b.lt	LBB0_10
; %bb.7:
	sub	w26, w27, #35
	sub	w20, w27, #34
Lloh26:
	adrp	x8, _file@GOTPAGE
Lloh27:
	ldr	x8, [x8, _file@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	str	x8, [sp, #-16]!
Lloh29:
	adrp	x2, l_.str@PAGE
Lloh30:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	add	sp, sp, #16
	cmp	w0, #0
	csel	w8, w0, wzr, gt
	cmp	w8, w20
	csel	w8, w8, w26, lo
	cmp	w8, w26
	b.hs	LBB0_9
; %bb.8:
	add	x0, x19, w8, uxtw
	sub	w8, w27, w8
	sub	w8, w8, #36
	add	x2, x8, #1
	mov	w1, #32
	bl	_memset
LBB0_9:
	strb	wzr, [x19, w26, uxtw]
	ldr	s0, [x25]
LBB0_10:
	fcmp	s0, #0.0
	b.ne	LBB0_12
; %bb.11:
	mov	w25, #100
	b	LBB0_13
LBB0_12:
	ldr	s1, [x24]
	mov	w8, #100
	fcmp	s1, s0
	fdiv	s0, s1, s0
	mov	w9, #1120403456
	fmov	s1, w9
	fmul	s0, s0, s1
	fcvtzs	w9, s0
	csel	w25, w8, w9, eq
LBB0_13:
	mov	x0, x19
	bl	_strlen
	add	x20, x19, w0, sxtw
	ldr	w26, [x22]
	mov	x0, x19
	bl	_strlen
	sub	w1, w26, w0
	str	x25, [sp, #-16]!
Lloh31:
	adrp	x2, l_.str.1@PAGE
Lloh32:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_snprintf
	add	sp, sp, #16
	mov	x0, x19
	bl	_strlen
	add	x20, x19, w0, sxtw
	ldr	w25, [x22]
	mov	x0, x19
	bl	_strlen
	sub	w1, w25, w0
	ldr	s0, [x24]
	mov	x0, x20
	bl	_format_size
	ldr	w2, [x22]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strlcat
	mov	x0, x19
	bl	_strlen
	add	x20, x19, w0, sxtw
	ldr	w24, [x22]
	mov	x0, x19
	bl	_strlen
	sub	w1, w24, w0
	ldr	d0, [x23]
	mov	x0, x20
	bl	_format_rate
	ldr	w2, [x22]
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strlcat
Lloh37:
	adrp	x8, _stalled@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stalled@GOTPAGEOFF]
	ldr	d0, [x8]
	scvtf	d0, d0
	fadd	d0, d10, d0
	fcvtzs	x9, d0
	fcmp	s11, #0.0
	csel	x9, xzr, x9, ne
	str	x9, [x8]
Lloh39:
	adrp	x8, _STALL_TIME@GOTPAGE
Lloh40:
	ldr	x8, [x8, _STALL_TIME@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_17
; %bb.14:
	ldr	d0, [x23]
	fcmp	d0, #0.0
	b.ne	LBB0_18
; %bb.15:
	fcmp	s9, #0.0
	b.eq	LBB0_18
; %bb.16:
	ldr	w2, [x22]
Lloh42:
	adrp	x1, l_.str.5@PAGE
Lloh43:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_24
LBB0_17:
	ldr	w2, [x22]
Lloh44:
	adrp	x1, l_.str.4@PAGE
Lloh45:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_24
LBB0_18:
	fcvt	d1, s9
	fdiv	d0, d1, d0
	fcmp	s9, #0.0
	fcsel	d0, d0, d10, gt
	fcvtzs	w8, d0
	mov	w9, #46021
	movk	w9, #37282, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #11
	add	w23, w10, w9, lsr #31
	mov	w9, #-3600
	madd	w9, w23, w9, w8
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	smull	x10, w9, w10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #5
	add	w24, w11, w10, lsr #31
	mov	w10, #-60
	madd	w25, w24, w10, w9
	add	w26, w8, #3599
	mov	x0, x19
	bl	_strlen
	add	x20, x19, w0, sxtw
	ldr	w27, [x22]
	mov	x0, x19
	bl	_strlen
	sub	w1, w27, w0
	mov	w8, #7199
	cmp	w26, w8
	b.hs	LBB0_20
; %bb.19:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	stp	x24, x25, [sp, #-16]!
Lloh46:
	adrp	x2, l_.str.7@PAGE
Lloh47:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_snprintf
	add	sp, sp, #16
	b	LBB0_21
LBB0_20:
	sub	sp, sp, #32
	stp	x24, x25, [sp, #8]
	str	x23, [sp]
Lloh48:
	adrp	x2, l_.str.6@PAGE
Lloh49:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_snprintf
	add	sp, sp, #32
LBB0_21:
	ldr	w2, [x22]
	fcmp	s9, #0.0
	b.le	LBB0_23
; %bb.22:
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_24
LBB0_23:
Lloh52:
	adrp	x1, l_.str.9@PAGE
Lloh53:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_24:
	mov	x0, x19
	bl	_strlcat
Lloh54:
	adrp	x8, _vwrite@GOTPAGE
Lloh55:
	ldr	x8, [x8, _vwrite@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh58:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	ldr	w8, [x22]
	sub	w3, w8, #1
	mov	x2, x19
	bl	_atomicio
	str	d8, [x21]
	ldur	x8, [x29, #-136]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	sub	sp, x29, #128
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #144            ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WINSIZE,4,2                ; @MAX_WINSIZE
	.comm	_counter,8,3                    ; @counter
	.comm	_cur_pos,4,2                    ; @cur_pos
	.comm	_start_pos,4,2                  ; @start_pos
	.comm	_end_pos,4,2                    ; @end_pos
	.comm	_last_update,8,3                ; @last_update
	.comm	_start,8,3                      ; @start
	.comm	_bytes_per_second,8,3           ; @bytes_per_second
	.comm	_win_size,4,2                   ; @win_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r%s"

	.comm	_file,8,3                       ; @file
l_.str.1:                               ; @.str.1
	.asciz	" %3d%% "

l_.str.2:                               ; @.str.2
	.asciz	" "

l_.str.3:                               ; @.str.3
	.asciz	"/s "

	.comm	_stalled,8,3                    ; @stalled
	.comm	_STALL_TIME,8,3                 ; @STALL_TIME
l_.str.4:                               ; @.str.4
	.asciz	"- stalled -"

l_.str.5:                               ; @.str.5
	.asciz	"  --:-- ETA"

l_.str.6:                               ; @.str.6
	.asciz	"%d:%02d:%02d"

l_.str.7:                               ; @.str.7
	.asciz	"  %02d:%02d"

l_.str.8:                               ; @.str.8
	.asciz	" ETA"

l_.str.9:                               ; @.str.9
	.asciz	"    "

	.comm	_vwrite,4,2                     ; @vwrite
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_AGE_FACTOR,8,3                 ; @AGE_FACTOR
.subsections_via_symbols
