	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_EX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %r13
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	movl	%r14d, %eax
	movl	%r15d, %ecx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %r15d
	movl	%eax, %r14d
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_getopt
	cmpl	$45, %eax
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$97, %eax
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %ecx
	movl	$0, %eax
	movl	$1, %r15d
	testl	%r14d, %r14d
	jne	LBB0_10
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %eax
	movl	$0, %ecx
	movl	$1, %r14d
	testl	%r15d, %r15d
	jne	LBB0_10
	jmp	LBB0_1
LBB0_4:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%ebx, %eax
	subl	%r13d, %eax
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.5:
	testl	%eax, %eax
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_usage
LBB0_7:
	xorl	%eax, %eax
	callq	_dump_config
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.12:
	movq	_stdin@GOTPCREL(%rip), %r15
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	_EX_OK@GOTPCREL(%rip), %r12
	movq	_BUFSIZ@GOTPCREL(%rip), %r13
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	(%r12), %r14d
	jne	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$10, (%rbx)
	je	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movb	$0, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	callq	_action
	movl	%eax, %r14d
	jmp	LBB0_13
LBB0_19:
	movl	(%r15), %edi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_27
## %bb.20:
	movq	_EX_NOINPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
	jmp	LBB0_27
LBB0_21:
	testl	%eax, %eax
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	_EX_OK@GOTPCREL(%rip), %r15
	je	LBB0_22
## %bb.23:
	cmpl	(%r15), %r14d
	jne	LBB0_27
## %bb.24:
	decl	%ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r13,8), %rdi
	callq	_action
	movl	%eax, %r14d
	cmpl	%r13d, %ebx
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	%r13
	cmpl	(%r15), %r14d
	je	LBB0_25
	jmp	LBB0_27
LBB0_22:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_27
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	_EX_OK,4,2                      ## @EX_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-a"

	.comm	_optind,8,3                     ## @optind
	.comm	_stdin,4,2                      ## @stdin
	.comm	_EX_NOINPUT,4,2                 ## @EX_NOINPUT
L_.str.1:                               ## @.str.1
	.asciz	"stdin"

.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
	sub	sp, sp, #16
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x25, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x25, [x25, _BUFSIZ@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	w8, #0
	mov	w9, #0
Lloh7:
	adrp	x24, _EX_OK@GOTPAGE
Lloh8:
	ldr	x24, [x24, _EX_OK@GOTPAGEOFF]
	ldr	w19, [x24]
Lloh9:
	adrp	x23, l_.str@PAGE
Lloh10:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_7
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
	mov	x8, x26
	mov	x9, x27
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x9
	mov	x26, x8
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_getopt
	cmp	w0, #45
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #97
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #0
	mov	w9, #1
	mov	w27, #1
	cbnz	w26, LBB0_2
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
	mov	w8, #1
	mov	w26, #1
	cbnz	w27, LBB0_2
	b	LBB0_3
LBB0_7:
Lloh11:
	adrp	x8, _optind@GOTPAGE
Lloh12:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	sub	w9, w21, w8
	cbz	w27, LBB0_13
; %bb.8:
	cbz	w9, LBB0_10
; %bb.9:
	bl	_usage
LBB0_10:
	bl	_dump_config
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.12:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	cbz	w26, LBB0_22
; %bb.14:
Lloh17:
	adrp	x21, _stdin@GOTPAGE
Lloh18:
	ldr	x21, [x21, _stdin@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_fgets
	ldr	w8, [x24]
	cmp	x0, #0
	ccmp	w19, w8, #0, ne
	b.ne	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrb	w8, [x20]
	cmp	w8, #10
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	mov	w1, #10
	bl	_strrchr
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	strb	wzr, [x0]
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	bl	_action
	mov	x19, x0
	b	LBB0_15
LBB0_20:
	ldr	w0, [x21]
	bl	_ferror
	cbz	x0, LBB0_11
; %bb.21:
Lloh19:
	adrp	x8, _EX_NOINPUT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EX_NOINPUT@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
	b	LBB0_11
LBB0_22:
	cbz	w9, LBB0_27
; %bb.23:
	ldr	w9, [x24]
	cmp	w19, w9
	b.ne	LBB0_11
; %bb.24:
	add	x20, x22, x8, lsl #3
	sub	w8, w8, w21
	add	w21, w8, #1
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20], #8
	bl	_action
	mov	x19, x0
	cbz	w21, LBB0_11
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x24]
	add	w21, w21, #1
	cmp	w19, w8
	b.eq	LBB0_25
	b	LBB0_11
LBB0_27:
	bl	_usage
	b	LBB0_11
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	_EX_OK,4,2                      ; @EX_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-a"

	.comm	_optind,8,3                     ; @optind
	.comm	_stdin,4,2                      ; @stdin
	.comm	_EX_NOINPUT,4,2                 ; @EX_NOINPUT
l_.str.1:                               ; @.str.1
	.asciz	"stdin"

.subsections_via_symbols
