	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_headers                        ## -- Begin function headers
	.p2align	4, 0x90
_headers:                               ## @headers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_screensize
	movl	%eax, %r14d
	movslq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leal	-1(%rsi), %eax
	cltd
	idivl	%r14d
	movq	_screen@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jns	LBB0_5
LBB0_4:
	movq	_screen@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%eax, %eax
LBB0_5:
	movq	_message@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	%r14d, %eax
	movslq	%eax, %rdx
	movq	_msgCount@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rdi
	movq	%rax, %rbx
	subq	%rdi, %rbx
	cmpq	%rdx, %rax
	cmovgq	%rdx, %rbx
	leaq	(%rcx,%rbx,4), %rbx
	cmpq	%rcx, %rbx
	cmovbq	%rcx, %rbx
	movq	_dot@GOTPCREL(%rip), %rdx
	leaq	(%rcx,%rsi,4), %rsi
	addq	$-4, %rsi
	cmpq	%rsi, (%rdx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, (%rdx)
LBB0_7:
	leaq	(%rcx,%rax,4), %rdx
	cmpq	%rdx, %rbx
	jae	LBB0_15
## %bb.8:
	movq	%rbx, %r13
	subq	%rcx, %r13
	shrq	$2, %r13
	incl	%r13d
	xorl	%edx, %edx
	movq	_MDELETED@GOTPCREL(%rip), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%edx, %r12d
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$4, %rbx
	leaq	(%rcx,%rax,4), %rsi
	incl	%r13d
	cmpq	%rsi, %rbx
	jae	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	testl	%esi, (%rbx)
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	leal	1(%rdx), %r12d
	cmpl	%r14d, %edx
	jge	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, %edi
	callq	_printhead
	movq	_message@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_msgCount@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %edx
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jne	LBB0_16
LBB0_15:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_screen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jns	LBB0_5
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_screen,4,2                     ## @screen
	.comm	_message,8,3                    ## @message
	.comm	_msgCount,8,3                   ## @msgCount
	.comm	_dot,8,3                        ## @dot
	.comm	_MDELETED,4,2                   ## @MDELETED
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"No more mail."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_headers                        ; -- Begin function headers
	.p2align	2
_headers:                               ; @headers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_screensize
	mov	x19, x0
	ldr	w10, [x20]
Lloh0:
	adrp	x8, _screen@GOTPAGE
Lloh1:
	ldr	x8, [x8, _screen@GOTPAGEOFF]
	cbz	w10, LBB0_16
; %bb.1:
	sub	w9, w10, #1
	sdiv	w9, w9, w19
	str	w9, [x8]
	tbz	w9, #31, LBB0_3
LBB0_2:
	mov	w9, #0
	str	wzr, [x8]
LBB0_3:
Lloh2:
	adrp	x21, _message@GOTPAGE
Lloh3:
	ldr	x21, [x21, _message@GOTPAGEOFF]
	ldr	x8, [x21]
	mul	w9, w9, w19
	sxtw	x11, w9
Lloh4:
	adrp	x22, _msgCount@GOTPAGE
Lloh5:
	ldr	x22, [x22, _msgCount@GOTPAGEOFF]
	ldr	x9, [x22]
	sub	x12, x9, w19, sxtw
	cmp	x9, x11
	csel	x11, x11, x12, gt
	add	x11, x8, x11, lsl #2
	cmp	x11, x8
	csel	x23, x8, x11, lo
Lloh6:
	adrp	x11, _dot@GOTPAGE
Lloh7:
	ldr	x11, [x11, _dot@GOTPAGEOFF]
	ldr	x12, [x11]
	sub	w10, w10, #1
	add	x10, x8, w10, sxtw #2
	cmp	x12, x10
	b.eq	LBB0_5
; %bb.4:
	str	x23, [x11]
LBB0_5:
	add	x10, x8, x9, lsl #2
	cmp	x23, x10
	b.hs	LBB0_14
; %bb.6:
	mov	w10, #0
	sub	x11, x23, x8
	lsr	x11, x11, #2
	add	w20, w11, #1
Lloh8:
	adrp	x24, _MDELETED@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MDELETED@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, x10
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #4
	add	x11, x8, x9, lsl #2
	add	w20, w20, #1
	cmp	x23, x11
	b.hs	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x23]
	ldr	w12, [x24]
	tst	w12, w11
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w25, w10, #1
	cmp	w10, w19
	b.ge	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_printhead
	ldr	x8, [x21]
	ldr	x9, [x22]
	mov	x10, x25
	b	LBB0_8
LBB0_12:
	cbz	w25, LBB0_14
; %bb.13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
Lloh10:
	adrp	x0, l_str@PAGE
Lloh11:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
LBB0_15:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	ldr	w9, [x8]
	tbz	w9, #31, LBB0_3
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_screen,4,2                     ; @screen
	.comm	_message,8,3                    ; @message
	.comm	_msgCount,8,3                   ; @msgCount
	.comm	_dot,8,3                        ; @dot
	.comm	_MDELETED,4,2                   ; @MDELETED
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"No more mail."

.subsections_via_symbols
