	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nextch                         ## -- Begin function nextch
	.p2align	4, 0x90
_nextch:                                ## @nextch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_parse@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	4(%rax), %edx
	decl	%edx
	cmpl	%edx, %ecx
	jge	LBB0_4
## %bb.1:
	movq	8(%rax), %rdx
	leaq	1(%rcx), %rsi
	movl	%esi, (%rax)
	movl	4(%rdx,%rcx,4), %ecx
	movq	_curch@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$10, %ecx
	jne	LBB0_6
## %bb.3:
	incl	24(%rax)
	movq	$0, 16(%rax)
	movb	$10, %cl
	jmp	LBB0_7
LBB0_4:
	movq	_curch@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_5:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_6:
	incq	16(%rax)
LBB0_7:
	movsbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_parse,32,3                     ## @parse
	.comm	_curch,4,2                      ## @curch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nextch                         ; -- Begin function nextch
	.p2align	2
_nextch:                                ; @nextch
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _parse@GOTPAGE
Lloh1:
	ldr	x9, [x9, _parse@GOTPAGEOFF]
	ldp	w8, w10, [x9]
	sub	w10, w10, #1
	cmp	w8, w10
	b.ge	LBB0_4
; %bb.1:
	ldr	x10, [x9, #8]
	add	w8, w8, #1
	str	w8, [x9]
	ldr	w8, [x10, w8, sxtw #2]
Lloh2:
	adrp	x10, _curch@GOTPAGE
Lloh3:
	ldr	x10, [x10, _curch@GOTPAGEOFF]
Lloh4:
	str	w8, [x10]
	cbz	w8, LBB0_6
; %bb.2:
	cmp	w8, #10
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x9, #24]
	add	w8, w8, #1
	str	w8, [x9, #24]
	str	xzr, [x9, #16]
	mov	w8, #10
	sxtb	w0, w8
	ret
LBB0_4:
Lloh5:
	adrp	x9, _curch@GOTPAGE
Lloh6:
	ldr	x9, [x9, _curch@GOTPAGEOFF]
Lloh7:
	str	wzr, [x9]
	sxtb	w0, wzr
	ret
LBB0_5:
	ldr	x10, [x9, #16]
	add	x10, x10, #1
	str	x10, [x9, #16]
LBB0_6:
	sxtb	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_parse,32,3                     ; @parse
	.comm	_curch,4,2                      ; @curch
.subsections_via_symbols
