	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r12
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$-1, %r9d
	movq	_zero_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%r9d, -144(%rbp)                ## 4-byte Spill
	cmovel	%r9d, %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movb	$0, -49(%rbp)
	xorl	%r14d, %r14d
	movl	%esi, -132(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	63(%r14), %rax
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_assert
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%r12,%rdx), %ecx
	movb	%cl, -50(%rbp,%r14)
	decq	%r14
	cmpl	%ebx, %r15d
	movl	%eax, %r15d
	jae	LBB0_1
## %bb.2:
	movl	-144(%rbp), %eax                ## 4-byte Reload
	cmpl	$-1, %eax
	movl	$1, %r8d
	cmovnel	%eax, %r8d
	movl	-116(%rbp), %edi                ## 4-byte Reload
	andl	16(%rbp), %edi
	leaq	64(%r14), %rax
	leaq	63(%r14), %rsi
	movl	%r14d, %ecx
	negl	%ecx
	movl	%r8d, %edx
	orl	-132(%rbp), %edx                ## 4-byte Folded Reload
	cmoveq	%rax, %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	notl	%r14d
	cmovnel	%ecx, %r14d
	cmpl	$0, 24(%rbp)
	je	LBB0_4
## %bb.3:
	movb	$45, %dl
	xorl	%esi, %esi
	movq	-128(%rbp), %r15                ## 8-byte Reload
	cmpl	$8, %ebx
	je	LBB0_8
	jmp	LBB0_13
LBB0_4:
	movq	_plus_flag@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	movq	-128(%rbp), %r15                ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movb	$43, %dl
	xorl	%esi, %esi
	cmpl	$8, %ebx
	je	LBB0_8
	jmp	LBB0_13
LBB0_6:
	movq	_space_flag@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	setne	%dl
	sete	%sil
	shlb	$5, %dl
	cmpl	$8, %ebx
	jne	LBB0_13
LBB0_8:
	movq	_alternate_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	je	LBB0_13
## %bb.9:
	cmpl	%r14d, %r8d
	jg	LBB0_13
## %bb.10:
	movslq	-144(%rbp), %rax                ## 4-byte Folded Reload
	movb	-112(%rbp,%rax), %al
	testb	%al, %al
	je	LBB0_13
## %bb.11:
	cmpb	$48, %al
	je	LBB0_13
## %bb.12:
	leal	1(%r14), %r8d
LBB0_13:
	movq	_minus_flag@GOTPCREL(%rip), %rcx
	movq	_zero_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	xorl	%ecx, %ecx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	testl	%edi, %eax
	movl	%edi, -116(%rbp)                ## 4-byte Spill
	movl	%r8d, -148(%rbp)                ## 4-byte Spill
	je	LBB0_14
## %bb.15:
	testb	%sil, %sil
	jne	LBB0_17
LBB0_16:
	movzbl	%dl, %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movl	-116(%rbp), %edi                ## 4-byte Reload
	movq	-128(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
LBB0_17:
	movl	-132(%rbp), %esi                ## 4-byte Reload
	movl	%ebx, %edx
	callq	_use_alternative
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	%r13, %rdi
	movl	$48, %esi
	callq	*(%r13)
	movb	10(%r12), %al
	addb	$23, %al
	movsbl	%al, %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	addl	$2, %ebx
	jmp	LBB0_20
LBB0_14:
	cmpl	%r14d, %r8d
	movl	%r14d, %eax
	cmovgl	%r8d, %eax
	subl	%eax, %r15d
	movl	-116(%rbp), %edi                ## 4-byte Reload
	movl	%esi, -136(%rbp)                ## 4-byte Spill
	movl	-132(%rbp), %esi                ## 4-byte Reload
	movb	%dl, -117(%rbp)                 ## 1-byte Spill
	movl	%ebx, %edx
	callq	_use_alternative
	movq	%r15, %rcx
	addl	$-2, %r15d
	testq	%rax, %rax
	cmovel	%ecx, %r15d
	movl	-136(%rbp), %eax                ## 4-byte Reload
                                        ## kill: def $al killed $al killed $eax
	xorb	$1, %al
	movzbl	%al, %eax
	subl	%eax, %r15d
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	$32, %edx
	callq	_pad
	movl	-136(%rbp), %esi                ## 4-byte Reload
	movb	-117(%rbp), %dl                 ## 1-byte Reload
	movl	-116(%rbp), %edi                ## 4-byte Reload
	movq	%rax, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $r15d killed $r15d def $r15
	testb	%sil, %sil
	je	LBB0_16
	jmp	LBB0_17
LBB0_18:
	movq	-128(%rbp), %rbx                ## 8-byte Reload
LBB0_20:
	movq	_zero_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-116(%rbp), %eax                ## 4-byte Folded Reload
	movl	-148(%rbp), %ecx                ## 4-byte Reload
	subl	%r14d, %ecx
	addl	%ebx, %r14d
	movl	%r15d, %esi
	subl	%r14d, %esi
	cmpl	%esi, %ecx
	cmovgl	%ecx, %esi
	testl	%eax, %eax
	cmovel	%ecx, %esi
	movq	%r13, %rdi
	movl	$48, %edx
	callq	_pad
	movq	%rax, %r14
	addl	%ebx, %r14d
	movslq	-144(%rbp), %rcx                ## 4-byte Folded Reload
	movb	-112(%rbp,%rcx), %al
	testb	%al, %al
	je	LBB0_23
## %bb.21:
	leaq	-112(%rbp), %rdx
	leaq	(%rcx,%rdx), %rbx
	incq	%rbx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%r13, %rdi
	callq	*(%r13)
	incl	%r14d
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_22
LBB0_23:
	movl	-116(%rbp), %eax                ## 4-byte Reload
	movq	_minus_flag@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	subl	%r14d, %r15d
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	$32, %edx
	callq	_pad
	addl	%r14d, %eax
	movl	%eax, %r14d
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_zero_flag,4,2                  ## @zero_flag
	.comm	_plus_flag,4,2                  ## @plus_flag
	.comm	_space_flag,4,2                 ## @space_flag
	.comm	_alternate_flag,4,2             ## @alternate_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, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x25, x7
	mov	x21, x6
	mov	x26, x5
	str	w4, [sp, #16]                   ; 4-byte Folded Spill
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	mov	x28, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
Lloh3:
	adrp	x8, _zero_flag@GOTPAGE
Lloh4:
	ldr	x8, [x8, _zero_flag@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w5, #1
	mov	w9, #-1
	csinv	w20, w9, w8, eq
	strb	wzr, [sp, #87]
	add	x8, sp, #24
	add	x27, x8, #62
	str	w1, [sp, #20]                   ; 4-byte Folded Spill
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x28, #63
	cmp	x8, #0
	cset	w0, gt
	bl	_assert
	udiv	w8, w24, w23
	msub	w9, w8, w23, w24
	ldrb	w9, [x22, w9, uxtw]
	strb	w9, [x27, x28]
	sub	x28, x28, #1
	cmp	w24, w23
	mov	x24, x8
	b.hs	LBB0_1
; %bb.2:
	cmn	w26, #1
	csinc	w27, w26, wzr, ne
	and	w21, w20, w21
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	orr	w8, w27, w8
	add	x9, x28, #64
	add	x10, x28, #63
	neg	w11, w28
	cmp	w8, #0
	csel	x9, x9, x10, eq
	csinv	w28, w11, w28, ne
	cbz	w25, LBB0_4
; %bb.3:
	mov	w25, #0
	mov	w1, #45
	ldr	w24, [sp, #16]                  ; 4-byte Folded Reload
Lloh6:
	adrp	x20, _zero_flag@GOTPAGE
Lloh7:
	ldr	x20, [x20, _zero_flag@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _plus_flag@GOTPAGE
Lloh9:
	ldr	x8, [x8, _plus_flag@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	ldr	w24, [sp, #16]                  ; 4-byte Folded Reload
Lloh11:
	adrp	x20, _zero_flag@GOTPAGE
Lloh12:
	ldr	x20, [x20, _zero_flag@GOTPAGEOFF]
	b.eq	LBB0_6
; %bb.5:
	mov	w25, #0
	mov	w1, #43
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _space_flag@GOTPAGE
Lloh14:
	ldr	x8, [x8, _space_flag@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	cset	w8, ne
	cset	w25, eq
	lsl	w1, w8, #5
LBB0_7:
	cmp	w23, #8
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	b.ne	LBB0_11
; %bb.8:
Lloh16:
	adrp	x8, _alternate_flag@GOTPAGE
Lloh17:
	ldr	x8, [x8, _alternate_flag@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	and	w8, w8, w21
	cmp	w8, #0
	ccmp	w27, w28, #0, ne
	b.gt	LBB0_11
; %bb.9:
	add	x8, sp, #24
	ldrb	w8, [x8, w9, sxtw]
	cbz	w8, LBB0_11
; %bb.10:
	cmp	w8, #48
	csinc	w27, w27, w28, eq
LBB0_11:
Lloh19:
	adrp	x8, _minus_flag@GOTPAGE
Lloh20:
	ldr	x8, [x8, _minus_flag@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_23
; %bb.12:
	mov	w26, #0
	tbnz	w25, #0, LBB0_14
LBB0_13:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	add	w26, w26, #1
LBB0_14:
	mov	x0, x21
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	mov	x2, x23
	bl	_use_alternative
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #48
	blr	x8
	ldr	x8, [x19]
	ldrb	w9, [x22, #10]
	add	w9, w9, #23
	sxtb	w1, w9
	mov	x0, x19
	blr	x8
	add	w26, w26, #2
LBB0_16:
	ldr	w8, [x20]
	add	w9, w28, w26
	sub	w9, w24, w9
	sub	w10, w27, w28
	cmp	w10, w9
	csel	w9, w10, w9, gt
	tst	w8, w21
	csel	w1, w10, w9, eq
	mov	x0, x19
	mov	w2, #48
	bl	_pad
	add	w22, w26, w0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sxtw	x9, w8
	add	x10, sp, #24
	ldrb	w8, [x10, x9]
	cbz	w8, LBB0_19
; %bb.17:
	add	x9, x9, x10
	add	x20, x9, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	sxtb	w1, w8
	mov	x0, x19
	blr	x9
	add	w22, w22, #1
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_18
LBB0_19:
Lloh22:
	adrp	x8, _minus_flag@GOTPAGE
Lloh23:
	ldr	x8, [x8, _minus_flag@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_21
; %bb.20:
	sub	w1, w24, w22
	mov	x0, x19
	mov	w2, #32
	bl	_pad
	add	w22, w22, w0
LBB0_21:
	ldr	x8, [sp, #88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.22:
	mov	x0, x22
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_23:
	cmp	w27, w28
	csel	w8, w27, w28, gt
	sub	w20, w24, w8
	mov	x0, x21
	mov	x26, x1
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	mov	x2, x23
	bl	_use_alternative
	sub	w8, w20, #2
	cmp	x0, #0
	csel	w8, w20, w8, eq
Lloh28:
	adrp	x20, _zero_flag@GOTPAGE
Lloh29:
	ldr	x20, [x20, _zero_flag@GOTPAGEOFF]
	eor	w9, w25, #0x1
	sub	w24, w8, w9
	mov	x0, x19
	mov	x1, x24
	mov	w2, #32
	bl	_pad
	mov	x1, x26
	mov	x26, x0
	tbz	w25, #0, LBB0_13
	b	LBB0_14
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_zero_flag,4,2                  ; @zero_flag
	.comm	_plus_flag,4,2                  ; @plus_flag
	.comm	_space_flag,4,2                 ; @space_flag
	.comm	_alternate_flag,4,2             ; @alternate_flag
	.comm	_minus_flag,4,2                 ; @minus_flag
	.no_dead_strip	_append_number
.subsections_via_symbols
