	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function conv_cnt_human_readable
LCPI0_0:
	.long	0x40800000                      ## float 4
LCPI0_1:
	.long	0x44800000                      ## float 1024
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_conv_cnt_human_readable
	.p2align	4, 0x90
_conv_cnt_human_readable:               ## @conv_cnt_human_readable
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edi killed $edi def $rdi
	leal	1023(%rdi), %eax
	cmpl	$2047, %eax                     ## imm = 0x7FF
	jae	LBB0_2
## %bb.1:
	movl	$1, %r9d
	xorl	%r8d, %r8d
	jmp	LBB0_4
LBB0_2:
	xorl	%r8d, %r8d
	movl	$1, %r9d
	movl	%edi, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	1023(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$10, %eax
	incl	%r8d
	shll	$10, %r9d
	leal	1023(%rax), %r10d
	movl	%eax, %ecx
	cmpl	$2046, %r10d                    ## imm = 0x7FE
	ja	LBB0_3
LBB0_4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cvtsi2ss	%edi, %xmm0
	testl	%edx, %edx
	je	LBB0_7
## %bb.5:
	cvtsi2ss	%r9d, %xmm1
	mulss	LCPI0_0(%rip), %xmm0
	movaps	%xmm0, %xmm2
	divss	%xmm1, %xmm2
	movl	%r9d, %eax
	shll	$10, %eax
	xorl	%ecx, %ecx
	ucomiss	LCPI0_1(%rip), %xmm2
	seta	%cl
	cmovbel	%r9d, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	addl	%ecx, %r8d
	divss	%xmm1, %xmm0
	movss	%xmm0, (%rsi)
	cmpl	$7, %r8d
	jae	LBB0_11
## %bb.6:
	movslq	%r8d, %rax
	leaq	l_switch.table.conv_cnt_human_readable(%rip), %rcx
	jmp	LBB0_9
LBB0_7:
	cvtsi2ss	%r9d, %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, (%rsi)
	decl	%r8d
	cmpl	$6, %r8d
	jae	LBB0_11
## %bb.8:
	movslq	%r8d, %rax
	leaq	l_switch.table.conv_cnt_human_readable.14(%rip), %rcx
LBB0_9:
	leaq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.7(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"B"

L_.str.1:                               ## @.str.1
	.asciz	"KB"

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

L_.str.3:                               ## @.str.3
	.asciz	"GB"

L_.str.4:                               ## @.str.4
	.asciz	"TB"

L_.str.5:                               ## @.str.5
	.asciz	"PB"

L_.str.6:                               ## @.str.6
	.asciz	"EB"

L_.str.7:                               ## @.str.7
	.space	1

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

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

L_.str.10:                              ## @.str.10
	.asciz	"G"

L_.str.11:                              ## @.str.11
	.asciz	"T"

L_.str.12:                              ## @.str.12
	.asciz	"P"

L_.str.13:                              ## @.str.13
	.asciz	"E"

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.conv_cnt_human_readable
l_switch.table.conv_cnt_human_readable:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6

	.p2align	3                               ## @switch.table.conv_cnt_human_readable.14
l_switch.table.conv_cnt_human_readable.14:
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	L_.str.10
	.quad	L_.str.11
	.quad	L_.str.12
	.quad	L_.str.13

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_conv_cnt_human_readable        ; -- Begin function conv_cnt_human_readable
	.p2align	2
_conv_cnt_human_readable:               ; @conv_cnt_human_readable
	.cfi_startproc
; %bb.0:
	add	w8, w0, #1023
	cmp	w8, #2047
	b.hs	LBB0_2
; %bb.1:
	mov	w8, #0
	mov	w9, #1
	b	LBB0_4
LBB0_2:
	mov	w8, #0
	mov	w9, #1
	mov	x10, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w10, #1023
	cmp	w10, #0
	csel	w10, w11, w10, lt
	asr	w10, w10, #10
	add	w8, w8, #1
	lsl	w9, w9, #10
	add	w11, w10, #1023
	cmp	w11, #2046
	b.hi	LBB0_3
LBB0_4:
	scvtf	s0, w0
	cbz	w2, LBB0_7
; %bb.5:
	fmov	s1, #4.00000000
	fmul	s0, s0, s1
	scvtf	s1, w9
	fdiv	s1, s0, s1
	lsl	w10, w9, #10
	mov	w11, #1149239296
	fmov	s2, w11
	fcmp	s1, s2
	cinc	w8, w8, gt
	csel	w9, w10, w9, gt
	scvtf	s1, w9
	fdiv	s0, s0, s1
	str	s0, [x1]
	cmp	w8, #7
	b.hs	LBB0_10
; %bb.6:
Lloh0:
	adrp	x9, l_switch.table.conv_cnt_human_readable@PAGE
Lloh1:
	add	x9, x9, l_switch.table.conv_cnt_human_readable@PAGEOFF
	b	LBB0_9
LBB0_7:
	scvtf	s1, w9
	fdiv	s0, s0, s1
	str	s0, [x1]
	sub	w8, w8, #1
	cmp	w8, #6
	b.hs	LBB0_10
; %bb.8:
Lloh2:
	adrp	x9, l_switch.table.conv_cnt_human_readable.14@PAGE
Lloh3:
	add	x9, x9, l_switch.table.conv_cnt_human_readable.14@PAGEOFF
LBB0_9:
	add	x8, x9, w8, sxtw #3
	ldr	x0, [x8]
	ret
LBB0_10:
Lloh4:
	adrp	x0, l_.str.7@PAGE
Lloh5:
	add	x0, x0, l_.str.7@PAGEOFF
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"B"

l_.str.1:                               ; @.str.1
	.asciz	"KB"

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

l_.str.3:                               ; @.str.3
	.asciz	"GB"

l_.str.4:                               ; @.str.4
	.asciz	"TB"

l_.str.5:                               ; @.str.5
	.asciz	"PB"

l_.str.6:                               ; @.str.6
	.asciz	"EB"

l_.str.7:                               ; @.str.7
	.space	1

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

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

l_.str.10:                              ; @.str.10
	.asciz	"G"

l_.str.11:                              ; @.str.11
	.asciz	"T"

l_.str.12:                              ; @.str.12
	.asciz	"P"

l_.str.13:                              ; @.str.13
	.asciz	"E"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.conv_cnt_human_readable
l_switch.table.conv_cnt_human_readable:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6

	.p2align	3                               ; @switch.table.conv_cnt_human_readable.14
l_switch.table.conv_cnt_human_readable.14:
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	l_.str.12
	.quad	l_.str.13

.subsections_via_symbols
