	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_all_servers            ## -- Begin function process_all_servers
	.p2align	4, 0x90
_process_all_servers:                   ## @process_all_servers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_servers_sentall@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_servers_readall@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_local_rbs@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_24
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jge	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movq	_LR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	(,%r13,2), %r12
	addq	%r13, %r12
	movl	(%rsi,%r12,8), %eax
	movq	_LRF_MASTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_LRF_BROKEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	andl	%eax, %edx
	cmpl	%ecx, %edx
	jne	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rsi,%r12,8), %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi,%r12,8), %r15
	cmpq	%r14, %r15
	jne	LBB0_4
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	callq	_destroy_server
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=2
	cmpq	%r14, %r15
	je	LBB0_14
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rbx
	movq	16(%r15), %rax
	movq	24(%r15), %r15
	movq	(%rax), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_RS_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	callq	_process_server
	movq	%rbx, %rdi
	callq	_process_server_rotate
	movq	_LRF_CHANGED_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	callq	_process_server_time
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	8(%rbx), %eax
	movq	_RS_ALLREAD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	_servers_readall@GOTPCREL(%rip), %rcx
	incq	(%rcx)
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	_RS_ALLSENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	_servers_sentall@GOTPCREL(%rip), %rax
	incq	(%rax)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_LRF_CHANGED_TIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%r14)
	movq	_local_rbs@GOTPCREL(%rip), %r15
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rsi,%r12,8)
	jle	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rsi,%r12,8), %r14
	addq	$4, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=2
	callq	_check_flush_client
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=2
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_23
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	4(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	cmpq	(%rdi), %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	callq	_destroy_client
	jmp	LBB0_22
LBB0_24:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_servers_sentall,8,3            ## @servers_sentall
	.comm	_servers_readall,8,3            ## @servers_readall
	.comm	_local_rbs,4,2                  ## @local_rbs
	.comm	_LR,8,3                         ## @LR
	.comm	_LRF_MASTER,4,2                 ## @LRF_MASTER
	.comm	_LRF_BROKEN,4,2                 ## @LRF_BROKEN
	.comm	_RS_FATAL,4,2                   ## @RS_FATAL
	.comm	_LRF_CHANGED_TIME,4,2           ## @LRF_CHANGED_TIME
	.comm	_RS_ALLREAD,4,2                 ## @RS_ALLREAD
	.comm	_RS_ALLSENT,4,2                 ## @RS_ALLSENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_all_servers            ; -- Begin function process_all_servers
	.p2align	2
_process_all_servers:                   ; @process_all_servers
	.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
Lloh0:
	adrp	x20, _servers_sentall@GOTPAGE
Lloh1:
	ldr	x20, [x20, _servers_sentall@GOTPAGEOFF]
Lloh2:
	adrp	x21, _servers_readall@GOTPAGE
Lloh3:
	ldr	x21, [x21, _servers_readall@GOTPAGEOFF]
	str	xzr, [x20]
	str	xzr, [x21]
Lloh4:
	adrp	x8, _local_rbs@GOTPAGE
Lloh5:
	ldr	x8, [x8, _local_rbs@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.1:
	mov	x23, #0
	mov	w25, #24
Lloh7:
	adrp	x28, _LRF_CHANGED_TIME@GOTPAGE
Lloh8:
	ldr	x28, [x28, _LRF_CHANGED_TIME@GOTPAGEOFF]
Lloh9:
	adrp	x24, _RS_FATAL@GOTPAGE
Lloh10:
	ldr	x24, [x24, _RS_FATAL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
Lloh11:
	adrp	x8, _local_rbs@GOTPAGE
Lloh12:
	ldr	x8, [x8, _local_rbs@GOTPAGEOFF]
Lloh13:
	ldrsw	x8, [x8]
	cmp	x23, x8
	b.ge	LBB0_24
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
Lloh14:
	adrp	x8, _LR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LR@GOTPAGEOFF]
Lloh16:
	ldr	x27, [x8]
	madd	x26, x23, x25, x27
	ldr	w8, [x26]
Lloh17:
	adrp	x9, _LRF_MASTER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LRF_MASTER@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _LRF_BROKEN@GOTPAGE
Lloh21:
	ldr	x10, [x10, _LRF_BROKEN@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w10, w10, w9
	and	w10, w10, w8
	cmp	w10, w9
	b.ne	LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x9, x23, x25, x27
	ldr	x19, [x9, #16]
	cmp	x19, x26
	b.ne	LBB0_7
	b	LBB0_16
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	bl	_destroy_server
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x19, x22
	cmp	x22, x26
	b.eq	LBB0_15
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x8, x22, [x19, #16]
	ldr	x8, [x8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x19, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	bl	_process_server
	mov	x0, x19
	bl	_process_server_rotate
	ldr	w8, [x26]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	bl	_process_server_time
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x19, #8]
Lloh23:
	adrp	x9, _RS_ALLREAD@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RS_ALLREAD@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x21]
	add	x9, x9, #1
	str	x9, [x21]
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=2
Lloh26:
	adrp	x9, _RS_ALLSENT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RS_ALLSENT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x28]
	bic	w8, w8, w9
	str	w8, [x26]
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x19, x23, x25, x27
	ldr	w8, [x19, #4]!
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	madd	x8, x23, x25, x27
	add	x26, x8, #8
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=2
	bl	_check_flush_client
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_2
LBB0_21:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26]
	ldr	x0, [x8, x22, lsl #3]
	cbz	x0, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	bl	_destroy_client
	b	LBB0_20
LBB0_24:
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_servers_sentall,8,3            ; @servers_sentall
	.comm	_servers_readall,8,3            ; @servers_readall
	.comm	_local_rbs,4,2                  ; @local_rbs
	.comm	_LR,8,3                         ; @LR
	.comm	_LRF_MASTER,4,2                 ; @LRF_MASTER
	.comm	_LRF_BROKEN,4,2                 ; @LRF_BROKEN
	.comm	_RS_FATAL,4,2                   ; @RS_FATAL
	.comm	_LRF_CHANGED_TIME,4,2           ; @LRF_CHANGED_TIME
	.comm	_RS_ALLREAD,4,2                 ; @RS_ALLREAD
	.comm	_RS_ALLSENT,4,2                 ; @RS_ALLSENT
.subsections_via_symbols
