	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$99, %eax
	je	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_13
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_getopt
	cmpl	$101, %eax
	jle	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$115, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$102, %eax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movb	(%rcx), %al
	testb	%al, %al
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	1(%rcx), %r12
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_tolower
	movb	%al, -1(%r12)
	movzbl	(%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_13:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	jne	LBB0_20
## %bb.14:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%ebx, %eax
	jne	LBB0_15
## %bb.16:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_20
## %bb.17:
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, %edi
	callq	_getpwuid
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_19
LBB0_15:
	leaq	(%r15,%rax,8), %rbx
LBB0_19:
	movq	__PATH_MAILDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rbx), %r8
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_snprintf
	movq	%r14, %r13
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_24
LBB0_22:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.6(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$1, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_24:
	addq	$5, -64(%rbp)                   ## 8-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_31:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$-1, %eax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_25 Depth=1
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movb	$1, %r13b
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_34
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	xorl	%r13d, %r13d
	cmpb	$10, (%r14)
	je	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movb	$1, %r13b
	testb	$1, %bl
	jne	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_25
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_match
	testq	%rax, %rax
	je	LBB0_25
	jmp	LBB0_31
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movb	$1, %r13b
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_25
LBB0_34:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	$-1, %edx
	je	LBB0_36
## %bb.35:
	cmpl	$1, %edx
	leaq	L_.str.10(%rip), %rax
	leaq	L_.str.11(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.12(%rip), %rax
	leaq	L_.str.13(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_36:
	movq	%r15, %rdi
	callq	_fclose
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cf:s:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
L_.str.1:                               ## @.str.1
	.asciz	"%s/%s"

	.comm	__PATH_MAILDIR,8,3              ## @_PATH_MAILDIR
L_.str.2:                               ## @.str.2
	.asciz	"MAIL"

L_.str.3:                               ## @.str.3
	.asciz	"no password file entry for you"

L_.str.4:                               ## @.str.4
	.asciz	"-"

	.comm	_stdin,8,3                      ## @stdin
L_.str.5:                               ## @.str.5
	.asciz	"r"

L_.str.6:                               ## @.str.6
	.asciz	"can't read %s"

L_.str.7:                               ## @.str.7
	.asciz	"From "

L_.str.8:                               ## @.str.8
	.asciz	"%s"

L_.str.9:                               ## @.str.9
	.asciz	"There %s %d message%s in your incoming mailbox.\n"

L_.str.10:                              ## @.str.10
	.asciz	"is"

L_.str.11:                              ## @.str.11
	.asciz	"are"

L_.str.12:                              ## @.str.12
	.space	1

L_.str.13:                              ## @.str.13
	.asciz	"s"

	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x9, x19
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	mov	x22, #0
	mov	x21, #0
	mov	w26, #-1
Lloh5:
	adrp	x27, _optarg@GOTPAGE
Lloh6:
	ldr	x27, [x27, _optarg@GOTPAGEOFF]
Lloh7:
	adrp	x25, l_.str@PAGE
Lloh8:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #99
	b.eq	LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_4 Depth=1
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	bl	_getopt
	cmp	w0, #101
	b.le	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #115
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #102
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x27]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x27]
	ldrb	w8, [x21]
	cbz	w8, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x21, #1
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_tolower
	sturb	w0, [x28, #-1]
	ldrb	w8, [x28], #1
	cbnz	w8, LBB0_11
	b	LBB0_4
LBB0_12:
	cbnz	x22, LBB0_19
; %bb.13:
Lloh9:
	adrp	x8, _optind@GOTPAGE
Lloh10:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	w8, w24
	b.ne	LBB0_17
; %bb.14:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	mov	x22, x0
	cbnz	x0, LBB0_19
; %bb.15:
	bl	_getuid
	bl	_getpwuid
	mov	x22, x0
	cbnz	x0, LBB0_18
; %bb.16:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_18
LBB0_17:
	add	x22, x23, x8, lsl #3
LBB0_18:
Lloh16:
	adrp	x8, __PATH_MAILDIR@GOTPAGE
Lloh17:
	ldr	x8, [x8, __PATH_MAILDIR@GOTPAGEOFF]
Lloh18:
	ldr	x3, [x8]
	ldr	x4, [x22]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	mov	x22, x20
LBB0_19:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	x0, LBB0_21
; %bb.20:
Lloh23:
	adrp	x8, _stdin@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh25:
	ldr	x23, [x8]
	b	LBB0_23
LBB0_21:
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_fopen
	mov	x23, x0
	cbnz	x0, LBB0_23
; %bb.22:
	str	x22, [sp, #-16]!
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	add	sp, sp, #16
LBB0_23:
	mov	w27, #0
	add	x22, x20, #5
Lloh30:
	adrp	x24, l_.str.7@PAGE
Lloh31:
	add	x24, x24, l_.str.7@PAGEOFF
Lloh32:
	adrp	x25, l_.str.8@PAGE
Lloh33:
	add	x25, x25, l_.str.8@PAGEOFF
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	cmn	w26, #1
	b.eq	LBB0_31
; %bb.25:                               ;   in Loop: Header=BB0_26 Depth=1
	add	w26, w26, #1
	mov	w27, #1
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_fgets
	cbz	x0, LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldrb	w8, [x20]
	cmp	w8, #10
	cset	w8, eq
	orr	w8, w8, w27
	csetm	w27, ne
	tbnz	w8, #0, LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	w2, #5
	bl	_strncmp
	mov	w27, #1
	cbnz	w0, LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=1
	cbz	x21, LBB0_24
; %bb.30:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_match
	mov	w27, #1
	cbz	x0, LBB0_26
	b	LBB0_24
LBB0_31:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x25
	mov	x1, x20
	bl	_printf
	mov	w27, #1
	mov	w26, #-1
	b	LBB0_26
LBB0_32:
	cmn	w26, #1
	b.eq	LBB0_34
; %bb.33:
Lloh34:
	adrp	x8, l_.str.11@PAGE
Lloh35:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh36:
	adrp	x9, l_.str.10@PAGE
Lloh37:
	add	x9, x9, l_.str.10@PAGEOFF
	cmp	w26, #1
	csel	x1, x9, x8, eq
Lloh38:
	adrp	x8, l_.str.13@PAGE
Lloh39:
	add	x8, x8, l_.str.13@PAGEOFF
Lloh40:
	adrp	x9, l_.str.12@PAGE
Lloh41:
	add	x9, x9, l_.str.12@PAGEOFF
	csel	x8, x9, x8, eq
	stp	x26, x8, [sp, #-16]!
Lloh42:
	adrp	x0, l_.str.9@PAGE
Lloh43:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_34:
	mov	x0, x23
	bl	_fclose
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cf:s:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
l_.str.1:                               ; @.str.1
	.asciz	"%s/%s"

	.comm	__PATH_MAILDIR,8,3              ; @_PATH_MAILDIR
l_.str.2:                               ; @.str.2
	.asciz	"MAIL"

l_.str.3:                               ; @.str.3
	.asciz	"no password file entry for you"

l_.str.4:                               ; @.str.4
	.asciz	"-"

	.comm	_stdin,8,3                      ; @stdin
l_.str.5:                               ; @.str.5
	.asciz	"r"

l_.str.6:                               ; @.str.6
	.asciz	"can't read %s"

l_.str.7:                               ; @.str.7
	.asciz	"From "

l_.str.8:                               ; @.str.8
	.asciz	"%s"

l_.str.9:                               ; @.str.9
	.asciz	"There %s %d message%s in your incoming mailbox.\n"

l_.str.10:                              ; @.str.10
	.asciz	"is"

l_.str.11:                              ; @.str.11
	.asciz	"are"

l_.str.12:                              ; @.str.12
	.space	1

l_.str.13:                              ; @.str.13
	.asciz	"s"

	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
.subsections_via_symbols
