	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function Meter_humanUnit
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Meter_humanUnit
	.p2align	4, 0x90
_Meter_humanUnit:                       ## @Meter_humanUnit
	.cfi_startproc
## %bb.0:
	movl	%edx, %r9d
	cmpq	$1024, %rsi                     ## imm = 0x400
	jae	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	movl	$1, %r8d
	jmp	LBB0_11
LBB0_2:
	cmpq	$1048576, %rsi                  ## imm = 0x100000
	jae	LBB0_4
## %bb.3:
	leaq	L_.str+1(%rip), %rax
	movl	$1024, %r8d                     ## imm = 0x400
	jmp	LBB0_11
LBB0_4:
	cmpq	$1073741824, %rsi               ## imm = 0x40000000
	jae	LBB0_6
## %bb.5:
	leaq	L_.str+2(%rip), %rax
	movl	$1048576, %r8d                  ## imm = 0x100000
	jmp	LBB0_11
LBB0_6:
	movq	%rsi, %rax
	shrq	$40, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str+3(%rip), %rax
	movl	$1073741824, %r8d               ## imm = 0x40000000
	jmp	LBB0_11
LBB0_8:
	movq	%rsi, %rax
	shrq	$50, %rax
	jne	LBB0_10
## %bb.9:
	movabsq	$1099511627776, %r8             ## imm = 0x10000000000
	leaq	L_.str+4(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movabsq	$1125899906842624, %rax         ## imm = 0x4000000000000
	movq	%rsi, %rcx
	shrq	$60, %rcx
	movabsq	$1152921504606846976, %r8       ## imm = 0x1000000000000000
	cmoveq	%rax, %r8
	leaq	L_.str+5(%rip), %rcx
	leaq	L_.str+6(%rip), %rax
	cmoveq	%rcx, %rax
LBB0_11:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rax), %r10b
	xorl	%ecx, %ecx
	cmpb	$75, %r10b
	je	LBB0_17
## %bb.12:
	movq	%rsi, %rax
	orq	%r8, %rax
	shrq	$32, %rax
	je	LBB0_13
## %bb.14:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%r8
	jmp	LBB0_15
LBB0_13:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $eax killed $eax def $rax
LBB0_15:
	movl	$2, %ecx
	cmpq	$10, %rax
	jb	LBB0_17
## %bb.16:
	xorl	%ecx, %ecx
	cmpq	$100, %rax
	setb	%cl
LBB0_17:
	movq	%rsi, %xmm1
	punpckldq	LCPI0_0(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	cvtsi2sd	%r8, %xmm2
	addsd	%xmm1, %xmm0
	divsd	%xmm2, %xmm0
	movsbl	%r10b, %r8d
	leaq	L_.str.1(%rip), %rdx
	movl	%r9d, %esi
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KMGTPEZY"

L_.str.1:                               ## @.str.1
	.asciz	"%.*f%c"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Meter_humanUnit                ; -- Begin function Meter_humanUnit
	.p2align	2
_Meter_humanUnit:                       ; @Meter_humanUnit
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	cmp	x1, #1024
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x10, l_.str@PAGE
Lloh1:
	add	x10, x10, l_.str@PAGEOFF
	mov	w9, #1
	b	LBB0_5
LBB0_2:
	cmp	x1, #256, lsl #12               ; =1048576
	b.hs	LBB0_4
; %bb.3:
Lloh2:
	adrp	x10, l_.str@PAGE+1
Lloh3:
	add	x10, x10, l_.str@PAGEOFF+1
	mov	w9, #1024
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x10, l_.str@PAGE+2
Lloh5:
	add	x10, x10, l_.str@PAGEOFF+2
	mov	w9, #1048576
Lloh6:
	adrp	x11, l_.str@PAGE+3
Lloh7:
	add	x11, x11, l_.str@PAGEOFF+3
	lsr	x12, x1, #30
	mov	w13, #1073741824
	lsr	x14, x1, #40
Lloh8:
	adrp	x15, l_.str@PAGE+4
Lloh9:
	add	x15, x15, l_.str@PAGEOFF+4
	mov	x16, #1099511627776
	lsr	x17, x1, #50
	lsr	x2, x1, #60
	mov	x3, #1152921504606846976
	mov	x4, #1125899906842624
	cmp	x2, #0
	csel	x2, x4, x3, eq
Lloh10:
	adrp	x3, l_.str@PAGE+5
Lloh11:
	add	x3, x3, l_.str@PAGEOFF+5
	cinc	x3, x3, ne
	cmp	x17, #0
	csel	x16, x16, x2, eq
	csel	x15, x15, x3, eq
	cmp	x14, #0
	csel	x13, x13, x16, eq
	csel	x11, x11, x15, eq
	cmp	x12, #0
	csel	x9, x9, x13, eq
	csel	x10, x10, x11, eq
LBB0_5:
	ldrb	w10, [x10]
	udiv	x11, x1, x9
	mov	w12, #2
	cmp	x11, #100
	cset	w13, lo
	cmp	x11, #10
	csel	w11, w12, w13, lo
	cmp	w10, #75
	csel	w3, wzr, w11, eq
	ucvtf	d0, x1
	ucvtf	d1, x9
	fdiv	d0, d0, d1
	sxtb	w4, w10
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x8
	b	_snprintf
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KMGTPEZY"

l_.str.1:                               ; @.str.1
	.asciz	"%.*f%c"

.subsections_via_symbols
