	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cvtnum
_cvtnum:                                ## @cvtnum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	%rsi, %r8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -8(%rbp)
	movb	$0, -17(%rbp)
	leaq	-18(%rbp), %rsi
	movl	%edi, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rdx
	imulq	$1717986919, %rdx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$34, %rcx
	addl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	leal	(%rax,%rax,4), %r9d
	movl	%edx, %eax
	subl	%r9d, %eax
	addb	$48, %al
	movb	%al, (%rsi)
	addl	$9, %edx
	decq	%rsi
	cmpl	$18, %edx
	ja	LBB0_1
## %bb.2:
	testl	%edi, %edi
	js	LBB0_4
## %bb.3:
	incq	%rsi
	jmp	LBB0_5
LBB0_4:
	movb	$45, (%rsi)
LBB0_5:
	leaq	-48(%rbp), %rdx
	subl	%esi, %edx
	addl	$32, %edx
	movq	%r8, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cvtnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cvtnum
_cvtnum:                                ; @cvtnum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x8, x1
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x10, sp, #8
	stur	x9, [x29, #-8]
	strb	wzr, [sp, #39]
	add	x1, x10, #30
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mov	w10, #10
	mov	x11, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	smull	x12, w11, w9
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	msub	w13, w12, w10, w11
	add	w13, w13, #48
	strb	w13, [x1], #-1
	add	w13, w11, #9
	mov	x11, x12
	cmp	w13, #18
	b.hi	LBB0_1
; %bb.2:
	tbnz	w0, #31, LBB0_4
; %bb.3:
	add	x1, x1, #1
	b	LBB0_5
LBB0_4:
	mov	w9, #45
	strb	w9, [x1]
LBB0_5:
	add	x9, sp, #8
	sub	w9, w9, w1
	add	w2, w9, #32
	mov	x0, x8
	bl	_memcpy
	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_7
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cvtnum
.subsections_via_symbols
