	.file	"extr_tool_cb_prg.c_tool_progress_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\r%%-%ds %%5.1f%%%%"
	.text
	.p2align 4
	.globl	tool_progress_cb
	.type	tool_progress_cb, @function
tool_progress_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rcx
	push	r14
	push	r13
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rdi
	push	r12
	.cfi_offset 12, -48
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 72
	mov	QWORD PTR -112[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	tvnow@PLT
	mov	DWORD PTR -100[rbp], eax
	mov	rax, QWORD PTR 0[r13]
	test	rax, rax
	js	.L2
	mov	r14, QWORD PTR CURL_OFF_T_MAX[rip]
	add	r15, r12
	lea	r12, [rax+r15]
	mov	rdx, r14
	sub	rdx, rax
	cmp	rdx, r15
	cmovl	r12, r14
	add	rbx, QWORD PTR -112[rbp]
	add	rax, rbx
	cmp	rdx, rbx
	cmovge	r14, rax
.L5:
	mov	rax, QWORD PTR 32[r13]
	test	rax, rax
	je	.L6
	test	r12, r12
	je	.L7
	cmp	QWORD PTR 8[r13], r14
	je	.L9
	mov	esi, DWORD PTR 20[r13]
	mov	edi, DWORD PTR -100[rbp]
	call	tvdiff@PLT
	cmp	r14, r12
	jge	.L19
	cmp	rax, 99
	jle	.L9
.L19:
	mov	rax, QWORD PTR 32[r13]
.L6:
	add	rax, 1
	mov	QWORD PTR 32[r13], rax
	test	r12, r12
	jle	.L12
	cmp	QWORD PTR 8[r13], r14
	je	.L12
	mov	edx, DWORD PTR MAX_BARLENGTH[rip]
	mov	rsi, rsp
	mov	rbx, rsp
	lea	eax, 1[rdx]
	cdqe
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rcx, -16
	mov	rax, rsi
.L13:
	cmp	rsp, rax
	je	.L14
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR 20[r13]
	mov	edi, DWORD PTR -100[rbp]
	call	tvdiff@PLT
	cmp	rax, 99
	jle	.L9
	xor	esi, esi
	cmp	QWORD PTR 8[r13], r14
	mov	rdi, r13
	setne	sil
	call	fly@PLT
	add	QWORD PTR 32[r13], 1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR 24[r13]
	call	fflush@PLT
	mov	eax, DWORD PTR -100[rbp]
	mov	QWORD PTR 8[r13], r14
	mov	DWORD PTR 20[r13], eax
.L9:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L32
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, QWORD PTR CURL_OFF_T_MAX[rip]
	mov	r14, r12
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L33
.L15:
	cmp	r14, r12
	pxor	xmm0, xmm0
	pxor	xmm1, xmm1
	mov	eax, DWORD PTR 16[r13]
	cmovge	r12, r14
	cvtsi2sd	xmm0, r14
	mov	rdi, rsp
	mov	esi, 35
	lea	r15d, -7[rax]
	cvtsi2sd	xmm1, r12
	divsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, r15d
	mulsd	xmm1, xmm0
	movsd	QWORD PTR -112[rbp], xmm0
	cvttsd2si	r12d, xmm1
	cmp	edx, r12d
	cmovle	r12d, edx
	mov	edx, r12d
	call	memset@PLT
	movsx	rdx, r12d
	lea	r12, -96[rbp]
	mov	ecx, r15d
	mov	BYTE PTR [rsp+rdx], 0
	mov	esi, 40
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	call	msnprintf@PLT
	movsd	xmm0, QWORD PTR -112[rbp]
	mov	rdx, rsp
	mov	rsi, r12
	mulsd	xmm0, QWORD PTR .LC1[rip]
	mov	edi, DWORD PTR 24[r13]
	call	fprintf@PLT
	mov	rsp, rbx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L33:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L15
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tool_progress_cb, .-tool_progress_cb
	.comm	MAX_BARLENGTH,4,4
	.comm	CURL_OFF_T_MAX,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tool_cb_prg.c_tool_progress_cb.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\015%%-%ds %%5.1f%%%%\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tool_progress_cb
	.syntax unified
	.arm
	.fpu softvfp
	.type	tool_progress_cb, %function
tool_progress_cb:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #68
	mov	r4, r0
	mov	r7, r3
	ldr	r3, .L22
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	tvnow
	ldr	ip, [r4]
	mov	r8, r0
	cmp	ip, #0
	blt	.L2
	ldr	r2, .L22+4
	add	r3, r5, r7
	ldr	r5, [r2]
	sub	r2, r5, ip
	cmp	r2, r3
	addge	r7, ip, r3
	ldr	r3, [fp, #4]
	movlt	r7, r5
	add	r6, r6, r3
	cmp	r2, r6
	addge	r5, ip, r6
.L5:
	ldr	r3, [r4, #20]
	cmp	r3, #0
	beq	.L6
	cmp	r7, #0
	beq	.L7
	ldr	r3, [r4, #4]
	cmp	r3, r5
	beq	.L9
	mov	r0, r8
	ldr	r1, [r4, #12]
	bl	tvdiff
	cmp	r0, #99
	cmple	r5, r7
	blt	.L9
	ldr	r3, [r4, #20]
.L6:
	add	r3, r3, #1
	cmp	r7, #0
	str	r3, [r4, #20]
	ble	.L11
	ldr	r3, [r4, #4]
	cmp	r3, r5
	beq	.L11
	ldr	r3, .L22+8
	str	sp, [fp, #-88]
	ldr	r10, [r3]
	mov	r0, r5
	add	r3, r10, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	bl	__aeabi_i2d
	mov	r2, r0
	cmp	r5, r7
	movlt	r0, r7
	movge	r0, r5
	mov	r6, r2
	mov	r7, r1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r6, r0
	mov	r7, r1
	ldr	r9, [r4, #8]
	sub	r9, r9, #7
	mov	r0, r9
	bl	__aeabi_i2d
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dmul
	bl	__aeabi_d2iz
	cmp	r10, r0
	movlt	r2, r10
	movge	r2, r0
	add	r10, sp, #8
	mov	r1, #35
	mov	r0, r10
	str	r2, [fp, #-92]
	bl	memset
	mov	r1, #0
	ldr	r2, [fp, #-92]
	mov	r3, r9
	strb	r1, [r10, r2]
	sub	r0, fp, #80
	mov	r1, #40
	ldr	r2, .L22+12
	bl	msnprintf
	mov	r0, r6
	mov	r1, r7
	mov	r2, #0
	ldr	r3, .L22+16
	bl	__aeabi_dmul
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [r4, #16]
	mov	r2, r10
	stm	sp, {r6-r7}
	sub	r1, fp, #80
	bl	fprintf
	ldr	sp, [fp, #-88]
.L11:
	ldr	r0, [r4, #16]
	bl	fflush
	str	r5, [r4, #4]
	str	r8, [r4, #12]
.L9:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, #0
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L22+4
	ldr	r7, [r3]
	mov	r5, r7
	b	.L5
.L7:
	mov	r0, r8
	ldr	r1, [r4, #12]
	bl	tvdiff
	cmp	r0, #99
	ble	.L9
	ldr	r1, [r4, #4]
	mov	r0, r4
	subs	r1, r1, r5
	movne	r1, #1
	bl	fly
	ldr	r3, [r4, #20]
	add	r3, r3, #1
	str	r3, [r4, #20]
	b	.L11
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC1
	.word	CURL_OFF_T_MAX
	.word	MAX_BARLENGTH
	.word	.LC0
	.word	1079574528
	.size	tool_progress_cb, .-tool_progress_cb
	.comm	MAX_BARLENGTH,4,4
	.comm	CURL_OFF_T_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
