	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkend
_checkend:                              ## @checkend
	.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
	movl	%edi, %r15d
	cmpl	$9, %edi
	jne	LBB0_4
## %bb.1:
	testl	%edx, %edx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_pgetc
	cmpl	$9, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %r15d
LBB0_4:
	movsbl	(%r14), %eax
	cmpl	%eax, %r15d
	jne	LBB0_12
## %bb.5:
	incq	%r14
	movl	$-1, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_pgetc
	movsbl	(%rbx), %ecx
	incl	%r12d
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpl	%ecx, %eax
	je	LBB0_6
LBB0_8:
	movq	_PEOF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%esi, %eax
	setne	%bl
	cmpl	$10, %eax
	setne	%dl
	testb	%bl, %dl
	jne	LBB0_15
## %bb.9:
	testb	%cl, %cl
	jne	LBB0_15
## %bb.10:
	cmpl	$10, %eax
	jne	LBB0_16
## %bb.11:
	movq	_plinno@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_doprompt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_needprompt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_16:
	movl	%esi, %r15d
	jmp	LBB0_17
LBB0_12:
	cmpl	$10, %r15d
	jne	LBB0_17
## %bb.13:
	movl	$10, %r15d
	testb	%al, %al
	jne	LBB0_17
## %bb.14:
	movq	_PEOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_plinno@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_doprompt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_needprompt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_17
LBB0_15:
	xorl	%eax, %eax
	callq	_pungetc
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_pushstring
LBB0_17:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PEOF,4,2                       ## @PEOF
	.comm	_plinno,4,2                     ## @plinno
	.comm	_doprompt,4,2                   ## @doprompt
	.comm	_needprompt,4,2                 ## @needprompt
	.no_dead_strip	_checkend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkend
_checkend:                              ; @checkend
	.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	x20, x1
	mov	x19, x0
	cmp	w0, #9
	b.ne	LBB0_4
; %bb.1:
	cbz	w2, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_pgetc
	cmp	w0, #9
	b.eq	LBB0_2
; %bb.3:
	mov	x19, x0
LBB0_4:
	ldrsb	w8, [x20]
	cmp	w19, w8
	b.ne	LBB0_9
; %bb.5:
	add	x20, x20, #1
	mov	w21, #-1
	mov	x22, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_pgetc
	ldrsb	w8, [x22], #1
	add	w21, w21, #1
	cmp	w8, #0
	ccmp	w0, w8, #0, ne
	b.eq	LBB0_6
; %bb.7:
	and	w9, w8, #0xff
Lloh0:
	adrp	x8, _PEOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PEOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	ccmp	w0, #10, #4, ne
	ccmp	w9, #0, #0, eq
	b.eq	LBB0_12
; %bb.8:
	bl	_pungetc
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	bl	_pushstring
	b	LBB0_16
LBB0_9:
	cmp	w19, #10
	b.ne	LBB0_16
; %bb.10:
	and	w8, w8, #0xff
	cbz	w8, LBB0_15
; %bb.11:
	mov	w19, #10
	b	LBB0_16
LBB0_12:
	cmp	w0, #10
	b.ne	LBB0_14
; %bb.13:
Lloh3:
	adrp	x9, _plinno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _plinno@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, #1
Lloh5:
	adrp	x11, _doprompt@GOTPAGE
Lloh6:
	ldr	x11, [x11, _doprompt@GOTPAGEOFF]
	str	w10, [x9]
Lloh7:
	ldr	w9, [x11]
Lloh8:
	adrp	x10, _needprompt@GOTPAGE
Lloh9:
	ldr	x10, [x10, _needprompt@GOTPAGEOFF]
Lloh10:
	str	w9, [x10]
LBB0_14:
	mov	x19, x8
	b	LBB0_16
LBB0_15:
Lloh11:
	adrp	x8, _PEOF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PEOF@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
Lloh14:
	adrp	x8, _plinno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _plinno@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh16:
	adrp	x8, _doprompt@GOTPAGE
Lloh17:
	ldr	x8, [x8, _doprompt@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _needprompt@GOTPAGE
Lloh20:
	ldr	x9, [x9, _needprompt@GOTPAGEOFF]
Lloh21:
	str	w8, [x9]
LBB0_16:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PEOF,4,2                       ; @PEOF
	.comm	_plinno,4,2                     ; @plinno
	.comm	_doprompt,4,2                   ; @doprompt
	.comm	_needprompt,4,2                 ; @needprompt
	.no_dead_strip	_checkend
.subsections_via_symbols
