	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scannum
_scannum:                               ## @scannum
	.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	%rdi, %r14
	movq	_DIGIT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_SEE
	xorl	%ebx, %ebx
	movq	_DUPMAX@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%rbx,4), %ebx
	addl	%ebx, %ebx
	addl	(%r14), %ebx
	xorl	%eax, %eax
	callq	_NEXT
	movl	(%r12), %edi
	callq	_SEE
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r15), %ebx
	jl	LBB0_3
LBB0_5:
	movl	(%r12), %edi
	callq	_SEE
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	cmpl	(%r15), %ebx
	jle	LBB0_8
LBB0_7:
	movq	_REG_BADBR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIGIT,4,2                      ## @DIGIT
	.comm	_DUPMAX,4,2                     ## @DUPMAX
	.comm	_REG_BADBR,4,2                  ## @REG_BADBR
	.no_dead_strip	_scannum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scannum
_scannum:                               ; @scannum
	.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	x20, x0
Lloh0:
	adrp	x21, _DIGIT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DIGIT@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_SEE
Lloh2:
	adrp	x22, _DUPMAX@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DUPMAX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	x0, #0
	mov	w19, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_3
; %bb.1:
	mov	w23, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	madd	w19, w19, w23, w8
	bl	_NEXT
	ldr	w0, [x21]
	bl	_SEE
	ldr	w8, [x22]
	cmp	x0, #0
	ccmp	w19, w8, #0, ne
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x21]
	bl	_SEE
	ldr	w8, [x22]
	cmp	x0, #0
	ccmp	w19, w8, #0, eq
	b.le	LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _REG_BADBR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REG_BADBR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_ERR
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DIGIT,4,2                      ; @DIGIT
	.comm	_DUPMAX,4,2                     ; @DUPMAX
	.comm	_REG_BADBR,4,2                  ; @REG_BADBR
	.no_dead_strip	_scannum
.subsections_via_symbols
