	.file	"191374.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC3:
	.string	"MB"
.LC4:
	.string	"%.2f%s"
.LC6:
	.string	"KB"
.LC7:
	.string	"%.2fB"
	.text
	.globl	format_size
	.type	format_size, @function
format_size:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	movss	DWORD PTR -28[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	cmp	QWORD PTR -24[rbp], 0
	je	.L2
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -28[rbp]
	jb	.L13
.L2:
	mov	DWORD PTR -8[rbp], -1
	jmp	.L5
.L13:
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC2[rip]
	comiss	xmm0, xmm1
	jb	.L14
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4[rbp]
	movq	rdx, xmm2
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC3[rip]
	movq	xmm0, rdx
	lea	rdx, .LC4[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	jmp	.L5
.L14:
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR .LC5[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC2[rip]
	comiss	xmm0, xmm1
	jb	.L15
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -4[rbp]
	movq	rdx, xmm3
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC6[rip]
	movq	xmm0, rdx
	lea	rdx, .LC4[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	jmp	.L5
.L15:
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -28[rbp]
	movq	rdx, xmm4
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC7[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
.L5:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	format_size, .-format_size
	.section	.rodata
.LC9:
	.string	"%f format_size %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1072
	mov	DWORD PTR -1060[rbp], edi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -1048[rbp], xmm0
	mov	DWORD PTR -1044[rbp], 0
	mov	DWORD PTR -1044[rbp], 0
	jmp	.L17
.L18:
	mov	edx, DWORD PTR -1048[rbp]
	lea	rax, -1040[rbp]
	movd	xmm0, edx
	mov	rdi, rax
	call	format_size
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -1048[rbp]
	movq	rax, xmm2
	lea	rdx, -1040[rbp]
	mov	rsi, rdx
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm1, DWORD PTR -1048[rbp]
	movss	xmm0, DWORD PTR .LC10[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -1048[rbp], xmm0
	add	DWORD PTR -1044[rbp], 1
.L17:
	cmp	DWORD PTR -1044[rbp], 49
	jle	.L18
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1233125376
	.align 4
.LC2:
	.long	1065353216
	.align 4
.LC5:
	.long	1149239296
	.align 4
.LC8:
	.long	1120403456
	.align 4
.LC10:
	.long	1195900928
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"191374.c"
	.text
	.global	__aeabi_fcmple
	.global	__aeabi_fdiv
	.global	__aeabi_fcmpge
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%.2f%s\000"
	.align	2
.LC1:
	.ascii	"MB\000"
	.align	2
.LC2:
	.ascii	"KB\000"
	.align	2
.LC3:
	.ascii	"%.2fB\000"
	.text
	.align	2
	.global	format_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	format_size, %function
format_size:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
.L2:
	mvn	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L13:
	ldr	r1, .L16
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	mov	r1, #1065353216
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L16+4
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	ldr	r2, .L16+8
	mov	r1, #1024
	ldr	r0, [fp, #-16]
	bl	snprintf
	b	.L5
.L14:
	ldr	r1, .L16+12
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	mov	r1, #1065353216
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L16+16
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	ldr	r2, .L16+8
	mov	r1, #1024
	ldr	r0, [fp, #-16]
	bl	snprintf
	b	.L5
.L15:
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, .L16+20
	mov	r1, #1024
	ldr	r0, [fp, #-16]
	bl	snprintf
.L5:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	1233125376
	.word	.LC1
	.word	.LC0
	.word	1149239296
	.word	.LC2
	.word	.LC3
	.size	format_size, .-format_size
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%f format_size %s\012\000"
	.global	__aeabi_fadd
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L23+4
	str	r3, [fp, #-1040]	@ float
	mov	r3, #0
	str	r3, [fp, #-1036]
	mov	r3, #0
	str	r3, [fp, #-1036]
	b	.L19
.L20:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1040]	@ float
	mov	r0, r3
	bl	format_size
	ldr	r0, [fp, #-1040]	@ float
	bl	__aeabi_f2d
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+8
	bl	printf
	ldr	r1, .L23+12
	ldr	r0, [fp, #-1040]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1040]	@ float
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	str	r3, [fp, #-1036]
.L19:
	ldr	r3, [fp, #-1036]
	cmp	r3, #49
	ble	.L20
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC5
	.word	1120403456
	.word	.LC4
	.word	1195900928
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
