	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function humanize_amount
_humanize_amount:                       ## @humanize_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_strdup
	movq	%rax, %r15
	movq	%rax, -80(%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), %rbx
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strsep
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strsep
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strsep
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strsep
	movq	%rax, %r13
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	-80(%rbp), %r12
	leaq	-60(%rbp), %rsi
	movq	%rax, %rdi
	callq	_str2int64
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_free
LBB0_14:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movl	-60(%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.4(%rip), %rcx
	leaq	-86(%rbp), %r14
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_humanize_number
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.8:
	testq	%r12, %r12
	je	LBB0_9
LBB0_10:
	leaq	L_.str.7(%rip), %rsi
	leaq	-72(%rbp), %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
	pushq	%r12
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
	testq	%r12, %r12
	jne	LBB0_10
LBB0_9:
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %rsi
	leaq	-72(%rbp), %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
LBB0_11:
	pushq	%r14
	callq	_asprintf
	addq	$16, %rsp
	testl	%eax, %eax
	jg	LBB0_13
## %bb.12:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	movq	%r15, %rdi
	callq	_free
	movq	-72(%rbp), %r14
	jmp	LBB0_14
	.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
	.asciz	"=/"

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

L_.str.4:                               ## @.str.4
	.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.5:                               ## @.str.5
	.asciz	"humanize_number"

L_.str.6:                               ## @.str.6
	.asciz	"%s:%s:%s:%s=%s"

L_.str.7:                               ## @.str.7
	.asciz	"%s:%s:%s:%s=%s/%s"

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

	.no_dead_strip	_humanize_amount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function humanize_amount
_humanize_amount:                       ; @humanize_amount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x0
	bl	_strdup
	mov	x19, x0
	str	x0, [sp, #32]
	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	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	add	x0, sp, #32
	mov	x1, x22
	bl	_strsep
	mov	x20, x0
	add	x0, sp, #32
	mov	x1, x22
	bl	_strsep
	mov	x21, x0
	add	x0, sp, #32
	mov	x1, x22
	bl	_strsep
	mov	x22, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #32
	bl	_strsep
	mov	x23, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #32
	bl	_strsep
	cbz	x0, LBB0_5
; %bb.3:
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	x25, [sp, #32]
	add	x1, sp, #44
	bl	_str2int64
	cbz	x0, LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_free
LBB0_6:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	cmp	x22, #0
	cset	w0, ne
	bl	_assert
	cmp	x23, #0
	cset	w0, ne
	bl	_assert
	ldr	w2, [sp, #44]
Lloh8:
	adrp	x8, _HN_AUTOSCALE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HN_AUTOSCALE@GOTPAGEOFF]
Lloh10:
	adrp	x9, _HN_DECIMAL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HN_DECIMAL@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	ldr	w8, [x9]
Lloh14:
	adrp	x9, _HN_NOSPACE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HN_NOSPACE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w5, w9, w8
Lloh17:
	adrp	x3, l_.str.4@PAGE
Lloh18:
	add	x3, x3, l_.str.4@PAGEOFF
	add	x0, sp, #18
	mov	w1, #6
	bl	_humanize_number
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.8:
	cbz	x25, LBB0_11
LBB0_9:
	str	x25, [sp]
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
	cbnz	x25, LBB0_9
LBB0_11:
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_12:
	add	x0, sp, #24
	add	x6, sp, #18
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_asprintf
	cmp	w0, #0
	b.gt	LBB0_14
; %bb.13:
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_14:
	mov	x0, x19
	bl	_free
	ldr	x24, [sp, #24]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.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
	.asciz	"=/"

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

l_.str.4:                               ; @.str.4
	.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.5:                               ; @.str.5
	.asciz	"humanize_number"

l_.str.6:                               ; @.str.6
	.asciz	"%s:%s:%s:%s=%s"

l_.str.7:                               ; @.str.7
	.asciz	"%s:%s:%s:%s=%s/%s"

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

	.no_dead_strip	_humanize_amount
.subsections_via_symbols
