	.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
	xorl	%r12d, %r12d
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%edi, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	movq	%rsi, %rbx
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r15d
	movl	$1, %r13d
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r12,8), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	$0, %eax
	cmovel	%eax, %r14d
	movq	(%rbx,%r12,8), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	$0, %eax
	cmovel	%eax, %r13d
	movq	(%rbx,%r12,8), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	$0, %ecx
	cmovel	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx,%r12,8), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	$0, %eax
	cmovel	%eax, %r15d
	movq	(%rbx,%r12,8), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	$0, %ecx
	cmovel	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx,%r12,8), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	incq	%r12
	cmpl	%r12d, -56(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.4:
	testl	%r13d, %r13d
	sete	%r12b
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_5
LBB0_1:
	movl	$1, %r14d
	movl	$1, %r15d
	movl	$1, %ebx
	movl	$1, %r13d
LBB0_5:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setlinebuf
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setlinebuf
	xorl	%eax, %eax
	callq	_test_kqueue
	xorl	%eax, %eax
	callq	_test_kqueue_close
	testb	%r12b, %r12b
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_test_evfilt_read
LBB0_7:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_test_evfilt_signal
LBB0_9:
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_test_evfilt_vnode
LBB0_11:
	testl	%r13d, %r13d
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_test_evfilt_timer
LBB0_13:
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	callq	_test_evfilt_proc
LBB0_15:
	movq	_testnum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%esi
	leaq	L_.str.6(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--no-proc"

L_.str.1:                               ## @.str.1
	.asciz	"--no-socket"

L_.str.2:                               ## @.str.2
	.asciz	"--no-timer"

L_.str.3:                               ## @.str.3
	.asciz	"--no-signal"

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

L_.str.5:                               ## @.str.5
	.asciz	"--no-user"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
L_.str.6:                               ## @.str.6
	.asciz	"\n---\n+OK All %d tests completed.\n"

	.comm	_testnum,4,2                    ## @testnum
.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
	cbz	w0, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w28, #1
Lloh0:
	adrp	x24, l_.str.3@PAGE
Lloh1:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh2:
	adrp	x25, l_.str.4@PAGE
Lloh3:
	add	x25, x25, l_.str.4@PAGEOFF
	mov	w21, #1
	mov	w22, #1
	mov	w23, #1
	mov	w27, #1
Lloh4:
	adrp	x26, l_.str.5@PAGE
Lloh5:
	add	x26, x26, l_.str.5@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	csel	w27, wzr, w27, eq
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	csel	w23, wzr, w23, eq
	ldr	x0, [x19]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	csel	w28, wzr, w28, eq
	ldr	x0, [x19]
	mov	x1, x24
	bl	_strcmp
	cmp	x0, #0
	csel	w22, wzr, w22, eq
	ldr	x0, [x19]
	mov	x1, x25
	bl	_strcmp
	cmp	x0, #0
	csel	w21, wzr, w21, eq
	ldr	x0, [x19], #8
	mov	x1, x26
	bl	_strcmp
	subs	w20, w20, #1
	b.ne	LBB0_2
; %bb.3:
	cmp	w23, #0
	cset	w19, eq
	b	LBB0_5
LBB0_4:
	mov	w19, #0
	mov	w27, #1
	mov	w22, #1
	mov	w21, #1
	mov	w28, #1
LBB0_5:
Lloh12:
	adrp	x8, _stdout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_setlinebuf
Lloh15:
	adrp	x8, _stderr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_setlinebuf
	bl	_test_kqueue
	bl	_test_kqueue_close
	tbnz	w19, #0, LBB0_7
; %bb.6:
	bl	_test_evfilt_read
LBB0_7:
	cbz	w22, LBB0_9
; %bb.8:
	bl	_test_evfilt_signal
LBB0_9:
	cbz	w21, LBB0_11
; %bb.10:
	bl	_test_evfilt_vnode
LBB0_11:
	cbz	w28, LBB0_13
; %bb.12:
	bl	_test_evfilt_timer
LBB0_13:
	cbz	w27, LBB0_15
; %bb.14:
	bl	_test_evfilt_proc
LBB0_15:
Lloh18:
	adrp	x8, _testnum@GOTPAGE
Lloh19:
	ldr	x8, [x8, _testnum@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	sub	w1, w8, #1
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--no-proc"

l_.str.1:                               ; @.str.1
	.asciz	"--no-socket"

l_.str.2:                               ; @.str.2
	.asciz	"--no-timer"

l_.str.3:                               ; @.str.3
	.asciz	"--no-signal"

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

l_.str.5:                               ; @.str.5
	.asciz	"--no-user"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
l_.str.6:                               ; @.str.6
	.asciz	"\n---\n+OK All %d tests completed.\n"

	.comm	_testnum,4,2                    ; @testnum
.subsections_via_symbols
