	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function textbuf_append_uint64
_textbuf_append_uint64:                 ## @textbuf_append_uint64
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
                                        ## kill: def $esi killed $esi def $rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%esi, %rax
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$34, %rsi
	addl	%ecx, %esi
	leal	(%rsi,%rsi), %ecx
	leal	(%rcx,%rcx,4), %r8d
	movl	%eax, %ecx
	subl	%r8d, %ecx
	addb	$48, %cl
	movb	%cl, -13(%rbp,%rdx)
	addl	$9, %eax
	decq	%rdx
	cmpl	$18, %eax
	ja	LBB0_1
## %bb.2:
	leaq	(%rdx,%rbp), %rsi
	addq	$-12, %rsi
	negq	%rdx
	callq	_textbuf_append_string
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_textbuf_append_uint64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function textbuf_append_uint64
_textbuf_append_uint64:                 ; @textbuf_append_uint64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	x8, #0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
	add	x9, sp, #4
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mov	w11, #10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x12, x9, x8
	smull	x13, w1, w10
	lsr	x14, x13, #63
	asr	x13, x13, #34
	add	w13, w13, w14
	msub	w14, w13, w11, w1
	add	w14, w14, #48
	strb	w14, [x12, #19]
	add	w12, w1, #9
	sub	x8, x8, #1
	mov	x1, x13
	cmp	w12, #18
	b.hi	LBB0_1
; %bb.2:
	neg	x2, x8
	add	x9, sp, #4
	add	x8, x9, x8
	add	x1, x8, #20
	bl	_textbuf_append_string
	ldur	x8, [x29, #-8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_textbuf_append_uint64
.subsections_via_symbols
