	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_stats_obtain            ## -- Begin function server_stats_obtain
	.p2align	4, 0x90
_server_stats_obtain:                   ## @server_stats_obtain
	.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	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	cmpq	%rsi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	_VERB_ALGO@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.3:
	movq	_worker_cmd_stats_noreset@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_server_stats_compile           ## TAILCALL
LBB0_2:
	movq	_worker_cmd_stats@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_worker_send_cmd
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_verbose
	movl	(%r15), %edi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_tube_read_msg
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal_exit
LBB0_6:
	movq	-48(%rbp), %rsi
	movl	$4, %edx
	cmpq	$4, %rsi
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_fatal_exit
	movq	-48(%rbp), %rdx
LBB0_8:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_memcpy
	movq	-56(%rbp), %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write stats cmd"

	.comm	_worker_cmd_stats,4,2           ## @worker_cmd_stats
	.comm	_worker_cmd_stats_noreset,4,2   ## @worker_cmd_stats_noreset
L_.str.1:                               ## @.str.1
	.asciz	"wait for stats reply"

L_.str.2:                               ## @.str.2
	.asciz	"failed to read stats over cmd channel"

L_.str.3:                               ## @.str.3
	.asciz	"stats on cmd channel wrong length %d %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_stats_obtain            ; -- Begin function server_stats_obtain
	.p2align	2
_server_stats_obtain:                   ; @server_stats_obtain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	stp	xzr, xzr, [sp, #16]
	cmp	x0, x1
	b.eq	LBB0_5
; %bb.1:
	mov	x22, x1
Lloh0:
	adrp	x23, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
Lloh4:
	adrp	x8, _worker_cmd_stats_noreset@GOTPAGE
Lloh5:
	ldr	x8, [x8, _worker_cmd_stats_noreset@GOTPAGEOFF]
Lloh6:
	adrp	x9, _worker_cmd_stats@GOTPAGE
Lloh7:
	ldr	x9, [x9, _worker_cmd_stats@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x22
	bl	_worker_send_cmd
	ldr	w0, [x23]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
	ldr	w0, [x20]
	add	x1, sp, #24
	add	x2, sp, #16
	mov	w3, #0
	bl	_tube_read_msg
	cbnz	w0, LBB0_3
; %bb.2:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal_exit
LBB0_3:
	ldr	x8, [sp, #16]
	cmp	x8, #4
	b.ne	LBB0_6
; %bb.4:
	mov	w2, #4
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	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
	add	sp, sp, #96
	b	_server_stats_compile
LBB0_6:
	mov	w9, #4
	stp	x8, x9, [sp]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal_exit
	ldr	x2, [sp, #16]
LBB0_7:
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_memcpy
	ldr	x0, [sp, #24]
	bl	_free
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write stats cmd"

	.comm	_worker_cmd_stats,4,2           ; @worker_cmd_stats
	.comm	_worker_cmd_stats_noreset,4,2   ; @worker_cmd_stats_noreset
l_.str.1:                               ; @.str.1
	.asciz	"wait for stats reply"

l_.str.2:                               ; @.str.2
	.asciz	"failed to read stats over cmd channel"

l_.str.3:                               ; @.str.3
	.asciz	"stats on cmd channel wrong length %d %d"

.subsections_via_symbols
