	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_scan_number                ## -- Begin function ada_scan_number
	.p2align	4, 0x90
_ada_scan_number:                       ## @ada_scan_number
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movslq	%esi, %r13
	movsbl	(%rdi,%r13), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	addq	%r13, %rbx
	movsbl	(%rbx), %edi
	callq	_isdigit
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r13,%r13,4), %eax
	movsbl	(%rbx), %ecx
	leal	(%rcx,%rax,2), %r13d
	addl	$-48, %r13d
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isdigit
	incl	%r12d
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	cmpb	$109, (%rbx)
	jne	LBB0_9
## %bb.6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	negl	%r13d
	movl	%r13d, (%r15)
LBB0_8:
	incl	%r12d
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movl	%r13d, (%r15)
LBB0_11:
	movl	$1, %eax
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movl	%r12d, (%r14)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_ada_scan_number                ; -- Begin function ada_scan_number
	.p2align	2
_ada_scan_number:                       ; @ada_scan_number
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	add	x22, x0, w1, sxtw
	ldrsb	w0, [x22]
	bl	_isdigit
	cbz	x0, LBB0_13
; %bb.1:
	ldrsb	w0, [x22]
	bl	_isdigit
	mov	w23, #0
	cbz	x0, LBB0_4
; %bb.2:
	mov	w24, #10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x22]
	madd	w8, w23, w24, w8
	sub	w23, w8, #48
	ldrsb	w0, [x22, #1]!
	bl	_isdigit
	add	w20, w20, #1
	cbnz	x0, LBB0_3
LBB0_4:
	ldrb	w8, [x22]
	cmp	w8, #109
	b.ne	LBB0_8
; %bb.5:
	cbz	x21, LBB0_7
; %bb.6:
	neg	w8, w23
	str	w8, [x21]
LBB0_7:
	add	w20, w20, #1
	b	LBB0_10
LBB0_8:
	cbz	x21, LBB0_10
; %bb.9:
	str	w23, [x21]
LBB0_10:
	cbz	x19, LBB0_12
; %bb.11:
	str	w20, [x19]
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
