	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_number
_append_number:                         ## @append_number
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	cmpl	$-1, %r9d
	movq	_zero_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %ecx
	cmovnel	%r9d, %ecx
	notl	%eax
	cmovel	%r9d, %eax
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	testl	%ecx, %ecx
	je	LBB0_66
LBB0_2:
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	andl	16(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	movq	%r13, %rax
	shrq	$32, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r14
	movq	%rax, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	movl	%eax, %r15d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movsbl	(%rax,%rdx), %esi
	movq	%rbx, %rdi
	callq	*%rcx
	movl	$1, %esi
	testq	%rax, %rax
	jne	LBB0_66
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	cmpq	%r14, %r13
	movq	%r15, %r13
	jae	LBB0_3
## %bb.8:
	movq	%rbx, %r14
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ebx
	subl	%r12d, %ebx
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$48, %esi
	callq	*8(%rdi)
	testq	%rax, %rax
	jne	LBB0_37
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	decl	%ebx
	jne	LBB0_9
## %bb.11:
	movl	%r15d, %r12d
LBB0_12:
	movq	_alternate_flag@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	andl	%edx, %eax
	je	LBB0_17
## %bb.13:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$16, %ecx
	je	LBB0_15
## %bb.14:
	cmpl	$8, %ecx
	jne	LBB0_16
LBB0_15:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	shrl	$3, %ecx
	addl	%ecx, %r12d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_16:
	movq	%r14, %rbx
	jmp	LBB0_18
LBB0_17:
	movq	%r14, %rbx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_18:
	movq	_zero_flag@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_28
## %bb.19:
	subl	%r12d, %r13d
	cmpl	$0, 24(%rbp)
	jne	LBB0_22
## %bb.20:
	movq	_space_flag@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_22
## %bb.21:
	movq	_plus_flag@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_23
LBB0_22:
	decl	%r13d
LBB0_23:
	testl	%r13d, %r13d
	jle	LBB0_29
## %bb.24:
	addl	%r13d, %r12d
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	*8(%rbx)
	testq	%rax, %rax
	jne	LBB0_37
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	decl	%r13d
	jg	LBB0_25
## %bb.27:
	movl	(%r15), %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	andl	%edx, %eax
	movl	$-1, %r13d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_28:
	testl	%eax, %eax
	jne	LBB0_30
	jmp	LBB0_34
LBB0_29:
	decl	%r13d
	testl	%eax, %eax
	je	LBB0_34
LBB0_30:
	cmpl	$8, %ecx
	je	LBB0_33
## %bb.31:
	cmpl	$16, %ecx
	jne	LBB0_34
## %bb.32:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movb	10(%rax), %al
	addb	$23, %al
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movl	$1, %esi
	testq	%rax, %rax
	jne	LBB0_66
LBB0_33:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	*8(%rbx)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	$1, %esi
	testq	%rax, %rax
	jne	LBB0_66
LBB0_34:
	cmpl	$0, 24(%rbp)
	je	LBB0_38
## %bb.35:
	movq	%rbx, %rdi
	movl	$45, %esi
	jmp	LBB0_36
LBB0_38:
	movq	_plus_flag@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_40
## %bb.39:
	movq	%rbx, %rdi
	movl	$43, %esi
	jmp	LBB0_36
LBB0_40:
	movq	_space_flag@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_43
## %bb.41:
	movq	%rbx, %rdi
	movl	$32, %esi
LBB0_36:
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_42
LBB0_37:
	movl	$1, %esi
LBB0_66:
	movl	%esi, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	incl	%r12d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_43:
	movq	_minus_flag@GOTPCREL(%rip), %r15
	testl	%edx, (%r15)
	je	LBB0_52
## %bb.44:
	cmpl	$2, %r12d
	jl	LBB0_52
## %bb.45:
	movl	%r12d, %r8d
	shrl	%r8d
	cmpl	$1, %r8d
	jne	LBB0_47
## %bb.46:
	xorl	%ecx, %ecx
	jmp	LBB0_50
LBB0_47:
	movl	%r12d, %edx
	negl	%edx
	movl	%r8d, %esi
	andl	$-2, %esi
	negq	%rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movzbl	-1(%rdi,%rcx), %ebx
	movslq	%edx, %rdx
	movzbl	(%rdi,%rdx), %eax
	movb	%al, -1(%rdi,%rcx)
	movq	(%r14), %rax
	movb	%bl, (%rax,%rdx)
	movq	(%r14), %rax
	movzbl	-2(%rax,%rcx), %r9d
	leal	1(%rdx), %edi
	movslq	%edi, %rdi
	movzbl	(%rax,%rdi), %ebx
	movb	%bl, -2(%rax,%rcx)
	movq	%r14, %rbx
	movq	(%r14), %rax
	movb	%r9b, (%rax,%rdi)
	addl	$2, %edx
	addq	$-2, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_48
## %bb.49:
	negq	%rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_50:
	testb	$1, %r8b
	je	LBB0_52
## %bb.51:
	movq	(%rbx), %rax
	movq	%rcx, %rdx
	notq	%rdx
	movb	(%rax,%rdx), %sil
	subl	%r12d, %ecx
	movslq	%ecx, %rcx
	movb	(%rax,%rcx), %bl
	movb	%bl, (%rax,%rdx)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rax
	movq	(%r14), %rax
	movb	%sil, (%rax,%rcx)
LBB0_52:
	movl	%r13d, %ebx
	subl	%r12d, %ebx
	jle	LBB0_57
## %bb.53:
	incl	%ebx
	.p2align	4, 0x90
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	*8(%rdi)
	testq	%rax, %rax
	jne	LBB0_37
## %bb.55:                              ##   in Loop: Header=BB0_54 Depth=1
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_54
## %bb.56:
	movl	%r13d, %r12d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_57:
	xorl	%esi, %esi
	testl	%edx, (%r15)
	jne	LBB0_66
## %bb.58:
	cmpl	$2, %r12d
	jl	LBB0_66
## %bb.59:
	movq	%r14, %rbx
	movl	%r12d, %r8d
	shrl	%r8d
	xorl	%esi, %esi
	cmpl	$1, %r8d
	jne	LBB0_61
## %bb.60:
	xorl	%ecx, %ecx
	jmp	LBB0_64
LBB0_61:
	movl	%r12d, %edx
	negl	%edx
	movl	%r8d, %r10d
	andl	$-2, %r10d
	negq	%r10
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movzbl	-1(%rdi,%rcx), %ebx
	movslq	%edx, %rdx
	movzbl	(%rdi,%rdx), %eax
	movb	%al, -1(%rdi,%rcx)
	movq	(%r14), %rax
	movb	%bl, (%rax,%rdx)
	movq	(%r14), %rax
	movzbl	-2(%rax,%rcx), %r9d
	leal	1(%rdx), %edi
	movslq	%edi, %rdi
	movzbl	(%rax,%rdi), %ebx
	movb	%bl, -2(%rax,%rcx)
	movq	%r14, %rbx
	movq	(%r14), %rax
	movb	%r9b, (%rax,%rdi)
	addl	$2, %edx
	addq	$-2, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_62
## %bb.63:
	negq	%rcx
LBB0_64:
	testb	$1, %r8b
	je	LBB0_66
## %bb.65:
	movq	(%rbx), %rax
	movq	%rcx, %rdx
	notq	%rdx
	movb	(%rax,%rdx), %r8b
	subl	%r12d, %ecx
	movslq	%ecx, %rcx
	movq	%rbx, %rdi
	movb	(%rax,%rcx), %bl
	movb	%bl, (%rax,%rdx)
	movq	(%rdi), %rax
	movb	%r8b, (%rax,%rcx)
	jmp	LBB0_66
	.cfi_endproc
                                        ## -- End function
	.comm	_zero_flag,4,2                  ## @zero_flag
	.comm	_alternate_flag,4,2             ## @alternate_flag
	.comm	_space_flag,4,2                 ## @space_flag
	.comm	_plus_flag,4,2                  ## @plus_flag
	.comm	_minus_flag,4,2                 ## @minus_flag
	.no_dead_strip	_append_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_number
_append_number:                         ; @append_number
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _zero_flag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _zero_flag@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w5, #1
	csinc	w28, w5, wzr, ne
	mov	w9, #-1
	csinv	w8, w9, w8, eq
	cbnz	x1, LBB0_3
; %bb.1:
	cbnz	w28, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_36
LBB0_3:
	mov	x27, x7
	mov	x21, x4
	mov	w26, #0
	and	w8, w8, w6
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	mov	w25, w23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	udiv	x24, x20, x25
	msub	x9, x24, x25, x20
	ldrsb	w1, [x22, x9]
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_35
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
	cmp	x20, x25
	mov	x20, x24
	b.hs	LBB0_4
; %bb.6:
	subs	w24, w28, w26
	mov	x25, x21
	mov	x21, x27
	b.le	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #48
	blr	x8
	cbnz	x0, LBB0_35
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	subs	w24, w24, #1
	b.ne	LBB0_7
; %bb.9:
	mov	x26, x28
LBB0_10:
Lloh3:
	adrp	x24, _alternate_flag@GOTPAGE
Lloh4:
	ldr	x24, [x24, _alternate_flag@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	ands	w8, w8, w20
	b.eq	LBB0_14
; %bb.11:
	cmp	w23, #16
	b.eq	LBB0_13
; %bb.12:
	cmp	w23, #8
	b.ne	LBB0_14
LBB0_13:
	add	w26, w26, w23, lsr #3
LBB0_14:
Lloh5:
	adrp	x9, _zero_flag@GOTPAGE
Lloh6:
	ldr	x9, [x9, _zero_flag@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_24
; %bb.15:
	sub	w27, w25, w26
	cbnz	w21, LBB0_18
; %bb.16:
Lloh8:
	adrp	x9, _space_flag@GOTPAGE
Lloh9:
	ldr	x9, [x9, _space_flag@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w20
	b.ne	LBB0_18
; %bb.17:
Lloh11:
	adrp	x9, _plus_flag@GOTPAGE
Lloh12:
	ldr	x9, [x9, _plus_flag@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_19
LBB0_18:
	sub	w27, w27, #1
LBB0_19:
	subs	w25, w27, #1
	b.lt	LBB0_24
; %bb.20:
	add	w26, w26, w27
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #48
	blr	x8
	cbnz	x0, LBB0_35
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	sub	w27, w27, #1
	cmp	w27, #0
	b.gt	LBB0_21
; %bb.23:
	ldr	w8, [x24]
	and	w8, w8, w20
	mov	w25, #-1
LBB0_24:
	cbz	w8, LBB0_29
; %bb.25:
	cmp	w23, #8
	b.eq	LBB0_28
; %bb.26:
	cmp	w23, #16
	b.ne	LBB0_29
; %bb.27:
	ldr	x8, [x19, #8]
	ldrb	w9, [x22, #10]
	add	w9, w9, #23
	sxtb	w1, w9
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_35
LBB0_28:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #48
	blr	x8
	cbnz	x0, LBB0_35
LBB0_29:
	cbz	w21, LBB0_31
; %bb.30:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #45
	blr	x8
	cbnz	x0, LBB0_35
	b	LBB0_37
LBB0_31:
Lloh14:
	adrp	x8, _plus_flag@GOTPAGE
Lloh15:
	ldr	x8, [x8, _plus_flag@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_33
; %bb.32:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #43
	blr	x8
	cbnz	x0, LBB0_35
	b	LBB0_37
LBB0_33:
Lloh17:
	adrp	x8, _space_flag@GOTPAGE
Lloh18:
	ldr	x8, [x8, _space_flag@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_38
; %bb.34:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #32
	blr	x8
	cbz	x0, LBB0_37
LBB0_35:
	mov	w0, #1
LBB0_36:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_37:
	add	w26, w26, #1
LBB0_38:
Lloh20:
	adrp	x21, _minus_flag@GOTPAGE
Lloh21:
	ldr	x21, [x21, _minus_flag@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w8, w8, w20
	cmp	w8, #0
	ccmp	w26, #1, #4, ne
	b.le	LBB0_41
; %bb.39:
	mov	x8, #0
	lsr	w10, w26, #1
	neg	w9, w26
	neg	x10, x10
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19]
	add	x12, x11, x8
	ldurb	w13, [x12, #-1]
	sxtw	x14, w9
	ldrb	w11, [x11, x14]
	sturb	w11, [x12, #-1]
	ldr	x11, [x19]
	strb	w13, [x11, x14]
	sub	x8, x8, #1
	add	w9, w9, #1
	cmp	x10, x8
	b.ne	LBB0_40
LBB0_41:
	sub	w8, w25, w26
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.42:
	add	w22, w8, #1
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #32
	blr	x8
	cbnz	x0, LBB0_35
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	sub	w22, w22, #1
	cmp	w22, #1
	b.gt	LBB0_43
; %bb.45:
	mov	x26, x25
LBB0_46:
	ldr	w8, [x21]
	and	w8, w8, w20
	cmp	w8, #0
	ccmp	w26, #2, #8, eq
	b.lt	LBB0_2
; %bb.47:
	mov	x8, #0
	lsr	w10, w26, #1
	neg	w9, w26
	neg	x10, x10
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	ldr	x11, [x19]
	add	x12, x11, x8
	ldurb	w13, [x12, #-1]
	sxtw	x14, w9
	ldrb	w11, [x11, x14]
	sturb	w11, [x12, #-1]
	ldr	x11, [x19]
	strb	w13, [x11, x14]
	sub	x8, x8, #1
	add	w9, w9, #1
	cmp	x10, x8
	b.ne	LBB0_48
	b	LBB0_36
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_zero_flag,4,2                  ; @zero_flag
	.comm	_alternate_flag,4,2             ; @alternate_flag
	.comm	_space_flag,4,2                 ; @space_flag
	.comm	_plus_flag,4,2                  ; @plus_flag
	.comm	_minus_flag,4,2                 ; @minus_flag
	.no_dead_strip	_append_number
.subsections_via_symbols
