	.file	"extr_gzip.c_print_ratio.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%2.2d."
.LC1:
	.string	"%5s%%"
	.text
	.p2align 4
	.type	print_ratio, @function
print_ratio:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	or	ecx, edi
	je	.L2
	mov	eax, esi
	mov	ecx, -999
	shr	eax, 31
	add	esi, eax
	mov	eax, edi
	sar	esi
	sub	eax, esi
	js	.L2
	cmp	edi, 1048576
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	sar	edi
	sar	eax
	cmp	edi, 1048576
	jg	.L4
.L5:
	imul	eax, eax, 2000
	cdq
	idiv	edi
	lea	ecx, -1000[rax]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r12, rsp
	lea	rdx, .LC0[rip]
	mov	esi, 8
	mov	rdi, r12
	call	snprintf@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	lea	edx, -2[rax]
	sub	eax, 1
	movsx	rdx, edx
	cdqe
	movzx	ecx, BYTE PTR [rsp+rdx]
	mov	BYTE PTR [rsp+rax], cl
	mov	BYTE PTR [rsp+rdx], 46
	mov	rdx, r12
	call	fprintf@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	test	edi, edi
	jne	.L5
	xor	ecx, ecx
	jmp	.L2
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	print_ratio, .-print_ratio
	.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_gzip.c_print_ratio.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%2.2d.\000"
	.align	2
.LC1:
	.ascii	"%5s%%\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_ratio, %function
print_ratio:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r2
	ldr	r2, .L16
	sub	sp, sp, #20
	orrs	r3, r1, r0
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L2
	add	r1, r1, r1, lsr #31
	subs	r3, r0, r1, asr #1
	ldrmi	r3, .L16+4
	bmi	.L2
	cmp	r0, #1048576
	ble	.L3
.L4:
	asr	r0, r0, #1
	cmp	r0, #1048576
	asr	r3, r3, #1
	bgt	.L4
.L5:
	rsb	r2, r3, r3, lsl #5
	add	r3, r3, r2, lsl #2
	mov	r1, r0
	lsl	r0, r3, #4
	bl	__aeabi_idiv
	sub	r3, r0, #1000
.L2:
	mov	r1, #8
	ldr	r2, .L16+8
	add	r0, sp, #4
	bl	snprintf
	mov	r3, r0
	mov	lr, #46
	sub	ip, r0, #2
	add	r2, sp, #16
	add	ip, r2, ip
	ldrb	r5, [ip, #-12]	@ zero_extendqisi2
	add	r1, sp, #16
	add	r3, r1, r3
	add	r2, sp, #4
	mov	r0, r4
	ldr	r1, .L16+12
	strb	r5, [r3, #-13]
	strb	lr, [ip, #-12]
	bl	fprintf
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	cmp	r0, #0
	moveq	r3, r0
	beq	.L2
	b	.L5
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	-999
	.word	.LC0
	.word	.LC1
	.size	print_ratio, .-print_ratio
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
