	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snarf_numeric_literal
_snarf_numeric_literal:                 ## @snarf_numeric_literal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movb	(%rax), %cl
	cmpb	$43, %cl
	je	LBB0_3
## %bb.1:
	cmpb	$45, %cl
	jne	LBB0_4
## %bb.2:
	movq	_char_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movb	$45, (%rcx)
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_string_append
	movq	(%rbx), %rax
LBB0_3:
	incq	%rax
	movq	%rax, (%rbx)
LBB0_4:
	movzbl	(%rax), %edi
	callq	_ISDIGIT
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rbx), %rax
	movzbl	(%rax), %edi
	callq	_ISDIGIT
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_char_str@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movzbl	(%rax), %eax
	movq	(%r12), %rcx
	movb	%al, (%rcx)
	movq	(%r12), %rsi
	movq	%r14, %rdi
	callq	_string_append
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movzbl	1(%rax), %edi
	callq	_ISDIGIT
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_5:
	xorl	%r15d, %r15d
LBB0_9:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_char_str,8,3                   ## @char_str
	.no_dead_strip	_snarf_numeric_literal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snarf_numeric_literal
_snarf_numeric_literal:                 ; @snarf_numeric_literal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldrb	w9, [x8]
	cmp	w9, #43
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #45
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _char_str@GOTPAGE
Lloh1:
	ldr	x8, [x8, _char_str@GOTPAGEOFF]
	ldr	x9, [x8]
	mov	w10, #45
	strb	w10, [x9]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_string_append
	ldr	x8, [x20]
LBB0_3:
	add	x8, x8, #1
	str	x8, [x20]
LBB0_4:
	ldrb	w0, [x8]
	bl	_ISDIGIT
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x20]
	ldrb	w0, [x8]
	bl	_ISDIGIT
	cbz	x0, LBB0_8
; %bb.6:
Lloh2:
	adrp	x21, _char_str@GOTPAGE
Lloh3:
	ldr	x21, [x21, _char_str@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldrb	w8, [x8]
	ldr	x9, [x21]
	strb	w8, [x9]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_string_append
	ldr	x8, [x20]
	add	x9, x8, #1
	str	x9, [x20]
	ldrb	w0, [x8, #1]
	bl	_ISDIGIT
	cbnz	x0, LBB0_7
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_char_str,8,3                   ; @char_str
	.no_dead_strip	_snarf_numeric_literal
.subsections_via_symbols
