	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_follow                         ## -- Begin function follow
	.p2align	4, 0x90
_follow:                                ## @follow
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	_no_files@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_11
## %bb.1:
	xorl	%r14d, %r14d
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rdi
	callq	_fileno
	addl	$2, %r15d
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	cmovel	%r12d, %r15d
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_no_files@GOTPCREL(%rip), %r12
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	addq	$40, %rbx
	movl	(%r12), %eax
	cmpl	%eax, %r13d
	jge	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_qflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_printfn
	movq	8(%rbx), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r15), %r12d
	movl	(%rbx), %esi
	leaq	16(%rbx), %r8
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_forward
	movl	$1, %r14d
	movq	_Fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %r15d
	jmp	LBB0_3
LBB0_11:
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_12:
	movq	_Fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_15
## %bb.13:
	testl	%r14d, %r14d
	jne	LBB0_15
## %bb.14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	addq	$-40, %rbx
	movq	_last@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	xorl	%eax, %eax
	callq	_kqueue
	movq	_kq@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_17
## %bb.16:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_17:
	shll	$2, %r15d
	movl	%r15d, %edi
	callq	_malloc
	movq	_ev@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_19:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_set_events
	leaq	16(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	$250000, %edi                   ## imm = 0x3D090
	callq	_usleep
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_51 Depth 2
	movq	_Fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	(%r12), %eax
	je	LBB0_47
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	$0, %r13d
	testl	%eax, %eax
	jle	LBB0_48
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r13d, %r13d
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_26 Depth=2
	cmpq	$1, %rax
	sbbl	$-1, %r13d
LBB0_25:                                ##   in Loop: Header=BB0_26 Depth=2
	incl	%r15d
	movl	(%r12), %eax
	addq	$40, %rbx
	cmpl	%eax, %r15d
	jge	LBB0_48
LBB0_26:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	callq	_fileno
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	leaq	-16(%rbx), %r14
	movq	_fa@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-16(%rbx), %esi
	leaq	L_.str.2(%rip), %rdx
	callq	_fileargs_fopen
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_37
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	-8(%rbx), %rdi
	callq	_fileno
	movq	%rax, %rdi
	leaq	-96(%rbp), %rsi
	callq	_fstat
	cmpl	$-1, %eax
	je	LBB0_37
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	-96(%rbp), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_44
## %bb.31:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	-88(%rbp), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_44
## %bb.32:                              ##   in Loop: Header=BB0_26 Depth=2
	cmpq	$0, -80(%rbp)
	je	LBB0_44
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	%r12, %rdi
	callq	_fclose
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_26 Depth=2
	movq	_fa@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-16(%rbx), %esi
	leaq	L_.str.2(%rip), %rdx
	callq	_fileargs_fopen
	movq	%rax, -8(%rbx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.35:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	%rax, %rdi
	callq	_fileno
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_fstat
	movl	%eax, %ecx
	movq	-8(%rbx), %rax
	cmpl	$-1, %ecx
	jne	LBB0_24
## %bb.36:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	%rax, %rdi
	callq	_fclose
	movq	$0, -8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_37:                                ##   in Loop: Header=BB0_26 Depth=2
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	-16(%rbx), %edi
	callq	_ierr
LBB0_39:                                ##   in Loop: Header=BB0_26 Depth=2
	movq	%r14, %rdi
	callq	_show
	movq	-8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_26 Depth=2
	callq	_fclose
	movq	$0, -8(%rbx)
LBB0_41:                                ##   in Loop: Header=BB0_26 Depth=2
	testq	%r12, %r12
	je	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	%r12, %rdi
	callq	_fclose
	jmp	LBB0_45
LBB0_44:                                ##   in Loop: Header=BB0_26 Depth=2
	movq	%r14, %rdi
	callq	_show
	movq	-8(%rbx), %rdi
	callq	_fclose
	movq	%r12, -8(%rbx)
	movq	%rbx, %rdi
	leaq	-96(%rbp), %rsi
	movl	$24, %edx
	callq	_memcpy
LBB0_45:                                ##   in Loop: Header=BB0_26 Depth=2
	incl	%r13d
LBB0_46:                                ##   in Loop: Header=BB0_26 Depth=2
	movq	_no_files@GOTPCREL(%rip), %r12
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_21 Depth=1
	xorl	%r13d, %r13d
LBB0_48:                                ##   in Loop: Header=BB0_21 Depth=1
	testl	%eax, %eax
	jle	LBB0_53
## %bb.49:                              ##   in Loop: Header=BB0_21 Depth=1
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r14
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_51 Depth=2
	incl	%ebx
	addq	$40, %r14
	cmpl	%eax, %ebx
	jge	LBB0_54
LBB0_51:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 8(%r14)
	je	LBB0_50
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	%r14, %rdi
	callq	_show
	cmpl	$1, %eax
	adcl	$0, %r13d
	movl	(%r12), %eax
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r14
LBB0_54:                                ##   in Loop: Header=BB0_21 Depth=1
	testl	%r13d, %r13d
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdi
	callq	_set_events
LBB0_56:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_action@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_20
## %bb.57:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$129, %eax
	jne	LBB0_21
## %bb.58:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	$1, -72(%rbp)
	movq	_kq@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_ev@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_Fflag@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	testq	%r9, %r9
	leaq	-72(%rbp), %rax
	cmovneq	%rax, %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	_kevent
	testl	%eax, %eax
	js	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_21 Depth=1
	jne	LBB0_61
	jmp	LBB0_21
LBB0_60:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_61:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_ev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	movq	_EVFILT_READ@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_21
## %bb.62:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$0, 4(%rax)
	jns	LBB0_21
## %bb.63:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	(%rax), %edi
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	cmpl	$-1, %eax
	jne	LBB0_21
## %bb.64:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r14), %edi
	callq	_ierr
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_no_files,4,2                   ## @no_files
	.comm	_qflag,4,2                      ## @qflag
	.comm	_Fflag,8,3                      ## @Fflag
	.comm	_STDIN_FILENO,8,3               ## @STDIN_FILENO
	.comm	_last,8,3                       ## @last
	.comm	_kq,8,3                         ## @kq
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kqueue"

	.comm	_ev,8,3                         ## @ev
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't allocate memory for kevents."

	.comm	_fa,4,2                         ## @fa
L_.str.2:                               ## @.str.2
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_action,4,2                     ## @action
L_.str.3:                               ## @.str.3
	.asciz	"kevent"

	.comm	_EVFILT_READ,4,2                ## @EVFILT_READ
	.comm	_SEEK_END,4,2                   ## @SEEK_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function follow
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_follow
	.p2align	2
_follow:                                ; @follow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x28, x0
Lloh0:
	adrp	x25, _no_files@GOTPAGE
Lloh1:
	ldr	x25, [x25, _no_files@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh2:
	adrp	x27, _STDIN_FILENO@GOTPAGE
Lloh3:
	ldr	x27, [x27, _STDIN_FILENO@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	w8, #0
	mov	w19, #0
	mov	w23, #0
Lloh4:
	adrp	x24, _qflag@GOTPAGE
Lloh5:
	ldr	x24, [x24, _qflag@GOTPAGEOFF]
	mov	x22, x28
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #8]
	bl	_fileno
	ldr	x8, [x27]
	add	w9, w19, #2
	cmp	x0, x8
	csel	w19, w26, w9, eq
	mov	w8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	add	x22, x22, #40
	ldr	w9, [x25]
	cmp	w23, w9
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #2
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	cbnz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	mov	w1, #1
	bl	_printfn
	ldr	x0, [x22, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w19, #1
	mov	x4, x22
	ldr	w1, [x4], #16
	mov	x2, x21
	mov	x3, x20
	bl	_forward
Lloh6:
	adrp	x8, _Fflag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Fflag@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	mov	x19, x26
	b	LBB0_3
LBB0_10:
	mov	w19, #0
	mov	w8, #0
	mov	x22, x28
LBB0_11:
Lloh9:
	adrp	x20, _Fflag@GOTPAGE
Lloh10:
	ldr	x20, [x20, _Fflag@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x9, #0
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_59
; %bb.12:
	sub	x8, x22, #40
Lloh11:
	adrp	x9, _last@GOTPAGE
Lloh12:
	ldr	x9, [x9, _last@GOTPAGEOFF]
Lloh13:
	str	x8, [x9]
	bl	_kqueue
Lloh14:
	adrp	x8, _kq@GOTPAGE
Lloh15:
	ldr	x8, [x8, _kq@GOTPAGEOFF]
Lloh16:
	str	x0, [x8]
	tbz	x0, #63, LBB0_14
; %bb.13:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_14:
	lsl	w0, w19, #2
	bl	_malloc
Lloh19:
	adrp	x8, _ev@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ev@GOTPAGEOFF]
Lloh21:
	str	x0, [x8]
	cbnz	x0, LBB0_16
; %bb.15:
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	mov	x0, x28
	bl	_set_events
	add	x8, x28, #16
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh24:
	adrp	x8, lCPI0_0@PAGE
Lloh25:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh26:
	adrp	x26, _fa@GOTPAGE
Lloh27:
	ldr	x26, [x26, _fa@GOTPAGEOFF]
Lloh28:
	adrp	x21, l_.str.2@PAGE
Lloh29:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #53392
	movk	w0, #3, lsl #16
	bl	_usleep
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
                                        ;     Child Loop BB0_52 Depth 2
	ldr	x9, [x20]
	ldr	w8, [x25]
	cmp	x9, #0
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w19, #0
	cmp	w8, #1
	b.ge	LBB0_50
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x22, x28
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	cbz	w19, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x28
	bl	_set_events
LBB0_23:                                ;   in Loop: Header=BB0_18 Depth=1
Lloh30:
	adrp	x8, _action@GOTPAGE
Lloh31:
	ldr	x8, [x8, _action@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_17
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w8, #129
	b.ne	LBB0_18
; %bb.25:                               ;   in Loop: Header=BB0_18 Depth=1
	str	d8, [sp, #16]
Lloh33:
	adrp	x8, _kq@GOTPAGE
Lloh34:
	ldr	x8, [x8, _kq@GOTPAGEOFF]
Lloh35:
	ldr	x0, [x8]
Lloh36:
	adrp	x8, _ev@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ev@GOTPAGEOFF]
Lloh38:
	ldr	x3, [x8]
	ldr	x8, [x20]
	cmp	x8, #0
	add	x8, sp, #16
	csel	x5, xzr, x8, eq
	mov	x1, #0
	mov	w2, #0
	mov	w4, #1
	bl	_kevent
	tbnz	w0, #31, LBB0_54
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
	cbnz	w0, LBB0_55
	b	LBB0_18
LBB0_27:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x20, x28
	mov	w28, #0
	mov	w19, #0
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=2
	cmp	x0, #0
	cinc	w19, w19, ne
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=2
	add	w28, w28, #1
	ldr	w8, [x25]
	add	x22, x22, #40
	cmp	w28, w8
	b.ge	LBB0_49
LBB0_30:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x0, [x22, #-8]
	cbz	x0, LBB0_38
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	bl	_fileno
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=2
	sub	x24, x22, #16
	ldr	w0, [x26]
	ldur	w1, [x22, #-16]
	mov	x2, x21
	bl	_fileargs_fopen
	mov	x23, x0
	cbz	x0, LBB0_41
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=2
	ldur	x0, [x22, #-8]
	bl	_fileno
	add	x1, sp, #24
	bl	_fstat
	cmn	w0, #1
	b.eq	LBB0_41
; %bb.34:                               ;   in Loop: Header=BB0_30 Depth=2
	ldr	x8, [sp, #24]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_48
; %bb.35:                               ;   in Loop: Header=BB0_30 Depth=2
	ldr	x8, [sp, #32]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	b.ne	LBB0_48
; %bb.36:                               ;   in Loop: Header=BB0_30 Depth=2
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_48
; %bb.37:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	x0, x23
	bl	_fclose
	b	LBB0_29
LBB0_38:                                ;   in Loop: Header=BB0_30 Depth=2
	ldr	w0, [x26]
	ldur	w1, [x22, #-16]
	mov	x2, x21
	bl	_fileargs_fopen
	stur	x0, [x22, #-8]
	cbz	x0, LBB0_28
; %bb.39:                               ;   in Loop: Header=BB0_30 Depth=2
	bl	_fileno
	mov	x1, x22
	bl	_fstat
	mov	x8, x0
	ldur	x0, [x22, #-8]
	cmn	w8, #1
	b.ne	LBB0_28
; %bb.40:                               ;   in Loop: Header=BB0_30 Depth=2
	bl	_fclose
	mov	x0, #0
	stur	xzr, [x22, #-8]
	b	LBB0_28
LBB0_41:                                ;   in Loop: Header=BB0_30 Depth=2
Lloh39:
	adrp	x8, _errno@GOTPAGE
Lloh40:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _ENOENT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_30 Depth=2
	ldur	w0, [x22, #-16]
	bl	_ierr
LBB0_43:                                ;   in Loop: Header=BB0_30 Depth=2
	mov	x0, x24
	bl	_show
	ldur	x0, [x22, #-8]
	cbz	x0, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_30 Depth=2
	bl	_fclose
	stur	xzr, [x22, #-8]
LBB0_45:                                ;   in Loop: Header=BB0_30 Depth=2
	cbz	x23, LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	x0, x23
	bl	_fclose
LBB0_47:                                ;   in Loop: Header=BB0_30 Depth=2
	add	w19, w19, #1
	b	LBB0_29
LBB0_48:                                ;   in Loop: Header=BB0_30 Depth=2
	mov	x0, x24
	bl	_show
	ldur	x0, [x22, #-8]
	bl	_fclose
	stur	x23, [x22, #-8]
	add	x1, sp, #24
	mov	x0, x22
	mov	w2, #24
	bl	_memcpy
	add	w19, w19, #1
	b	LBB0_29
LBB0_49:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x28, x20
Lloh45:
	adrp	x20, _Fflag@GOTPAGE
Lloh46:
	ldr	x20, [x20, _Fflag@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_20
LBB0_50:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w23, #0
	mov	x22, x28
	b	LBB0_52
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=2
	add	w23, w23, #1
	add	x22, x22, #40
	cmp	w23, w8
	b.ge	LBB0_21
LBB0_52:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_51
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=2
	mov	x0, x22
	bl	_show
	cmp	w0, #0
	cinc	w19, w19, eq
	ldr	w8, [x25]
	b	LBB0_51
LBB0_54:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #1
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_55:                                ;   in Loop: Header=BB0_18 Depth=1
Lloh49:
	adrp	x8, _ev@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ev@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	ldr	w9, [x8, #8]
Lloh52:
	adrp	x10, _EVFILT_READ@GOTPAGE
Lloh53:
	ldr	x10, [x10, _EVFILT_READ@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_18
; %bb.56:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w9, [x8, #4]
	tbz	w9, #31, LBB0_18
; %bb.57:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x8]
Lloh55:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	cmn	w0, #1
	b.ne	LBB0_18
; %bb.58:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x22]
	bl	_ierr
	b	LBB0_18
LBB0_59:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_no_files,4,2                   ; @no_files
	.comm	_qflag,4,2                      ; @qflag
	.comm	_Fflag,8,3                      ; @Fflag
	.comm	_STDIN_FILENO,8,3               ; @STDIN_FILENO
	.comm	_last,8,3                       ; @last
	.comm	_kq,8,3                         ; @kq
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kqueue"

	.comm	_ev,8,3                         ; @ev
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't allocate memory for kevents."

	.comm	_fa,4,2                         ; @fa
l_.str.2:                               ; @.str.2
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_action,4,2                     ; @action
l_.str.3:                               ; @.str.3
	.asciz	"kevent"

	.comm	_EVFILT_READ,4,2                ; @EVFILT_READ
	.comm	_SEEK_END,4,2                   ; @SEEK_END
.subsections_via_symbols
