	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_stats
_write_stats:                           ## @write_stats
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_open_stats
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	leaq	-160(%rbp), %r13
	movl	%r14d, %edi
	movl	%r12d, %esi
	movq	%r13, %rdx
	movl	$100, %ecx
	callq	_krb5_format_time
	leaq	L_.str(%rip), %rsi
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rdx
	movq	-168(%rbp), %r13                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_rtbl_create
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r12
	movq	_SLAVE_NAME@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_rtbl_add_column
	movq	_SLAVE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_rtbl_add_column
	movq	_SLAVE_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RTBL_ALIGN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_rtbl_add_column
	movq	_SLAVE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_rtbl_add_column
	movq	_SLAVE_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_rtbl_add_column
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtbl_set_prefix
	movl	(%r15), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	callq	_rtbl_set_column_prefix
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	leaq	-172(%rbp), %r13
	leaq	-160(%rbp), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_SLAVE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rdx
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_rtbl_add_column_entry
	movl	32(%rbx), %ecx
	movq	%r15, %rdi
	movl	$100, %esi
	leaq	L_.str.5(%rip), %rdx
	callq	_snprintf
	movq	_SLAVE_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_rtbl_add_column_entry
	movq	_SLAVE_F_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%rbx), %eax
	movq	_SLAVE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	leaq	L_.str.7(%rip), %rax
	cmoveq	%rax, %rdx
	movq	%r12, %rdi
	callq	_rtbl_add_column_entry
	movl	24(%rbx), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %edi
	movq	%r15, %rdx
	movl	$100, %ecx
	callq	_krb5_format_time
	movq	_SLAVE_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_rtbl_add_column_entry
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SLAVE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	movq	%r12, %rdi
	callq	_rtbl_add_column_entry
	leaq	40(%rbx), %rsi
	movl	%r14d, %edi
	movq	%r13, %rdx
	callq	_krb5_sockaddr2address
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$100, %edx
	xorl	%ecx, %ecx
	callq	_krb5_print_address
	movl	%r14d, %edi
	movq	%r13, %rsi
	callq	_krb5_free_address
	movq	_SLAVE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	jmp	LBB0_7
LBB0_8:
	movq	%r12, %rdi
	movq	-168(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_rtbl_format
	movq	%r12, %rdi
	callq	_rtbl_destroy
LBB0_9:
	movq	%r13, %rdi
	callq	_fclose
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Status for slaves, last updated: %s\n\n"

L_.str.1:                               ## @.str.1
	.asciz	"Master version: %lu\n\n"

	.comm	_SLAVE_NAME,4,2                 ## @SLAVE_NAME
	.comm	_SLAVE_ADDRESS,4,2              ## @SLAVE_ADDRESS
	.comm	_SLAVE_VERSION,4,2              ## @SLAVE_VERSION
	.comm	_RTBL_ALIGN_RIGHT,4,2           ## @RTBL_ALIGN_RIGHT
	.comm	_SLAVE_STATUS,4,2               ## @SLAVE_STATUS
	.comm	_SLAVE_SEEN,4,2                 ## @SLAVE_SEEN
L_.str.2:                               ## @.str.2
	.asciz	"  "

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"<unknown>"

L_.str.5:                               ## @.str.5
	.asciz	"%u"

	.comm	_SLAVE_F_DEAD,4,2               ## @SLAVE_F_DEAD
L_.str.6:                               ## @.str.6
	.asciz	"Down"

L_.str.7:                               ## @.str.7
	.asciz	"Up"

	.no_dead_strip	_write_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_stats
_write_stats:                           ; @write_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x0, #0
	bl	_time
	mov	x23, x0
	mov	x0, x20
	bl	_open_stats
	cbz	x0, LBB0_10
; %bb.1:
	mov	x24, x0
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x21, sp, #20
	add	x2, sp, #20
	mov	x0, x20
	mov	x1, x23
	mov	w3, #100
	bl	_krb5_format_time
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_fprintf
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_fprintf
	bl	_rtbl_create
	cbz	x0, LBB0_9
; %bb.2:
	mov	x22, x0
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
Lloh10:
	adrp	x21, _SLAVE_NAME@GOTPAGE
Lloh11:
	ldr	x21, [x21, _SLAVE_NAME@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #0
	bl	_rtbl_add_column
Lloh12:
	adrp	x8, _SLAVE_ADDRESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SLAVE_ADDRESS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	bl	_rtbl_add_column
Lloh15:
	adrp	x8, _SLAVE_VERSION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SLAVE_VERSION@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _RTBL_ALIGN_RIGHT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RTBL_ALIGN_RIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_rtbl_add_column
Lloh21:
	adrp	x8, _SLAVE_STATUS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SLAVE_STATUS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	bl	_rtbl_add_column
Lloh24:
	adrp	x24, _SLAVE_SEEN@GOTPAGE
Lloh25:
	ldr	x24, [x24, _SLAVE_SEEN@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	mov	w2, #0
	bl	_rtbl_add_column
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_rtbl_set_prefix
	mov	x26, x21
	ldr	w1, [x21]
Lloh28:
	adrp	x2, l_.str.3@PAGE
Lloh29:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_rtbl_set_column_prefix
	cbz	x19, LBB0_8
; %bb.3:
Lloh30:
	adrp	x23, l_.str.5@PAGE
Lloh31:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh32:
	adrp	x27, _SLAVE_F_DEAD@GOTPAGE
Lloh33:
	ldr	x27, [x27, _SLAVE_F_DEAD@GOTPAGEOFF]
Lloh34:
	adrp	x28, l_.str.6@PAGE
Lloh35:
	add	x28, x28, l_.str.6@PAGEOFF
Lloh36:
	adrp	x21, l_.str.7@PAGE
Lloh37:
	add	x21, x21, l_.str.7@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh38:
	adrp	x8, _SLAVE_ADDRESS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SLAVE_ADDRESS@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x22
Lloh41:
	adrp	x2, l_.str.4@PAGE
Lloh42:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_rtbl_add_column_entry
	ldr	w3, [x19, #32]
	add	x0, sp, #20
	mov	w1, #100
	mov	x2, x23
	bl	_snprintf
Lloh43:
	adrp	x8, _SLAVE_VERSION@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SLAVE_VERSION@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	add	x2, sp, #20
	mov	x0, x22
	bl	_rtbl_add_column_entry
	ldr	w8, [x19, #8]
	ldr	w9, [x27]
Lloh46:
	adrp	x10, _SLAVE_STATUS@GOTPAGE
Lloh47:
	ldr	x10, [x10, _SLAVE_STATUS@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x10]
	tst	w9, w8
	csel	x2, x21, x28, eq
	mov	x0, x22
	bl	_rtbl_add_column_entry
	ldr	w1, [x19, #24]
Lloh49:
	adrp	x8, _TRUE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh51:
	ldr	w4, [x8]
	add	x2, sp, #20
	mov	x0, x20
	mov	w3, #100
	bl	_krb5_format_time
	ldr	w1, [x24]
	add	x2, sp, #20
	mov	x0, x22
	bl	_rtbl_add_column_entry
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x25, x19
	ldr	x2, [x25], #40
	mov	x0, x22
	bl	_rtbl_add_column_entry
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x25
	bl	_krb5_sockaddr2address
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	add	x1, sp, #20
	mov	w2, #100
	mov	x3, #0
	bl	_krb5_print_address
	add	x1, sp, #16
	mov	x0, x20
	bl	_krb5_free_address
Lloh52:
	adrp	x8, _SLAVE_ADDRESS@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SLAVE_ADDRESS@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	add	x2, sp, #20
	mov	x0, x22
	b	LBB0_5
LBB0_8:
	mov	x0, x22
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_rtbl_format
	mov	x0, x22
	bl	_rtbl_destroy
LBB0_9:
	mov	x0, x24
	bl	_fclose
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Status for slaves, last updated: %s\n\n"

l_.str.1:                               ; @.str.1
	.asciz	"Master version: %lu\n\n"

	.comm	_SLAVE_NAME,4,2                 ; @SLAVE_NAME
	.comm	_SLAVE_ADDRESS,4,2              ; @SLAVE_ADDRESS
	.comm	_SLAVE_VERSION,4,2              ; @SLAVE_VERSION
	.comm	_RTBL_ALIGN_RIGHT,4,2           ; @RTBL_ALIGN_RIGHT
	.comm	_SLAVE_STATUS,4,2               ; @SLAVE_STATUS
	.comm	_SLAVE_SEEN,4,2                 ; @SLAVE_SEEN
l_.str.2:                               ; @.str.2
	.asciz	"  "

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"<unknown>"

l_.str.5:                               ; @.str.5
	.asciz	"%u"

	.comm	_SLAVE_F_DEAD,4,2               ; @SLAVE_F_DEAD
l_.str.6:                               ; @.str.6
	.asciz	"Down"

l_.str.7:                               ; @.str.7
	.asciz	"Up"

	.no_dead_strip	_write_stats
.subsections_via_symbols
