	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_itoa                           ## -- Begin function itoa
	.p2align	4, 0x90
_itoa:                                  ## @itoa
	.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
	movl	%edi, %ecx
	negl	%ecx
	cmovsl	%edi, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rdx
	imulq	$1717986919, %rdx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$34, %rcx
	addl	%esi, %ecx
	leal	(%rcx,%rcx), %esi
	leal	(%rsi,%rsi,4), %esi
	movl	%edx, %ebx
	subl	%esi, %ebx
	addb	$48, %bl
	movb	%bl, (%r14,%rax)
	incq	%rax
	cmpl	$9, %edx
	jg	LBB0_1
## %bb.2:
	testl	%edi, %edi
	jns	LBB0_4
## %bb.3:
	movl	%eax, %ecx
	incq	%rax
	movb	$45, (%r14,%rcx)
LBB0_4:
	cltq
	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	_itoa                           ; -- Begin function itoa
	.p2align	2
_itoa:                                  ; @itoa
	.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	w0, #0
	cneg	w9, w0, mi
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mov	w11, #10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	smull	x12, w9, w10
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	msub	w13, w12, w11, w9
	add	w13, w13, #48
	strb	w13, [x19, x8]
	add	x8, x8, #1
	cmp	w9, #9
	mov	x9, x12
	b.gt	LBB0_1
; %bb.2:
	tbz	w0, #31, 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
