	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function humanize_usage_amount
_humanize_usage_amount:                 ## @humanize_usage_amount
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_strdup
	movq	%rax, %r12
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	movq	%rax, %r15
	movq	-48(%rbp), %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_str2int64
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_8
LBB0_3:
	movl	-36(%rbp), %edx
	movq	_HN_AUTOSCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_HN_DECIMAL@GOTPCREL(%rip), %rax
	movq	_HN_NOSPACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	orl	(%rax), %r9d
	leaq	L_.str.2(%rip), %rcx
	leaq	-54(%rbp), %rdi
	movl	$6, %esi
	callq	_humanize_number
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rdi
	leaq	-54(%rbp), %rcx
	movq	%r15, %rdx
	callq	_asprintf
	testl	%eax, %eax
	jg	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_7:
	movq	%r12, %rdi
	callq	_free
	movq	-64(%rbp), %r14
LBB0_8:
	movq	%r14, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strdup"

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

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

	.comm	_HN_AUTOSCALE,4,2               ## @HN_AUTOSCALE
	.comm	_HN_DECIMAL,4,2                 ## @HN_DECIMAL
	.comm	_HN_NOSPACE,4,2                 ## @HN_NOSPACE
L_.str.3:                               ## @.str.3
	.asciz	"%s=%s"

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

	.no_dead_strip	_humanize_usage_amount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function humanize_usage_amount
_humanize_usage_amount:                 ; @humanize_usage_amount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_strdup
	mov	x19, x0
	str	x0, [sp, #16]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	bl	_strsep
	mov	x21, x0
	ldr	x22, [sp, #16]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cmp	x22, #0
	cset	w0, ne
	bl	_assert
	add	x1, sp, #28
	mov	x0, x22
	bl	_str2int64
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_free
	b	LBB0_8
LBB0_4:
	ldr	w2, [sp, #28]
Lloh4:
	adrp	x8, _HN_AUTOSCALE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HN_AUTOSCALE@GOTPAGEOFF]
Lloh6:
	adrp	x9, _HN_DECIMAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HN_DECIMAL@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	ldr	w8, [x9]
Lloh10:
	adrp	x9, _HN_NOSPACE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HN_NOSPACE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w5, w9, w8
Lloh13:
	adrp	x3, l_.str.2@PAGE
Lloh14:
	add	x3, x3, l_.str.2@PAGEOFF
	add	x0, sp, #2
	mov	w1, #6
	bl	_humanize_number
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.5:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	add	x3, sp, #2
	mov	x2, x21
	bl	_asprintf
	cmp	w0, #0
	b.gt	LBB0_7
; %bb.6:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	mov	x0, x19
	bl	_free
	ldr	x20, [sp, #8]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strdup"

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

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

	.comm	_HN_AUTOSCALE,4,2               ; @HN_AUTOSCALE
	.comm	_HN_DECIMAL,4,2                 ; @HN_DECIMAL
	.comm	_HN_NOSPACE,4,2                 ; @HN_NOSPACE
l_.str.3:                               ; @.str.3
	.asciz	"%s=%s"

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

	.no_dead_strip	_humanize_usage_amount
.subsections_via_symbols
