	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_itoa
_write_itoa:                            ## @write_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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	$14, %eax
	movl	$3435973837, %ecx               ## imm = 0xCCCCCCCD
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %ebx
	movl	%esi, %esi
	imulq	%rcx, %rsi
	shrq	$35, %rsi
	leal	(%rsi,%rsi), %edi
	leal	(%rdi,%rdi,4), %edi
	movl	%ebx, %edx
	subl	%edi, %edx
	orb	$48, %dl
	movb	%dl, -48(%rbp,%rax)
	cmpl	$9, %ebx
	jbe	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	$-1, %rax
	jb	LBB0_1
	jmp	LBB0_4
LBB0_2:
	leaq	(%rax,%rbp), %rbx
	addq	$-48, %rbx
	movb	$0, -33(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_write
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_write_itoa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_itoa
_write_itoa:                            ; @write_itoa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w8, #14
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	mov	w10, #10
	add	x11, sp, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x1
	umull	x13, w1, w9
	lsr	x1, x13, #35
	msub	w13, w1, w10, w12
	orr	w13, w13, #0x30
	strb	w13, [x11, x8]
	cmp	w12, #9
	b.ls	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x8, x8, #1
	cmn	x8, #1
	b.ne	LBB0_1
	b	LBB0_4
LBB0_3:
	add	x9, sp, #8
	add	x20, x9, x8
	strb	wzr, [sp, #23]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_write
LBB0_4:
	ldr	x8, [sp, #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_6
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_write_itoa
.subsections_via_symbols
