	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function strtolinenum
_strtolinenum:                          ## @strtolinenum
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	$-1, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%r14,%rbx), %edi
	callq	_isdigit
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	leaq	(%r14,%rbx), %r12
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_malformed
LBB0_4:
	movb	(%r12), %r13b
	movb	$0, (%r12)
	movq	_LINENUM_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_strtonum
	movl	%eax, %r15d
	movq	-56(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	_p_input_line@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_fatal
LBB0_6:
	movb	%r13b, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINENUM_MAX,4,2                ## @LINENUM_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid line number at line %ld: `%s' is %s\n"

	.comm	_p_input_line,4,2               ## @p_input_line
	.no_dead_strip	_strtolinenum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function strtolinenum
_strtolinenum:                          ; @strtolinenum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	mov	x21, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x20, x21]
	bl	_isdigit
	add	x21, x21, #1
	cbnz	x0, LBB0_1
; %bb.2:
	add	x8, x20, x21
	sub	x22, x8, #1
	cmp	x21, #1
	b.ne	LBB0_4
; %bb.3:
	bl	_malformed
LBB0_4:
	ldrb	w23, [x22]
	strb	wzr, [x22]
Lloh0:
	adrp	x8, _LINENUM_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINENUM_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	w1, #0
	bl	_strtonum
	mov	x21, x0
	ldr	x3, [sp, #8]
	cbz	x3, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _p_input_line@GOTPAGE
Lloh4:
	ldr	x8, [x8, _p_input_line@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_fatal
LBB0_6:
	strb	w23, [x22]
	str	x22, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LINENUM_MAX,4,2                ; @LINENUM_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid line number at line %ld: `%s' is %s\n"

	.comm	_p_input_line,4,2               ; @p_input_line
	.no_dead_strip	_strtolinenum
.subsections_via_symbols
