	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_util_itoa                      ## -- Begin function util_itoa
	.p2align	4, 0x90
_util_itoa:                             ## @util_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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.1:
	testl	%edi, %edi
	je	LBB0_10
## %bb.2:
	movb	$0, -31(%rbp)
	cmpl	$10, %esi
	sete	%al
	testl	%edi, %edi
	sets	%r8b
	andb	%al, %r8b
	movl	%edi, %ecx
	negl	%ecx
	testb	%r8b, %r8b
	cmovel	%edi, %ecx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.4:
	movl	$32, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	leal	55(%rdx), %r9d
	leal	48(%rdx), %ebx
	cmpl	$10, %edx
	cmovgel	%r9d, %ebx
	movb	%bl, -64(%rbp,%rdi)
	decq	%rdi
	cmpl	%esi, %ecx
	movl	%eax, %ecx
	jae	LBB0_5
## %bb.6:
	testb	%r8b, %r8b
	je	LBB0_8
LBB0_7:
	movslq	%edi, %rax
	movb	$45, -64(%rbp,%rax)
	jmp	LBB0_9
LBB0_10:
	movw	$48, (%r14)
	jmp	LBB0_11
LBB0_3:
	movl	$32, %edi
	testb	%r8b, %r8b
	jne	LBB0_7
LBB0_8:
	incl	%edi
	movslq	%edi, %rax
LBB0_9:
	leaq	(%rax,%rbp), %rsi
	addq	$-64, %rsi
	movq	%r14, %rdi
	callq	_util_strcpy
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_util_itoa                      ; -- Begin function util_itoa
	.p2align	2
_util_itoa:                             ; @util_itoa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	cbz	x2, LBB0_10
; %bb.1:
	cbz	w0, LBB0_7
; %bb.2:
	strb	wzr, [sp, #39]
	cmp	w1, #10
	cset	w8, eq
	cmp	w0, #0
	cset	w9, lt
	ands	w8, w9, w8
	mov	w9, #32
	cneg	w10, w0, ne
	cbz	w10, LBB0_5
; %bb.3:
	mov	w11, #55
	mov	w12, #48
	add	x13, sp, #6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	udiv	w14, w10, w1
	msub	w15, w14, w1, w10
	cmp	w15, #10
	csel	w16, w12, w11, lt
	add	w15, w16, w15
	strb	w15, [x13, x9]
	sub	x9, x9, #1
	cmp	w10, w1
	mov	x10, x14
	b.hs	LBB0_4
LBB0_5:
	tbz	w8, #0, LBB0_8
; %bb.6:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x8, w9
	add	x9, sp, #6
	mov	w10, #45
	strb	w10, [x9, x8]
	b	LBB0_9
LBB0_7:
	mov	w8, #48
	strh	w8, [x19]
	b	LBB0_10
LBB0_8:
	add	w8, w9, #1
	sxtw	x8, w8
LBB0_9:
	add	x9, sp, #6
	add	x1, x9, x8
	mov	x0, x19
	bl	_util_strcpy
LBB0_10:
	ldur	x8, [x29, #-24]
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_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
