	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_next                           ## -- Begin function next
	.p2align	4, 0x90
_next:                                  ## @next
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_11
## %bb.1:
	movq	_dot@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_message@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	subq	%r8, %rdx
	shrq	$2, %rdx
	incl	%edx
	movq	%rdi, %rcx
	cmpl	%edx, %esi
	jg	LBB0_6
## %bb.2:
	movq	%rdi, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rcx), %esi
	addq	$4, %rcx
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edx, %esi
	jle	LBB0_3
LBB0_5:
	testl	%esi, %esi
	cmoveq	%rdi, %rcx
LBB0_6:
	movq	_MDELETED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rcx, %rsi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rsi), %rax
	testl	%r9d, -4(%r8,%rax,4)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edx, %edx
	testl	%eax, %eax
	setne	%dl
	cmpl	$0, (%rsi,%rdx,4)
	leaq	(%rsi,%rdx,4), %rax
	cmoveq	%rdi, %rax
	movq	%rax, %rsi
	cmpq	%rcx, %rax
	jne	LBB0_7
## %bb.10:
	leaq	L_str.2(%rip), %rdi
	callq	_puts
	movl	$1, %eax
	jmp	LBB0_18
LBB0_11:
	movq	_sawcom@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_dot@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_message@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	je	LBB0_17
## %bb.12:
	movq	_msgCount@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r8,%rax,4), %rdx
	movq	_MDELETED@GOTPCREL(%rip), %rax
	movq	_MSAVED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	addq	$4, %rcx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rcx
	jae	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	4(%rcx), %rdi
	testl	%esi, (%rcx)
	movq	%rdi, %rcx
	jne	LBB0_13
## %bb.15:
	addq	$-4, %rdi
	movq	%rdi, %rcx
	jmp	LBB0_16
LBB0_8:
	leaq	(%r8,%rax,4), %rcx
	addq	$-4, %rcx
LBB0_16:
	movq	_dot@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
LBB0_17:
	subq	%r8, %rcx
	shrq	$2, %rcx
	incl	%ecx
	movl	%ecx, -16(%rbp)
	movl	$0, -12(%rbp)
	leaq	-16(%rbp), %rdi
	callq	_type
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_21
## %bb.19:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_20:
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_dot,8,3                        ## @dot
	.comm	_message,8,3                    ## @message
	.comm	_MDELETED,4,2                   ## @MDELETED
	.comm	_sawcom,4,2                     ## @sawcom
	.comm	_msgCount,8,3                   ## @msgCount
	.comm	_MSAVED,4,2                     ## @MSAVED
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"At EOF"

L_str.2:                                ## @str.2
	.asciz	"No messages applicable"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_next                           ; -- Begin function next
	.p2align	2
_next:                                  ; @next
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w12, [x0]
Lloh3:
	adrp	x8, _dot@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dot@GOTPAGEOFF]
	cbz	w12, LBB0_9
; %bb.1:
	ldr	x10, [x8]
Lloh5:
	adrp	x9, _message@GOTPAGE
Lloh6:
	ldr	x9, [x9, _message@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	sub	x10, x10, x9
	lsr	x10, x10, #2
	add	w10, w10, #1
	mov	x11, x0
	cmp	w12, w10
	b.gt	LBB0_5
; %bb.2:
	mov	x11, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, #4]!
	cmp	w12, #0
	ccmp	w12, w10, #0, ne
	b.le	LBB0_3
; %bb.4:
	cmp	w12, #0
	csel	x11, x0, x11, eq
LBB0_5:
Lloh8:
	adrp	x10, _MDELETED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MDELETED@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x10]
	mov	x13, x11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x13]
	sub	w10, w14, #1
	add	x10, x9, w10, sxtw #2
	ldr	w15, [x10]
	tst	w12, w15
	b.eq	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w14, #0
	cset	w10, ne
	add	x10, x13, w10, uxtw #2
	ldr	w13, [x10]
	cmp	w13, #0
	csel	x13, x0, x10, eq
	cmp	x13, x11
	b.ne	LBB0_6
; %bb.8:
Lloh11:
	adrp	x0, l_str.2@PAGE
Lloh12:
	add	x0, x0, l_str.2@PAGEOFF
	bl	_puts
	mov	w0, #1
	b	LBB0_16
LBB0_9:
Lloh13:
	adrp	x9, _sawcom@GOTPAGE
Lloh14:
	ldr	x9, [x9, _sawcom@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x9]
	ldr	x10, [x8]
Lloh16:
	adrp	x9, _message@GOTPAGE
Lloh17:
	ldr	x9, [x9, _message@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cbz	w11, LBB0_15
; %bb.10:
Lloh19:
	adrp	x11, _msgCount@GOTPAGE
Lloh20:
	ldr	x11, [x11, _msgCount@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	add	x11, x9, x11, lsl #2
Lloh22:
	adrp	x12, _MDELETED@GOTPAGE
Lloh23:
	ldr	x12, [x12, _MDELETED@GOTPAGEOFF]
Lloh24:
	ldr	w12, [x12]
Lloh25:
	adrp	x13, _MSAVED@GOTPAGE
Lloh26:
	ldr	x13, [x13, _MSAVED@GOTPAGEOFF]
Lloh27:
	ldr	w13, [x13]
	orr	w12, w13, w12
	add	x10, x10, #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	x10, x11
	b.hs	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w13, [x10], #4
	tst	w12, w13
	b.ne	LBB0_11
; %bb.13:
	sub	x10, x10, #4
LBB0_14:
	str	x10, [x8]
LBB0_15:
	sub	x8, x10, x9
	lsr	x8, x8, #2
	add	w8, w8, #1
	stp	w8, wzr, [sp]
	mov	x0, sp
	bl	_type
LBB0_16:
	ldr	x8, [sp, #8]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_18:
Lloh31:
	adrp	x0, l_str@PAGE
Lloh32:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #0
	b	LBB0_16
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_dot,8,3                        ; @dot
	.comm	_message,8,3                    ; @message
	.comm	_MDELETED,4,2                   ; @MDELETED
	.comm	_sawcom,4,2                     ; @sawcom
	.comm	_msgCount,8,3                   ; @msgCount
	.comm	_MSAVED,4,2                     ; @MSAVED
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"At EOF"

l_str.2:                                ; @str.2
	.asciz	"No messages applicable"

.subsections_via_symbols
