	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cron
_cron:                                  ## @cron
	.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
	movl	_cron.cur_conn_idx(%rip), %r12d
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	addl	$-120, %r9d
	movl	$-101, %ebx
	movq	_Connections@GOTPCREL(%rip), %rsi
	movq	_ct_dns_server@GOTPCREL(%rip), %rdi
	movq	_conn_expect_query@GOTPCREL(%rip), %r13
	movq	_max_connection@GOTPCREL(%rip), %rdx
	movl	%r12d, %eax
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, _cron.cur_conn_idx(%rip)
	cmpl	%r12d, %eax
	je	LBB0_10
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rsi), %r14
	movslq	%eax, %r15
	shlq	$5, %r15
	cmpq	%rdi, 24(%r14,%r15)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r9d, (%r14,%r15)
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14,%r15), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r14,%r15), %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	20(%r14,%r15), %edx
	movl	$3, %edi
	leaq	L_.str(%rip), %rsi
	callq	_vkprintf
	movq	_conn_write_close@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	16(%r14,%r15), %edi
	callq	_put_event_into_heap
	movq	_max_connection@GOTPCREL(%rip), %rdx
	movq	_ct_dns_server@GOTPCREL(%rip), %rdi
	movq	_Connections@GOTPCREL(%rip), %rsi
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movl	_cron.cur_conn_idx(%rip), %eax
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%rdx), %eax
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	jmp	LBB0_9
LBB0_10:
	movq	_worker_id@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	js	LBB0_13
## %bb.11:
	xorl	%eax, %eax
	callq	_update_idle_stats
	movq	_semaphore@GOTPCREL(%rip), %rdi
	callq	_sem_wait
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	_WStats@GOTPCREL(%rip), %rax
	movq	(%rbx), %rdi
	addq	(%rax), %rdi
	movq	_wstat@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_semaphore@GOTPCREL(%rip), %rdi
	callq	_sem_post
LBB0_13:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check_children_status          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_cron.cur_conn_idx,4,2 ## @cron.cur_conn_idx
	.comm	_now,4,2                        ## @now
	.comm	_Connections,8,3                ## @Connections
	.comm	_ct_dns_server,4,2              ## @ct_dns_server
	.comm	_conn_expect_query,8,3          ## @conn_expect_query
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Closing idle TCP connection %d.\n"

	.comm	_conn_write_close,8,3           ## @conn_write_close
	.comm	_max_connection,4,2             ## @max_connection
	.comm	_worker_id,8,3                  ## @worker_id
	.comm	_semaphore,4,2                  ## @semaphore
	.comm	_WStats,8,3                     ## @WStats
	.comm	_wstat,4,2                      ## @wstat
	.no_dead_strip	_cron
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cron
_cron:                                  ; @cron
	.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
	adrp	x20, _cron.cur_conn_idx@PAGE
	ldr	w21, [x20, _cron.cur_conn_idx@PAGEOFF]
Lloh0:
	adrp	x8, _now@GOTPAGE
Lloh1:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w22, w8, #120
Lloh3:
	adrp	x23, _Connections@GOTPAGE
Lloh4:
	ldr	x23, [x23, _Connections@GOTPAGEOFF]
Lloh5:
	adrp	x24, _ct_dns_server@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ct_dns_server@GOTPAGEOFF]
Lloh7:
	adrp	x25, _conn_expect_query@GOTPAGE
Lloh8:
	ldr	x25, [x25, _conn_expect_query@GOTPAGEOFF]
	mov	w26, #-101
Lloh9:
	adrp	x28, _max_connection@GOTPAGE
Lloh10:
	ldr	x28, [x28, _max_connection@GOTPAGEOFF]
	mov	x8, x21
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x28]
	cmp	w8, w9
	csinc	w8, wzr, w8, ge
	str	w8, [x20, _cron.cur_conn_idx@PAGEOFF]
	cmp	w8, w21
	b.eq	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	adds	w26, w26, #1
	b.hs	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x23]
	sxtw	x10, w8
	add	x11, x9, x10, lsl #5
	ldr	x11, [x11, #24]
	cmp	x11, x24
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x11, x10, #5
	ldr	w11, [x9, x11]
	cmp	w11, w22
	b.ge	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x27, x9, x10, lsl #5
	mov	x19, x27
	ldr	x9, [x19, #8]!
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x27, #20]
	mov	w0, #3
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vkprintf
Lloh13:
	adrp	x8, _conn_write_close@GOTPAGE
Lloh14:
	ldr	x8, [x8, _conn_write_close@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w0, [x27, #16]
	bl	_put_event_into_heap
	ldr	w8, [x20, _cron.cur_conn_idx@PAGEOFF]
	b	LBB0_1
LBB0_7:
Lloh16:
	adrp	x19, _worker_id@GOTPAGE
Lloh17:
	ldr	x19, [x19, _worker_id@GOTPAGEOFF]
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_10
; %bb.8:
	bl	_update_idle_stats
Lloh18:
	adrp	x0, _semaphore@GOTPAGE
Lloh19:
	ldr	x0, [x0, _semaphore@GOTPAGEOFF]
	bl	_sem_wait
	cbnz	w0, LBB0_10
; %bb.9:
Lloh20:
	adrp	x8, _WStats@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WStats@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x0, x9, x8
Lloh23:
	adrp	x1, _wstat@GOTPAGE
Lloh24:
	ldr	x1, [x1, _wstat@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
Lloh25:
	adrp	x0, _semaphore@GOTPAGE
Lloh26:
	ldr	x0, [x0, _semaphore@GOTPAGEOFF]
	bl	_sem_post
LBB0_10:
	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
	b	_check_children_status
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_cron.cur_conn_idx,4,2 ; @cron.cur_conn_idx
	.comm	_now,4,2                        ; @now
	.comm	_Connections,8,3                ; @Connections
	.comm	_ct_dns_server,4,2              ; @ct_dns_server
	.comm	_conn_expect_query,8,3          ; @conn_expect_query
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Closing idle TCP connection %d.\n"

	.comm	_conn_write_close,8,3           ; @conn_write_close
	.comm	_max_connection,4,2             ; @max_connection
	.comm	_worker_id,8,3                  ; @worker_id
	.comm	_semaphore,4,2                  ; @semaphore
	.comm	_WStats,8,3                     ; @WStats
	.comm	_wstat,4,2                      ; @wstat
	.no_dead_strip	_cron
.subsections_via_symbols
