	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function conloop
_conloop:                               ## @conloop
	.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
	leaq	-80(%rbp), %rdi
	callq	_monotime_tv
	movq	_tq@GOTPCREL(%rip), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	-80(%rbp), %rcx
	cmpq	%rcx, 8(%rax)
	jle	LBB0_3
## %bb.2:
	movq	-72(%rbp), %rdx
	jmp	LBB0_5
LBB0_3:
	jne	LBB0_7
## %bb.4:
	movq	-72(%rbp), %rdx
	cmpq	%rdx, 16(%rax)
	jle	LBB0_7
LBB0_5:
	addq	$8, %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	-64(%rbp), %rax
	movq	-56(%rbp), %rsi
	subq	%rcx, %rax
	movq	%rax, -64(%rbp)
	subq	%rdx, %rsi
	movq	%rsi, -56(%rbp)
	jns	LBB0_8
## %bb.6:
	addq	$1000000, %rsi                  ## imm = 0xF4240
	movq	%rsi, -56(%rbp)
	decq	%rax
	movq	%rax, -64(%rbp)
	jmp	LBB0_8
LBB0_7:
	leaq	-64(%rbp), %rdi
	callq	_timerclear
LBB0_8:
	movq	_read_wait_nfdset@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_xcalloc
	movq	%rax, %r14
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_xcalloc
	movq	%rax, %r15
	movq	_read_wait@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%r14, %rdi
	callq	_memcpy
	movl	(%r12), %esi
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%r15, %rdi
	callq	_memcpy
	movq	_maxfd@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %rbx
	movq	_EAGAIN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movq	%rbx, %r8
	callq	_select
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r12), %rax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
LBB0_13:
	cmpl	$0, (%r13)
	jle	LBB0_20
## %bb.14:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_fdcon@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_error
	movl	%ebx, %edi
	callq	_confree
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_20
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, %edi
	callq	_conread
	jmp	LBB0_19
LBB0_20:
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movq	_tq@GOTPCREL(%rip), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_26
## %bb.21:
	movq	%rax, %rbx
	movq	_c_link@GOTPCREL(%rip), %r15
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	(%rbx), %r14d
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_conrecycle
	testq	%rbx, %rbx
	je	LBB0_26
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax
	cmpq	%rax, 8(%rbx)
	jl	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	16(%rbx), %rax
	cmpq	-72(%rbp), %rax
	jl	LBB0_25
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tq,4,2                         ## @tq
	.comm	_read_wait_nfdset,4,2           ## @read_wait_nfdset
	.comm	_read_wait,4,2                  ## @read_wait
	.comm	_maxfd,4,2                      ## @maxfd
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: exception!"

	.comm	_fdcon,8,3                      ## @fdcon
	.comm	_c_link,4,2                     ## @c_link
	.no_dead_strip	_conloop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function conloop
_conloop:                               ; @conloop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x0, sp
	bl	_monotime_tv
Lloh0:
	adrp	x0, _tq@GOTPAGE
Lloh1:
	ldr	x0, [x0, _tq@GOTPAGEOFF]
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_7
; %bb.1:
	mov	x9, x0
	ldr	x10, [x9, #8]!
	ldr	x8, [sp]
	cmp	x10, x8
	b.le	LBB0_3
; %bb.2:
	ldr	x10, [sp, #8]
	b	LBB0_5
LBB0_3:
	b.ne	LBB0_7
; %bb.4:
	ldr	x11, [x0, #16]
	ldr	x10, [sp, #8]
	cmp	x11, x10
	b.le	LBB0_7
LBB0_5:
	ldr	q0, [x9]
	str	q0, [sp, #16]
	ldp	x9, x11, [sp, #16]
	sub	x8, x9, x8
	subs	x9, x11, x10
	stp	x8, x9, [sp, #16]
	b.pl	LBB0_8
; %bb.6:
	add	x9, x9, #244, lsl #12           ; =999424
	add	x9, x9, #576
	sub	x8, x8, #1
	stp	x8, x9, [sp, #16]
	b	LBB0_8
LBB0_7:
	add	x0, sp, #16
	bl	_timerclear
LBB0_8:
Lloh2:
	adrp	x21, _read_wait_nfdset@GOTPAGE
Lloh3:
	ldr	x21, [x21, _read_wait_nfdset@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #4
	bl	_xcalloc
	mov	x19, x0
	ldr	w0, [x21]
	mov	w1, #4
	bl	_xcalloc
	mov	x20, x0
Lloh4:
	adrp	x22, _read_wait@GOTPAGE
Lloh5:
	ldr	x22, [x22, _read_wait@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	mov	x0, x19
	bl	_memcpy
	ldr	w1, [x22]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	mov	x0, x20
	bl	_memcpy
Lloh6:
	adrp	x23, _maxfd@GOTPAGE
Lloh7:
	ldr	x23, [x23, _maxfd@GOTPAGEOFF]
Lloh8:
	adrp	x21, _errno@GOTPAGE
Lloh9:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
Lloh10:
	adrp	x22, _EAGAIN@GOTPAGE
Lloh11:
	ldr	x22, [x22, _EAGAIN@GOTPAGEOFF]
Lloh12:
	adrp	x24, _EINTR@GOTPAGE
Lloh13:
	ldr	x24, [x24, _EINTR@GOTPAGEOFF]
Lloh14:
	adrp	x25, _EWOULDBLOCK@GOTPAGE
Lloh15:
	ldr	x25, [x25, _EWOULDBLOCK@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	add	x4, sp, #16
	mov	x1, x19
	mov	x2, #0
	mov	x3, x20
	bl	_select
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x10, [x24]
	ldr	x11, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_9
LBB0_11:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.12:
	mov	x21, #0
Lloh16:
	adrp	x24, _fdcon@GOTPAGE
Lloh17:
	ldr	x24, [x24, _fdcon@GOTPAGEOFF]
Lloh18:
	adrp	x22, l_.str@PAGE
Lloh19:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x24]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x22
	bl	_error
	mov	x0, x21
	bl	_confree
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x23]
	cmp	x21, x8
	b.ge	LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_FD_ISSET
	cbnz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_FD_ISSET
	cbz	x0, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
	bl	_conread
	b	LBB0_14
LBB0_18:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
Lloh20:
	adrp	x0, _tq@GOTPAGE
Lloh21:
	ldr	x0, [x0, _tq@GOTPAGEOFF]
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_24
; %bb.19:
	mov	x19, x0
Lloh22:
	adrp	x21, _c_link@GOTPAGE
Lloh23:
	ldr	x21, [x21, _c_link@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w20, [x19]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_TAILQ_NEXT
	mov	x19, x0
	mov	x0, x20
	bl	_conrecycle
	cbz	x19, LBB0_24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [sp]
	cmp	x8, x9
	b.lt	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.lt	LBB0_20
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_tq,4,2                         ; @tq
	.comm	_read_wait_nfdset,4,2           ; @read_wait_nfdset
	.comm	_read_wait,4,2                  ; @read_wait
	.comm	_maxfd,4,2                      ; @maxfd
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: exception!"

	.comm	_fdcon,8,3                      ; @fdcon
	.comm	_c_link,4,2                     ; @c_link
	.no_dead_strip	_conloop
.subsections_via_symbols
