	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_do_detailed_server_stats ## -- Begin function cache_do_detailed_server_stats
	.p2align	4, 0x90
_cache_do_detailed_server_stats:        ## @cache_do_detailed_server_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rax
	movq	$0, (%rdi)
	movq	_tot_servers@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	shll	$3, %edi
	callq	_zmalloc0
	movq	%rax, %r12
	movq	_STAT_SERVER_HASH_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_10
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	_HSS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r13), %rax
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setl	%dil
	callq	_assert
	movq	%r14, (%r12,%rbx,8)
	incq	%rbx
	movq	(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_STAT_SERVER_HASH_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_3:
	xorl	%ebx, %ebx
LBB0_10:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	andl	$3, %ecx
	leaq	l_switch.table.cache_do_detailed_server_stats(%rip), %rax
	movq	(%rax,%rcx,8), %r15
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movl	%ebx, %edx
	callq	_vkprintf
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$8, %edx
	movq	%r15, %rcx
	callq	_qsort
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tot_servers,4,2                ## @tot_servers
	.comm	_STAT_SERVER_HASH_PRIME,4,2     ## @STAT_SERVER_HASH_PRIME
	.comm	_HSS,8,3                        ## @HSS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache_do_detailed_server_stats: n = %d\n"

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.cache_do_detailed_server_stats
l_switch.table.cache_do_detailed_server_stats:
	.quad	_cmp_stat_server_id
	.quad	_cmp_stat_server_access
	.quad	_cmp_stat_server_files_bytes
	.quad	_cmp_stat_server_files

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_do_detailed_server_stats ; -- Begin function cache_do_detailed_server_stats
	.p2align	2
_cache_do_detailed_server_stats:        ; @cache_do_detailed_server_stats
	.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
	str	xzr, [x0]
Lloh0:
	adrp	x23, _tot_servers@GOTPAGE
Lloh1:
	ldr	x23, [x23, _tot_servers@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	lsl	w0, w8, #3
	bl	_zmalloc0
	mov	x20, x0
Lloh2:
	adrp	x24, _STAT_SERVER_HASH_PRIME@GOTPAGE
Lloh3:
	ldr	x24, [x24, _STAT_SERVER_HASH_PRIME@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x25, #0
	mov	w22, #0
Lloh4:
	adrp	x26, _HSS@GOTPAGE
Lloh5:
	ldr	x26, [x26, _HSS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x9, [x26]
	ldr	x27, [x9, x25, lsl #3]
	cbz	x27, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x22, w22
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x23]
	cmp	x22, x8
	cset	w0, lt
	bl	_assert
	add	x9, x22, #1
	str	x27, [x20, x22, lsl #3]
	ldr	x27, [x27]
	mov	x22, x9
	cbnz	x27, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	mov	x22, x9
	b	LBB0_3
LBB0_8:
	mov	w22, #0
	b	LBB0_11
LBB0_9:
	mov	w22, #0
LBB0_10:
	and	w8, w21, #0x3
Lloh6:
	adrp	x9, l_switch.table.cache_do_detailed_server_stats@PAGE
Lloh7:
	add	x9, x9, l_switch.table.cache_do_detailed_server_stats@PAGEOFF
	ldr	x21, [x9, w8, uxtw #3]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x22
	bl	_vkprintf
	mov	x0, x20
	mov	x1, x22
	mov	w2, #8
	mov	x3, x21
	bl	_qsort
	str	x20, [x19]
LBB0_11:
	mov	x0, x22
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tot_servers,4,2                ; @tot_servers
	.comm	_STAT_SERVER_HASH_PRIME,4,2     ; @STAT_SERVER_HASH_PRIME
	.comm	_HSS,8,3                        ; @HSS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache_do_detailed_server_stats: n = %d\n"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cache_do_detailed_server_stats
l_switch.table.cache_do_detailed_server_stats:
	.quad	_cmp_stat_server_id
	.quad	_cmp_stat_server_access
	.quad	_cmp_stat_server_files_bytes
	.quad	_cmp_stat_server_files

.subsections_via_symbols
