	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ltoa                           ## -- Begin function ltoa
	.p2align	4, 0x90
_ltoa:                                  ## @ltoa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rcx
	negq	%rcx
	cmovsq	%rdi, %rcx
	xorl	%esi, %esi
	movabsq	$7378697629483820647, %r8       ## imm = 0x6666666666666667
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	imulq	%r8
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$2, %rdx
	addq	%rax, %rdx
	leal	(%rdx,%rdx), %eax
	leal	(%rax,%rax,4), %eax
	movl	%ecx, %ebx
	subl	%eax, %ebx
	addb	$48, %bl
	movb	%bl, (%r14,%rsi)
	incq	%rsi
	cmpq	$9, %rcx
	movq	%rdx, %rcx
	jg	LBB0_1
## %bb.2:
	testq	%rdi, %rdi
	jns	LBB0_4
## %bb.3:
	movl	%esi, %eax
	incq	%rsi
	movb	$45, (%r14,%rax)
LBB0_4:
	movslq	%esi, %rax
	movb	$0, (%r14,%rax)
	movq	%r14, %rdi
	callq	_reverse
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ltoa                           ; -- Begin function ltoa
	.p2align	2
_ltoa:                                  ; @ltoa
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x8, #0
	cmp	x0, #0
	cneg	x9, x0, mi
	mov	x10, #7378697629483820646
	movk	x10, #26215
	mov	w11, #10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	smulh	x12, x9, x10
	asr	x13, x12, #2
	add	x12, x13, x12, lsr #63
	msub	w13, w12, w11, w9
	add	w13, w13, #48
	strb	w13, [x19, x8]
	add	x8, x8, #1
	cmp	x9, #9
	mov	x9, x12
	b.gt	LBB0_1
; %bb.2:
	tbz	x0, #63, LBB0_4
; %bb.3:
	mov	w9, #45
	strb	w9, [x19, w8, uxtw]
	add	x8, x8, #1
LBB0_4:
	strb	wzr, [x19, w8, sxtw]
	mov	x0, x19
	bl	_reverse
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
