	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_digit
_append_digit:                          ## @append_digit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r9d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rsi
	shrq	$32, %rsi
	movq	_PART_PRECISION@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	xorl	%r10d, %r10d
	movl	$0, %r15d
	cmpl	$10, %ecx
	jne	LBB0_2
## %bb.1:
	leal	(%rsi,%rsi), %r15d
	leal	-1(%r11), %ecx
	movl	%esi, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	leal	(%rdx,%rdi,2), %r10d
LBB0_2:
	xorl	%ecx, %ecx
	cmpl	$16, %r9d
	sete	%cl
	addl	$3, %ecx
	cmpl	$2, %r9d
	movl	$1, %edx
	cmovnel	%ecx, %edx
	movl	%edi, %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	subl	%edx, %r11d
	movl	%esi, %ebx
	movl	%r11d, %ecx
	shrl	%cl, %ebx
	movl	%edx, %ecx
	shll	%cl, %esi
	movl	%r11d, %ecx
	shrl	%cl, %edi
	orl	%eax, %ebx
	testl	%edi, %edi
	setne	%al
	movabsq	$-4294967296, %r13              ## imm = 0xFFFFFFFF00000000
	movq	%r14, %rcx
	andq	%r13, %rcx
	addl	%esi, %r15d
	addl	%r12d, %r15d
	shrl	$31, %r12d
	addl	%ebx, %r12d
	cmpl	%esi, %r15d
	adcl	%r10d, %r12d
	cmpl	%ebx, %r12d
	setb	%dl
	orb	%al, %dl
	movzbl	%dl, %esi
	orq	%rcx, %rsi
	shlq	$32, %r15
	orq	%r15, %r12
	movq	%r12, %rdi
	movq	%r8, %rdx
	callq	_num_trim
	movq	%rax, %r15
	movq	%rdx, %rbx
	movq	%rax, %rdi
	movq	%rdx, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_num_eq
	andq	%rbx, %r13
	testl	%eax, %eax
	movl	%ebx, %eax
	movl	$1, %edx
	cmovneq	%rax, %rdx
	orq	%r13, %rdx
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PART_PRECISION,4,2             ## @PART_PRECISION
	.no_dead_strip	_append_digit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_digit
_append_digit:                          ; @append_digit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	lsr	x8, x0, #32
Lloh0:
	adrp	x9, _PART_PRECISION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PART_PRECISION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w10, w8, #1
	sub	w11, w9, #1
	lsr	w11, w8, w11
	add	w11, w11, w0, lsl #1
	cmp	w3, #10
	csel	w11, wzr, w11, ne
	csel	w10, wzr, w10, ne
	cmp	w3, #16
	mov	w12, #3
	cinc	w12, w12, eq
	cmp	w3, #2
	csinc	w12, w12, wzr, ne
	lsl	w13, w0, w12
	sub	w9, w9, w12
	lsr	w14, w8, w9
	orr	w13, w14, w13
	lsl	w8, w8, w12
	lsr	w9, w0, w9
	and	x12, x1, #0xffffffff00000000
	add	w14, w8, w2
	add	w10, w14, w10
	cmp	w10, w8
	add	w8, w13, w2, lsr #31
	add	w8, w8, w11
	cinc	w20, w8, lo
	cmp	w20, w13
	ccmp	w9, #0, #0, hs
	cset	w8, ne
	bfi	x20, x10, #32, #32
	orr	x1, x12, x8
	mov	x0, x20
	mov	x2, x4
	bl	_num_trim
	mov	x21, x0
	mov	x22, x1
	mov	x2, x20
	mov	x3, x19
	bl	_num_eq
	and	x8, x22, #0xffffffff00000000
	and	x9, x22, #0xffffffff
	cmp	w0, #0
	csinc	x9, x9, xzr, ne
	orr	x1, x9, x8
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PART_PRECISION,4,2             ; @PART_PRECISION
	.no_dead_strip	_append_digit
.subsections_via_symbols
